:root{
  --bg:#0b1020;
  --text:#0f172a;
  --muted:#5b6476;
  --card:#ffffff;
  --soft:#f4f6fb;
  --border:rgba(15,23,42,.10);
  --primary:#1e88e5;
  --primary-2:#1565c0;
  --radius:18px;
  --shadow:0 18px 50px rgba(15,23,42,.10);
  --container:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.5;
}
img{max-width:100%;display:block}
a{color:inherit}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand {
  display: flex;
  align-items: center;
  height: 48px; /* высота шапки */
}

.brand-logo {
  height: 100%;
  max-height: 40px; /* можно менять */
  width: auto;
  display: block;
}

.brand-mark{
  width:12px;height:12px;border-radius:4px;
  background:linear-gradient(135deg,var(--primary),#2dd4bf);
  box-shadow:0 10px 22px rgba(30,136,229,.25);
}
.brand-name{font-weight:800;letter-spacing:.04em}

.burger{
  display:none;
  width:44px;height:44px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}
.burger i{font-size:18px}

.nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav-link{
  text-decoration:none;
  padding:10px 10px;
  border-radius:10px;
  color:var(--muted);
  font-weight:600;
}
.nav-link:hover{background:var(--soft);color:var(--text)}
.nav-divider{width:1px;height:26px;background:var(--border)}

.nav-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(30,136,229,.25);
  background:rgba(30,136,229,.08);
  color:var(--primary-2);
  font-weight:700;
}
.nav-cta:hover{background:rgba(30,136,229,.12)}

/* Language */
.lang{position:relative}
.lang-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-weight:600;
  color:var(--muted);
}
.lang-btn:hover{background:var(--soft)}
.lang-menu{
  display:none;
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:220px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  padding:8px;
}
.lang.is-open .lang-menu{display:block}
.lang-menu a{
  display:block;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:600;
}
.lang-menu a:hover{background:var(--soft)}
.lang-menu a.is-disabled{opacity:.45;pointer-events:none}

/* Hero */
.hero{
  min-height:86vh;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(rgba(26,82,118,.82), rgba(46,134,193,.82)),
    url('https://images.unsplash.com/photo-1521737852567-6949f3f9f2b5?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size:cover;
  background-position:center;
}
.hero-inner{padding:64px 0}
.hero-copy{max-width:720px}
.hero h1{
  font-size:clamp(32px, 5vw, 56px);
  line-height:1.05;
  margin:0 0 12px;
}
.hero p{
  margin:0 0 26px;
  font-size:clamp(16px, 2.2vw, 20px);
  opacity:.95;
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}

/* Sections */
.section{padding:64px 0}
.section-muted{background:var(--soft)}
.section-head{
  margin-bottom:26px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.section-head h2{margin:0;font-size:clamp(24px, 3vw, 34px)}
.section-head p{margin:0;color:var(--muted);max-width:560px}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid transparent;
  text-decoration:none;
  font-weight:800;
}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 16px 34px rgba(30,136,229,.28)}
.btn-primary:hover{background:var(--primary-2)}
.btn-ghost{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.22)}
.btn-ghost:hover{background:rgba(255,255,255,.20)}

/* Grid helpers */
.grid{display:grid;gap:18px}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4, minmax(0,1fr))}
.grid-5{grid-template-columns:repeat(5, minmax(0,1fr))}

/* Cards */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.card h3{margin:2px 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted)}
.card-icon{
  width:46px;height:46px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(30,136,229,.10);
  color:var(--primary-2);
  margin-bottom:10px;
}

/* Stats */
.stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
.stat{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  text-align:center;
}
.stat-number{
  font-size:44px;
  font-weight:900;
  letter-spacing:-.02em;
  color:#1c274c;
  line-height:1;
}
.stat-number span{font-size:.62em;opacity:.85;margin-left:2px}
.stat-label{margin-top:10px;color:var(--muted);font-weight:600}

/* Partners */
.logo-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:18px;
  align-items:center;
  padding:10px 4px;
}
.logo-row img{
  height:52px;
  width:auto;
  padding:10px 14px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  flex:0 0 auto;
}

/* Pricing */
.price{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:22px;
  box-shadow:0 16px 44px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  gap:14px;
  position:relative;
  height:100%;
  min-height:260px;
}
.price-featured{
  border-color:rgba(30,136,229,.35);
  box-shadow:0 22px 60px rgba(30,136,229,.16);
}
.badge{
  position:absolute;
  top:14px;right:14px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(45,212,191,.16);
  color:#0f766e;
  border:1px solid rgba(45,212,191,.35);
}
.price-top h3{margin:0;font-size:18px}
.price-top{flex:1}
.price-bottom{
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.muted{color:var(--muted)}
.price-value{font-size:40px;font-weight:900;color:#1c274c;line-height:1.05}
.price-value span{font-size:.55em;opacity:.85}

/* Steps */
.steps{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
.step{
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
}
.step-num{
  width:44px;height:44px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(30,136,229,.10);
  color:var(--primary-2);
  font-weight:900;
  margin-bottom:10px;
}
.step h3{margin:0 0 6px}
.step p{margin:0;color:var(--muted)}

/* Countries */
.country{
  overflow:hidden;
  border-radius:24px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 14px 44px rgba(15,23,42,.08);
}
.country-img{height:160px;background-size:cover;background-position:center}
.country-body{padding:16px}
.country-body h3{margin:0 0 6px}
.country-body p{margin:0 0 10px;color:var(--muted)}
.country-body p:last-child{margin:0;color:var(--text)}

/* Lists */
.list{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:6px 0}

/* CTA wide */
.cta-wide{
  margin-top:22px;
  background:linear-gradient(135deg, rgba(30,136,229,.12), rgba(45,212,191,.14));
  border:1px solid rgba(30,136,229,.20);
  border-radius:24px;
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.cta-wide h3{margin:0 0 6px}
.cta-wide p{margin:0}

/* =========================
   TEAM SECTION
========================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* Карточка сотрудника */
.team-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 20px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  height: 100%;
}

/* Аватар (круг) */
.team-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;

  display: grid;
  place-items: center;

  background: #e6f1f7;
  margin-bottom: 14px;
}

/* Фото внутри аватара */
.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Инициалы (если нет фото) */
.team-card .avatar[data-initials]:not(:has(img))::after {
  content: attr(data-initials);
  font-size: 32px;
  font-weight: 600;
  color: #1f3b4d;
}

/* Имя */
.team-card .team-name {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

/* Адаптив */
@media (max-width: 480px) {
  .team-card .avatar {
    width: 100px;
    height: 100px;
  }
}

/* Reviews */
.reviews{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}
.review{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:18px;
  box-shadow:0 12px 38px rgba(15,23,42,.08);
}
.stars{display:flex;gap:4px;color:#f59e0b}
.review p{margin:12px 0 0;color:var(--text)}
.review-author{display:flex;align-items:center;gap:12px;margin-top:14px}
.review-author img{width:46px;height:46px;border-radius:16px;object-fit:cover;border:1px solid var(--border)}
.review-photo-fallback{width:46px;height:46px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--soft);border:1px solid var(--border)}
.review-name{font-weight:900}
.review-role{color:var(--muted);font-size:13px}

/* Contacts */
.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.contact-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:18px;
  box-shadow:0 12px 38px rgba(15,23,42,.08);
}
.contact-card h3{margin:0 0 8px}
.contact-item{display:flex;gap:12px;align-items:flex-start;margin:12px 0}
.contact-item i{width:18px;margin-top:2px;color:var(--primary-2)}
.contact-item a{text-decoration:none;font-weight:800}
.contact-item a:hover{text-decoration:underline}
.small{font-size:13px}

/* To top */
.to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:48px;height:48px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  box-shadow:0 14px 40px rgba(15,23,42,.14);
  display:none;
}
.to-top.is-visible{display:block}

/* Responsive */
@media (max-width: 980px){
  .grid-5{grid-template-columns:repeat(3, minmax(0,1fr))}
  .grid-4{grid-template-columns:repeat(2, minmax(0,1fr))}
  .grid-3{grid-template-columns:repeat(2, minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2, minmax(0,1fr))}
  .stats{grid-template-columns:repeat(2, minmax(0,1fr))}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .burger{display:inline-flex;align-items:center;justify-content:center}
  .nav{
    display:none;
    position:absolute;
    left:0;right:0;
    top:70px;
    background:#fff;
    padding:12px;
    border-bottom:1px solid var(--border);
    box-shadow:0 18px 60px rgba(15,23,42,.12);
    flex-direction:column;
    align-items:stretch;
  }
  .nav.is-open{display:flex}
  .nav-link{padding:12px 14px}
  .nav-divider{width:100%;height:1px}
  .nav-cta{justify-content:center}
  .section-head{flex-direction:column;align-items:flex-start}
  .grid-3{grid-template-columns:1fr}
  .grid-4{grid-template-columns:1fr}
  .grid-5{grid-template-columns:repeat(2, minmax(0,1fr))}
  .steps{grid-template-columns:1fr}
  .reviews{grid-template-columns:1fr}
  .cta-wide{flex-direction:column;align-items:flex-start}
  .hero-inner{padding:54px 0}
}
