/* ============================================================
   Imperial Call-Center — Vacancy Landing
   All presentation lives here; index.html carries no inline styles.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --red: #E31E24;
  --red-dark: #6B0F1A;
  --red-darkest: #1A0507;
  --red-hover: #c4181d;
  --pink: #F6E3E3;
  --pink-line: #F2D5D5;
  --ink: #1D1D1F;
  --ink-soft: #3a3236;
  --ink-muted: #6b5d61;
  --green: #2E9E4F;
  --wrap: 1180px;
  --pad-y: clamp(48px, 7vw, 88px);
  --pad-x: clamp(16px, 4vw, 32px);
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

img {
  max-width: 100%;
}

.page {
  /* clip (not hidden) so it doesn't create a scroll container that breaks the sticky header */
  overflow-x: clip;
  background: #fff;
}

.accent {
  color: var(--red);
}

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
}

.wrap--narrow {
  max-width: 760px;
}

.wrap--form {
  max-width: 600px;
}

.wrap--cta {
  max-width: 900px;
}

.anchor {
  scroll-margin-top: 88px;
}

.grid-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* Section backgrounds */
.sec-white {
  background: #fff;
}

.sec-pink {
  background: var(--pink);
}

/* Rounded media (photos) — fixed 4:3 box so any photo fits without distortion
   or layout shift; object-fit crops to the frame around the centre. */
.media {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(107, 15, 26, .12);
}

.media--hero {
  box-shadow: 0 20px 50px rgba(107, 15, 26, .14);
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section headings */
.section-title {
  margin: 0 0 30px;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.section-title--mb36 {
  margin-bottom: 36px;
}

.split-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.1;
}

.split-title--duties {
  margin-bottom: 24px;
}

/* Telegram glyph inside buttons/links */
.tg-ico {
  flex: none;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.btn--red {
  padding: 15px 28px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(227, 30, 36, .3);
  transition: background .2s ease, transform .2s ease;
}

.btn--red:hover {
  background: var(--red-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn--red-sm {
  gap: 8px;
  padding: 11px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(227, 30, 36, .28);
  transition: background .2s ease, transform .2s ease;
}

.btn--red-sm:hover {
  background: var(--red-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn--hero {
  padding: 15px 26px;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(227, 30, 36, .32);
}

.btn--white {
  gap: 10px;
  padding: 17px 34px;
  background: #fff;
  color: var(--red);
  font-size: clamp(16px, 1.8vw, 19px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: transform .2s ease;
}

.btn--white:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.btn--submit {
  width: 100%;
  margin-top: 4px;
  padding: 16px;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 16.5px;
  border: none;
  box-shadow: 0 10px 24px rgba(227, 30, 36, .3);
  transition: background .2s ease;
}

.btn--submit:hover {
  background: var(--red-hover);
}

.btn--tg-outline {
  padding: 13px;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 15.5px;
  transition: background .2s ease, color .2s ease;
}

.btn--tg-outline:hover {
  background: var(--red);
  color: #fff;
}

.btn--tg-outline:hover svg {
  fill: #fff;
}

/* ============================================================
   Header / navigation
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pink-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px var(--pad-x);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand__logo {
  display: block;
  height: 34px;
  width: auto;
}

.brand__text {
  line-height: 1;
}

.brand__name {
  display: block;
  color: var(--red);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .14em;
}

.brand__sub {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: .28em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.nav-desktop a {
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1.5px solid var(--pink-line);
  border-radius: 10px;
  cursor: pointer;
}

.hamburger__bar {
  display: block;
  width: 22px;
  height: 2.4px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 16px;
  background: #fff;
  border-top: 1px solid var(--pink-line);
}

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

.nav-mobile a {
  padding: 12px 8px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid #f7ebeb;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--pink) 100%);
}

.hero__decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(150deg, var(--red), var(--red-dark) 60%, var(--red-darkest));
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .10;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) var(--pad-x);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 14px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 18px;
  font-size: clamp(30px, 5.2vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.01em;
}

.hero__lead {
  max-width: 520px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.tag {
  padding: 8px 14px;
  background: #fff;
  color: var(--red-dark);
  font-weight: 600;
  font-size: 13px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero__more {
  color: var(--red-dark);
  font-weight: 700;
  font-size: 15px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.floaty {
  animation: floaty 6s ease-in-out infinite;
}

/* ============================================================
   About
   ============================================================ */
.about__text {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.55;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.4;
}

.check {
  flex: none;
  margin-top: 1px;
  color: var(--green);
}

/* ============================================================
   Duties
   ============================================================ */
.duties {
  position: relative;
  overflow: hidden;
}

.duty-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.duty-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(107, 15, 26, .06);
  transition: transform .2s ease;
}

.duty-card:hover {
  transform: translateX(4px);
}

.duty-num {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
}

.duty-card p {
  margin: 0;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.45;
}

/* ============================================================
   Requirements
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.req-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1.5px solid var(--pink-line);
  border-radius: 18px;
  transition: border-color .2s ease, box-shadow .3s ease,
              transform .35s cubic-bezier(.34, 1.56, .64, 1);
  cursor: default;
}

.req-card:hover {
  border-color: var(--red);
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 30px rgba(107, 15, 26, .12);
}

.req-card__icon {
  font-size: 26px;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.req-card:hover .req-card__icon {
  transform: translateY(-4px) scale(1.18);
}

.req-card p {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
}

.reqs__note {
  margin: 26px 0 0;
  color: var(--red);
  font-weight: bold;
  font-size: 26px;
  text-align: center;
}

/* ============================================================
   Conditions
   ============================================================ */
.cards-grid--230 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.lift-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(107, 15, 26, .06);
  transition: box-shadow .3s ease,
              transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.lift-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 18px 34px rgba(107, 15, 26, .16);
}

.lift-card__icon {
  font-size: 30px;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.lift-card:hover .lift-card__icon {
  transform: scale(1.2) rotate(-6deg);
}

.lift-card p {
  margin: 0;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.4;
}

/* ============================================================
   Salary
   ============================================================ */
.salary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.salary-card {
  padding: 32px 28px;
  border-radius: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.salary-card--primary {
  background: linear-gradient(160deg, #fff, #fdf2f2);
  border: 2px solid var(--red);
}

.salary-card--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(227, 30, 36, .16);
}

.salary-card--alt {
  background: #fff;
  border: 2px solid var(--pink-line);
}

.salary-card--alt:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(107, 15, 26, .12);
}

.salary-card__label {
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.salary-card--primary .salary-card__label {
  color: var(--red);
}

.salary-card--alt .salary-card__label {
  color: var(--red-dark);
}

.salary-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.salary-card__meta span {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}

.salary-card__amount {
  white-space: nowrap;
  font-weight: 900;
  font-size: clamp(16px, 3vw, 21px);
  line-height: 1.1;
}

.salary-card--primary .salary-card__amount {
  color: var(--red);
}

.salary-card--alt .salary-card__amount {
  color: var(--red-dark);
}

.salary-card__unit {
  color: var(--ink);
  font-weight: 700;
  font-size: .66em;
}

.salary__note {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.5;
  text-align: center;
}

/* ============================================================
   Steps ("4 кроки")
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 22px;
  border-top: 2px solid #E1B6B9;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(150deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  border-radius: 50%;
}

.step-title {
  margin: 0;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
}

.step-desc {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.45;
}

.steps__cta {
  margin-top: 36px;
  text-align: center;
}

/* ============================================================
   Reviews
   ============================================================ */
.reviews__eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--pink);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(107, 15, 26, .08);
}

.review-card__quote {
  height: 26px;
  color: var(--red);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  font-size: 56px;
  line-height: .4;
}

.review-card__text {
  flex: 1;
  margin: 0;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.55;
}

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

.avatar {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
}

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

.review-card__name {
  font-weight: 800;
  font-size: 15px;
}

.review-card__role {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 13px;
}

/* ============================================================
   Apply form
   ============================================================ */
.apply__title {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.1;
  text-align: center;
}

.apply__subtitle {
  margin: 0 0 28px;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 15.5px;
  text-align: center;
}

.apply-success {
  display: none;
  padding: 40px 28px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(107, 15, 26, .1);
  text-align: center;
}

.apply-success.is-shown {
  display: block;
}

.apply-success__icon {
  margin-bottom: 12px;
  font-size: 44px;
}

.apply-success__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 22px;
}

.apply-success__text {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.5;
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(107, 15, 26, .1);
}

.apply-form.is-hidden {
  display: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field__label {
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
}

.form-input {
  padding: 14px 16px;
  background: #fdf7f7;
  font-family: inherit;
  font-size: 16px;
  border: 1.5px solid var(--pink-line);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}

.form-input:focus {
  border-color: var(--red);
  background: #fff;
}

/* Honeypot — приховане поле-пастка для ботів (не показуємо і не даємо у фокус) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  display: none;
  margin-top: -6px;
  color: var(--red);
  font-weight: 600;
  font-size: 13px;
}

.form-error.is-shown {
  display: block;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 13px;
}

.divider span {
  flex: 1;
  height: 1px;
  background: var(--pink-line);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 4px 20px;
  background: var(--pink);
  border: 1.5px solid var(--pink-line);
  border-radius: 16px;
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  cursor: pointer;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  flex: none;
  color: var(--red);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  transition: transform .25s;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   Final CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 55%, var(--red-darkest) 100%);
}

.cta__circle {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.cta__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad-x);
  text-align: center;
}

.cta__title {
  margin: 0 0 16px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
}

.cta__text {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .9);
  font-weight: 500;
  font-size: clamp(16px, 1.8vw, 20px);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--red-darkest);
  color: #fff;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--pad-x);
}

.footer__brandrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

/* Logo sits on a white chip so it reads clearly on the dark footer,
   regardless of whether the PNG has a transparent or white background. */
.footer__logo {
  display: block;
  height: 30px;
  width: auto;
  padding: 6px 9px;
  background: #fff;
  border-radius: 10px;
}

.brand--footer .brand__name {
  color: #fff;
  font-size: 16px;
}

.brand--footer .brand__sub {
  color: rgba(255, 255, 255, .7);
  font-size: 9px;
}

.footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  line-height: 1.6;
}

.footer__col-title {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .55);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__links a {
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
}

.footer__links a:hover {
  color: #fff;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer__contacts a {
  color: #fff;
}

.footer__muted {
  color: rgba(255, 255, 255, .5);
}

/* ============================================================
   Mobile sticky CTA
   ============================================================ */
.mobile-cta {
  display: none;
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(227, 30, 36, .45);
}

/* ============================================================
   Scroll-reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered cards: children fade/slide in one after another */
.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: .13s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: .21s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: .29s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: .37s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: .45s; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: .53s; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: .61s; }

/* Count-up numbers: fixed-width digits so the value doesn't jitter while counting */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Floating decorative balls (Hero + final CTA)
   ============================================================ */
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(22px, -28px); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-26px, 20px); }
}

@keyframes drift-c {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(18px, 22px); }
  66%      { transform: translate(-16px, -16px); }
}

.balls {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ball {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  will-change: transform;
}

/* Hero balls — soft red on the light background */
.hero__balls .ball { background: rgba(227, 30, 36, .09); }

.hero__balls .ball:nth-child(1) { width: 96px;  height: 96px;  left: 4%;     top: 60%;      animation: drift-a 10s ease-in-out infinite; }
.hero__balls .ball:nth-child(2) { width: 58px;  height: 58px;  left: 24%;    top: 14%;      animation: drift-b 12s ease-in-out infinite; }
.hero__balls .ball:nth-child(3) { width: 130px; height: 130px; right: -34px; bottom: -34px; animation: drift-c 14s ease-in-out infinite; }
.hero__balls .ball:nth-child(4) { width: 34px;  height: 34px;  left: 12%;    top: 30%;      animation: drift-a 9s ease-in-out infinite; }

/* CTA balls — translucent white on the dark background */
.cta__balls .ball { background: rgba(255, 255, 255, .08); }

.cta__balls .ball:nth-child(1) { width: 120px; height: 120px; left: 4%;     top: 14%;      animation: drift-a 11s ease-in-out infinite; }
.cta__balls .ball:nth-child(2) { width: 50px;  height: 50px;  left: 30%;    top: 62%;      animation: drift-b 9s ease-in-out infinite; }
.cta__balls .ball:nth-child(3) { width: 150px; height: 150px; right: -40px; bottom: -50px; animation: drift-a 14s ease-in-out infinite; }
.cta__balls .ball:nth-child(4) { width: 30px;  height: 30px;  right: 12%;   top: 64%;      animation: drift-b 8s ease-in-out infinite; }

/* Keep hero/CTA content above the balls */
.hero__inner,
.cta__inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Pulsing primary CTA button
   ============================================================ */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(227, 30, 36, .32); }
  50%      { box-shadow: 0 12px 30px rgba(227, 30, 36, .6); }
}

.btn--pulse { animation: cta-pulse 2.2s ease-in-out infinite; }
.btn--pulse:hover { animation: none; }

/* Sweeping gleam across primary buttons */
.btn--shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-180%) skewX(-18deg);
  animation: btn-shine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0%   { transform: translateX(-180%) skewX(-18deg); }
  18%  { transform: translateX(320%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

/* Telegram plane lifts off on button hover */
.btn .tg-ico {
  transition: transform .25s ease;
}

.btn:hover .tg-ico {
  transform: translate(3px, -3px) rotate(-8deg);
}

/* ============================================================
   Header — shadow appears once the page is scrolled
   ============================================================ */
.header {
  transition: box-shadow .25s ease, background .25s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 6px 24px rgba(107, 15, 26, .10);
}

/* Sliding underline on desktop nav links */
.nav-desktop a {
  position: relative;
  padding-bottom: 3px;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

/* ============================================================
   FAQ — smooth expand/collapse (height animated from main.js)
   ============================================================ */
.faq-body {
  height: 0;
  overflow: hidden;
  transition: height .3s ease;
}

/* ============================================================
   Decorative accents (corner triangles + drifting balls)
   Placed behind content; each section gets a different flavour.
   ============================================================ */
.decor-section {
  position: relative;
  overflow: hidden;
}

.decor-section > .wrap {
  position: relative;
  z-index: 1;
}

/* Corner triangles — reusable, droppable into any corner */
.corner {
  --corner-size: 120px;
  --corner-color: var(--red);
  position: absolute;
  width: 0;
  height: 0;
  z-index: 0;
  opacity: .13;
  pointer-events: none;
}

.corner--soft { opacity: .07; }
.corner--sm   { --corner-size: 90px; }
.corner--lg   { --corner-size: 150px; }

.corner--tl { top: 0;    left: 0;  border-top: var(--corner-size) solid var(--corner-color);    border-right: var(--corner-size) solid transparent; }
.corner--tr { top: 0;    right: 0; border-top: var(--corner-size) solid var(--corner-color);    border-left: var(--corner-size) solid transparent; }
.corner--br { bottom: 0; right: 0; border-bottom: var(--corner-size) solid var(--corner-color); border-left: var(--corner-size) solid transparent; }
.corner--bl { bottom: 0; left: 0;  border-bottom: var(--corner-size) solid var(--corner-color); border-right: var(--corner-size) solid transparent; }

/* Requirements — a few soft balls behind the cards */
.reqs__balls .ball { background: rgba(227, 30, 36, .07); }
.reqs__balls .ball:nth-child(1) { width: 80px;  height: 80px;  left: 2%;     top: 22%;      animation: drift-b 12s ease-in-out infinite; }
.reqs__balls .ball:nth-child(2) { width: 40px;  height: 40px;  right: 7%;    top: 62%;      animation: drift-c 10s ease-in-out infinite; }
.reqs__balls .ball:nth-child(3) { width: 120px; height: 120px; right: -34px; top: -40px;    animation: drift-a 15s ease-in-out infinite; }

/* Reviews — different balls, lower and larger */
.reviews__balls .ball { background: rgba(227, 30, 36, .06); }
.reviews__balls .ball:nth-child(1) { width: 60px;  height: 60px;  left: 4%;     bottom: 12%;   animation: drift-a 11s ease-in-out infinite; }
.reviews__balls .ball:nth-child(2) { width: 104px; height: 104px; right: -28px; bottom: -34px; animation: drift-b 14s ease-in-out infinite; }
.reviews__balls .ball:nth-child(3) { width: 34px;  height: 34px;  left: 53%;    top: 6%;       animation: drift-c 9s ease-in-out infinite; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 899px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-cta {
    display: flex;
  }

  .btn--red-sm {
    display: none;
  }
}

/* Very small phones: keep the header Telegram button, but show icon only
   so it never crowds the logo. */
@media (max-width: 420px) {
  .header__actions .btn--red-sm {
    gap: 0;
    padding: 10px 12px;
  }

  .header__actions .btn__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floaty,
  .ball,
  .btn--pulse,
  .btn--shine::before {
    animation: none !important;
  }

  [data-reveal],
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }

  .faq-body {
    transition: none;
  }
}
