/* ==============================================
   index.css — Narxoz College
   Mobile-first, no transform:scale()
   ============================================== */

:root {
  --red:   #e81d1d;
  --red2:  #ff294e;
  --cyan:  #00bcd4;
  --dark:  #171717;
  --white: #ffffff;
  --gray:  #4f4f4f;
  --ff: 'Montserrat', sans-serif;
  --px: 12px;
  --gap: 8px;
  --rad: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff); background: var(--red); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--ff); cursor: pointer; border: none; background: none; }
.page { width: 100%; display: flex; flex-direction: column; }

/* ── Анимации ── */
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes pulseC     { 0%,100%{box-shadow:0 0 0 0 rgba(0,188,212,.6);transform:scale(1)}50%{box-shadow:0 0 0 14px rgba(0,188,212,0);transform:scale(1.03)} }
@keyframes pulseY     { 0%,100%{box-shadow:0 0 0 0 rgba(255,231,40,.7)}50%{box-shadow:0 0 0 14px rgba(255,231,40,0)} }
@keyframes pulseW     { 0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.7);transform:scale(1)}50%{box-shadow:0 0 0 14px rgba(255,255,255,0);transform:scale(1.02)} }
@keyframes fadeUp     { from{opacity:0;transform:translateY(36px)} to{opacity:1;transform:none} }
@keyframes globeSpin  { from{background-position:0% center} to{background-position:200% center} }

.anim-slide { opacity:0; transform:translateY(50px); transition:opacity .7s ease,transform .7s ease; }
.anim-slide.visible { opacity:1; transform:none; }
.anim-card  { opacity:0; transform:translateY(24px); transition:opacity .5s ease,transform .5s ease; }
.anim-card.visible  { opacity:1; transform:none; }
.anim-card:nth-child(2).visible{transition-delay:.08s}
.anim-card:nth-child(3).visible{transition-delay:.16s}
.anim-card:nth-child(4).visible{transition-delay:.24s}
.anim-card:nth-child(5).visible{transition-delay:.32s}
.anim-card:nth-child(6).visible{transition-delay:.40s}

.spin        { animation: spin    3s linear infinite; }
.pulse-cyan  { animation: pulseC  2s ease-in-out infinite; }
.pulse-yellow{ animation: pulseY  2s ease-in-out infinite; }
.pulse-white { animation: pulseW  2s ease-in-out infinite; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: clamp(12px,3.2vw,22px);
  line-height: 1.4;
  margin-top: 8px;
  transition: all 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 200px;
  opacity: 1;
}

/* ══════════════════════════════════════
   1. HERO
══════════════════════════════════════ */
.s-hero {
  position: relative;
  background: var(--red);
  overflow: hidden;
  padding-bottom: 20px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/SG2VRcfAt1.png) no-repeat right center;
  background-size: cover;
  opacity: .3; pointer-events: none; z-index: 0;
}

.hero-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px var(--px) 0;
}

.hero-logo {
  width: clamp(90px,22vw,200px);
  height: clamp(45px,11vw,100px);
  background: url(logo.png) no-repeat left center;
  background-size: contain;
}

.lang-btns { display: flex; gap: 6px; }
.lang-btn {
  background: var(--white); color: #171717;
  font-family: var(--ff); font-weight: 700;
  font-size: clamp(11px,2.8vw,14px);
  padding: 5px 12px; border-radius: 60px;
  transition: background .2s, color .2s;
}
.lang-btn.active, .lang-btn:hover { background: var(--cyan); color: var(--white); }

.hero-wave {
  position: relative; z-index: 2;
  width: 72%; height: clamp(16px,4.5vw,36px);
  margin: 6px auto 0;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/dGMrW7B6xC.png) no-repeat center;
  background-size: contain;
}

.hero-title {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  font-size: clamp(34px,11vw,90px);
  font-weight: 700; line-height: 1.0; letter-spacing: -.03em;
  padding: 4px var(--px) 0;
}

.hero-mid {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px var(--px) 0;
}

.hero-pencil {
  width: clamp(44px,11vw,90px); height: clamp(44px,11vw,90px);
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/7fLPaxNmf1.png) no-repeat center;
  background-size: contain; flex-shrink: 0;
}

.btn-cta {
  flex: 1; max-width: 340px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan); color: var(--white);
  font-weight: 700; font-size: clamp(13px,3.8vw,22px);
  white-space: nowrap;
  height: clamp(40px,10vw,64px);
  border-radius: 200px;
}

.hero-circle {
  width: clamp(44px,11vw,90px); height: clamp(44px,11vw,90px);
  background: var(--cyan); border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-circle-inner {
  width: 90%; height: 120%;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/V7NX5FFj93.png) no-repeat center;
  background-size: contain;
}

/* ══════════════════════════════════════
   2. ЦИФРЫ И ФАКТЫ
══════════════════════════════════════ */
.s-facts {
  background: var(--white);
  border-radius: var(--rad);
  padding: clamp(20px,5vw,50px) var(--px) clamp(20px,5vw,40px);
}

.facts-title {
  text-align: center; color: var(--gray);
  font-size: clamp(18px,5.5vw,52px); font-weight: 700;
  line-height: 1.1; letter-spacing: -.02em;
}
.facts-sub {
  text-align: center; color: var(--gray);
  font-size: clamp(13px,3.8vw,36px); font-weight: 600;
  line-height: 1.2; margin-top: 2px;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: clamp(12px,3.5vw,32px);
}
.fact-card.span2 { grid-column: span 2; }

.fact-card {
  border-radius: clamp(12px,3.5vw,28px);
  padding: clamp(10px,3vw,28px);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.fc-red  { background: var(--red); }
.fc-cyan { background: var(--cyan); }

.fn.big {
  display: block; color: var(--white);
  font-size: clamp(38px,12vw,110px); font-weight: 700;
  line-height: 1; letter-spacing: -.04em; white-space: nowrap;
}
.fn.credit {
  display: block; color: var(--white);
  font-size: clamp(15px,5vw,40px); font-weight: 700;
  line-height: 1.15;
}
.fl {
  display: block; color: var(--white);
  font-size: clamp(10px,2.8vw,20px); font-weight: 500;
  line-height: 1.3; margin-top: 3px;
}

/* ══════════════════════════════════════
   3. МЕЖДУНАРОДНОЕ ОБУЧЕНИЕ
══════════════════════════════════════ */
.s-intl {
  position: relative;
  background: var(--dark);
  border-radius: var(--rad);
  overflow: hidden;
  padding: clamp(18px, 5vw, 50px) var(--px) 0;
  min-height: clamp(420px, 88vw, 760px);
}

.intl-bg {
  position: absolute; inset: 0;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/ayoskp05Nv.png) no-repeat center;
  background-size: cover; opacity: .18; pointer-events: none;
}

.intl-title {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  font-size: clamp(22px, 7vw, 80px);
  font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
  margin-bottom: 0;
}

.intl-globe-wrap {
  position: absolute;
  left: 50%;
  bottom: clamp(-150px, -18vw, -70px);
  transform: translateX(-50%);
  z-index: 3;
  width: clamp(320px, 78vw, 780px);
  height: clamp(320px, 78vw, 780px);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.intl-globe-img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  animation: globeRotate 16s linear infinite;
  transform-origin: center center;
  will-change: transform;
  filter:
    drop-shadow(0 0 28px rgba(0, 188, 212, .28))
    drop-shadow(0 0 80px rgba(0, 188, 212, .18))
    drop-shadow(0 24px 50px rgba(0, 0, 0, .45));
}

@keyframes globeRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.intl-btns {
  position: absolute; z-index: 5;
  bottom: clamp(10px, 4vw, 36px);
  left: var(--px); right: var(--px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 8px;
}

.intl-btn {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: #000;
  font-weight: 700; font-size: clamp(10px, 3vw, 18px);
  text-align: center; line-height: 1.25;
  padding: clamp(10px, 2.5vw, 18px) clamp(10px, 3vw, 20px);
  border-radius: 100px;
  width: clamp(110px, 34vw, 220px);
  min-height: clamp(54px, 10vw, 88px);
}

/* ══════════════════════════════════════
   4. ТРУДОУСТРОЙСТВО
══════════════════════════════════════ */
.s-employ {
  position: relative;
  background: var(--red2); overflow: hidden;
  padding: clamp(18px,5vw,50px) var(--px) clamp(20px,5vw,50px);
}
.employ-bg {
  position: absolute; inset: 0;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/Y4bcZF0HU0.png) no-repeat right center;
  background-size: cover; opacity: .2; pointer-events: none;
}

.employ-banner {
  position: relative; z-index: 2;
  background: #ffe728; color: var(--red2);
  font-weight: 700; font-size: clamp(16px,5.5vw,48px);
  text-align: center; letter-spacing: -.02em;
  padding: clamp(10px,2.5vw,22px) 16px;
  border-radius: 100px; transform: rotate(-2deg);
}

.employ-card {
  position: relative; z-index: 2;
  background: var(--white); border-radius: clamp(14px,4vw,44px);
  padding: clamp(14px,4vw,36px);
  margin-top: clamp(14px,4vw,36px);
  display: flex; align-items: center;
  gap: clamp(8px,2.5vw,24px);
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
}
.employ-pct {
  color: var(--dark); font-size: clamp(48px,17vw,180px);
  font-weight: 700; line-height: 1; letter-spacing: -.04em;
  white-space: nowrap; flex-shrink: 0;
}
.employ-lbl {
  color: var(--dark); font-size: clamp(11px,3.2vw,24px);
  font-weight: 700; line-height: 1.3;
}

/* ══════════════════════════════════════
   5. РАБОТОДАТЕЛИ
══════════════════════════════════════ */
.s-employers {
  background: var(--dark);
  padding: clamp(14px,4vw,44px) var(--px);
}
.employers-sub {
  color: var(--red); font-size: clamp(12px,3.5vw,24px);
  font-weight: 500; margin-bottom: clamp(10px,3vw,24px);
}
.employers-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 6px;
}
.emp-logo {
  background: var(--white); border-radius: clamp(8px,2.5vw,20px);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.emp-img { width: 80%; height: 60%; background-repeat: no-repeat; background-position: center; background-size: contain; }
.e1  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/f9tWvpRAcd.png); }
.e2  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/yPb2MGMvQZ.png); }
.e3  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/6XH4zFaRx7.png); }
.e4  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/F20N1YsQkQ.png); }
.e5  { background-image: url(otbasybank.png); }
.e6  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/2GYe7ypPHX.png); }
.e7  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/4uendrHTXv.png); }
.e8  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/1iNM8ucxGE.png); }
.e9  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/TtpvMmRjrk.png); }
.e10 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/13M6J823nK.png); }

/* ══════════════════════════════════════
   6. ПОДАЙ ДОКУМЕНТЫ
══════════════════════════════════════ */
.s-docs {
  position: relative; background: var(--red);
  overflow: hidden; text-align: center;
  padding: clamp(18px,5vw,50px) var(--px) clamp(18px,5vw,40px);
}
.docs-bg {
  position: absolute; inset: 0;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/Oka8xur6tz.png) no-repeat center;
  background-size: cover; opacity: .12; pointer-events: none;
}

.docs-title {
  position: relative; z-index: 2;
  color: var(--white); font-size: clamp(20px,6.5vw,60px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.03em;
}

.btn-docs {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--red);
  font-weight: 700; font-size: clamp(16px,5.5vw,48px);
  letter-spacing: -.03em; white-space: nowrap;
  height: clamp(44px,12vw,80px);
  border-radius: 100px;
  margin: clamp(8px,2.5vw,20px) 0;
  width: 100%;
}

.docs-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}

.doc-cell {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: clamp(12px,3.5vw,28px);
  overflow: visible;
}

.doc-cell-inner {
  position: absolute; inset: 0;
  background: var(--white);
  border-radius: inherit; overflow: hidden;
  display: flex; align-items: flex-end; padding: 8px;
}

.doc-img {
  position: absolute; z-index: 3;
  bottom: clamp(34px,9vw,64px);
  left: 50%; transform: translateX(-50%);
  width: 88%; aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: center; background-size: contain;
  pointer-events: none;
}
.d1 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/13DSF0jo31.png); }
.d2 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/sKUCvmqjWG.png); }
.d3 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/0zOXPb1Fup.png); }
.d4 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/d2vQKaPsXj.png); }

.doc-tag {
  width: 100%; display: flex; align-items: center; gap: 6px;
  background: var(--red); border-radius: 100px;
  padding: 5px 8px 5px 5px;
}
.doc-tag span {
  color: var(--white); font-weight: 700;
  font-size: clamp(9px,2.6vw,16px); line-height: 1.2;
}
.doc-icon {
  width: clamp(24px,7vw,44px); height: clamp(24px,7vw,44px);
  background: var(--white); border-radius: 50%; flex-shrink: 0;
  background-repeat: no-repeat; background-position: center; background-size: 65%;
}
.ti1 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/eC3qU8UGGa.png); }
.ti2 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/fD6CFL9m4V.png); }
.ti3 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/uUa5338Sk4.png); }
.ti4 { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/E5iF1aRKCz.png); }

/* ══════════════════════════════════════
   7. ЦЕНА ОБУЧЕНИЯ
══════════════════════════════════════ */
.s-price {
  position: relative; background: var(--dark);
  border-radius: var(--rad); overflow: hidden;
  padding: clamp(18px,5vw,50px) var(--px) clamp(18px,5vw,40px);
}
.price-bg {
  position: absolute; inset: 0;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/6aLCpWJJ6z.png) no-repeat center;
  background-size: cover; opacity: .18; pointer-events: none;
}

.price-title {
  position: relative; z-index: 2;
  color: var(--white); text-align: center;
  font-size: clamp(20px,6.5vw,60px); font-weight: 700;
  letter-spacing: -.03em; margin-bottom: clamp(12px,3.5vw,28px);
}

.price-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px;
}

.price-card {
  border-radius: clamp(12px,3.5vw,28px);
  padding: clamp(12px,3.5vw,28px);
  display: flex; flex-direction: column;
  position: relative; z-index: 2;
}
.pc-red  { background: var(--red); }
.pc-cyan { background: var(--cyan); }
.price-card.full { width: 100%; }

.pa {
  display: block; color: var(--white);
  font-size: clamp(16px,5.5vw,60px); font-weight: 700;
  line-height: 1.05; letter-spacing: -.03em; white-space: nowrap;
}
.pp {
  display: block; color: var(--white);
  font-size: clamp(11px,3.2vw,28px); font-weight: 500; margin-top: 3px;
}

/* ══════════════════════════════════════
   8. FAQ
══════════════════════════════════════ */
.s-faq {
  background: var(--white);
  border-radius: var(--rad);
  padding: clamp(18px,5vw,50px) var(--px) clamp(18px,5vw,40px);
}

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

.faq-item {
  border: 2px solid #000;
  border-radius: clamp(12px,3.5vw,28px);
  padding: clamp(12px,3.2vw,28px);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.faq-item:hover { background: #fafafa; }
.faq-item.open { background: #fff0f0; border-color: var(--red); }

.faq-top {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}

.faq-q {
  color: #000; font-size: clamp(12px,3.5vw,28px);
  font-weight: 500; line-height: 1.35; flex: 1;
}

.faq-plus {
  color: var(--red); font-size: clamp(26px,7vw,80px);
  font-weight: 300; line-height: 1; flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden; opacity: 0;
  color: #000; font-size: clamp(11px,3.2vw,22px);
  line-height: 1.5;
  transition: max-height .35s ease, opacity .25s ease, margin-top .35s ease;
  margin-top: 0;
}
.faq-item.open .faq-a { max-height: 220px; opacity: 1; margin-top: 10px; }

/* ══════════════════════════════════════
   9. КОНТАКТЫ
══════════════════════════════════════ */
.s-contacts {
  background: var(--red); overflow: hidden;
  padding: clamp(18px,5vw,50px) var(--px) clamp(18px,5vw,40px);
  position: relative;
}
.contacts-label {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan); color: var(--white);
  font-weight: 700; font-size: clamp(12px,3.8vw,24px);
  padding: clamp(8px,2vw,18px) clamp(20px,5vw,44px);
  border-radius: 100px; transform: rotate(2deg);
  margin-bottom: clamp(12px,3.5vw,28px);
}
.contacts-list { display: flex; flex-direction: column; gap: 8px; }

.contact-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--cyan); border-radius: 100px;
  height: clamp(44px,11vw,80px);
  padding: clamp(4px,1.2vw,10px) clamp(10px,2.5vw,20px) clamp(4px,1.2vw,10px) clamp(4px,1.2vw,10px);
}
.contact-row span {
  color: var(--white); font-weight: 700;
  font-size: clamp(12px,3.5vw,28px);
  text-decoration: underline; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.c-icon-wrap {
  width: clamp(32px,8vw,60px); height: clamp(32px,8vw,60px);
  background: var(--white); border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.c-icon { width: 60%; height: 60%; background-repeat: no-repeat; background-position: center; background-size: contain; }
.ci-phone { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/mb8T0VJmUU.png); }
.ci-ig    { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/cht74DOyL1.png); }
.ci-mail  { background-image: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/usbo8mm3RT.png); }

.contacts-logo {
  width: 92%; aspect-ratio: 1785/549;
  margin: clamp(14px,4vw,36px) auto 0;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2026-03-31/ZuaTitpXDt.png) no-repeat center;
  background-size: contain;
}

/* ══════════════════════════════════════
   МОДАЛЬНЫЕ ОКНА
══════════════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.6);
  align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: #ffffff; border-radius: 28px;
  padding: 28px 24px; width: 100%; max-width: 400px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  animation: popIn .22s ease;
}

@keyframes popIn {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}

.modal-head {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 18px;
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px,4.5vw,22px);
  font-weight: 700; color: #e81d1d;
}

.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e81d1d; color: #fff;
  font-size: 24px; font-weight: 300;
  line-height: 36px; text-align: center;
  cursor: pointer; flex-shrink: 0; user-select: none;
}

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

.modal-spec {
  display: flex; align-items: flex-start; gap: 8px;
  background: #e81d1d; color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: clamp(13px,3.8vw,17px);
  padding: 13px 18px; border-radius: 22px; line-height: 1.35;
}
.modal-spec span { display: block; }

.spec-icon { width: 19px; height: 19px; object-fit: contain; flex-shrink: 0; }

/* ══════════════════════════════════════
   FISHKI MODAL
══════════════════════════════════════ */
.modal-box.fishki-modal {
  max-width: 500px;
  width: calc(100% - 32px);
  padding: 24px;
}

.fishki-reels {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.reel-card {
  flex: 1;
  display: block;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
}

.reel-thumb {
  position: relative;
  aspect-ratio: 9/16;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
}

.reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity .2s;
}

.reel-card:hover .reel-thumb img {
  opacity: .8;
}

.reel-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .2s;
}

.reel-card:hover .reel-play-btn {
  background: rgba(0,0,0,.5);
}

.reel-play-btn svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
  width: clamp(32px, 8vw, 52px);
  height: clamp(32px, 8vw, 52px);
}

@media (max-width: 480px) {
  .fishki-reels {
    gap: 8px;
  }
}

/* ══════════════════════════════════════
   STORY MODAL
══════════════════════════════════════ */
.modal-box.story-modal {
  max-width: 860px;
  width: calc(100% - 32px);
  padding: 28px;
  overflow: hidden;
}

.story-content {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 260px;
}

.story-text {
  flex: 1;
  min-width: 0;
}

.story-img {
  width: 200px;
  height: 387px; /* 200 * 1119/578 ≈ 387 — точное соотношение оригинала */
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Story modal — мобилка */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }

  .modal-box.story-modal {
    max-width: 360px;
    width: 100%;
    padding: 16px;
    border-radius: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .story-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .story-text {
    flex: 1;
    min-width: 0;
  }

  .story-img {
    width: 120px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: visible;
  }

  .story-img img {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
  }

  .story-text h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
  }

  .story-text p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 5px;
  }
}

/* ══════════════════════════════════════
   ДЕСКТОП ≥ 900px
══════════════════════════════════════ */
@media (min-width: 900px) {
  :root {
    --px: clamp(32px,4vw,80px);
    --gap: 16px;
    --rad: 48px;
  }

  .facts-grid { grid-template-columns: repeat(3,1fr); }
  .fact-card.span2 { grid-column: span 2; }
  .employers-grid { grid-template-columns: repeat(5,1fr); }
  .docs-grid { grid-template-columns: repeat(4,1fr); }
  .intl-btns { flex-direction: row; }

  .s-faq .faq-item {
    padding: clamp(18px,2vw,36px) clamp(24px,3vw,48px);
  }
}