:root{
  --bg:#f5f8fc;
  --card:#ffffff;
  --text:#12213d;
  --muted:#627089;
  --line:#dbe5f1;
  --blue:#1976ff;
  --green:#18b24d;
  --green-dark:#109041;
  --hero:#0b2244;
  --footer:#0e223f;
  --radius:22px;
  --shadow:0 18px 40px rgba(15,40,80,.08);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:linear-gradient(180deg,#f7fbff 0%,#eff5fb 100%);color:var(--text)}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
picture{display:block}
.page-shell{overflow:hidden}
.container{width:min(1320px,calc(100% - 32px));margin:0 auto}
.section{margin-top:22px}
.card{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.site-header{padding:14px 0 12px;background:#fff;border-bottom:1px solid #e9eff7;position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:14px;font-weight:800}
.brand-mark{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#eff8f0;color:#1a9b44;font-size:28px;box-shadow:inset 0 0 0 1px #d4ead8}
.brand-title{font-size:18px;line-height:1.05}
.trust-pill{border:1px solid #dce8f8;background:#f6fbff;color:#2d67d5;border-radius:16px;padding:14px 20px;font-weight:700}
.hero{display:grid;grid-template-columns:1.04fr .96fr;gap:0;background:linear-gradient(135deg,#071f46 0%,#0d2f6b 55%,#0b2c61 100%);border-radius:30px;overflow:hidden;color:#fff;box-shadow:var(--shadow);margin-top:20px;position:relative;min-height:540px}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,16,38,.12),transparent 50%, rgba(255,255,255,.04));pointer-events:none}
.hero-copy{padding:30px 34px 28px;position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center}
.hero-copy::after{content:"";position:absolute;top:0;right:-140px;width:280px;height:100%;background:linear-gradient(117deg, rgba(11,34,68,0) 0%, rgba(10,33,72,.78) 20%, rgba(10,33,72,.18) 100%);transform:skewX(-18deg);pointer-events:none}
.live-pill{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;font-size:15px;font-weight:600;align-self:flex-start}
.dot{width:10px;height:10px;border-radius:50%;background:#43d85d;box-shadow:0 0 0 6px rgba(67,216,93,.18)}
.hero h1{font-size:72px;line-height:.96;margin:24px 0 18px;letter-spacing:-.045em;max-width:620px;position:relative;z-index:2}
.hero p{font-size:18px;line-height:1.45;color:#dde7f5;max-width:560px;margin:0 0 24px;position:relative;z-index:2}
.salary-box{display:flex;align-items:center;gap:18px;padding:18px 22px;margin-bottom:18px;background:#fff;border:1px solid rgba(255,255,255,.6);border-radius:22px;max-width:520px;position:relative;z-index:2}
.salary-icon{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(180deg,#edfdf1,#d9f8e2);color:#1f8f46;font-size:36px;font-weight:800;box-shadow:inset 0 0 0 2px rgba(31,143,70,.18)}
.salary-label{font-size:18px;color:#31415f}
.salary-value{font-size:38px;line-height:1;font-weight:800;color:#159647;letter-spacing:-.03em}
.salary-value span{font-size:20px;color:#159647}
.stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:4px;position:relative;z-index:2;max-width:820px}
.stat-card{background:#fff;color:var(--text);border-radius:18px;padding:18px 18px 16px;border:1px solid #dbe8f4;min-height:96px}
.stat-card strong{display:block;font-size:22px;line-height:1.1;margin-bottom:6px}
.stat-card span{display:block;color:var(--muted);font-size:14px}
.hero-visual{min-height:100%;position:relative;background:#d4e4f2;display:flex;align-items:stretch;overflow:hidden}
.hero-visual::before{content:"";position:absolute;left:-120px;top:0;bottom:0;width:220px;background:linear-gradient(90deg, rgba(7,31,70,1) 0%, rgba(7,31,70,.78) 40%, rgba(7,31,70,0) 100%);z-index:1}
.hero-visual picture{display:block;width:100%;height:100%}
.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center center}
.hero-visual picture img{width:100%;height:100%;object-fit:cover;object-position:center center}
.top-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:18px;align-items:start}
.review-card{padding:22px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;min-height:160px}
.quote-mark{font-size:88px;color:#2370ff;line-height:1;font-weight:800}
.review-head{display:grid;grid-template-columns:72px 1fr;gap:16px;align-items:center}
.avatar{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2370ff,#67a2ff);color:#fff;font-weight:800;font-size:28px}
.avatar.warm{background:linear-gradient(135deg,#ff9356,#ff4d4d)}
.avatar.cool{background:linear-gradient(135deg,#4c9cff,#2e67ff)}
.review-card h3{margin:0 0 8px;font-size:18px;line-height:1.35}
.review-card p{margin:0;color:var(--muted);line-height:1.45}
.stars{font-size:24px;color:#ffbf1f;letter-spacing:2px}
.benefits-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.benefit{padding:24px}
.benefit h3,.why-card h3,.process-step h3,.testimonial strong{margin:0 0 10px;font-size:22px;line-height:1.15}
.benefit p,.why-card p,.process-step p,.testimonial p{margin:0;color:var(--muted);line-height:1.55}
.cta-row{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:18px}
.cta-btn{display:flex;align-items:center;justify-content:center;min-height:64px;border-radius:18px;color:#fff;font-size:24px;font-weight:700;padding:16px 20px;box-shadow:var(--shadow);transition:.2s transform,.2s filter}
.cta-btn:hover{transform:translateY(-2px);filter:brightness(1.02)}
.cta-btn.whatsapp{background:linear-gradient(180deg,#17ba4f,#129840)}
.cta-btn.telegram{background:linear-gradient(180deg,#2f8dff,#186ff5)}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.section-head h2,.process-section h2,.why-section h2,.testimonials-section h2,.faq-section h2{font-size:34px;line-height:1.05;margin:0 0 22px;letter-spacing:-.03em}
.section-link{color:#2c72ea;font-weight:700}
.process-section,.why-section,.testimonials-section,.faq-section{margin-top:42px}
.process-grid,.why-grid,.testimonials-grid,.faq-grid{margin-top:4px}

.jobs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.job-card{overflow:hidden}
.job-card picture,.job-card img{width:100%;height:164px}
.job-card picture img{width:100%;height:164px;object-fit:cover;object-position:center top}
.job-body{padding:18px}
.job-body h3{margin:0 0 8px;font-size:24px;line-height:1.2}
.job-body p{margin:0 0 12px;color:var(--muted);font-size:16px}
.job-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.job-meta span{color:var(--green-dark);font-size:24px;font-weight:800}
.job-meta b{font-size:14px;color:#2d67d5;background:#eef4ff;padding:8px 12px;border-radius:999px}
.process-grid,.why-grid,.testimonials-grid{display:grid;gap:16px}
.process-grid{grid-template-columns:repeat(4,1fr)}
.why-grid{grid-template-columns:repeat(5,1fr)}
.testimonials-grid{grid-template-columns:repeat(3,1fr)}
.process-step,.why-card,.testimonial{padding:22px}
.process-step span{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#eff6ff;color:#2d67d5;font-weight:800;margin-bottom:12px}
.testimonial span{display:block;color:var(--muted);margin-top:6px}
.people-strip{margin-top:24px;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f5fbf5;text-align:left}
.people-strip__text{font-size:20px;font-weight:700;line-height:1.35;max-width:760px}.people-strip__logo{flex:0 0 auto;display:flex;align-items:center;justify-content:center;padding-left:10px}.people-strip__logo picture,.people-strip__logo img{display:block}.people-strip__logo img{width:auto;height:54px;max-width:180px;object-fit:contain;opacity:.96}
.mini-avatars{display:none}
.mini-avatars span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #d8e2ec;color:#2c3e62;font-weight:800;box-shadow:var(--shadow)}
.faq-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.faq-item{padding:0 20px}
.faq-item summary{padding:20px 6px;cursor:pointer;font-size:18px;font-weight:700;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{padding:0 6px 20px;margin:0;color:var(--muted);line-height:1.5}
.final-banner{margin:24px auto 0;padding:26px 28px;border-radius:24px;background:linear-gradient(135deg,#0e2343,#17386a);color:#fff;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:24px;box-shadow:var(--shadow)}
.final-banner h2{font-size:40px;line-height:1.05;margin:0 0 10px;letter-spacing:-.03em}
.final-banner p{margin:0;color:#d9e3f1;font-size:18px}
.final-banner__actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.site-footer{margin-top:22px;background:linear-gradient(135deg,#112945,#0c1e37);color:#d7e2f0;padding:34px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:20px}
.footer-brand{margin-bottom:12px}
.site-footer h4{margin:0 0 14px;font-size:18px;color:#fff}
.site-footer p{margin:0;color:#c2d0df;line-height:1.6}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:10px;color:#c2d0df}
.footer-bottom{margin-top:26px;padding-top:20px;border-top:1px solid rgba(255,255,255,.09);display:flex;align-items:center;justify-content:space-between;gap:16px;color:#c2d0df}
.footer-secure{padding:12px 16px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.03)}
.mobile-sticky{position:fixed;left:12px;right:12px;bottom:12px;z-index:25;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:12px;display:none;align-items:center;justify-content:space-between;gap:12px}
.mobile-sticky strong{display:block;font-size:15px}
.mobile-sticky small{display:block;color:var(--muted)}
.mobile-sticky .cta-btn{min-height:50px;padding:10px 16px;font-size:16px;white-space:nowrap}
.popup-open{overflow:hidden}
.popup-backdrop{position:fixed;inset:0;background:rgba(8,18,33,.66);display:grid;place-items:center;padding:20px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s ease}
.popup-backdrop.is-visible{opacity:1;pointer-events:auto}
.popup-card{width:min(980px,100%);background:#fff;border-radius:24px;box-shadow:0 40px 120px rgba(0,0,0,.25);position:relative;overflow:hidden}
.popup-close{position:absolute;top:16px;right:16px;border:0;background:#fff;width:44px;height:44px;border-radius:50%;font-size:30px;cursor:pointer;box-shadow:var(--shadow);z-index:3}
.popup-content{display:grid;grid-template-columns:1.08fr .92fr;gap:18px;align-items:stretch}
.popup-text{padding:28px 28px 24px}
.mini-badge{display:inline-block;padding:10px 14px;border-radius:999px;background:#effaf1;color:#169145;font-weight:700;margin-bottom:16px}
.popup-text h2{margin:0 0 12px;font-size:44px;line-height:1.02;letter-spacing:-.03em}
.popup-text p{margin:0 0 16px;color:var(--muted);font-size:18px;line-height:1.5}
.popup-chips{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 18px}
.popup-chips > span{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:16px;background:#f3f8fd;border:1px solid var(--line);font-weight:700;line-height:1.2;min-height:56px}
.popup-chips .js-viewers-count{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border-radius:12px;background:#fff;border:1px solid #dce6f2;color:var(--text);font-weight:800;box-shadow:0 1px 0 rgba(255,255,255,.75) inset;flex:0 0 auto}
.popup-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px}
.popup-actions .cta-btn{min-height:58px;font-size:20px}
.popup-note{color:var(--muted);font-weight:600}
.popup-side picture,.popup-side img{width:100%;height:100%}
.popup-side picture img{width:100%;height:100%;object-fit:cover;object-position:center center}
@media (max-width: 1100px){
  .hero-visual picture{aspect-ratio:960 / 482;height:auto}
  .hero-visual picture img{width:100%;height:100%;object-fit:cover;object-position:center center}

  .container{width:min(100%,calc(100% - 24px))}
  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-copy::after,.hero-visual::before{display:none}
  .hero h1{font-size:52px}
  .top-grid,.faq-grid,.footer-grid,.why-grid,.process-grid,.testimonials-grid,.jobs-grid,.final-banner,.final-banner__actions,.benefits-grid{grid-template-columns:1fr}
  .cta-row{grid-template-columns:1fr}
  .popup-content{grid-template-columns:1fr}
  .popup-side{display:none}
}
@media (max-width: 768px){
  .container{width:min(100%,calc(100% - 20px))}
  .site-header{padding:12px 0}
  .brand-title{font-size:14px;line-height:1.02}
  .brand{gap:10px}.brand-mark{width:42px;height:42px;font-size:22px}
  .trust-pill{padding:10px 12px;font-size:12px}
  .hero-copy{padding:18px 18px 20px}
  .hero h1{font-size:38px}
  .hero p{font-size:16px}
  .salary-box{padding:14px;max-width:none}
  .salary-icon{width:54px;height:54px;font-size:30px}
  .salary-label{font-size:14px}
  .salary-value{font-size:42px}
  .salary-value span{font-size:22px}
  .stats-row{grid-template-columns:1fr}
  .review-card{grid-template-columns:1fr;align-items:start}
  .review-head{grid-template-columns:52px 1fr}
  .avatar{width:52px;height:52px;font-size:20px}
  .quote-mark{display:none}
  .section-head h2,.process-section h2,.why-section h2,.testimonials-section h2,.faq-section h2{font-size:28px;margin:0 0 18px}
  .job-card picture,.job-card img,.job-card picture img{height:160px}
  .job-body h3{font-size:22px}
  .job-meta span{font-size:20px}
  .people-strip{flex-direction:column;align-items:center;text-align:center}.people-strip__text{max-width:none}.people-strip__logo{padding-left:0;padding-top:4px}.people-strip__logo img{height:44px;max-width:150px}
  .final-banner{padding:20px}
  .final-banner h2{font-size:30px}
  .site-footer{padding-bottom:100px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .mobile-sticky{display:flex}
  .popup-backdrop{padding:0;align-items:end}
  .popup-card{border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}
  .popup-text h2{font-size:30px}
  .popup-actions{grid-template-columns:1fr}
}

/* === POP-UP V2: compact desktop layout === */
.popup-backdrop{
  overflow-y:auto;
  padding:24px;
}
.popup-card{
  width:min(920px,calc(100vw - 48px));
  max-height:calc(100vh - 48px);
  border-radius:26px;
  overflow:hidden;
}
.popup-content{
  grid-template-columns:minmax(0,1.42fr) 350px;
  gap:0;
  min-height:430px;
  max-height:540px;
}
.popup-text{
  min-width:0;
  padding:30px 32px 26px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.popup-text h2{
  margin:0 0 12px;
  max-width:540px;
  font-size:38px;
  line-height:1.06;
  letter-spacing:-.035em;
}
.popup-text p{
  max-width:530px;
  margin:0 0 17px;
  font-size:16px;
  line-height:1.5;
}
.popup-chips{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:6px 0 18px;
  margin-bottom:18px;
}
.popup-chips span{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:10px 12px;
  font-size:14px;
  line-height:1.25;
}
.popup-actions{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:12px;
}
.popup-actions .cta-btn{
  min-height:58px;
  padding:12px 14px;
  border-radius:16px;
  font-size:17px;
  line-height:1.15;
  white-space:nowrap;
}
.popup-note{
  font-size:14px;
}
.popup-side{
  min-width:0;
  height:100%;
  background:#dce9f4;
}
.popup-side picture,
.popup-side picture img{
  width:100%;
  height:100%;
}
.popup-side picture img{
  object-fit:cover;
  object-position:center center;
}
.popup-close{
  top:14px;
  right:14px;
  width:46px;
  height:46px;
  z-index:20;
  display:grid;
  place-items:center;
  line-height:1;
  touch-action:manipulation;
}

@media (max-height:720px) and (min-width:801px){
  .popup-card{width:min(870px,calc(100vw - 40px));}
  .popup-content{grid-template-columns:minmax(0,1.45fr) 320px;min-height:390px;max-height:calc(100vh - 40px);}
  .popup-text{padding:24px 28px 22px;}
  .popup-text h2{font-size:33px;}
  .popup-text p{font-size:15px;margin-bottom:13px;}
  .mini-badge{margin-bottom:12px;padding:8px 12px;}
  .popup-chips{margin-bottom:13px;}
}

@media (max-width:800px){
  .popup-backdrop{
    padding:0;
    align-items:end;
    overflow:hidden;
  }
  .popup-card{
    width:100%;
    max-height:calc(100dvh - 12px);
    overflow-y:auto;
    border-radius:24px 24px 0 0;
  }
  .popup-content{
    display:block;
    min-height:0;
    max-height:none;
  }
  .popup-side{display:none;}
  .popup-text{
    padding:24px 20px 20px;
  }
  .popup-text h2{
    max-width:calc(100% - 34px);
    font-size:30px;
    line-height:1.08;
  }
  .popup-text p{
    font-size:15px;
    line-height:1.45;
  }
  .popup-chips{
    grid-template-columns:1fr;
    gap:8px;
    margin-bottom:14px;
  }
  .popup-chips span{
    min-height:44px;
  }
  .popup-actions{
    grid-template-columns:1fr;
    gap:10px;
  }
  .popup-actions .cta-btn{
    min-height:54px;
    font-size:17px;
  }
  .popup-close{
    top:12px;
    right:12px;
    width:42px;
    height:42px;
  }
}

/* Mobile performance: skip layout/paint for distant sections until needed. */
@supports (content-visibility:auto){
  .jobs-section,.process-section,.why-section,.testimonials-section,.faq-section,.final-banner,.site-footer{
    content-visibility:auto;
    contain-intrinsic-size:1px 760px;
  }
}


/* === Typography stability across desktop, tablet and mobile === */
.hero-copy,
.hero-copy > *,
.stat-card,
.review-card,
.review-head,
.benefit,
.job-card,
.job-body,
.process-step,
.why-card,
.testimonial,
.faq-item,
.final-banner__copy,
.popup-text{
  min-width:0;
}

.hero h1 span{
  display:block;
}

.hero h1,
.hero p,
.stat-card strong,
.stat-card span,
.review-card h3,
.review-card p,
.benefit h3,
.benefit p,
.job-body h3,
.job-body p,
.process-step h3,
.process-step p,
.why-card h3,
.why-card p,
.testimonial p,
.testimonial strong,
.testimonial span,
.people-strip__text,
.faq-item summary,
.faq-item p,
.final-banner h2,
.final-banner p,
.popup-text h2,
.popup-text p,
.cta-btn{
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:auto;
}

.live-pill{
  max-width:100%;
  white-space:normal;
  line-height:1.25;
}

.cta-btn{
  text-align:center;
  line-height:1.2;
}


@media (max-width:768px){
  .hero h1{
    font-size:clamp(32px,9.4vw,38px);
    line-height:1.02;
    letter-spacing:-.035em;
    margin:20px 0 16px;
    max-width:100%;
  }
  .hero h1 span + span{
    margin-top:2px;
  }
  .hero p{
    font-size:15px;
    line-height:1.45;
  }
  .live-pill{
    font-size:13px;
    gap:8px;
    padding:9px 12px;
  }
  .stat-card strong{
    font-size:20px;
  }
  .benefit h3,
  .why-card h3,
  .process-step h3,
  .testimonial strong,
  .job-body h3{
    line-height:1.18;
  }
  .cta-btn{
    white-space:normal;
  }
}

@media (max-width:390px){
  .hero-copy{
    padding:16px 14px 18px;
  }
  .hero h1{
    font-size:31px;
    line-height:1.03;
    letter-spacing:-.03em;
  }
  .hero p{
    font-size:14px;
  }
  .salary-value{
    font-size:36px;
  }
  .salary-value span{
    font-size:18px;
  }
}

@media (max-width:340px){
  .hero h1{
    font-size:28px;
  }
  .brand-title{
    font-size:13px;
  }
  .trust-pill{
    padding:9px 10px;
    font-size:11px;
  }
}

.popup-title-line{display:block}

@media (max-width:800px){
  .popup-text h2{
    max-width:calc(100% - 46px);
    font-size:clamp(22px,6.8vw,27px);
    line-height:1.08;
    letter-spacing:-.025em;
    word-break:normal;
    overflow-wrap:normal;
    hyphens:none;
  }
  .popup-title-line{
    display:block;
    white-space:nowrap;
  }
}
