/* =====================================================================
   Easy English with Nastya — style.css
   Структура: fonts → tokens → reset → base → layout → components → utils → media
   ===================================================================== */

@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/Unbounded/Unbounded-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
}

/* ============ TOKENS ============ */
:root {
  /* brand */
  --violet: #9b3fe0;
  --violet-2: #c47bff;
  --violet-ink: #7a26bf;
  --teal: #24baaf;
  --teal-2: #93e1dd;
  --pink: #ffebec;
  --ink: #232c33;
  --muted: #7d797e;

  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f8f5ff;
  --bg-lav: #f1e9fd;
  --line: #eceaf3;
  --card: #ffffff;

  /* gradients */
  --grad-violet: linear-gradient(135deg, var(--violet-2), var(--violet));
  --grad-teal: linear-gradient(135deg, var(--teal-2), var(--teal));
  --grad-hero: linear-gradient(150deg, #cd9bff 0%, #9b3fe0 58%, #7a26bf 100%);

  /* type */
  --font-display: 'Unbounded', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* radius */
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(35, 44, 51, .04), 0 6px 20px rgba(123, 63, 214, .05);
  --sh: 0 8px 34px rgba(123, 63, 214, .11);
  --sh-lg: 0 30px 70px rgba(123, 63, 214, .18);
  --glow: 0 0 0 1px rgba(196, 123, 255, .45), 0 20px 54px rgba(123, 63, 214, .22);

  /* unified bold arrow glyph (inherits color via mask) */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M12 5l7 7-7 7'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

  /* layout */
  --container: 1180px;
  --pad: 24px;
  --section-y: 96px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; font-size: 16px; }
ul { list-style: none; }

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.center { text-align: center; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.muted-title { color: var(--muted); font-weight: 600; font-size: .62em; }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--bg-lav); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.eyebrow--teal { color: var(--teal); }
.eyebrow--teal::before { background: var(--teal); }

.grad-text { background: var(--grad-violet); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text--teal { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* grids */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px; line-height: 1.2;
  padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn::after {
  content: ''; width: 20px; height: 20px; flex: 0 0 auto; background-color: currentColor;
  -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat;
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 20px; font-size: 15px; gap: 8px; }
.btn--sm::after { width: 17px; height: 17px; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--lg::after { width: 24px; height: 24px; }
.btn--block { justify-content: center; width: 100%; }

.btn--primary { background: var(--violet); color: #fff; box-shadow: var(--sh); }
.btn--primary:hover { box-shadow: var(--sh-lg); }
.btn--teal { background: var(--grad-teal); color: #fff; box-shadow: 0 10px 30px rgba(36,186,175,.22); }
.btn--ghost { background: var(--bg-lav); color: var(--violet-ink); }
.btn--ghost:hover { background: #ebdcfb; }
.btn--outline { background: #fff; color: var(--violet-ink); border: 1.5px solid var(--violet-2); }
.btn--outline:hover { background: var(--bg-lav); }
.btn--outline-teal { color: var(--teal); border-color: var(--teal-2); }
.btn--outline-teal:hover { background: #e9faf8; }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 62px; }
.header__inner > .logo { justify-self: start; }
.header__actions { justify-self: end; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  flex: 0 0 auto;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--grad-violet); color: #fff; font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 15px;
}
.logo__text { font-size: 14px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.logo__text i { color: var(--violet); font-style: normal; }

.nav { display: flex; gap: 2px; padding: 3px; border-radius: var(--r-pill); background: transparent; border: 1px solid var(--line); }
.nav__link { padding: 7px 14px; border-radius: var(--r-pill); font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.nav__link:hover { background: var(--bg-lav); color: var(--violet-ink); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO (centered on gradient) ============ */
.hero { background: var(--grad-hero); overflow: hidden; text-align: center; padding-block: 52px 84px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; max-width: 940px; }

.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  color: #fff; font-size: 14px; font-weight: 600; backdrop-filter: blur(8px);
}
.hero__pill-ava { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: top; }
.hero__pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #7dfba5; box-shadow: 0 0 0 4px rgba(125,251,165,.28); }

.hero__title {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(40px, 6.6vw, 84px); line-height: 1.0; letter-spacing: -.02em; margin-top: 26px;
}
.hero .grad-text { background: none; -webkit-text-fill-color: #ffe4e7; color: #ffe4e7; }
.hero__title-sub { display: block; font-size: .42em; font-weight: 700; margin-top: 18px; letter-spacing: -.01em; color: rgba(255,255,255,.95); }
.hero__lead { font-size: 19px; margin-top: 24px; max-width: 620px; color: rgba(255,255,255,.9); }
.hero__lead b { color: #fff; font-weight: 600; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.hero__line { display: none; height: 1px; width: 64px; background: rgba(255,255,255,.4); }
.hero__note { margin-top: 20px; font-size: 15px; color: rgba(255,255,255,.88); }
.hero__note b { color: #fff; }

.hero .btn--primary { background: #fff; color: var(--violet-ink); box-shadow: 0 12px 34px rgba(0,0,0,.18); }
.hero .btn--primary:hover { box-shadow: 0 18px 46px rgba(0,0,0,.26); }
.hero .btn--ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.26); }

/* In-Numbers stat cards */
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.statcard {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px;
  border-radius: var(--r); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(10px); transition: transform .2s, background .2s;
}
.statcard:hover { transform: translateY(-4px); background: rgba(255,255,255,.22); }
.statcard__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.9); font-size: 22px; flex: 0 0 auto; }
.statcard__body { display: flex; flex-direction: column; }
.statcard__body b { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: #fff; line-height: 1.1; }
.statcard__body small { font-size: 12.5px; color: rgba(255,255,255,.8); line-height: 1.25; margin-top: 2px; }

/* ============ ABOUT ============ */
.about { background: var(--bg); }
.about__inner { display: flex; flex-direction: column; gap: 64px; }
.nowrap { white-space: nowrap; }
.about__top { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.about__media { position: relative; order: 2; }
.about__photo { width: 100%; border-radius: var(--r-lg); filter: drop-shadow(0 24px 50px rgba(35,44,51,.20)); }
.about__quote {
  position: absolute; z-index: 2; left: -16px; right: auto; bottom: 24px; max-width: 270px;
  background: #fff; padding: 18px 22px; border-radius: var(--r); box-shadow: var(--sh-lg);
  font-weight: 600; font-size: 15px; line-height: 1.4;
}
.about__quote::before { content: '“'; font-family: var(--font-display); color: var(--violet-2); font-size: 40px; line-height: 0; }
.about__body p { margin-top: 16px; color: #4b4a52; }
.about__body .section-title { margin-top: 6px; }
.ticks { margin-top: 22px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: var(--bg-lav); color: var(--violet); font-size: 14px; font-weight: 700;
}
.certs__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.certs__label small { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 11px; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.certs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); cursor: pointer;
  background: #fff; border: 1px solid var(--violet); box-shadow: 0 6px 20px rgba(123,63,214,.12);
  transition: transform .3s, box-shadow .3s;
}
.cert:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(123,63,214,.22); }
.cert img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; display: block; }
.cert__name { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.cert__ic { width: 20px; height: 20px; background-color: var(--violet); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; flex: 0 0 auto; }
.cert:hover .cert__ic { opacity: 1; transform: none; }

/* ============ FEATURES ============ */
.features {
  background:
    radial-gradient(55% 45% at 8% -5%, rgba(196,123,255,.16), transparent 60%),
    radial-gradient(45% 40% at 100% 25%, rgba(36,186,175,.10), transparent 60%),
    var(--bg-soft);
}
.features__grid { counter-reset: feat; }
.feat {
  position: relative; counter-increment: feat;
  background: linear-gradient(165deg, rgba(196,123,255,.14), rgba(123,63,214,.03));
  border: 1px solid rgba(196,123,255,.22); border-radius: var(--r-lg);
  padding: 14px; transition: transform .25s, box-shadow .3s, border-color .3s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: transparent; }
.feat__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg-lav); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04); transition: filter .45s ease, transform .6s ease; }
.feat:hover .feat__img img { filter: grayscale(0); transform: scale(1.04); }
.feat__img::before {
  content: '0' counter(feat); position: absolute; z-index: 2; top: 12px; left: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .02em;
  padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); color: var(--violet-ink);
}
.feat__tag { display: inline-block; margin: 18px 6px 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.feat__title { margin: 8px 6px 8px; font-size: 20px; font-weight: 400; line-height: 1.35; }
.features .center { margin-top: 48px; }

/* ============ STEPS ============ */
.steps {
  background:
    radial-gradient(50% 45% at 95% 0%, rgba(36,186,175,.12), transparent 60%),
    var(--bg);
}
.step {
  position: relative; background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 26px; box-shadow: var(--sh-sm);
  transition: transform .25s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.step::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--grad-teal); }
.step:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(36,186,175,.45), 0 20px 54px rgba(36,186,175,.2); border-color: transparent; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--teal-2); }
.step__title { margin: 14px 0 8px; font-size: 20px; font-weight: 700; }
.step p { color: var(--muted); font-size: 16px; }

/* ============ PRICING ============ */
.pricing {
  background:
    radial-gradient(45% 40% at 90% -5%, rgba(196,123,255,.16), transparent 60%),
    radial-gradient(40% 35% at 5% 105%, rgba(36,186,175,.10), transparent 60%),
    var(--bg-soft);
}
.tabs {
  display: inline-flex; gap: 6px; padding: 6px; margin: 0 auto 36px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm);
}
.tabs { display: flex; width: max-content; margin-inline: auto; }
.tab { padding: 9px 26px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; color: var(--muted); transition: .2s; }
.tab.is-active { background: var(--grad-violet); color: #fff; box-shadow: var(--sh); }
.tab[data-tab="business"].is-active { background: var(--grad-teal); }

.price-panel { display: none; }
.price-panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.price-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(36px, 6vw, 80px);
  background: linear-gradient(135deg, #f6ecff, #fff6f7); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 32px; margin-bottom: 20px;
}
.price-head--teal { background: linear-gradient(135deg, #e5faf7, #f5fffe); }
.price-head__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); }
.price-head--teal .price-head__eyebrow { color: var(--teal); }
.price-head__value { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--ink); margin-top: 6px; }
.price-head__value b { font-size: 52px; color: var(--violet); line-height: 1; }
.price-head--teal .price-head__value b { color: var(--teal); }
.price-head__value small { font-size: 18px; color: var(--muted); font-weight: 400; }
.price-head__list { display: grid; gap: 10px; }
.price-head__list li { position: relative; padding-left: 26px; font-weight: 500; }
.price-head__list li::before { content: '●'; position: absolute; left: 0; color: var(--violet-2); font-size: 12px; top: 4px; }
.price-head--teal .price-head__list li::before { color: var(--teal); }

.plans { align-items: stretch; }
.plan {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 26px; box-shadow: var(--sh-sm); transition: transform .25s, box-shadow .3s, border-color .3s; position: relative;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: transparent; }
.plan--teal:hover { box-shadow: 0 0 0 1px rgba(36,186,175,.45), 0 20px 54px rgba(36,186,175,.2); }
.plan--featured { border-color: var(--violet-2); box-shadow: var(--sh); }
.plan--featured.plan--teal { border-color: var(--teal-2); }
.plan__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-violet); color: #fff; font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--sh);
}
.plan--teal .plan__ribbon { background: var(--grad-teal); }
.plan__count { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: var(--ink); line-height: 1.1; }
.plan__price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan .btn { margin-top: auto; }

/* ============ REVIEWS ============ */
.reviews { background: var(--bg); }
.reviews__rating { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--muted); }
.reviews__stars { color: #f5b301; letter-spacing: 2px; }
.reviews__rating strong { color: var(--ink); }
.slider { max-width: var(--container); margin-inline: auto; }
.slider__viewport { overflow: hidden; padding-block: 10px; }
.slider__track { display: flex; gap: 20px; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.review {
  position: relative; overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  flex: 0 0 calc((100% - 40px) / 3); padding: 24px 26px;
  background: linear-gradient(135deg, #faf5ff, #fff6f7); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--violet-2); }
.review::before {
  content: '\201D'; position: absolute; top: 0; right: 20px; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: 88px; line-height: 1; color: rgba(155,63,224,.10);
}
.review__stars { position: relative; color: #f5b301; font-size: 15px; letter-spacing: 2px; }
.review__text {
  position: relative; font-size: 15.5px; line-height: 1.5; margin: 10px 0 16px;
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.review__foot { position: relative; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review__tag { font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.review__more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--violet); }
.review__more::after { content: ''; width: 15px; height: 15px; background-color: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.slider__btn { font-size: 44px; font-weight: 700; line-height: 1; color: var(--violet); background: none; padding: 0 8px; transition: transform .2s, color .2s; }
.slider__btn:hover { color: var(--violet-ink); transform: scale(1.2); }
.slider__dots { display: flex; gap: 8px; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: .2s; }
.slider__dot.is-active { background: var(--violet); width: 26px; border-radius: var(--r-pill); }

/* ============ FAQ ============ */
.faq {
  background:
    radial-gradient(45% 40% at 0% 0%, rgba(196,123,255,.13), transparent 60%),
    var(--bg-soft);
}
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__head { position: sticky; top: 100px; text-align: left; }
.faq__head .section-sub { margin-bottom: 20px; }
.faq__list { display: grid; gap: 14px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); overflow: hidden; }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; font-weight: 600; font-size: 17px; list-style: none; cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; font-size: 26px; color: var(--violet); transition: transform .25s; line-height: 1; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa__body { padding: 0 26px 24px; color: #4b4a52; }

/* ============ CTA ============ */
.cta { background: var(--grad-violet); position: relative; padding-block: 68px; }
.cta__decor { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.cta__decor::before, .cta__decor::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); }
.cta__decor::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta__decor::after { width: 220px; height: 220px; bottom: -100px; left: 10%; }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.cta__form-wrap { background: #fff; border-radius: var(--r); padding: 26px 28px; box-shadow: 0 8px 26px rgba(35,20,60,.14); }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(23px, 2.6vw, 31px); line-height: 1.12; }
.cta__sub { color: var(--muted); font-size: 15px; margin: 8px 0 18px; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; }
.field[hidden] { display: none; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select {
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-soft); font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { font-family: inherit; }

/* custom select (rounded dropdown, offset 6px) */
.select { position: relative; }
.select.is-open { z-index: 60; }
.select__native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.select__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-soft); font-family: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.select.is-open .select__btn, .select__btn:focus-visible { border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(155,63,214,.14); outline: none; }
.select__label.is-placeholder { color: var(--muted); }
.select__chev { width: 20px; height: 20px; flex: 0 0 auto; background-color: var(--violet); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transition: transform .2s; }
.select.is-open .select__chev { transform: rotate(180deg); }
.select__list {
  position: absolute; z-index: 100; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px;
  list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh);
  max-height: 260px; overflow: auto; opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .18s, transform .18s;
}
.select.is-open .select__list { opacity: 1; transform: none; pointer-events: auto; }
.select__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; transition: background .15s, transform .15s; }
.select__opt:hover { transform: scale(1.02); }
.select__opt.is-active { background: var(--bg-soft); }
.select__price { flex: 0 0 auto; padding: 4px 12px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 700; font-size: 13px; }
.select__price.is-violet { color: var(--violet); }
.select__price.is-teal { color: var(--teal); }
.select__free { flex: 0 0 auto; padding: 4px 12px; border-radius: 999px; border: 1.5px solid #28a745; color: #28a745; font-weight: 700; font-size: 13px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(155,63,224,.12); background: #fff; }
.form__ok { font-weight: 600; color: var(--violet-ink); background: var(--bg-lav); padding: 14px; border-radius: var(--r-sm); text-align: center; }

.cta__side { color: #fff; }
.cta__side-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.cta__side-name { margin-top: 16px; font-size: 20px; font-weight: 600; }
.cta__side-name i { font-style: normal; opacity: .85; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; display: block; }
.cta__contacts { display: grid; gap: 12px; margin: 26px 0; }
.cta__contact { display: inline-flex; align-items: center; gap: 12px; background: transparent; border: 1px solid rgba(255,255,255,.42); padding: 8px 22px; border-radius: var(--r-pill); font-weight: 600; transition: .2s; width: fit-content; }
.cta__contact:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.cta__ic { display: inline-flex; color: #fff; flex: 0 0 auto; }
.cta__ic svg { width: 24px; height: 24px; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #cfc9d6; padding-block: 40px 26px; font-weight: 300; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.logo--footer .logo__text { color: #fff; font-weight: 500; }
.logo--footer .logo__text i { color: var(--violet-2); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer__nav a { font-weight: 300; color: #b9b4c2; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; font-weight: 300; color: #8f8a97; text-align: center; }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 32px; background: rgba(20,10,35,.82); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--r); box-shadow: var(--sh-lg); }
.lightbox__close {
  position: absolute; top: 12px; right: 20px;
  font-size: 44px; font-weight: 300; line-height: 1; color: #fff;
  background: none; border: none; transition: color .2s, transform .2s;
}
.lightbox__close:hover { color: var(--violet-2); transform: rotate(90deg); }

/* review modal */
.rmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(20,10,35,.82); backdrop-filter: blur(6px); }
.rmodal[hidden] { display: none; }
.rmodal__box { position: relative; width: 100%; max-width: 560px; background: #fff; border-radius: var(--r-lg); padding: 40px 36px 30px; box-shadow: var(--sh-lg); }
.rmodal__box .review__stars { color: #f5b301; font-size: 18px; letter-spacing: 2px; }
.rmodal__text { font-size: 18px; line-height: 1.6; margin: 14px 0 16px; }
.rmodal__close { position: absolute; top: 10px; right: 22px; font-size: 40px; font-weight: 300; line-height: 1; color: var(--muted); background: none; }

/* ============ UTILITIES / REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  :root { --section-y: 80px; }
  .hero__inner { gap: 32px; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__inner { display: flex; justify-content: space-between; }
  .header.is-open .nav {
    display: flex; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; gap: 4px;
    background: #fff; padding: 16px var(--pad) 24px; border: none; border-bottom: 1px solid var(--line);
    border-radius: 0; box-shadow: var(--sh);
  }
  .about__top, .faq__inner, .cta__inner { grid-template-columns: 1fr; }
  .about__body { padding-top: 32px; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .review { flex-basis: calc((100% - 20px) / 2); }
  .about__quote { left: 12px; right: auto; }
  .about__media { order: 1; }
  .faq__head { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .price-head { padding: 26px; }
  .price-head__list { width: 100%; }
  .cta__form-wrap { padding: 28px; }

  /* center content blocks on mobile */
  .about__body, .feat, .step, .cta__side { text-align: center; }
  .feat__tag, .feat__title, .step__title { margin-inline: auto; }
  .about__body .ticks { display: inline-block; text-align: left; }

  /* documents as square (1:1) cards, names on one line */
  .cert { aspect-ratio: 1 / 1; }
  .cert img { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
  .cert__name { white-space: nowrap; font-size: 14px; padding: 10px 12px; }
  .cert__ic { display: none; }

  /* steps heading sticks while cards scroll under it */
  .steps .section-head {
    position: sticky; top: 62px; z-index: 5;
    background: var(--bg); padding-block: 14px; margin: 0 auto 22px;
  }

  /* contacts centered */
  .cta__contacts { justify-items: center; }
  .cta__contact { margin-inline: auto; }

  /* footer fully centered */
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  .footer__nav { justify-content: center; }
}
@media (max-width: 560px) {
  :root { --pad: 18px; --section-y: 64px; }
  .header .logo__text { display: none; }
  .lightbox { padding: 16px; }
  .hero { padding-block: 28px 48px; }
  .hero__inner { gap: 28px; }
  .hero__title-sub { font-size: .5em; margin-top: 14px; }
  .hero__title, .hero__lead, .hero__actions, .hero__note { margin-top: 0; }
  .about { padding-top: 48px; }
  .about__body { padding-top: 0; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__pill { font-size: 13px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .review { flex-basis: 100%; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 12px 10px; font-size: 15px; }
  .price-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .plan { padding: 28px 22px; }
  .hero__actions .btn, .about__body .btn { width: 100%; }
  .slider__btn { width: 42px; height: 42px; }
}
