:root {
  --purple: #221863;
  --mint: #4cc3a0;
  --light-bg: #f2f2f7;
  --white: #ffffff;
  --text: #111111;
  --container: min(83.34vw, 1333px);
  --pill: 100px;
  --card: rgba(237, 237, 237, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: var(--white);
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mint);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn[disabled] {
  cursor: wait;
  opacity: 0.74;
  transform: none;
}

.btn-glass {
  background: rgba(198, 198, 198, 0.58);
  color: var(--white);
  height: 29px;
  min-width: 182px;
  padding: 0 18px;
}

.btn-mint {
  background: var(--mint);
  color: var(--white);
  height: 29px;
  min-width: 100px;
  padding: 0 18px;
  box-shadow: 0 10px 24px rgba(76, 195, 160, 0.34);
}

.btn-light {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  height: 29px;
  min-width: 86px;
  padding: 0 18px;
}

.site-header {
  height: 76px;
  background: var(--white);
  color: var(--purple);
  position: relative;
  z-index: 20;
}

.topbar-row {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  width: 156px;
  height: 29px;
  display: inline-block;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(34, 24, 99, 0.2);
  background: rgba(34, 24, 99, 0.04);
  color: var(--purple);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.nav-and-lang {
  display: flex;
  align-items: center;
  gap: 26px;
}

.menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.menu span {
  opacity: 0.9;
}

.menu a {
  color: var(--purple);
  opacity: 0.94;
}

.menu a:hover {
  opacity: 1;
}

.menu a.is-active {
  color: var(--mint);
  font-weight: 700;
}

.lang-switcher {
  position: relative;
}

/* Keeps hover active while moving from trigger to dropdown. */
.lang-switcher::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: max(100%, 92px);
  height: 12px;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 46px;
  height: 24px;
  border: 0;
  border-radius: 24px;
  background: var(--mint);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 0 10px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.lang:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.lang img {
  width: 7px;
  height: 4px;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.lang-switcher.is-open .lang img {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  min-width: 74px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(34, 24, 99, 0.14);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(22, 14, 52, 0.16);
  display: grid;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 32;
}

.lang-switcher.is-open .lang-menu,
.lang-switcher:hover .lang-menu,
.lang-switcher:focus-within .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.lang-switcher:hover .lang img,
.lang-switcher:focus-within .lang img {
  transform: rotate(180deg);
}

.lang-option {
  height: 29px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
  background: rgba(34, 24, 99, 0.08);
}

.lang-option.is-current {
  background: var(--mint);
  color: var(--white);
}

.hero-home {
  position: relative;
  min-height: 663px;
  background: var(--purple);
  color: var(--white);
  overflow: hidden;
}

.hero-home img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 24, 99, 0.62) 0%, rgba(34, 24, 99, 0.45) 44%, rgba(34, 24, 99, 0.58) 100%);
}

.hero-home-content {
  position: relative;
  z-index: 2;
  padding: 219px 0 94px;
}

.hero-home h1 {
  margin: 0;
  max-width: 760px;
  font-size: 70px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-home p {
  margin: 16px 0 0;
  max-width: 463px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.hero-home .btn {
  margin-top: 66px;
}

.home-section {
  background: var(--light-bg);
}

.home-services {
  padding: 146px 0 160px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 58px;
}

.section-head h2 {
  margin: 0;
  max-width: 790px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

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

.feature-card {
  display: block;
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #191919;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.23);
  transition: background-color 0.25s ease;
}

.feature-card span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  z-index: 2;
  padding: 0 12px;
}

.feature-card:hover img {
  transform: scale(1.06);
}

.feature-card:hover::after {
  background: rgba(0, 0, 0, 0.36);
}

.feature-card:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.home-value {
  position: relative;
  min-height: 579px;
  color: var(--white);
  overflow: hidden;
}

.home-value-bg,
.home-quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-value::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(76, 195, 160, 0.88);
}

.home-value-content {
  position: relative;
  z-index: 2;
  padding: 112px 0 105px;
}

.home-value h2 {
  margin: 0;
  max-width: 789px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.home-value .eyebrow {
  color: var(--purple);
}

.home-value-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 90px;
}

.pillars,
.about-value-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar,
.about-value-item {
  text-align: center;
}

.pillar img,
.about-value-item img {
  width: auto;
  margin: 0 auto 12px;
  object-fit: contain;
}

.pillar .icon-1 {
  width: 45px;
  height: 51px;
}

.about-value-item .icon-1 {
  width: 45px;
  height: 51px;
}

.pillar .icon-2,
.about-value-item .icon-2 {
  width: 44px;
  height: 37px;
}

.pillar .icon-3,
.about-value-item .icon-3 {
  width: 42px;
  height: 39px;
}

.pillar .icon-4,
.about-value-item .icon-4 {
  width: 46px;
  height: 38px;
}

.pillar p,
.about-value-item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.16;
  font-weight: 600;
}

.home-quote {
  position: relative;
  min-height: 402px;
  color: var(--white);
  overflow: hidden;
}

.home-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 24, 99, 0.38);
  backdrop-filter: blur(2px);
}

.home-quote-content {
  position: relative;
  z-index: 2;
  min-height: 402px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.home-quote p {
  margin: 0;
  max-width: 1035px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.home-testimonials {
  padding: 118px 0 126px;
  background: var(--light-bg);
}

.home-testimonials h2 {
  margin: 0 0 46px;
  max-width: 495px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

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

.testi-card {
  border-radius: 25px;
  background: var(--card);
  min-height: 297px;
  padding: 42px 44px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .testi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(34, 24, 99, 0.08);
  }
}

.stars {
  width: 73px;
  height: 12px;
  margin-bottom: 16px;
}

.testi-card blockquote {
  margin: 0;
  max-width: 447px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 300;
}

.author {
  margin-top: 26px;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 300;
}

.author::before {
  content: "";
  display: block;
  width: 13px;
  height: 2px;
  background: var(--mint);
  margin: 0 0 8px;
}

.author strong {
  display: block;
  margin-bottom: 2px;
  color: var(--mint);
  font-weight: 600;
}

.newsletter {
  background: var(--mint);
  color: var(--white);
  padding: 58px 0;
}

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

.newsletter h3 {
  margin: 0 0 7px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.newsletter p {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.newsletter-field {
  width: 100%;
  height: 49px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  padding: 0 29px;
}

.newsletter-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
}

.newsletter-field input::placeholder {
  color: rgba(255, 255, 255, 0.92);
}

.valueupai-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.valueupai-modal-open {
  overflow: hidden;
}

.valueupai-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.valueupai-modal[hidden] {
  display: none;
}

.valueupai-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.valueupai-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 51, 0.52);
  backdrop-filter: blur(4px);
}

.valueupai-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(92vw, 520px);
  border-radius: 26px;
  padding: 34px 34px 28px;
  background: linear-gradient(156deg, #ffffff 0%, #f1fff9 100%);
  box-shadow: 0 28px 72px rgba(20, 14, 56, 0.35);
  transform: translateY(18px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.valueupai-modal.is-open .valueupai-modal-dialog {
  transform: translateY(0) scale(1);
}

.valueupai-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(34, 24, 99, 0.08);
  color: var(--purple);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.valueupai-modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--mint);
  background: rgba(76, 195, 160, 0.16);
}

.valueupai-modal-icon::before {
  content: "";
  width: 18px;
  height: 10px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}

.valueupai-modal.is-error .valueupai-modal-icon,
.valueupai-modal.is-required .valueupai-modal-icon {
  background: rgba(223, 80, 80, 0.16);
  color: #d14646;
}

.valueupai-modal.is-error .valueupai-modal-icon::before,
.valueupai-modal.is-required .valueupai-modal-icon::before {
  content: "!";
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.valueupai-modal h3 {
  margin: 0;
  color: var(--purple);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
}

.valueupai-modal p {
  margin: 12px 0 0;
  color: #2f2f3b;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
}

.valueupai-modal-action {
  margin-top: 24px;
  min-width: 120px;
}

.about-page {
  background: var(--light-bg);
}

.about-banner {
  background: var(--mint);
  color: var(--white);
  min-height: 660px;
  display: grid;
  align-items: center;
}

.about-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(140px, 250px);
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.about-banner .eyebrow {
  color: var(--white);
}

.about-banner h1 {
  margin: 0;
  max-width: 795px;
  color: var(--purple);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.about-banner p {
  margin: 24px 0 0;
  max-width: 727px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.about-banner p + p {
  margin-top: 22px;
}

.about-banner-mark {
  width: 191px;
  height: 213px;
  margin-left: auto;
  object-fit: contain;
}

.about-method {
  padding: 106px 0 86px;
}

.about-method h2,
.about-security h2,
.about-team h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.about-method-intro,
.about-security-intro {
  margin: 34px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 300;
}

.method-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.method-card {
  background: var(--card);
  border-radius: 25px;
  min-height: 244px;
  padding: 40px 20px 24px;
}

.method-card .num {
  margin: 0;
  color: var(--mint);
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
}

.method-card h3 {
  margin: 18px 0 0;
  color: var(--mint);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 600;
}

.method-card p {
  margin: 28px 0 0;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 300;
}

.about-security {
  padding: 40px 0 128px;
}

.about-security-intro {
  max-width: 539px;
}

.about-security .feature-grid {
  margin-top: 26px;
}

.about-value {
  background: var(--purple);
  color: var(--white);
  padding: 84px 0 92px;
}

.about-value h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.about-value p.about-value-lead {
  margin: 20px 0 0;
  max-width: 539px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.about-value-icons {
  margin-top: 52px;
}

.about-value-item {
  color: var(--white);
}

.about-team {
  padding: 96px 0 130px;
}

.team-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 378 / 356;
  object-fit: cover;
  margin-bottom: 14px;
}

.team-card h3 {
  margin: 0;
  color: var(--mint);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.team-card p {
  margin: 8px 0 0;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 300;
}

.team-card p strong {
  font-weight: 600;
}

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

.services-hero {
  position: relative;
  min-height: 660px;
  color: var(--white);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.14);
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 795px;
  padding-top: 120px;
  padding-bottom: 64px;
}

.services-hero-content h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.services-products {
  padding: 130px 0 120px;
}

.services-products .container {
  width: min(74.56vw, 1193px);
}

.services-products h2 {
  margin: 0 0 55px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.services-grid {
  position: relative;
  height: 937px;
}

.service-card {
  position: absolute;
  width: 564px;
  border-radius: 25px;
  background: var(--card);
  padding: 46px 31px 30px;
}

.service-card h3 {
  margin: 0;
  color: var(--mint);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  min-height: 41px;
}

.service-card p,
.service-card li {
  margin: 0;
  font-size: 17px;
  line-height: 1.29;
  font-weight: 300;
}

.service-card p + p {
  margin-top: 12px;
}

.service-card h3 + p {
  margin-top: 10px;
}

.service-card p strong,
.service-card li strong {
  font-weight: 600;
}

.service-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.service-card li + li {
  margin-top: 8px;
}

.service-card-auto {
  left: 0;
  top: 0;
  height: 639px;
}

.service-card-data {
  left: 629px;
  top: 0;
  height: 318px;
}

.service-card-gpt {
  left: 0;
  top: 670px;
  height: 267px;
}

.service-card-consult {
  left: 629px;
  top: 352px;
  height: 307px;
}

.service-card-gpt h3,
.service-card-consult h3 {
  min-height: 45px;
}

.services-quote {
  min-height: 402px;
}

.services-testimonials {
  padding-top: 118px;
  padding-bottom: 144px;
}

.contact-page {
  background: var(--light-bg);
}

.contact-steps {
  padding: 112px 0 146px;
}

.contact-steps .container,
.contact-form-section .container {
  width: min(75vw, 1200px);
}

.contact-steps h1 {
  margin: 0;
  font-size: 30px;
  line-height: normal;
  font-weight: 600;
}

.contact-steps-intro {
  margin: 15px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 20px;
  font-weight: 300;
}

.contact-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.contact-step-card {
  min-height: 202px;
  border-radius: 25px;
  background: var(--card);
  padding: 40px 22px 26px;
}

.contact-step-card .num {
  margin: 0;
  color: var(--mint);
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
}

.contact-step-card h2 {
  margin: 18px 0 0;
  min-height: 41px;
  color: var(--mint);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.contact-step-card p {
  margin: 0;
  max-width: 320px;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 300;
}

.contact-step-card h2 + p {
  margin-top: 8px;
}

.contact-form-section {
  background: var(--mint);
  color: var(--white);
}

.contact-form-grid {
  padding: 59px 0 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 794px);
  justify-content: space-between;
  align-items: start;
  gap: 34px 0;
}

.contact-form-copy h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.contact-form-copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 385px));
  justify-content: start;
  gap: 28px 24px;
}

.contact-field {
  height: 49px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  font-weight: 600;
  padding: 0 29px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.95);
}

.contact-field-message {
  grid-column: 1 / span 2;
  height: 156px;
  border-radius: 20px;
}

.contact-field-message textarea {
  height: 100%;
  resize: none;
  padding: 14px 29px;
  line-height: 1.2;
}

.contact-submit {
  grid-column: 2;
  justify-self: end;
  margin-top: 6px;
}

.site-footer {
  background: var(--purple);
  min-height: 239px;
  color: var(--white);
}

.site-footer-inner {
  position: relative;
  width: min(100%, 1600px);
  height: 239px;
  margin: 0 auto;
}

.footer-logo {
  position: absolute;
  left: calc(8.33% + 0.67px);
  top: 78px;
  width: 139px;
  height: 85px;
  object-fit: fill;
  flex-shrink: 0;
}

.footer-divider {
  position: absolute;
  left: calc(16.67% + 108.33px);
  top: 74px;
  width: 1px;
  height: 105px;
  background: rgba(255, 255, 255, 0.35);
}

.footer-note {
  position: absolute;
  left: calc(16.67% + 138.33px);
  top: 105px;
  margin: 0;
  width: 250px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 300;
}

.footer-right {
  position: absolute;
  right: calc(8.33% + 3.33px);
  top: 112px;
  width: 290px;
  height: 88px;
}

.footer-menu {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.footer-menu span {
  opacity: 0.9;
}

.footer-menu a {
  opacity: 0.95;
}

.footer-social {
  position: absolute;
  right: 0;
  top: 24px;
  width: 55px;
  height: 64px;
  object-fit: contain;
}

.placeholder-page {
  min-height: calc(100vh - 76px - 239px);
  background: var(--light-bg);
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.placeholder-card {
  width: min(92vw, 760px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  padding: 40px;
  box-shadow: 0 18px 44px rgba(34, 24, 99, 0.08);
}

.placeholder-card h1 {
  margin: 0;
  color: var(--purple);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

.placeholder-card p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 300;
}

@media (max-width: 1200px) {
  .hero-home h1 {
    font-size: 58px;
  }

  .home-value-top,
  .section-head {
    gap: 22px;
  }

  .feature-grid {
    gap: 16px;
  }

  .method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-products .container {
    width: var(--container);
  }

  .services-grid {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "auto data"
      "auto consult"
      "gpt consult";
    gap: 20px;
  }

  .service-card {
    position: static;
    width: auto;
    padding: 34px 31px 30px;
  }

  .service-card-auto,
  .service-card-data,
  .service-card-gpt,
  .service-card-consult {
    height: auto;
    min-height: 0;
  }

  .service-card-gpt h3,
  .service-card-consult h3 {
    min-height: 41px;
  }

  .team-grid {
    gap: 16px;
  }

  .contact-steps {
    padding-bottom: 120px;
  }

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

  .contact-step-card:last-child {
    grid-column: 1 / -1;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    padding-top: 72px;
    width: var(--container);
  }

  .contact-form {
    justify-content: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    min-height: 0;
    padding: 56px 0 44px;
  }

  .site-footer-inner {
    width: var(--container);
    height: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 20px;
    row-gap: 18px;
    align-items: center;
  }

  .footer-logo,
  .footer-divider,
  .footer-note,
  .footer-right,
  .footer-menu,
  .footer-social {
    position: static;
  }

  .footer-logo {
    width: 128px;
    height: 78px;
    object-fit: fill;
  }

  .footer-divider {
    display: none;
  }

  .footer-note {
    width: auto;
  }

  .footer-right {
    grid-column: 1 / -1;
    justify-self: end;
    display: flex;
    gap: 18px;
    align-items: center;
    width: auto;
    height: auto;
  }

  .footer-menu {
    display: inline-flex;
  }

  .footer-social {
    width: 55px;
    height: 64px;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(92vw, 760px);
  }

  .site-header {
    height: 76px;
  }

  .topbar-row {
    gap: 14px;
  }

  .site-logo {
    width: 128px;
    height: 24px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-and-lang {
    position: absolute;
    left: 0;
    top: 76px;
    width: 100%;
    background: var(--white);
    border-top: 1px solid rgba(34, 24, 99, 0.08);
    box-shadow: 0 16px 34px rgba(18, 14, 43, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 4vw 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 30;
  }

  .site-header.is-open .nav-and-lang {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .menu span {
    display: none;
  }

  .lang-switcher {
    width: auto;
  }

  .lang-menu {
    left: 0;
    right: auto;
    top: calc(100% + 12px);
    transform-origin: top left;
  }

  .hero-home {
    min-height: 620px;
  }

  .hero-home-content {
    padding-top: 160px;
    padding-bottom: 72px;
  }

  .hero-home h1 {
    font-size: 40px;
  }

  .hero-home p {
    font-size: 18px;
  }

  .home-services,
  .home-testimonials,
  .about-method,
  .about-security,
  .about-team,
  .contact-steps,
  .services-products,
  .services-testimonials {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-head,
  .home-value-top,
  .newsletter-grid,
  .about-banner-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 20px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .feature-grid,
  .pillars,
  .about-value-icons,
  .testi-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    height: 220px;
  }

  .home-value {
    min-height: 0;
  }

  .home-value-content {
    padding: 78px 0;
  }

  .home-value-top {
    margin-bottom: 44px;
  }

  .home-quote,
  .home-quote-content {
    min-height: 300px;
  }

  .about-banner {
    min-height: 0;
    padding: 90px 0;
  }

  .services-hero {
    min-height: 560px;
  }

  .services-hero-content {
    padding-top: 88px;
    padding-bottom: 48px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "auto"
      "data"
      "gpt"
      "consult";
    gap: 16px;
  }

  .service-card-auto,
  .service-card-data,
  .service-card-gpt,
  .service-card-consult {
    min-height: 0;
  }

  .service-card {
    padding: 28px 24px 24px;
  }

  .contact-steps h1 {
    font-size: 41px;
  }

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

  .contact-steps .container {
    width: var(--container);
  }

  .contact-step-card:last-child {
    grid-column: auto;
  }

  .contact-form-grid {
    padding: 72px 0 80px;
    display: block;
  }

  .contact-form-copy {
    margin-bottom: 26px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-field-message {
    grid-column: auto;
    height: 146px;
  }

  .contact-submit {
    grid-column: auto;
    justify-self: start;
    margin-top: 0;
  }

  .about-banner-mark {
    margin: 0;
  }

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

  .newsletter-form {
    align-items: stretch;
  }

  .site-footer-inner {
    width: var(--container);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }
}

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

  .hero-home-content {
    padding-top: 126px;
    padding-bottom: 68px;
  }

  .footer-logo {
    width: 118px;
    height: 72px;
    object-fit: fill;
  }

  .hero-home h1,
  .about-banner h1,
  .services-hero-content h1,
  .contact-steps h1,
  .contact-form-copy h2,
  .section-head h2,
  .home-value h2,
  .home-quote p,
  .home-testimonials h2,
  .newsletter h3,
  .about-method h2,
  .about-security h2,
  .about-value h2,
  .about-team h2,
  .services-products h2,
  .placeholder-card h1 {
    font-size: 31px;
  }

  .hero-home p,
  .contact-steps-intro,
  .contact-step-card p,
  .newsletter p,
  .testi-card blockquote,
  .author,
  .team-card p,
  .method-card p,
  .service-card p,
  .service-card li,
  .about-method-intro,
  .about-security-intro,
  .about-value p.about-value-lead,
  .placeholder-card p {
    font-size: 16px;
  }

  .eyebrow {
    font-size: 17px;
  }

  .feature-card {
    height: 190px;
  }

  .home-quote,
  .home-quote-content {
    min-height: 260px;
  }

  .testi-card {
    padding: 28px 24px;
  }

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

  .newsletter-field {
    height: 44px;
    padding: 0 18px;
  }

  .newsletter-field input {
    font-size: 16px;
  }

  .footer-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-menu {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .contact-step-card {
    padding: 28px 20px 22px;
  }

  .contact-step-card h2 {
    font-size: 22px;
    min-height: 0;
  }

  .contact-form-grid {
    padding: 58px 0 64px;
  }

  .contact-form-copy p {
    font-size: 18px;
  }

  .contact-field input,
  .contact-field textarea {
    font-size: 16px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .valueupai-modal {
    padding: 18px;
  }

  .valueupai-modal-dialog {
    border-radius: 20px;
    padding: 26px 22px 22px;
  }

  .valueupai-modal h3 {
    font-size: 27px;
  }

  .valueupai-modal p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
