/* Self-hosted Google Fonts (variable, subsets cyrillic + latin) */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/Montserrat-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 700;font-display:swap;src:url('../fonts/Montserrat-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600 700;font-display:swap;src:url('../fonts/CormorantGaramond-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600 700;font-display:swap;src:url('../fonts/CormorantGaramond-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Marck Script';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/MarckScript-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Marck Script';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/MarckScript-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ============================================================
   «Українці в Європі» — превью дизайна (по ТЗ)
   ============================================================ */
:root {
  --bg: #FFF7EE;
  --bg-light: #FFF9F3;
  --bg-lighter: #FFFCF8;
  --card: #FFF9F3;
  --white: #FFFFFF;

  --purple: #5C347A;
  --purple-dark: #47265F;
  --purple-deep: #43265B;
  --purple-2: #6D4A8E;
  --lavender: #A981B8;
  --lavender-bg: #F2E5EF;

  --brown: #4D291F;
  --brown-title: #512C20;
  --text: #28252A;
  --text-soft: #5E5860;

  --powder: #EDC5B6;
  --peach: #EFA98E;
  --peach-2: #EFA187;
  --peach-light: #FAE9DE;
  --line: #EED8CE;
  --line-2: #F1DED4;

  --shadow: 0 8px 30px rgba(75, 44, 83, 0.08);
  --shadow-card: 0 10px 30px rgba(75, 44, 83, 0.08);
  --shadow-hover: 0 14px 35px rgba(75, 44, 83, 0.12);

  --font-ui: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Marck Script', cursive;

  --container: 1300px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

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

.accent { color: var(--purple); }
.brown { color: var(--brown); }

/* Decorative divider: ──── ♡ ──── */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--powder); margin-top: 20px;
}
.divider::before, .divider::after { content: ''; height: 1px; width: 110px; background: var(--powder); }
.divider svg { width: 16px; height: 16px; fill: var(--powder); }
.divider--left { justify-content: flex-start; }
.divider--sm::before, .divider--sm::after { width: 60px; }

/* Section heading */
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 60px; line-height: 1.05; text-align: center; color: var(--brown);
}
.section-title .accent { color: var(--purple); }
.section-title--with-branches { display: flex; align-items: center; justify-content: center; gap: 28px; }
.section-title--with-branches .branch { width: 84px; height: 64px; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--purple); color: var(--white);
  font-weight: 600; font-size: 18px; line-height: 1;
  border: 0; border-radius: 12px; height: 60px; padding: 0 34px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(92, 52, 122, 0.22);
}
.btn:hover { background: var(--purple-dark); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 22px; height: 22px; }
.btn--block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.header { background: var(--bg-lighter); position: relative; z-index: 10; }
.header__inner { display: flex; align-items: center; gap: 28px; height: 110px; }

.logo { display: flex; flex-direction: column; gap: 2px; flex: none; }
.logo__top { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 64px; height: 64px; flex: none; }
.logo__text { font-weight: 700; font-size: 30px; line-height: 0.95; letter-spacing: .01em; color: var(--purple); text-transform: uppercase; }
.logo__sub { font-size: 16px; font-weight: 500; color: var(--brown); margin-top: 2px; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 16px; font-weight: 500; color: var(--text); padding: 8px 0; position: relative; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--purple); }
.nav a.is-active { color: var(--purple); }
.nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--purple); border-radius: 2px; }

.phones { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.phones__icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--purple); color: var(--white);
  display: grid; place-items: center; flex: none;
}
.phones__icon svg { width: 22px; height: 22px; }
.phones__list { display: flex; flex-direction: column; gap: 1px; }
.phones__list a { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; line-height: 1.3; }
.phones__list a:hover { color: var(--purple); }

.btn--call { height: 50px; font-size: 16px; padding: 0 24px; border-radius: 12px; box-shadow: none; }
.btn--call svg { width: 20px; height: 20px; }

.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--purple); padding: 0; }
.burger svg { width: 32px; height: 32px; }
.phone-round { display: none; }

/* Mobile drawer */
.mobile-menu {
  display: none; position: fixed; inset: 0; background: rgba(255, 247, 238, 0.98); z-index: 50;
  padding: 100px 30px 30px; flex-direction: column; gap: 8px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { font-size: 24px; font-weight: 600; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a.is-active { color: var(--purple); }
.mobile-menu__close { position: absolute; top: 24px; right: 24px; background: none; border: 0; color: var(--purple); width: 48px; height: 48px; }
.mobile-menu__close svg { width: 32px; height: 32px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__inner { position: relative; min-height: 690px; display: grid; grid-template-columns: 47% 53%; }

.hero__content { position: relative; z-index: 3; padding: 54px 0 60px; }
.hero__branch { position: absolute; left: -70px; top: 24px; width: 110px; height: 96px; pointer-events: none; }

.hero__title { font-family: var(--font-display); font-weight: 600; line-height: 0.98; }
.hero__title .l1 { display: block; font-size: 60px; color: var(--brown-title); }
.hero__title .l2 { display: block; font-size: 82px; color: #613D7D; letter-spacing: -0.01em; margin-top: 4px; }
.hero__script { font-family: var(--font-script); font-size: 46px; color: #694186; line-height: 1; margin-top: 6px; font-weight: 400; }
.hero__script-decor { display: flex; align-items: center; gap: 10px; color: var(--powder); margin: 6px 0 0 36px; }
.hero__script-decor::before, .hero__script-decor::after { content: ''; width: 120px; height: 1px; background: var(--powder); }
.hero__script-decor svg { width: 12px; height: 12px; fill: var(--powder); }

.hero__lead { font-size: 20px; line-height: 1.5; max-width: 520px; margin-top: 28px; color: var(--text); }

.benefits { display: flex; gap: 0; margin-top: 40px; }
.benefit { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; gap: 12px; }
.benefit__icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--lavender-bg); color: var(--purple);
  display: grid; place-items: center;
}
.benefit__icon svg { width: 30px; height: 30px; }
.benefit__text { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--text); }

.hero__cta { display: flex; align-items: center; gap: 28px; margin-top: 40px; }
.hero__note { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.hero__note svg { width: 34px; height: 34px; color: var(--purple); flex: none; }
.hero__note .accent { font-weight: 600; }

/* Photo (right, wave-shaped left edge, full bleed to the right) */
.hero__photo {
  position: absolute; top: 0; bottom: 0; right: calc(50% - 50vw); left: 42%;
  z-index: 1; clip-path: url(#wave-clip);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero__photo--mobile { display: none; }

.hero__lavender { position: absolute; left: 30%; bottom: -8px; width: 250px; height: 190px; z-index: 2; pointer-events: none; opacity: .9; }

/* Form card */
.form-card {
  position: absolute; z-index: 4; right: 0; top: 180px; width: 344px;
  background: rgba(255, 252, 248, 0.96); border-radius: 26px; padding: 34px 30px 22px;
  box-shadow: 0 16px 50px rgba(75, 44, 83, 0.14); backdrop-filter: blur(4px);
}
.form-card__branch { position: absolute; right: 8px; top: 4px; width: 66px; height: 60px; pointer-events: none; opacity: .9; }
.form-card__title { font-family: var(--font-display); font-weight: 700; font-size: 29px; line-height: 1; color: var(--brown-title); padding-right: 36px; }
.form-card__script { font-family: var(--font-script); font-size: 34px; line-height: 1; color: #694186; margin-top: 2px; }
.form-card__text { font-size: 15px; line-height: 1.5; margin-top: 16px; color: var(--text); }
.form-card form { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }

.field { position: relative; }
.field svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--purple); pointer-events: none; }
.field input {
  width: 100%; height: 58px; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
  padding: 0 16px 0 54px; font-family: inherit; font-size: 15px; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #8F8792; }
.field input:focus { border-color: var(--lavender); box-shadow: 0 0 0 4px rgba(169, 129, 184, 0.18); }
.field--hint input { height: 64px; padding: 0 16px 20px 54px; }
.field__hint { position: absolute; left: 54px; bottom: 10px; font-size: 11px; line-height: 1; color: #9A929C; pointer-events: none; }
.field--hint input:not(:placeholder-shown) + .field__hint { display: none; }

.form-card .btn { height: 56px; font-size: 17px; border-radius: 12px; margin-top: 4px; box-shadow: none; }
.form-card__safe { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 11.5px; color: var(--text-soft); margin-top: 14px; }
.form-card__safe svg { width: 14px; height: 14px; color: var(--purple); }
.form-card__safe a:hover { text-decoration: underline; }

/* Trust strip (mobile mockup) */
.trust { display: none; }

/* ============================================================
   VACANCIES
   ============================================================ */
.vacancies { padding: 80px 0; background: var(--bg); }
.country-cards { display: flex; justify-content: center; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.country-card {
  width: 560px; max-width: 100%; background: var(--card); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; position: relative;
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.country-card__photo { height: 300px; position: relative; }
.country-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.country-card__body { padding: 44px 32px 32px; text-align: center; position: relative; }
.country-card__flag {
  position: absolute; left: 50%; top: -34px; transform: translateX(-50%);
  width: 68px; height: 68px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 14px rgba(75, 44, 83, 0.15);
  display: grid; place-items: center;
}
.country-card__flag svg { width: 50px; height: 50px; border-radius: 50%; }
.country-card__eyebrow { font-size: 23px; font-weight: 500; color: var(--brown); }
.country-card__name { font-family: var(--font-display); font-weight: 600; font-size: 62px; line-height: 1; color: var(--purple); margin-top: 2px; }
.country-card .divider { margin-top: 10px; }
.country-card .divider::before, .country-card .divider::after { width: 70px; }
.country-card__salary { margin-top: 14px; font-size: 28px; color: var(--purple); font-weight: 500; }
.country-card__salary b { font-weight: 700; font-size: 32px; }
.country-card__salary small { font-size: 22px; }
.country-card__period { font-size: 17px; color: var(--brown); margin-top: 2px; }
.country-card__perks {
  display: flex; margin-top: 24px; background: var(--bg-light); border: 1px solid var(--line); border-radius: 18px; padding: 16px 10px;
}
.country-card__perk { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 16px; color: var(--text); }
.country-card__perk svg { width: 34px; height: 34px; color: var(--purple-2); flex: none; }
.country-card__perk + .country-card__perk { border-left: 1px solid var(--line); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { padding: 80px 0 70px; background: var(--bg-light); }
.carousel { position: relative; max-width: 1400px; margin: 40px auto 0; padding: 0 80px; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 28px; transition: transform .35s ease; will-change: transform; }
.review-card {
  flex: 0 0 calc((100% - 56px) / 3); background: var(--white); border: 1px solid var(--line-2);
  border-radius: 20px; padding: 8px; box-shadow: 0 8px 28px rgba(75, 44, 83, 0.07); cursor: zoom-in; min-width: 0; margin: 0;
}
.review-card img { width: 100%; height: auto; border-radius: 15px; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 0; color: var(--purple); box-shadow: 0 5px 18px rgba(75, 44, 83, 0.10);
  display: grid; place-items: center; transition: all .2s ease; z-index: 2;
}
.carousel__arrow:hover { transform: translateY(-50%) scale(1.05); background: var(--bg); }
.carousel__arrow svg { width: 24px; height: 24px; }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--peach); background: transparent; padding: 0; transition: background .2s; }
.dots button.is-active { background: var(--peach); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(40, 28, 45, 0.82); display: none; place-items: center; z-index: 100; padding: 40px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 16px; }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 0; color: var(--purple); font-size: 28px; }

/* ============================================================
   SOCIAL
   ============================================================ */
.social { padding: 20px 0 50px; background: var(--bg-light); }
.social__card {
  background: linear-gradient(135deg, #FFF5F0 0%, #FDECE5 50%, #FFF4EF 100%);
  border-radius: 30px; padding: 70px 40px; min-height: 370px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(75, 44, 83, 0.04);
}
.social__title { font-size: 40px; font-weight: 400; color: #34323A; text-align: center; line-height: 1.2; }
.social__title b { font-weight: 700; color: var(--purple); }
.social__line { width: 110px; height: 4px; border-radius: 10px; background: var(--peach-2); margin: 14px auto 0; }
.social__icons { display: flex; justify-content: center; gap: 58px; margin-top: 50px; }
.social__link {
  width: 108px; height: 108px; border-radius: 50%; background: var(--white); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(75, 44, 83, 0.07); transition: all .25s ease;
}
.social__link:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 10px 25px rgba(75, 44, 83, 0.12); }
.social__link:active { transform: scale(0.96); }
.social__link svg { width: 68px; height: 68px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 20px 0 0; background: var(--bg-light); }
.footer__card {
  width: 100%; margin: 0 auto; border-radius: 40px 40px 0 0; overflow: hidden;
  background: linear-gradient(135deg, #FFF9F5 0%, #FFF2EC 50%, #FFF7F3 100%);
}
.footer__top { position: relative; padding: 64px 40px 110px; text-align: center; min-height: 360px; }
.footer__nav { display: flex; justify-content: center; align-items: center; gap: 150px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 19px; font-weight: 500; text-transform: uppercase; color: var(--brown); letter-spacing: .06em;
  border-bottom: 1px solid transparent; transition: all .2s ease; padding-bottom: 2px;
}
.footer__nav a:hover { color: var(--purple); border-bottom-color: var(--peach-2); }
.footer__top .divider { margin-top: 60px; position: relative; z-index: 1; }
.footer__top .divider::before, .footer__top .divider::after { width: 260px; }
.footer__waves { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; width: 100%; pointer-events: none; }
.footer__branch { position: absolute; bottom: 18px; width: 170px; height: 190px; pointer-events: none; }
.footer__branch--left { left: 7%; }
.footer__branch--right { right: 7%; transform: scaleX(-1); }
.footer__bottom {
  background: linear-gradient(90deg, #4D2567 0%, #673888 50%, #4D2567 100%);
  min-height: 120px; display: flex; align-items: center; justify-content: center; padding: 24px;
}
.footer__slogan { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.2; color: var(--white); text-align: center; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { padding: 60px 0 70px; }
.about-hero__grid { display: grid; grid-template-columns: 45% 55%; gap: 50px; align-items: center; }
.about-hero__title { font-family: var(--font-display); font-weight: 600; font-size: 74px; line-height: 1; color: var(--brown); }
.about-hero__text { margin-top: 28px; font-size: 19px; line-height: 1.6; display: flex; flex-direction: column; gap: 16px; }
.about-hero__text b { font-weight: 600; }
.about-hero .btn { margin-top: 30px; }
.about-hero__photo img { width: 100%; height: 520px; object-fit: cover; object-position: center top; border-radius: 26px; }

.about-section { padding: 40px 0 60px; }
.about-section .section-title { font-size: 48px; }

.why { display: flex; margin-top: 44px; }
.why__item { flex: 1; text-align: center; padding: 0 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.why__item + .why__item { border-left: 1px solid var(--line); }
.why__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--lavender-bg); color: var(--purple); display: grid; place-items: center; }
.why__icon svg { width: 36px; height: 36px; }
.why__title { font-size: 17px; font-weight: 600; }
.why__text { font-size: 15px; line-height: 1.45; color: var(--text); }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; margin-top: 44px; }
.check { display: flex; gap: 16px; font-size: 17px; line-height: 1.6; }
.check__mark { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--purple); color: var(--purple); display: grid; place-items: center; margin-top: 4px; }
.check__mark svg { width: 14px; height: 14px; }

.comfort {
  margin-top: 10px; background: linear-gradient(135deg, #FFF9F3 0%, #FFF4ED 100%);
  border: 1px solid #F0D7CC; border-radius: 28px; padding: 48px 40px 44px;
}
.comfort .section-title { font-size: 44px; }
.comfort__grid { display: flex; margin-top: 40px; }
.comfort__item { flex: 1; text-align: center; padding: 0 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.comfort__item + .comfort__item { border-left: 1px solid var(--line); }
.comfort__icon { width: 78px; height: 78px; border-radius: 50%; border: 1.5px solid var(--powder); background: var(--white); color: var(--purple); display: grid; place-items: center; }
.comfort__icon svg { width: 36px; height: 36px; }
.comfort__title { font-size: 17px; font-weight: 600; }
.comfort__text { font-size: 15px; line-height: 1.45; }

.final-cta { display: none; }

/* ============================================================
   TABLET  (≤1100px)
   ============================================================ */
@media (max-width: 1199px) {
  .review-card { flex-basis: calc((100% - 28px) / 2); }
  .carousel { padding: 0 64px; }
}

@media (max-width: 1100px) {
  .container { padding: 0 28px; }
  .header__inner { gap: 24px; height: 96px; }
  .nav { display: none; }
  .burger { display: grid; place-items: center; order: 10; }
  .btn--call { display: none; }
  .phones { margin-left: auto; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding: 40px 0 30px; }
  .hero__branch { left: -24px; top: -30px; width: 80px; height: 70px; opacity: .85; }
  .hero__photo { position: relative; right: auto; left: auto; height: 460px; margin: 0 -28px; clip-path: none; border-radius: 0; }
  .hero__photo img { object-position: center 30%; }
  .hero__lavender { display: none; }
  .hero__title .l1 { font-size: 52px; }
  .hero__title .l2 { font-size: 70px; }
  .benefits { flex-wrap: wrap; gap: 24px 0; }
  .benefit { flex: 1 1 20%; }

  .form-card { position: static; width: calc(100% - 0px); max-width: 760px; margin: 36px auto 0; padding: 36px 32px 26px; }
  .form-card__title { font-size: 32px; }
  .form-card__script { font-size: 38px; }
  .form-card__text { font-size: 16px; }
  .field input { height: 60px; font-size: 16px; }
  .field--hint input { height: 66px; }

  .section-title { font-size: 48px; }
  .section-title--with-branches .branch { width: 64px; height: 48px; }
  .social__title { font-size: 34px; }
  .footer__nav { gap: 60px; }

  .about-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .about-hero__photo img { height: 420px; }
  .why { flex-wrap: wrap; gap: 28px 0; }
  .why__item { flex: 1 1 33%; }
  .why__item + .why__item { border-left: 0; }
  .comfort__grid { flex-wrap: wrap; gap: 28px 0; }
  .comfort__item { flex: 1 1 50%; }
  .comfort__item + .comfort__item { border-left: 0; }
}


/* Планшет широкий (900–1100): заголовок слева, фото справа, форма отдельным блоком ниже */
@media (min-width: 900px) and (max-width: 1100px) {
  .hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 40px; }
  .hero__content { padding: 0; }
  .hero__photo { position: relative; height: 560px; margin: 0; border-radius: 28px; overflow: hidden; left: auto; right: auto; }
  .hero__photo img { object-position: 60% 20%; }
  .benefits { gap: 16px 0; flex-wrap: nowrap; }
  .benefit { flex: 1 1 0; min-width: 0; }
  .benefit__icon { width: 54px; height: 54px; }
  .benefit__icon svg { width: 26px; height: 26px; }
  .benefit__text { font-size: 13.5px; }
  .form-card { grid-column: 1 / -1; margin: 40px auto 0; }
  .hero__branch { left: -24px; top: -30px; width: 80px; height: 70px; opacity: .85; }
  .hero__title .l1 { font-size: 48px; }
  .hero__title .l2 { font-size: 62px; }
}

/* ============================================================
   MOBILE  (≤767px)
   ============================================================ */
@media (max-width: 767px) {
  .container { padding: 0 16px; }

  /* Header: logo | phones | round phone | burger */
  .header__inner { height: auto; padding: 14px 0; gap: 10px; }
  .logo__mark { width: 44px; height: 44px; }
  .logo__text { font-size: 20px; }
  .logo__sub { font-size: 11px; }
  .phones__icon { display: none; }
  .phones__list a { font-size: 13px; font-weight: 600; }
  .phone-round { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--purple); color: var(--white); flex: none; }
  .phone-round svg { width: 22px; height: 22px; }
  .burger { width: 40px; }

  /* Hero: text left + photo right (wave), then lead, benefits, form */
  .hero__inner { display: block; }
  .hero__content { padding: 26px 0 0; display: flex; flex-direction: column; }
  .hero__branch { left: -20px; top: 6px; width: 70px; height: 62px; }
  .hero__head { width: 55%; }
  .hero__title .l1 { font-size: 44px; }
  .hero__title .l2 { font-size: 54px; line-height: 0.98; }
  .hero__script { font-size: 32px; }
  .hero__script-decor { margin-left: 30px; }
  .hero__script-decor::before, .hero__script-decor::after { width: 40px; }
  .hero__lead { font-size: 18px; margin-top: 22px; width: 58%; }

  .hero__photo { display: none; }
  .hero__photo--mobile {
    display: block; position: absolute; top: 0; right: -16px; width: 52%; height: 560px; margin: 0;
    clip-path: url(#wave-clip-m); z-index: 1;
  }
  .hero__photo--mobile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .hero__content { position: relative; z-index: 2; justify-content: flex-start; }
  .hero__lavender { display: block; left: 34%; bottom: auto; top: 410px; width: 150px; height: 120px; z-index: 3; }

  .hero__text { min-height: 540px; }
  .benefits { margin-top: 24px; gap: 18px 0; flex-wrap: wrap; justify-content: center; }
  .benefit { flex: 0 0 33.333%; min-width: 0; gap: 10px; }
  .benefit__icon { width: 56px; height: 56px; }
  .benefit__icon svg { width: 26px; height: 26px; }
  .benefit__text { font-size: 14px; }
  .hero__cta { display: none; }

  .form-card { width: calc(100% - 0px); margin: 28px auto 0; padding: 30px 20px 22px; border-radius: 26px; }
  .form-card__branch { width: 64px; height: 58px; }
  .form-card__title { font-size: 30px; }
  .form-card__script { font-size: 36px; }
  .field input { height: 60px; }
  .form-card .btn { height: 58px; font-size: 18px; }
  .form-card__safe { font-size: 13px; }

  .trust { display: flex; margin: 26px -16px 0; border-top: 1px solid var(--line); padding: 18px 10px 22px; background: var(--bg-light); }
  .trust__item { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; line-height: 1.3; padding: 0 6px; }
  .trust__item + .trust__item { border-left: 1px solid var(--line); }
  .trust__item svg { width: 30px; height: 30px; color: var(--purple); flex: none; }
  .trust__item .accent { font-weight: 600; }

  /* Vacancies */
  .vacancies { padding: 56px 0 40px; }
  .section-title { font-size: 44px; }
  .section-title--with-branches { gap: 14px; }
  .section-title--with-branches .branch { width: 52px; height: 40px; }
  .section-title--with-branches .title-text { display: flex; flex-direction: column; }
  .country-cards { gap: 32px; margin-top: 30px; }
  .country-card { width: calc(100% - 0px); max-width: 500px; }
  .country-card__photo { height: 240px; }
  .country-card__body { padding: 42px 18px 22px; }
  .country-card__eyebrow { font-size: 21px; }
  .country-card__name { font-size: 52px; }
  .country-card__salary { font-size: 24px; }
  .country-card__salary b { font-size: 27px; }
  .country-card__salary small { font-size: 19px; }
  .country-card__perk { font-size: 14px; gap: 10px; flex-direction: row; text-align: left; }
  .country-card__perk svg { width: 30px; height: 30px; }

  /* Reviews */
  .reviews { padding: 56px 0 50px; }
  .carousel { padding: 0 28px; margin-top: 30px; }
  .review-card { flex-basis: 100%; }
  .carousel__arrow { width: 44px; height: 44px; background: rgba(255,255,255,.92); }
  .carousel__arrow--prev { left: 8px; }
  .carousel__arrow--next { right: 8px; }
  .divider::before, .divider::after { width: 60px; }

  /* Social */
  .social__card { width: calc(100% - 0px); padding: 55px 20px 65px; border-radius: 30px; }
  .social__title { font-size: 36px; }
  .social__title b { display: block; font-size: 46px; color: var(--peach-2); line-height: 1.1; }
  .social__icons { gap: 20px; margin-top: 40px; }
  .social__link { width: 88px; height: 88px; }
  .social__link svg { width: 58px; height: 58px; }

  /* Footer */
  .footer__card { width: calc(100% - 24px); max-width: 500px; border-radius: 30px; }
  .footer__top { padding: 10px 0 0; }
  .footer__top { padding: 10px 0 0; min-height: 0; }
  .footer__nav { flex-direction: column; gap: 0; }
  .footer__nav a { display: flex; align-items: center; justify-content: center; height: 76px; width: 100%; font-size: 17px; border-bottom: 0; }
  .footer__nav a + a { position: relative; }
  .footer__nav a + a::before { content: ''; position: absolute; top: 0; left: 25px; right: 25px; height: 1px; background: var(--powder); }
  .footer__decor { position: relative; height: 230px; }
  .footer__top .divider { margin-top: 20px; }
  .footer__top .divider::before, .footer__top .divider::after { width: 70px; }
  .footer__branch { width: 110px; height: 130px; bottom: 10px; }
  .footer__branch--left { left: 14px; }
  .footer__branch--right { right: 14px; }
  .footer__bottom { padding: 42px 25px; min-height: 180px; background: linear-gradient(135deg, #4D2567 0%, #673888 55%, #4D2567 100%); }
  .footer__slogan { font-size: 35px; line-height: 1.2; }

  /* About */
  .about-hero { padding: 34px 0 40px; }
  .about-hero__title { font-size: 52px; text-align: center; }
  .about-hero .divider { justify-content: center; }
  .about-hero__text { font-size: 17px; }
  .about-hero .btn { width: 100%; }
  .about-hero__photo img { height: 360px; border-radius: 22px; }
  .about-section { padding: 20px 0 36px; }
  .about-section .section-title { font-size: 38px; }
  .why { flex-direction: column; gap: 0; margin-top: 28px; }
  .why__item { flex-direction: row; text-align: left; padding: 20px 0; gap: 18px; align-items: flex-start; }
  .why__item + .why__item { border-top: 1px solid var(--line); }
  .why__icon { width: 62px; height: 62px; flex: none; }
  .why__icon svg { width: 30px; height: 30px; }
  .why__body { display: flex; flex-direction: column; gap: 6px; }
  .checks { grid-template-columns: 1fr; gap: 26px; margin-top: 28px; }
  .check { font-size: 16px; }
  .comfort { padding: 36px 16px 30px; border-radius: 24px; background: transparent; border: 0; }
  .comfort .section-title { font-size: 38px; }
  .comfort__grid { flex-direction: column; gap: 14px; margin-top: 28px; }
  .comfort__item {
    flex-direction: row; text-align: left; align-items: center; gap: 18px;
    background: var(--bg-light); border: 1px solid #F0D7CC; border-radius: 20px; padding: 20px;
  }
  .comfort__icon { flex: none; width: 72px; height: 72px; }
  .comfort__body { display: flex; flex-direction: column; gap: 6px; }

  .final-cta {
    display: block; margin: 20px 0 40px; padding: 40px 22px 34px; text-align: center; border-radius: 24px;
    background: linear-gradient(180deg, #FFF4EC 0%, #FFEBE2 100%); border: 1px solid #F0D7CC; position: relative; overflow: hidden;
  }
  .final-cta__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--peach-light); margin: 0 auto; display: grid; place-items: center; }
  .final-cta__icon span { width: 54px; height: 54px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; }
  .final-cta__icon svg { width: 26px; height: 26px; fill: var(--white); }
  .final-cta__title { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.15; margin-top: 20px; color: var(--text); }
  .final-cta .btn { width: 100%; margin-top: 26px; }
  .final-cta__branch { position: absolute; right: -10px; bottom: -10px; width: 120px; height: 130px; opacity: .9; }
}

@media (max-width: 400px) {
  .header__inner { gap: 6px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__text { font-size: 17px; }
  .logo__sub { font-size: 10px; }
  .phones__list a { font-size: 11.5px; }
  .phone-round { width: 42px; height: 42px; }
  .burger { width: 34px; }
  .hero__title .l1 { font-size: 40px; }
  .hero__title .l2 { font-size: 50px; }
  .hero__head { width: 58%; }
  .hero__script { font-size: 28px; }
  .hero__lead { font-size: 17px; width: 56%; }
  .benefit__text { font-size: 13px; }
  .social__link { width: 78px; height: 78px; }
  .social__link svg { width: 50px; height: 50px; }
  .social__icons { gap: 14px; }
}


/* ============================================================
   NEW BLOCKS: steps, audience, faq, cta
   ============================================================ */
.section-lead { text-align: center; font-size: 18px; line-height: 1.55; max-width: 640px; margin: 24px auto 0; color: var(--text); }

.steps { padding: 80px 0 40px; background: var(--bg); }
.steps__list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps__list::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 34px; border-top: 2px dashed var(--powder); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--powder); color: var(--purple);
  font-family: var(--font-display); font-weight: 700; font-size: 32px; box-shadow: 0 6px 18px rgba(75,44,83,.08);
}
.step__title { font-size: 18px; font-weight: 600; margin-top: 20px; }
.step__text { font-size: 15px; line-height: 1.5; margin-top: 8px; color: var(--text); }

.audience { padding: 40px 0 70px; background: var(--bg); }
.audience__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.audience__item {
  background: var(--card); border: 1px solid #F0D7CC; border-radius: 22px; padding: 30px 24px 28px; text-align: center;
  box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.audience__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.audience__icon { width: 70px; height: 70px; border-radius: 50%; background: var(--lavender-bg); color: var(--purple); display: grid; place-items: center; }
.audience__icon svg { width: 34px; height: 34px; }
.audience__body { display: flex; flex-direction: column; gap: 8px; }
.audience__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.audience__text { font-size: 15px; line-height: 1.5; }

.faq { padding: 80px 0 40px; background: var(--bg); }
.faq__list { max-width: 860px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: var(--card); border: 1px solid #F0D7CC; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.faq__q {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; font-size: 18px; font-weight: 600; color: var(--text);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--lavender-bg); position: relative; transition: transform .25s ease; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; background: var(--purple); left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 2px; }
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 26px 24px; font-size: 16px; line-height: 1.6; color: var(--text); }

.cta { padding: 40px 0 30px; background: var(--bg); }
.cta__card {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #FFF5F0 0%, #FDECE5 50%, #FFF4EF 100%);
  border-radius: 30px; padding: 64px 40px 60px; box-shadow: 0 8px 30px rgba(75,44,83,.04);
}
.cta__branch { position: absolute; bottom: -10px; width: 140px; height: 150px; opacity: .8; pointer-events: none; }
.cta__branch--l { left: 30px; }
.cta__branch--r { right: 30px; transform: scaleX(-1); }
.cta__title { font-family: var(--font-display); font-weight: 600; font-size: 52px; line-height: 1.05; color: var(--brown); }
.cta__text { max-width: 620px; margin: 18px auto 0; font-size: 18px; line-height: 1.55; }
.cta__phones { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 28px; }
.cta__phones a { font-size: 22px; font-weight: 600; color: var(--purple); }
.cta__phones a:hover { color: var(--purple-dark); }
.cta .btn { margin-top: 32px; }

/* about inside single page */
.about-hero { padding: 80px 0 60px; }

@media (max-width: 1100px) {
  .steps__list { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .steps__list::before { display: none; }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__title { font-size: 44px; }
}
@media (max-width: 767px) {
  .steps { padding: 56px 0 30px; }
  .steps__list { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; text-align: left; padding: 18px 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .step__num { width: 56px; height: 56px; font-size: 26px; grid-row: 1 / span 2; margin: 0; }
  .step__title { margin-top: 6px; }
  .step__text { margin-top: 4px; }
  .audience { padding: 30px 0 50px; }
  .audience__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .audience__item { flex-direction: row; text-align: left; align-items: center; gap: 16px; padding: 18px; }
  .audience__icon { flex: none; width: 60px; height: 60px; }
  .audience__icon svg { width: 28px; height: 28px; }
  .audience__body { gap: 4px; }
  .faq { padding: 56px 0 30px; }
  .faq__list { margin-top: 28px; }
  .faq__q { padding: 18px 18px; font-size: 16px; }
  .faq__a { padding: 0 18px 20px; font-size: 15px; }
  .cta__card { padding: 48px 20px 44px; }
  .cta__title { font-size: 38px; }
  .cta__text { font-size: 16px; }
  .cta__phones { flex-direction: column; gap: 12px; }
  .cta__phones a { font-size: 20px; }
  .cta .btn { width: 100%; }
  .cta__branch { width: 90px; height: 100px; }
  .about-hero { padding: 50px 0 40px; }
}


/* ============================================================
   PRODUCTION: a11y, form states
   ============================================================ */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.lead-form__hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.lead-form__error { margin: 0; font-size: 13px; line-height: 1.4; color: #B3413E; background: #FDEDEC; border: 1px solid #F3C9C7; border-radius: 12px; padding: 10px 14px; }
.field input.is-invalid { border-color: #D98A87; box-shadow: 0 0 0 4px rgba(217, 138, 135, 0.18); }
.lead-form__success { margin-top: 18px; padding: 18px 18px; border-radius: 16px; background: var(--lavender-bg); color: var(--purple-deep); display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; font-weight: 500; }
.lead-form__success svg { width: 28px; height: 28px; flex: none; color: var(--purple); }
.lead-form__success p { margin: 0; }
.btn:disabled { opacity: .7; cursor: progress; }
.mobile-menu__phones { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu__phones a { font-size: 20px; font-weight: 600; color: var(--purple); border: 0; padding: 6px 0; }
.hero__photo picture, .country-card__photo picture, .about-hero__photo picture { display: block; width: 100%; height: 100%; }
.review-card picture { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid rgba(92, 52, 122, 0.45); outline-offset: 3px; border-radius: 6px; }
