@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  font-synthesis-weight: none;
  --ink: #0a0a0a;
  --muted: #565b63;
  --paper: #ffffff;
  --white: #ffffff;
  --soft: #f6f7f9;
  --line: #e8eaee;
  --deep: #0a0a0a;
  --brand: #e32051;
  --brand-dark: #b9133d;
  --brand-soft: #fff0f4;
  --green: #c8f36a;
  --blue: #5969fc;
  --shadow: 0 20px 60px rgba(10, 10, 10, 0.08);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 4px clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 158px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: min(168px, 36vw);
  height: auto;
  border-radius: 10px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
}

.main-nav a {
  color: rgba(10, 10, 10, 0.68);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
}

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

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 78px;
  padding: 2px;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.04);
}

.lang-btn {
  min-height: 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(10, 10, 10, 0.54);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.hero {
  position: relative;
  width: 100%;
  min-height: clamp(610px, calc(100svh - 150px), 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 0;
  background: var(--soft);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 74%, rgba(227, 32, 81, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(246, 247, 249, 0.18), rgba(246, 247, 249, 0.96));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100% - 36px));
  margin-inline: auto;
  padding: 82px 0 126px;
  color: var(--ink);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 720ms ease,
    transform 720ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--font);
  font-size: clamp(2.1rem, 3.65vw, 4rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 0.12em;
}

.hero-title-light {
  color: rgba(10, 10, 10, 0.62);
  font-weight: 400;
}

h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(2.45rem, 5vw, 5.15rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-copy-secondary {
  max-width: 820px;
  margin-top: 34px;
  font-size: clamp(0.98rem, 1.7vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--deep);
  color: #fff;
}

.button.primary:hover {
  background: #2a2a2a;
}

.button.secondary {
  border-color: rgba(10, 10, 10, 0.18);
  color: var(--deep);
  background: #fff;
}

.section {
  padding: clamp(76px, 10vw, 118px) clamp(18px, 4vw, 52px);
}

.services-section,
.contact-section {
  background: var(--white);
}

.section-heading {
  max-width: 940px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.7vw, 4rem);
}

.section-heading p:not(.eyebrow) {
  max-width: 660px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 1180px);
  margin-inline: auto;
}

.service-card {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: clamp(22px, 2vw, 30px);
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 30px;
  background: transparent;
  box-shadow: none;
}

.service-card.large {
  grid-template-columns: auto 1fr;
}

.service-card.compact {
  align-content: start;
}

.service-card.compact ul {
  columns: 1;
}

.service-card h3 {
  font-weight: 400;
}

.service-art {
  display: block;
  width: 100%;
  aspect-ratio: 360 / 220;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 4px;
}

.service-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 700;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-link {
  align-self: end;
  width: fit-content;
  margin-top: 8px;
  color: var(--brand);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.service-link::after {
  content: " ->";
}

.service-card ul {
  columns: 2;
  gap: 28px;
  margin: 18px 0;
  padding-left: 1.1rem;
  color: #24313c;
}

.service-card li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.deliverable {
  padding-top: 16px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.deliverable strong {
  color: var(--ink);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  margin: 0 clamp(12px, 2vw, 24px);
  border-radius: 36px;
  background: transparent;
  color: var(--ink);
}

.about-copy p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy h2 {
  font-size: clamp(1.65rem, 2.55vw, 2.45rem);
  line-height: 1.16;
}

.about-section .eyebrow {
  color: var(--brand);
}

.about-panel {
  display: grid;
  gap: 18px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-panel div {
  display: grid;
  gap: 4px;
  padding: 0;
  background: transparent;
}

.about-panel strong {
  font-size: 1.05rem;
}

.about-panel span {
  color: var(--muted);
}

.vacancies-section {
  background: var(--white);
}

.vacancies-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 34px;
  background: var(--soft);
}

.vacancies-panel h3 {
  margin-bottom: 10px;
}

.vacancies-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.vacancies-panel .button {
  flex: 0 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 20px;
  align-items: start;
}

.contact-form {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(10, 10, 10, 0.06);
}

.contact-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: #24313c;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(200, 243, 106, 0.36);
  border-color: #9bc64d;
}

.contact-form .button {
  width: fit-content;
  min-width: 160px;
}

.services-page-hero {
  min-height: auto;
  padding: clamp(88px, 10vw, 148px) clamp(18px, 4vw, 52px);
}

.services-page-hero .hero-content {
  padding: 0;
}

.services-page {
  display: grid;
  gap: clamp(72px, 9vw, 132px);
  max-width: 1180px;
  margin-inline: auto;
}

.services-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  padding: 0;
  background: transparent;
}

.services-detail-card.image-left {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
}

.services-detail-art {
  display: block;
  width: 100%;
  aspect-ratio: 360 / 260;
  object-fit: cover;
  border-radius: 0;
}

.services-detail-card h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.08;
}

.services-detail-card h3 {
  margin-top: 0;
}

.services-detail-card p {
  color: var(--muted);
}

.services-detail-card ul {
  margin: 16px 0 0;
  padding-left: 1.1rem;
  color: #24313c;
}

.services-detail-card li {
  margin-bottom: 8px;
}

.service-detail-stack {
  display: grid;
  gap: 24px;
}

.service-detail-block {
  padding-top: 22px;
  border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.services-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(140px, 0.45fr) minmax(140px, 0.45fr);
  gap: 28px clamp(28px, 6vw, 90px);
  align-items: start;
  margin: 0 clamp(12px, 2vw, 24px) 24px;
  padding: clamp(38px, 5vw, 62px) clamp(18px, 4vw, 52px) 26px;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: var(--deep);
}

.site-footer a {
  color: rgba(10, 10, 10, 0.68);
  font-weight: 400;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand);
}

.footer-details {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-details strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-nav {
  display: grid;
  gap: 9px;
}

.footer-copy {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-section {
  max-width: 960px;
  margin-inline: auto;
}

.privacy-section p,
.privacy-section li {
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-content {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.privacy-content h2 {
  margin-top: 28px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.privacy-content h3 {
  margin: 14px 0 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.privacy-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 74% 22%, rgba(200, 243, 106, 0.54), transparent 30%),
      linear-gradient(180deg, rgba(246, 247, 249, 0.88), rgba(246, 247, 249, 0.98));
  }

  .hero-content {
    width: min(100% - 36px, 680px);
    margin-inline: auto;
  }

  .about-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .services-detail-card {
    grid-template-columns: 1fr;
  }

  .services-detail-card.image-left {
    grid-template-columns: 1fr;
  }

  .services-detail-card.image-right .services-detail-art {
    order: -1;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .brand {
    font-size: 0.98rem;
    min-width: 120px;
  }

  .brand img {
    width: min(138px, 42vw);
  }

  .main-nav {
    gap: 16px;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .hero-content {
    width: min(100% - 32px, 680px);
    padding: 68px 0 86px;
  }

  h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.65rem);
    line-height: 1.06;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    gap: 8px;
  }

  .button {
    width: 100%;
  }

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

  .service-card.large {
    grid-template-columns: 1fr;
  }

  .service-card ul {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
