:root {
  --prim: #ff5a00;
  --sec: #5d285f;
  --black: #000000;
  --grey: #6d7378;
  --grey-2: #5c6370;
  --bg: #f3f3f3;
  --white: #ffffff;
  --border: #e2e2e2;
  --input-border: #d7d7d7;
  --font-head: "Fira Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 28px;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.04);
  --header-h: 120px;
  --content: 1500px;
  --about-overlap: 160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--black);
  background: var(--bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--prim);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--prim);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-size: 21px;
  line-height: 30px;
  letter-spacing: -0.42px;
  color: var(--prim);
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.52px;
}

.section-title--light {
  color: var(--white);
}

.section-text {
  font-size: 21px;
  line-height: 30px;
  letter-spacing: -0.42px;
  color: var(--grey);
}

.section-text--muted {
  color: var(--grey-2);
}

.section-text--light {
  color: var(--white);
  opacity: 0.7;
}

.section-intro {
  max-width: 800px;
}

.section-intro .section-title + .section-text,
.about__card .section-title + .section-text,
.faq__intro .section-title + .section-text,
.contact__intro .section-title + .section-text,
.footer__join-copy .section-title + .section-text,
.quality__intro .section-title + .section-text,
.company__intro .section-title + .section-text,
.jobs__intro .section-title + .section-text {
  margin-top: 20px;
}

.icon-48 {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.icon-24 {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn--prim {
  background: var(--prim);
  color: var(--white);
}

.btn--prim:hover {
  background: #e65200;
}

.btn--white {
  background: var(--white);
  color: var(--black);
}

.btn--black {
  background: var(--black);
  color: var(--white);
}

.btn--ghost {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--border);
}

.btn--full {
  width: 100%;
}

.icon-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.icon-btn img {
  width: 20px;
  height: 20px;
}

.icon-btn--prim {
  background: var(--prim);
}

.icon-btn--white {
  background: var(--white);
}

.icon-btn--black {
  background: var(--black);
}

.icon-btn--black:hover {
  background: #222;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--header-h);
  transition: height 0.25s ease, background-color 0.25s ease;
}

.header.is-scrolled {
  position: fixed;
  height: 80px;
  background: rgba(93, 40, 95, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.header__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  height: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}

.header.is-scrolled .header__inner {
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header__logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.header__logo img {
  width: 86.693px;
  height: 130px;
  transition: width 0.25s ease, height 0.25s ease;
}

.header.is-scrolled .header__logo img {
  width: 40px;
  height: 60px;
}

.header.is-scrolled .nav {
  padding: 0;
}

.header.is-scrolled .menu-toggle {
  margin-top: 0;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  min-width: 0;
  padding: 24px 0;
}

.nav__link {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.36px;
  color: var(--white);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav__link:hover {
  opacity: 0.72;
}

.nav__link[aria-current="page"] {
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--prim);
}

.nav__rule {
  flex: 1;
  height: 1px;
  min-width: 24px;
  background: rgba(255, 255, 255, 0.2);
}

.nav__social {
  display: none;
}

.header__contacts {
  display: none;
}

.nav-backdrop {
  display: none;
}

body.is-menu-open {
  overflow: hidden;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-top: 16px;
  align-items: center;
  justify-content: center;
}

.menu-toggle__box {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.menu-toggle__bar {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle__bar:nth-child(1) {
  top: 0;
}

.menu-toggle__bar:nth-child(2) {
  top: 7px;
}

.menu-toggle__bar:nth-child(3) {
  top: 14px;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bar:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #f3f3f3;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 35%;
  transform: scaleX(-1);
}

.hero__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 240px;
  padding-bottom: calc(var(--about-overlap) + 48px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: end;
}

.hero__copy {
  padding: 40px 60px 40px 0;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.64px;
}

.hero__lead {
  margin-top: 20px;
  max-width: 40ch;
  font-size: 21px;
  line-height: 30px;
  opacity: 0.7;
}

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

.hero-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 40px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  color: var(--white);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.hero-card--sec {
  background: var(--sec);
}

.hero-card--prim {
  background: var(--prim);
}

.hero-card__text {
  flex: 1;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
  line-height: 1.2;
}

/* About */
.about {
  position: relative;
  z-index: 3;
  margin-top: calc(var(--about-overlap) * -1);
  background: transparent;
  padding: 0;
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__card {
  position: relative;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px;
  max-width: none;
}

.about__card .section-title,
.about__card .section-text {
  max-width: 800px;
}

.stats {
  display: flex;
  background: var(--sec);
  border-radius: var(--radius-xl);
  padding: 64px;
  color: var(--white);
}

.stats__item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stats__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
}

.stats__label {
  margin-top: 8px;
  font-size: 18px;
  line-height: 26px;
}

/* Services */
.services {
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 100px 0;
}

.services__panel {
  margin-top: 64px;
  background: var(--prim);
  border-radius: var(--radius-xl);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s ease;
}

a.service-card:hover {
  transform: translateY(-2px);
}

.service-card--featured {
  background: var(--prim);
  color: var(--white);
}

.service-card__text {
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
  line-height: 1.2;
}

.service-card p {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--grey-2);
}

.service-card--featured p {
  color: var(--white);
  opacity: 0.7;
}

.services__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
}

.services__cta-copy {
  flex: 1;
  color: var(--white);
}

.services__cta-copy h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 12px;
}

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

.services__cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Reviews */
.reviews {
  background: var(--white);
  border-top: 1px solid var(--bg);
  padding: 100px 0;
}

.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}

.reviews__nav {
  display: flex;
  gap: 10px;
}

.reviews__viewport {
  overflow: hidden;
}

.reviews__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 min(1000px, 85%);
  max-width: 1000px;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: var(--radius-xl);
  scroll-snap-align: start;
}

.review-card__photo {
  width: 300px;
  height: 400px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.review-card__photo img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  object-position: center 15%;
}

.review-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 32px 48px;
}

.review-card__quote-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-card__mark {
  width: 25px;
  height: 19px;
  transform: rotate(180deg);
}

.review-card blockquote {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
  line-height: 1.25;
}

.review-card__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.review-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.review-card__role {
  margin-top: 4px;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--grey);
}

.review-card__logo {
  max-width: 185px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.client-logo {
  position: relative;
  width: 185px;
  height: 38px;
  flex-shrink: 0;
  overflow: hidden;
}

.client-logo__mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 42.4px;
  height: 31px;
}

.client-logo__type {
  position: absolute;
  top: 11px;
  left: 48.5px;
  width: 136.3px;
  height: 26.4px;
}

/* FAQ */
.faq {
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  padding: 80px 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, 465px) minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.faq__intro {
  padding: 40px 60px 40px 0;
}

.faq__intro .icon-48 {
  margin-bottom: 32px;
}

.faq__list {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.faq-item.is-open {
  background: var(--white);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-item__a {
  display: none;
  padding-top: 12px;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

.faq-item__a p {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--grey);
}

/* Contact */
.contact {
  background: var(--sec);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 100px 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px;
  align-items: stretch;
}

.contact__intro {
  padding: 40px 40px 40px 0;
}

.contact__divider {
  height: 1px;
  background: var(--white);
  opacity: 0.1;
  margin: 40px 0;
}

.contact__cta .icon-24 {
  margin-bottom: 20px;
}

.contact__hours {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.32px;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 18px;
}

.contact__cta a {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.36px;
  margin-top: 6px;
}

.form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__row {
  display: flex;
  gap: 20px;
}

.field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.32px;
  color: var(--grey);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 18px;
  line-height: 26px;
  outline: none;
}

.field input,
.field select {
  height: 66px;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='none'%3E%3Cpath d='M1 1l5 4 5-4' stroke='%236D7378' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  padding-right: 48px;
}

.field select:required:invalid {
  color: var(--grey);
}

.field select option {
  color: var(--black);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--grey);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: inset 0 0 0 2px var(--prim);
}

.field--message {
  flex: 1;
}

.form__actions {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 4px;
}

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.consent__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent__switch {
  width: 64px;
  height: 28px;
  padding: 4px;
  border: 1px solid var(--input-border);
  border-radius: 100px;
  background: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.consent__knob {
  width: 32px;
  height: 20px;
  border-radius: 100px;
  background: var(--black);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.consent__input:checked + .consent__switch {
  border-color: var(--prim);
  background: #fff4ed;
}

.consent__input:checked + .consent__switch .consent__knob {
  transform: translateX(24px);
  background: var(--prim);
}

.consent__label {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--grey);
}

.form__status {
  font-size: 16px;
  color: var(--sec);
}

/* Footer */
.footer {
  background: var(--white);
  border-top: 5px solid var(--prim);
  padding: 100px 0 40px;
}

.footer__join {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.footer__join-copy {
  max-width: 700px;
}

.footer__join-actions {
  display: flex;
  gap: 12px;
  margin-top: 48px;
}

.footer__brand {
  background: var(--prim);
  border-radius: var(--radius-lg);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__brand img {
  width: 132px;
  height: 197.944px;
}

.footer__rule {
  height: 1px;
  background: var(--bg);
  margin: 64px 0;
}

.footer__cols {
  display: flex;
  gap: 12px;
}

.footer__cols > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__heading {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  padding-bottom: 12px;
}

.footer__cols a,
.footer__cols p {
  font-size: 18px;
  line-height: 26px;
}

.footer__cols a:hover {
  color: var(--prim);
}

.footer__block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__block + .footer__block {
  margin-top: 10px;
}

.footer__label {
  font-size: 16px;
  line-height: 22px;
  color: var(--grey);
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--bg);
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

.footer__bottom > p {
  opacity: 0.7;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a:hover {
  color: var(--black);
}

@media (max-width: 1199px) {
  .header {
    height: auto;
  }

  .header.is-scrolled {
    height: auto;
  }

  .header__contacts {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .header__contacts-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    min-height: 40px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header__contacts a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.3px;
    color: var(--white);
    white-space: nowrap;
  }

  .header__contacts a:hover {
    color: var(--prim);
  }

  .header.is-scrolled .header__contacts-inner {
    min-height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .header__inner {
    gap: 32px;
    padding-top: 32px;
  }

  .nav {
    gap: 22px;
  }

  .nav__link {
    font-size: 16px;
  }

  .nav__link--contact,
  .nav__rule {
    display: none;
  }

  .hero__title {
    font-size: 48px;
  }

  .section-title {
    font-size: 40px;
  }

  .hero-card__text,
  .service-card h3,
  .review-card blockquote {
    font-size: 24px;
  }

  .services__cta {
    padding: 40px;
    flex-wrap: wrap;
  }

  .review-card__photo,
  .review-card__photo img {
    width: 240px;
    height: 320px;
  }
}

@media (max-width: 899px) {
  :root {
    --about-overlap: 72px;
  }

  .container {
    padding: 0 20px;
  }

  .header__inner {
    gap: 16px;
  }

  .header__logo img {
    width: 62px;
    height: 93px;
  }

  .header.is-scrolled .header__logo img {
    width: 37px;
    height: 56px;
  }

  .header {
    z-index: 60;
  }

  .menu-toggle {
    display: flex;
    margin-top: 0;
    z-index: 61;
  }

  body.is-menu-open .header,
  body.is-menu-open .header--light,
  body.is-menu-open .header.is-scrolled,
  body.is-menu-open .header--light.is-scrolled {
    z-index: 56;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.is-menu-open .header__contacts {
    visibility: hidden;
    border-color: transparent;
  }

  body.is-menu-open .header.is-scrolled .header__logo {
    visibility: hidden;
  }

  body.is-menu-open .nav,
  body.is-menu-open .nav.is-open {
    z-index: 60;
  }

  .menu-toggle.is-floating {
    position: fixed;
    z-index: 70;
    margin: 0;
  }

  body.is-menu-open .menu-toggle__bar {
    background: var(--white);
  }

  .header__inner {
    align-items: center;
    padding-top: 28px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(18, 8, 20, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 55;
    width: min(340px, 88vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 120px 28px 32px;
    overflow-y: auto;
    background: var(--sec);
    border-radius: 0;
    box-shadow: none;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -20px 0 48px rgba(0, 0, 0, 0.28);
  }

  .header.is-scrolled .nav {
    padding: 120px 28px 32px;
  }

  .nav__link {
    width: 100%;
    padding: 14px 0;
    font-size: 22px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__link[aria-current="page"] {
    color: var(--prim);
    box-shadow: none;
  }

  .nav__rule,
  .nav__link--contact {
    display: block;
  }

  .nav__rule {
    width: 100%;
    flex: none;
    height: 1px;
    margin: 20px 0 12px;
    background: rgba(255, 255, 255, 0.16);
  }

  .nav__link--contact {
    width: auto;
    padding: 8px 0;
    border: 0;
    font-size: 16px;
    opacity: 0.88;
  }

  .nav__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .social--light {
    color: var(--white);
  }

  .social--light img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
  }

  .hero {
    min-height: 0;
    align-items: stretch;
  }

  .hero__content {
    padding-top: 228px;
    padding-bottom: calc(var(--about-overlap) + 32px);
  }

  .hero__grid,
  .faq__grid,
  .contact__grid,
  .footer__join,
  .form__row,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding: 0;
  }

  .hero__title {
    font-size: 40px;
  }

  .about__card,
  .stats {
    padding: 32px;
  }

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

  .services,
  .reviews,
  .contact,
  .footer {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .services__cta-actions,
  .footer__join-actions,
  .reviews__head {
    flex-wrap: wrap;
  }

  .review-card {
    flex-direction: column;
    flex-basis: 88%;
  }

  .review-card__body {
    padding: 24px 0 0;
  }

  .review-card__photo,
  .review-card__photo img {
    width: 100%;
    height: 280px;
  }

  .faq__intro,
  .contact__intro {
    padding: 0 0 12px;
  }

  .footer__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

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

@media (max-width: 639px) {
  .header__contacts-inner {
    justify-content: space-between;
    gap: 12px;
  }

  .header__contacts a {
    font-size: 13px;
  }

  .hero__content {
    padding-top: 248px;
  }

  .hero__title {
    font-size: 32px;
  }

  .section-title,
  .services__cta-copy h3 {
    font-size: 28px;
  }

  .hero-card {
    padding: 24px;
  }

  .hero-card__text,
  .service-card h3,
  .review-card blockquote,
  .faq-item__q {
    font-size: 20px;
  }

  .stats,
  .footer__cols {
    grid-template-columns: 1fr;
  }

  .services__cta,
  .form,
  .about__card {
    padding: 24px;
  }

  .services__cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .services__cta-actions .btn {
    width: 100%;
  }

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

  .footer__legal {
    flex-direction: column;
    gap: 8px;
  }
}

/* Inner pages — light header (Figma 77:15472) */
.header--light {
  position: sticky;
  top: 0;
  height: auto;
  background: var(--white);
}

.header--light .header__inner {
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 20px;
}

.header--light .header__logo img {
  width: 86.693px;
  height: 130px;
}

.header--light .nav__link {
  color: var(--black);
}

.header--light .nav__link:hover {
  opacity: 1;
  color: var(--prim);
}

.header--light .nav__link[aria-current="page"] {
  color: var(--prim);
  box-shadow: none;
}

.header--light .nav__rule {
  background: var(--bg);
}

.header--light .menu-toggle__bar {
  background: var(--black);
}

.header--light.is-scrolled {
  height: 80px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.header--light.is-scrolled .header__inner {
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header--light.is-scrolled .header__logo img {
  width: 40px;
  height: 60px;
}

.header--light.is-scrolled .menu-toggle {
  margin-top: 0;
}

.page-hero {
  background: var(--white);
  padding: 100px 0 0;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 500px);
  gap: 40px;
  align-items: start;
}

.page-hero__copy {
  max-width: 700px;
  padding-top: 40px;
}

.page-hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.64px;
}

.page-hero__lead {
  margin-top: 20px;
  font-size: 21px;
  line-height: 30px;
  color: var(--grey);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.page-hero__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-hero__feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-xl);
}

.page-hero__feature img {
  width: 72px;
  height: 72px;
}

.page-hero__feature h2 {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
}

.page-hero__feature p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

.page-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-hero__stat {
  padding: 32px;
  background: var(--bg);
  border-radius: 22px;
}

.page-hero__stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
}

.page-hero__stat span {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

.service-jump {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  padding: 32px;
  background: #6e2d71;
  border-radius: var(--radius-xl);
}

.service-jump__copy {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  color: var(--white);
}

.service-jump__copy p {
  font-size: 18px;
  line-height: 26px;
}

.service-jump__copy h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
}

.service-jump__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.service-jump__grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 20px;
  background: var(--prim);
  border-radius: 16px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  transition: filter 0.2s ease;
}

.service-jump__grid a:hover {
  filter: brightness(1.08);
}

.offer {
  background: var(--white);
  padding: 80px 0 100px;
}

.offer__intro {
  max-width: 700px;
  margin-bottom: 64px;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.offer-card {
  display: flex;
  align-items: stretch;
  background: var(--sec);
  border-radius: var(--radius-xl);
}

.offer-card__rail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  flex-shrink: 0;
}

.offer-card__rail span {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  transform: rotate(-90deg);
}

.offer-card,
.process,
#kontakti,
.company,
.jobs,
#pieteikties,
#jautajumi {
  scroll-margin-top: 110px;
}

.offer-card__body {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-xl);
}

.offer-card__icon {
  width: 72px;
  height: 72px;
}

.offer-card__main {
  width: 100%;
}

.offer-card__num {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.offer-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
}

.offer-card__text {
  margin-top: 8px;
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

.offer-card__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 208px;
  gap: 12px;
  margin-top: 32px;
}

.offer-box {
  padding: 32px;
  background: var(--bg);
  border-radius: 22px;
}

.offer-box h4 {
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.42px;
  color: var(--sec);
}

.offer-box ul {
  list-style: none;
}

.offer-box li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}

.offer-box li + li {
  margin-top: 8px;
}

.check {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--prim);
}

.check img {
  width: 14px;
  height: 14px;
}

.offer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 208px;
  padding: 32px;
  background: var(--prim);
  border-radius: 22px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
  transition: filter 0.2s ease;
}

.offer-cta:hover {
  filter: brightness(1.08);
}

.process,
.quality {
  background: var(--white);
  padding: 100px 0;
}

.process {
  border-top: 1px solid #ebebeb;
}

.process__grid,
.quality__grid {
  display: grid;
  grid-template-columns: minmax(280px, 465px) minmax(0, 1fr);
  column-gap: 12px;
  align-items: stretch;
}

.process__intro,
.quality__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 540px;
  padding: 40px 60px 40px 0;
}

.process__intro .eyebrow,
.quality__intro .eyebrow {
  margin-bottom: 32px;
}

.process__copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.process__cta,
.quality__cta {
  margin-top: 20px;
}

.process-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.process-step__index {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.process-step__num {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 100px;
  background: var(--sec);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.process-step__index::after {
  content: "";
  flex: 1;
  width: 0;
  margin: 12px 0 0;
  border-left: 2px dotted #d0d0d0;
}

.process-step:last-child .process-step__index::after {
  display: none;
}

.process-step__body {
  padding: 14px 0 20px;
}

.process-step__body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.process-step__body p {
  margin-top: 10px;
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

.quality {
  border-top: 1px solid #ebebeb;
}

.quality-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quality-card {
  padding: 32px;
  background: var(--bg);
  border-radius: 22px;
}

.quality-card img {
  width: 48px;
  height: 48px;
}

.quality-card h3 {
  margin-top: 48px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.quality-card p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

@media (max-width: 1199px) {
  .header--light .header__contacts {
    border-bottom-color: #ebebeb;
  }

  .header--light .header__contacts a {
    color: var(--black);
  }

  .header--light .header__contacts a:hover {
    color: var(--prim);
  }

  .header--light.is-scrolled {
    height: auto;
  }

  .page-hero__title {
    font-size: 48px;
  }

  .offer-card__cols {
    grid-template-columns: 1fr 1fr;
  }

  .offer-cta {
    grid-column: 1 / -1;
    min-height: 80px;
  }
}

@media (max-width: 899px) {
  .header--light {
    position: relative;
  }

  .header--light .header__inner {
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .header--light .header__logo img {
    width: 62px;
    height: 93px;
  }

  .header--light.is-scrolled .header__logo img {
    width: 37px;
    height: 56px;
  }

  .header--light .nav__link {
    color: var(--white);
  }

  .header--light .nav__link[aria-current="page"] {
    color: var(--prim);
  }

  .header--light .nav__rule {
    background: rgba(255, 255, 255, 0.16);
  }

  .header--light.is-scrolled .nav {
    padding: 120px 28px 32px;
  }

  .page-hero,
  .offer,
  .process,
  .quality {
    padding: 64px 0;
  }

  .page-hero__grid,
  .process__grid,
  .quality__grid,
  .service-jump,
  .quality-cards,
  .offer-card__cols,
  .page-hero__stats {
    grid-template-columns: 1fr;
  }

  .page-hero__title {
    font-size: 36px;
  }

  .offer-card__title,
  .page-hero__feature h2 {
    font-size: 28px;
  }

  .service-jump {
    flex-direction: column;
  }

  .service-jump__copy {
    flex: none;
    width: 100%;
    gap: 16px;
  }

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

  .offer-card {
    flex-direction: column;
  }

  .offer-card__rail {
    width: 100%;
    height: 44px;
  }

  .offer-card__rail span {
    transform: none;
  }

  .offer-card__body,
  .process__intro,
  .quality__intro,
  .page-hero__copy {
    padding: 28px 0 0;
  }

  .offer-card__body {
    padding: 28px;
  }
}

@media (max-width: 639px) {
  .page-hero__title {
    font-size: 32px;
  }

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

/* Vacancies page */
.vacancy-hero {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 100px 0;
  overflow: visible;
}

.vacancy-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 690px);
  gap: 40px;
  align-items: center;
}

.vacancy-hero__copy {
  max-width: 690px;
  padding: 40px 60px 40px 0;
}

.vacancy-hero__copy .page-hero__actions {
  margin-top: 20px;
}

.vacancy-hero__media {
  width: 100%;
  max-width: 690px;
}

.vacancy-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 690 / 518;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
}

.company {
  background: var(--bg);
  padding: 100px 0;
  overflow: hidden;
}

.company__intro {
  max-width: 700px;
  padding-right: 60px;
  margin-bottom: 64px;
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 64px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.company-stat img {
  width: 48px;
  height: 48px;
}

.company-stat strong {
  display: block;
  margin-top: 32px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
}

.company-stat span {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 26px;
  color: #494949;
}

.company__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  padding: 64px 0;
}

.company__story {
  padding-right: 60px;
}

.company__story p {
  font-size: 21px;
  line-height: 30px;
  letter-spacing: -0.42px;
  color: var(--grey);
}

.company__story p + p {
  margin-top: 24px;
}

.company__story .btn {
  margin-top: 44px;
}

.company__offer h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
  margin-bottom: 32px;
}

.company__offer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company__offer li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}

.company-mosaic {
  display: flex;
  gap: 20px;
  overflow: hidden;
  align-items: flex-start;
}

.company-mosaic img {
  max-width: none;
  object-fit: cover;
  border-radius: 28px;
  flex-shrink: 0;
}

.company-mosaic img:nth-child(1) {
  width: 560px;
  height: 420px;
}

.company-mosaic img:nth-child(2) {
  width: 358px;
  height: 500px;
}

.company-mosaic img:nth-child(3) {
  width: 300px;
  height: 225px;
}

.company-mosaic img:nth-child(4) {
  width: 560px;
  height: 420px;
}

.training {
  border-top: 0;
}

.jobs {
  background: var(--white);
  padding: 100px 0;
  border-top: 1px solid #ebebeb;
}

.jobs__intro {
  max-width: 800px;
  margin-bottom: 64px;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vacancy-single {
  padding: 80px 0 100px;
  background: var(--bg);
}

.vacancy-single__back {
  display: inline-flex;
  margin-bottom: 28px;
  font-weight: 600;
  color: var(--black);
}

.vacancy-single__back:hover {
  color: var(--prim);
}

.vacancy-single__card {
  max-width: 920px;
  padding: 56px 64px;
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: var(--radius-xl);
}

.vacancy-single__lead {
  margin-top: 20px;
}

.vacancy-single__body {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--grey);
}

.vacancy-single__body p + p {
  margin-top: 16px;
}

.vacancy-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

@media (max-width: 899px) {
  .vacancy-single__card {
    padding: 36px 24px;
  }
}

.job-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 40px;
  background: var(--white);
  border: 1px solid #ebebeb;
  border-radius: var(--radius-xl);
}

.job-card__copy {
  flex: 1;
  min-width: 0;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.job-tag {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--bg);
  color: #494949;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.job-tag--prim {
  background: rgba(255, 90, 0, 0.1);
  border: 1px solid var(--prim);
  border-radius: 8px;
  color: var(--prim);
}

.job-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
}

.job-card p {
  margin-top: 8px;
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

.job-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 200px;
  flex-shrink: 0;
}

.btn--job {
  width: 100%;
  min-height: 54px;
  padding: 16px 20px;
}

.field--file {
  position: relative;
}

.field__file {
  position: absolute;
  inset: 28px 0 0;
  opacity: 0;
  cursor: pointer;
}

.field__file-box {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius-md);
  font-size: 18px;
  line-height: 26px;
  color: var(--grey);
}

.field__file-box.is-filled {
  color: var(--black);
}

@media (max-width: 1199px) {
  .vacancy-hero__grid,
  .company-stats,
  .company__split {
    grid-template-columns: 1fr 1fr;
  }

  .company-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 899px) {
  .vacancy-hero,
  .company,
  .jobs {
    padding: 64px 0;
  }

  .vacancy-hero__grid,
  .company__split,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .vacancy-hero__copy,
  .company__intro,
  .company__story,
  .faq__intro {
    padding-right: 0;
  }

  .vacancy-hero__media {
    max-width: none;
  }

  .job-card {
    flex-direction: column;
    align-items: stretch;
  }

  .job-card__actions {
    width: 100%;
  }

  .company-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }

  .company-mosaic img,
  .company-mosaic img:nth-child(1),
  .company-mosaic img:nth-child(2),
  .company-mosaic img:nth-child(3),
  .company-mosaic img:nth-child(4) {
    width: 100%;
    max-width: 100%;
    height: 220px;
  }
}

/* Team page */
.team {
  background: var(--white);
  padding: 100px 0;
}

.team__intro {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
}

.team__intro .page-hero__lead {
  margin-top: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.team-card {
  position: relative;
  aspect-ratio: 340 / 510;
  border-radius: 28px;
  overflow: hidden;
  background: #1a1a1a;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__details {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px;
  background: linear-gradient(to bottom, rgba(255, 90, 0, 0), #ff5a00);
}

.team-card__meta {
  padding: 28px;
  color: var(--white);
}

.team-card__meta h2,
.team-card__meta h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.28px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.team-card__meta p {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--white);
  opacity: 0.7;
}

.team-card__text {
  opacity: 0.55;
  font-size: 16px;
}

.team-card__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 0 28px;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
}

.team-card--contact:hover .team-card__contact,
.team-card--contact:focus-within .team-card__contact,
.team-card--contact.is-open .team-card__contact {
  max-height: 180px;
  opacity: 1;
  padding: 28px;
  pointer-events: auto;
}

.team-card__contact a:hover {
  color: var(--prim);
}

.join-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--sec);
  border-radius: var(--radius-xl);
  padding: 64px;
}

.join-banner__copy {
  max-width: 800px;
}

.join-banner h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  color: var(--white);
}

.join-banner p {
  margin-top: 20px;
  font-size: 21px;
  line-height: 30px;
  letter-spacing: -0.42px;
  color: var(--white);
  opacity: 0.7;
}

.offices {
  background: var(--white);
  border-top: 1px solid #ebebeb;
  padding: 100px 0;
}

.offices__title {
  max-width: 700px;
  padding: 40px 0;
}

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

.office-tabs {
  display: flex;
  gap: 12px;
}

.office-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 62px;
  padding: 20px 16px;
  border: 1px solid #ebebeb;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.office-tab:hover {
  border-color: var(--black);
}

.office-tab.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.office-panel {
  display: flex;
  gap: 12px;
  align-items: stretch;
  min-height: 560px;
}

.office-map {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: #e8e8e8;
}

.office-map__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--map-zoom, 1));
  transform-origin: var(--map-origin, 52% 46%);
  transition: transform 0.35s ease;
}

.office-map__pin {
  position: absolute;
  left: var(--pin-x, 52%);
  top: var(--pin-y, 46%);
  width: 30px;
  height: 40px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.office-map__pin > img:first-child {
  width: 30px;
  height: 40px;
}

.office-map__mark {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 21px;
  height: 20px;
  transform: translateX(-50%);
}

.office-map__zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 48px;
}

.office-map__zoom button {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--black);
  color: var(--white);
  display: grid;
  place-items: center;
}

.office-map__zoom button:hover {
  background: #222;
}

.office-map__minus,
.office-map__plus {
  display: block;
  width: 12px;
  height: 12px;
  position: relative;
}

.office-map__minus::before,
.office-map__plus::before,
.office-map__plus::after {
  content: "";
  position: absolute;
  background: var(--white);
  border-radius: 1px;
}

.office-map__minus::before,
.office-map__plus::before {
  left: 0;
  top: 5px;
  width: 12px;
  height: 2px;
}

.office-map__plus::after {
  left: 5px;
  top: 0;
  width: 2px;
  height: 12px;
}

.office-side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.office-info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg);
  border-radius: 24px;
  padding: 40px;
}

.office-info__top h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
}

.office-info__top p {
  margin-top: 4px;
  font-size: 18px;
  line-height: 26px;
}

.office-shifts {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}

.office-shift {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ebebeb;
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.office-shift.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.office-info__facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.office-info__label {
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.32px;
  color: var(--grey);
  margin-bottom: 4px;
}

.office-info__facts a,
.office-info__facts p:not(.office-info__label) {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.36px;
  word-break: break-word;
}

.office-info__facts a:hover {
  color: var(--prim);
}

.office-person {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: auto;
  align-self: stretch;
}

.office-side.is-solo .office-person {
  display: none;
}

@media (max-width: 1199px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .join-banner h2 {
    font-size: 40px;
  }

  .office-tabs {
    flex-wrap: wrap;
  }

  .office-tab {
    flex: 1 1 calc(25% - 12px);
  }

  .office-panel {
    flex-direction: column;
    min-height: 0;
  }

  .office-map {
    min-height: 360px;
  }
}

@media (max-width: 899px) {
  .team,
  .offices {
    padding: 64px 0;
  }

  .team__intro,
  .team-grid,
  .offices__title {
    padding: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 40px 0;
  }

  .team-card__meta {
    padding: 20px;
  }

  .team-card__meta h2,
  .team-card__meta h3 {
    font-size: 22px;
  }

  .join-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
    gap: 28px;
  }

  .join-banner h2 {
    font-size: 32px;
  }

  .join-banner p {
    font-size: 18px;
    line-height: 26px;
  }

  .office-tab {
    flex: 1 1 calc(50% - 12px);
  }

  .office-side {
    flex-direction: column;
  }

  .office-person {
    aspect-ratio: 340 / 510;
  }
}

@media (max-width: 639px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .office-tab {
    flex: 1 1 100%;
  }
}

/* About + Contacts pages */
.about-hero,
.contact-hero {
  background: var(--white);
  padding: 100px 0;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 700px);
  gap: 20px;
  align-items: center;
}

.about-hero__copy {
  padding-right: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 40px;
}

.about-stat {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  padding: 26px;
  border-radius: 24px;
  background: var(--prim);
  color: var(--white);
}

.about-stat--sec {
  background: var(--sec);
}

.about-stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}

.about-stat span {
  display: block;
  margin-top: 8px;
  max-width: 70%;
  font-size: 18px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.7);
}

.about-stat img {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 96px;
  height: 96px;
}

.about-hero__media {
  border-radius: 28px;
  overflow: hidden;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: 700 / 525;
  object-fit: cover;
}

.about-who {
  background: var(--bg);
  padding: 100px 0;
}

.about-who__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.about-who__intro {
  max-width: 800px;
  padding-right: 60px;
}

.about-who__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 80px;
  font-size: 21px;
  line-height: 30px;
  letter-spacing: -0.42px;
  color: var(--grey);
}

.about-mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 520px);
  gap: 52px;
  align-items: center;
  margin-top: 64px;
  padding: 64px;
  background: var(--sec);
  border-radius: var(--radius-xl);
}

.about-mission__copy {
  max-width: 800px;
}

.about-mission__copy h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
  color: #fdfdfd;
}

.about-mission__copy h3 + p {
  margin: 20px 0 40px;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: rgba(253, 253, 253, 0.7);
}

.about-mission__copy h3:last-of-type + p {
  margin-bottom: 0;
}

.about-mission__visual {
  min-height: 338px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 72%, rgba(93, 40, 95, 0.18), transparent 42%),
    linear-gradient(180deg, #ff7a2e 0%, var(--prim) 100%);
}

.about-mission__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 338px;
  object-fit: cover;
}

.about-values,
.about-baltic,
.about-history,
.about-team {
  background: var(--white);
  padding: 100px 0;
}

.about-team {
  border-top: 1px solid #ebebeb;
}

.about-team--tint {
  background: var(--bg);
  border-top: 0;
}

.about-team .section-title,
.about-values__intro {
  max-width: 800px;
}

.about-values__intro .section-text {
  margin-top: 20px;
}

.about-team .team-grid {
  padding: 40px 0 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.value-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  padding: 32px;
  border-radius: 28px;
  background: var(--bg);
}

.value-card span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.52px;
  color: #e4e4e4;
}

.value-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
  margin-top: 48px;
}

.value-card p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--grey);
}

.about-baltic {
  border-top: 1px solid #ebebeb;
}

.about-baltic__grid {
  display: grid;
  grid-template-columns: minmax(240px, 500px) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
}

.about-baltic__media {
  border-radius: 34px;
  overflow: hidden;
  min-height: 430px;
}

.about-baltic__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}

.about-process {
  background: var(--sec);
  padding: 100px 0;
}

.about-process .section-title {
  max-width: 800px;
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 74px;
}

.about-step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 32px;
  background: var(--white);
  border-radius: 28px;
}

.about-step span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 100px;
  background: var(--prim);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.about-step h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.28px;
  margin-top: 48px;
}

.about-step p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--grey);
}

.about-history__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.about-history__grid .section-title {
  max-width: 800px;
  padding-right: 60px;
}

.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px;
  background: var(--bg);
  border-radius: var(--radius-xl);
}

.timeline li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.timeline__year {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--prim);
  text-align: center;
  padding-bottom: 28px;
}

.timeline__year::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 36px;
  bottom: 0;
  width: 2px;
  background: #e2e2e2;
  transform: translateX(-50%);
}

.timeline li:last-child .timeline__year::after {
  display: none;
}

.timeline li:last-child .timeline__year,
.timeline__year--now {
  color: var(--sec);
}

.timeline h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.timeline p:not(.timeline__year) {
  margin-top: 10px;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.36px;
  color: var(--grey);
}

.contact-split {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.form--bordered {
  flex: 1 1 0;
  min-width: 0;
  border: 1px solid #f3f3f3;
}

.contact-aside {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  background: var(--bg);
  border-radius: 24px;
}

.contact-aside h2,
.contact-aside h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}

.contact-aside h3 {
  color: #494949;
}

.contact-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-facts li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-facts__icon {
  width: 56px;
  height: 56px;
  border-radius: 100px;
  background: var(--prim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-facts__icon img {
  width: 20px;
  height: 20px;
}

.contact-facts p:first-child {
  font-size: 16px;
  line-height: 22px;
  color: var(--grey);
}

.contact-facts a,
.contact-facts p:last-child {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}

.contact-facts a:hover {
  color: var(--prim);
}

.contact-aside__links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.contact-aside__links a {
  flex: 1;
  min-height: 62px;
  display: grid;
  place-items: center;
  background: var(--black);
  border-radius: var(--radius-md);
}

.contact-aside__links a:hover {
  background: #222;
}

.contact-aside__links img {
  width: 20px;
  height: 20px;
}

@media (max-width: 1199px) {
  .about-hero__grid,
  .about-who__row,
  .about-mission,
  .about-baltic__grid,
  .about-history__grid,
  .value-grid,
  .about-steps {
    grid-template-columns: 1fr 1fr;
  }

  .contact-split {
    flex-direction: column;
  }

  .contact-aside {
    width: 100%;
  }
}

@media (max-width: 899px) {
  .about-hero,
  .about-who,
  .about-values,
  .about-baltic,
  .about-process,
  .about-history,
  .about-team,
  .contact-hero {
    padding: 64px 0;
  }

  .about-hero__grid,
  .about-who__row,
  .about-mission,
  .about-baltic__grid,
  .about-history__grid,
  .value-grid,
  .about-steps,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-hero__copy,
  .about-who__intro,
  .about-who__text,
  .about-history__grid .section-title {
    padding: 0;
  }

  .about-who__text {
    padding-top: 0;
  }

  .about-mission {
    padding: 36px 28px;
    gap: 28px;
  }

  .about-mission__visual,
  .about-mission__visual img {
    min-height: 220px;
  }

  .about-hero__media img,
  .about-baltic__media,
  .about-baltic__media img {
    min-height: 260px;
  }

  .timeline {
    padding: 28px;
  }

  .timeline li {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }

  .form__row {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.admin-bar .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .header {
    top: 46px;
  }
}
