*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #28223d;
  --purple: #7552a6;
  --purple-dark: #604086;
  --purple-light: #8d6bbd;
  --lavender: #b99cd5;
  --lavender-light: #eee5f8;
  --soft: #f5f1fa;
  --bg: #fcfaff;
  --line: #e7e0ef;
  --text: #28223d;
  --muted: #71697e;
  --card-bg: #ffffff;
  --border: #e7e0ef;
  --shadow: 0 7px 25px #42325308;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

button, input, select { font: inherit; }
button { cursor: pointer; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 76px;
  padding: 12px max(26px, calc((100% - 1140px) / 2));
  background: #fffdfefa;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -1px;
  color: transparent;
  background: linear-gradient(90deg, var(--ink) 0 3.55ch, var(--purple) 3.55ch);
  -webkit-background-clip: text;
  background-clip: text;
}
.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--purple); }
.nav-btn,
.btn-primary,
.form-submit {
  background: var(--purple);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 15px 25px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 8px 20px #7656a327;
  transition: background 0.2s, transform 0.15s;
}
.nav-btn { padding: 12px 22px; font-size: 14px; box-shadow: 0 8px 20px #7656a327; }
.nav-btn:hover,
.btn-primary:hover,
.form-submit:hover { background: var(--purple-dark); transform: translateY(-1px); }

/* HERO */
.hero {
  max-width: none;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 16% 22%, #f3eafa 0, transparent 48%), #fbf8fe;
  overflow: hidden;
  min-height: 0;
  display: block;
  text-align: left;
}
.hero::before { display: none; }
.hero-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 55px 26px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  min-height: 560px;
}
.hero-tag {
  display: inline-flex;
  background: var(--lavender-light);
  color: #644394;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  padding: 7px 15px;
  border-radius: 50px;
  margin-bottom: 23px;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2.4px;
  margin: 0 0 23px;
  max-width: none;
}
.hero h1 em,
.hero h1 span[data-k="t008"] { font-style: normal; color: var(--purple); }
.hero-sub {
  font-size: 19px;
  color: #625b70;
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-note { margin-top: 15px; font-size: 13px; color: var(--muted); }
a.scroll-hint {
  position: static;
  transform: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--purple);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}
a.scroll-hint:hover { color: var(--purple-dark); }
#vacancy { scroll-margin-top: 90px; }
.scroll-dot { display: none; }
.hero-photo {
  width: 100%;
  height: 445px;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 36px;
  box-shadow: 20px 26px 0 #e6d7f4;
  display: block;
}

/* LIFE PHOTOS */
.life-row {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 26px 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.life-row img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
  display: block;
  box-shadow: 0 12px 32px #42325314;
}

/* SECTIONS */
.divider { display: none; }
section.block {
  max-width: 1140px;
  margin: 0 auto;
  padding: 82px 26px;
}
section.block.tone {
  max-width: none;
  background: var(--soft);
  padding-left: max(26px, calc((100% - 1140px) / 2));
  padding-right: max(26px, calc((100% - 1140px) / 2));
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: 0;
}
.section-title {
  font-size: clamp(29px, 3.2vw, 41px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}
.section-title em { font-style: normal; color: inherit; }
.section-text { color: var(--muted); font-size: 16px; margin-bottom: 14px; line-height: 1.7; }

section.block.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 75px;
  align-items: center;
}
section.block.split .split-head { grid-column: 1; }
section.block.split .split-head .section-title { margin-top: 10px; margin-bottom: 0; }
section.block.split .list-block,
section.block.split .req-grid {
  grid-column: 2;
  margin-top: 0;
}

/* ABOUT GRID */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.about-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  box-shadow: var(--shadow);
}
.about-card-icon,
.cond-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #f0e8f8;
  border-radius: 15px;
  color: var(--purple);
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1;
}
.about-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 5px 0;
}
.about-card-text { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* LIST */
.list-block { margin-top: 22px; }
.list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.list-item:last-child { border-bottom: none; }
.list-dot {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  margin-top: 0;
  flex-shrink: 0;
  color: var(--purple);
  font-weight: 900;
}
.list-dot::before { content: "✓"; }
.list-item-text { font-size: 16px; color: var(--ink); line-height: 1.5; }

/* REQ */
.req-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 22px;
}
.req-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 0;
}
.req-card:last-child { border-bottom: none; }
.req-check {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--purple);
  display: block;
  font-size: 16px;
  font-weight: 900;
  flex-shrink: 0;
}
.req-text { font-size: 16px; line-height: 1.5; }

/* CONDITIONS */
.cond-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.cond-item {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px;
  box-shadow: var(--shadow);
}
.cond-text { font-size: 16px; font-weight: 700; line-height: 1.45; }

/* PROCESS */
.process-steps {
  margin-top: 28px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.process-steps::before { display: none; }
.process-step {
  display: block;
  padding: 25px;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.step-num {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: #b99cd5;
  display: block;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
}
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-text { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* COMPANY / ABOUT — layout from the review */
.company-wrap {
  display: block;
  max-width: 1140px;
}
.team-card {
  background: linear-gradient(115deg, #efe5f6, #fff);
  border-radius: 30px;
  padding: 52px;
}
.team-card .section-label { margin-top: 0 !important; }
.team-line { margin-top: 25px; }
.company-photo-badge {
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: none;
}
.badge-avatars { display: flex; gap: 8px; }
.badge-avatar {
  width: auto;
  height: auto;
  border-radius: 0;
  border: 0;
  margin: 0;
  display: inline;
  background: #c4aee8;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}
.badge-text { font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.badge-text span { display: inline; font-weight: 600; color: var(--ink); font-size: 16px; }
.badge-text span + span { margin-left: 8px; }
.company-desc { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }

/* CTA */
.cta-bottom {
  padding: 20px 26px 82px;
  background: transparent;
}
.cta-panel {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  background: #f0e6f8;
  border-radius: 32px;
  padding: 55px 20px;
}
.cta-bottom h2 {
  font-size: clamp(29px, 3.2vw, 41px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin: 0 auto 12px;
}
.cta-bottom h2 em { font-style: normal; color: inherit; }
.cta-bottom p { color: var(--muted); margin-bottom: 28px; font-size: 16px; }

/* FOOTER */
footer {
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px max(26px, calc((100% - 1140px) / 2));
  font-size: 14px;
  border-top: 1px solid var(--line);
}
footer .logo { font-size: 20px; }
.footer-center { display: flex; gap: 24px; align-items: center; color: var(--lavender); }
.footer-privacy {
  color: var(--purple);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 650;
  font-family: inherit;
  padding: 0;
  text-align: right;
}
.footer-privacy:hover { color: var(--purple-dark); }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #272136aa;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px #27213633;
  transform: translateY(16px);
  transition: transform 0.3s;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 17px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #f4eff8;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}
.modal-close:hover { background: var(--lavender-light); }
.modal-deco { display: none; }
.modal-title { font-size: 27px; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--muted); margin-bottom: 16px; line-height: 1.55; }
.modal-sub b { color: var(--ink); }

/* FORM */
#formContent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
#formContent .modal-deco,
#formContent .modal-title,
#formContent .modal-sub,
#formContent .form-submit { grid-column: 1 / -1; }
.form-group { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0;
}
.form-input {
  width: 100%;
  background: #fff;
  border: 1px solid #d9cee4;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.form-input::placeholder { color: #a398ad; }
.form-input:focus { border-color: var(--purple); }
.form-input.error { border-color: #c45b7a; background: #fff; }
span.error {
  display: block;
  color: #c45b7a;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
  grid-column: auto;
}
.form-submit {
  width: 100%;
  margin-top: 4px;
  padding: 16px;
}
.form-submit:disabled { opacity: 0.7; cursor: wait; transform: none; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .check { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: 0.95rem; }

/* CONTACTS */
.contacts-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contacts-row:last-child { border-bottom: none; }
.contacts-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #f0e8f8;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contacts-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contacts-value { font-size: 16px; font-weight: 700; color: var(--purple); }
.contacts-value-text { font-size: 16px; line-height: 1.5; }

/* PRIVACY */
.privacy-section { margin-bottom: 20px; }
.privacy-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.privacy-section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* TABS */
.tabs {
  display: flex;
  gap: 12px;
  background: none;
  border-radius: 0;
  padding: 0;
  margin-top: 18px;
}
.tab,
.tab.active {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  background: #fff;
  color: var(--purple);
  box-shadow: none;
}
.tab:hover { color: var(--purple-dark); }

/* FACTS */
.facts-list {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.fact-item {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.fact-num {
  display: inline;
  width: auto;
  height: auto;
  min-width: 0;
  margin-right: 8px;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}
.fact-title { display: inline; font-size: 19px; font-weight: 800; margin-bottom: 0; }
.fact-text { display: block; margin-top: 8px; font-size: 16px; color: var(--muted); line-height: 1.55; }

.tab-panel { animation: fadeIn 0.25s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .nav-link { display: none; }
  .hero-layout,
  section.block.split,
  .company-wrap { grid-template-columns: 1fr; }
  section.block.split .list-block,
  section.block.split .req-grid,
  section.block.split .split-head {
    grid-column: 1;
    margin-top: 0;
  }
  section.block.split .list-block,
  section.block.split .req-grid { margin-top: 22px; }
  .hero-photo { height: 350px; }
  .about-grid,
  .process-steps,
  .facts-list { grid-template-columns: 1fr 1fr; }
  section.block,
  .company-wrap { padding-top: 58px; padding-bottom: 58px; }
  .life-row img { height: 220px; }
  .cta-bottom { padding: 12px 18px 48px; }
}

@media (max-width: 640px) {
  nav { padding: 14px 18px; min-height: 64px; }
  .logo { font-size: 20px; }
  .hero-layout { padding: 36px 18px 42px; min-height: 0; gap: 22px; }
  .hero h1 { font-size: 40px; letter-spacing: -1.4px; }
  .hero-sub { font-size: 17px; }
  .hero-photo { height: 280px; border-radius: 24px; box-shadow: 12px 14px 0 #e6d7f4; }
  .life-row { grid-template-columns: 1fr; padding: 0 18px 8px; }
  .life-row img { height: 230px; }
  section.block { padding: 48px 18px; }
  section.block.tone {
    padding-left: 18px;
    padding-right: 18px;
  }
  .about-grid,
  .cond-list,
  .process-steps,
  .facts-list { grid-template-columns: 1fr; }
  .team-card { padding: 28px 22px; border-radius: 24px; }
  .company-wrap { padding: 48px 18px; gap: 28px; }
  .company-photo-wrap { box-shadow: 12px 14px 0 #e6d7f4; }
  footer { flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 18px; }
  footer div[style] { align-items: flex-start !important; }
  .footer-privacy { text-align: left; }
  .modal { padding: 26px 18px; }
  #formContent { grid-template-columns: 1fr; }
  .nav-btn { padding: 10px 16px; }
  .cta-panel { border-radius: 24px; padding: 40px 18px; }
}

/* Match the desktop review composition */
body { font-family: Manrope, "Plus Jakarta Sans", system-ui, sans-serif; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 2;
}
.hero-visual::before {
  width: 64px;
  height: 64px;
  background: #efe6f8;
  left: 6%;
  top: 12%;
}
.hero-visual::after {
  width: 46px;
  height: 46px;
  background: #fff;
  box-shadow: 0 10px 24px #42325322;
  right: 4%;
  bottom: 18%;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  height: 520px;
  margin-left: auto;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 230px 230px 42px 42px;
  box-shadow: 0 28px 60px #7552a628;
}

#vacancy.block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 56px;
  align-items: center;
}
#vacancy > .section-label,
#vacancy > .section-title,
#vacancy > .section-text { grid-column: 1; }
#vacancy > .section-title { margin-bottom: 16px; }
#vacancy > .about-grid {
  grid-column: 2;
  grid-row: 1 / span 6;
  margin-top: 0;
  grid-template-columns: 1fr 1fr;
  align-self: center;
}

section.duties { text-align: center; }
section.duties .split-head { max-width: 720px; margin: 0 auto 28px; }
section.duties .list-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
  text-align: left;
}
section.duties .list-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
section.duties .list-dot {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f0e8f8;
  display: grid;
  place-items: center;
  color: var(--purple);
  font-weight: 800;
}

section.reqs { align-items: center; }
section.reqs .req-grid {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 10px 26px;
  box-shadow: 0 16px 40px #42325310;
}
section.reqs .req-card { background: transparent; padding: 16px 0; }
.face-row { display: flex; margin-top: 26px; }
.face-row span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -12px;
  display: block;
}
.face-row span:first-child { margin-left: 0; background: #eadcf6; }
.face-row span:nth-child(2) { background: #d9c6ef; }
.face-row span:nth-child(3) { background: #c7b0e6; }

section.offers { text-align: center; }
section.offers .section-title { margin-left: auto; margin-right: auto; }
section.offers .cond-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

section.process { text-align: center; }
section.process .section-title { margin-left: auto; margin-right: auto; }
section.process .process-steps { text-align: left; }
section.process .step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3eafa;
  color: var(--purple);
  font-size: 16px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
section.process .team-line { display: flex; justify-content: center; }
section.process .tabs { justify-content: center; }

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 32px;
  display: block;
  box-shadow: 0 18px 40px #42325314;
}
#about-us.team-card {
  background: none;
  border-radius: 0;
  padding: 0;
}
#about-us .section-label { margin-top: 0 !important; }
#about-us .section-title em { color: var(--purple); }

#about-company {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: 48px;
  align-items: end;
}
#about-company .section-label,
#about-company .section-title { grid-column: 1; margin-bottom: 0; }
#about-company .section-title { margin-top: 8px; }
#about-company .company-desc {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  align-self: end;
}
#about-company .facts-list { grid-column: 1 / -1; margin-top: 32px; }

.cta-panel {
  background: linear-gradient(100deg, #684894 0%, #8b62be 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 28px;
  row-gap: 6px;
  text-align: left;
  align-items: center;
  padding: 34px 48px;
  border-radius: 28px;
}
.cta-panel h2 { color: #fff; grid-column: 1; margin: 0; }
.cta-panel h2 em { color: #fff; }
.cta-panel p { color: #f6eefe; grid-column: 1; margin: 0; }
.cta-panel .btn-primary {
  grid-column: 2;
  grid-row: 1 / span 2;
  background: #fff;
  color: var(--purple);
  box-shadow: none;
  width: auto;
}
.cta-panel .btn-primary:hover { background: #f7f2fc; color: var(--purple-dark); }

@media (max-width: 900px) {
  .hero-photo { width: 100%; height: 420px; }
  #vacancy.block,
  .about-layout { display: block; }
  #about-company { display: block !important; }
  #vacancy > .about-grid { grid-row: auto; margin-top: 28px; }
  #about-company .company-desc { margin-top: 16px; }
  section.duties .list-block,
  section.offers .cond-list { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 28px 22px; }
  .about-photo { height: 320px; }
}
@media (max-width: 640px) {
  .hero-photo {
    height: 360px;
    border-radius: 160px 160px 28px 28px;
    box-shadow: 0 16px 36px #7552a628;
  }
  #vacancy > .about-grid,
  section.duties .list-block,
  section.offers .cond-list,
  section.process .process-steps,
  #about-company .facts-list { grid-template-columns: 1fr; }
  section.reqs { display: block; }
  section.reqs .req-grid { margin-top: 22px; }
  .cta-panel { display: block; text-align: left; }
  .cta-panel .btn-primary { margin-top: 18px; }
}

/* Team block kept from the current site */
.team-keep { align-items: center; }
.company-photo-side { display: flex; flex-direction: column; gap: 14px; }
.company-photo-wrap {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 32px #42325314;
}
.company-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-keep .company-photo-badge {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px #42325310;
}
.team-keep .badge-avatars { display: flex; gap: 0; }
.team-keep .badge-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin: 0 0 0 -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  background: #c4aee8;
}
.team-keep .badge-avatar:first-child { margin-left: 0; }
.team-keep .badge-text { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.team-keep .badge-text span { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.team-keep .badge-text span + span { margin: 2px 0 0; font-weight: 500; color: var(--muted); font-size: 13px; }
.team-keep .tabs {
  display: flex;
  width: fit-content;
  background: #efe6f8;
  border-radius: 999px;
  padding: 4px;
  margin: 0 0 22px;
  gap: 4px;
}
.team-keep .tab,
.team-keep .tab.active {
  background: transparent;
  border: 0;
  color: #8a7fa0;
  box-shadow: none;
  border-radius: 999px;
  padding: 8px 18px;
}
.team-keep .tab.active {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 2px 10px #7c5cbf22;
}
.team-keep .section-label {
  display: block;
  width: fit-content;
  border-bottom: 2px solid #d9c8ee;
  padding-bottom: 6px;
  margin-bottom: 16px;
}
.team-keep .btn-primary {
  min-width: 280px;
  margin-top: 8px;
  padding: 16px 36px;
}
@media (max-width: 900px) {
  .team-keep { display: block; }
  .company-photo-side { margin-bottom: 28px; }
}
