/* --- Fonts & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Inter:wght@400;600;700&display=swap');
:root {
  --primary: #C13A1B;
  --secondary: #E6A07C;
  --text: #23272f;
  --glass-bg: #fff;
  --glass-border: #ececec;
  --glass-shadow: 0 4px 24px rgba(31,38,135,0.07);
  --font: 'Manrope', 'Inter', Arial, sans-serif;
  --radius: 18px;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #f8fafc;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  font-weight: 400;
  padding-top: 132px;
  transition: background 0.4s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before, body::after { display: none; }
@media (max-width: 768px) { body { padding-top: 108px; } }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 4rem 0; animation: fadeInSection 1s both; }
@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}

/* --- Header --- */
.header {
  background-color: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header {
  background: rgba(255,255,255,0.22);
  box-shadow: var(--glass-shadow);
  border-bottom: 1.5px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(120%);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  animation: fadeInDown 0.8s;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px);}
  to { opacity: 1; transform: translateY(0);}
}
.header__inner {
  display: flex;
  align-items: center;              /* Вертикальный центр */
  justify-content: space-between;   /* Распределить свободное пространство */
  flex-wrap: wrap;                  /* При малых экранах элементы могут переноситься */
  max-width: 1200px; margin: 0 auto; width: 90%;
}
.logo img {
  height: 50px;       /* подберите нужный размер */
  display: block;
}
.nav__list {
  display: flex;
  gap: 30px;          /* расстояние между пунктами */
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.nav__list { list-style: none; display: flex; gap: 2.2rem; }
.nav__list a {
  font-weight: 500;
  font-size: 1.07rem;
  color: var(--text);
  letter-spacing: 0.02em;
  padding: 0.5rem 1.2rem; border-radius: 1.5rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none; position: relative;
}
.nav__list a:hover, .nav__list a:focus {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(216,67,21,0.09);
  transform: translateY(-2px) scale(1.06);
}
@media (max-width: 900px) {
  .header__inner { flex-direction: column; gap: 0.7rem; }
  .nav__list { gap: 1.2rem; }
  .logo img { max-height: 38px; }
}
@media (max-width: 600px) {
  .header__inner { flex-direction: column; gap: 0.5rem; }
  .nav__list { flex-wrap: wrap; gap: 0.5rem; }
  .logo img { max-height: 32px; }
  .nav__list a { font-size: 0.98rem; padding: 0.4rem 0.8rem; }
}

/* --- Hero --- */
.hero {
  min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(120deg, #fff 60%, #ffe3d6 100%);
  text-align: center;
  padding: 5rem 0 3rem 0;
  animation: glassFadeIn 1.2s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  z-index: 1;
  background-image: url('../images/hero-bg-kazakhstan-turkey.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  background: rgba(255,255,255,0.22);
  border-radius: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  margin: 0 auto;
  animation: heroPopIn 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes heroPopIn {
  0% { opacity: 0; transform: scale(0.96) translateY(40px);}
  80% { opacity: 1; transform: scale(1.03) translateY(-4px);}
  100% { opacity: 1; transform: scale(1) translateY(0);}
}
.hero h1, .hero p {
  color: #fff !important;
  text-shadow: 0 2px 16px rgba(34,40,49,0.18);
  text-align: center;
}
.hero h1 {
  margin-bottom: 1.3rem;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.18;
}
.hero p {
  margin-bottom: 2.2rem;
  font-size: 1.13rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
.hero-cta {
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(31,38,135,0.07);
}
.hero-cta:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 32px rgba(193,58,27,0.13);
}
@media (max-width: 900px) {
  .hero .container { padding: 2.2rem 1.2rem 1.7rem 1.2rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.08rem; }
}
@media (max-width: 600px) {
  .hero { min-height: 320px; padding: 2.5rem 0 1.2rem 0; }
  .hero .container { padding: 1.2rem 0.5rem 1.2rem 0.5rem; border-radius: 1.2rem; }
  .hero h1 { font-size: 1.25rem; }
  .hero-cta { font-size: 1.05rem; padding: 0.8rem 1.2rem; }
}

/* --- Section Title --- */
.section-title {
  margin-bottom: 5rem;
  margin-top: 0.5rem;
  font-size: 2.88rem !important;
  line-height: 1.1;
}
.section-title i {
  font-size: 2.08rem !important;
  vertical-align: middle;
}

/* --- About, Values, Stats, Spec --- */
.about {
  margin-bottom: 3rem;
  text-align: center; /* Центрируем содержимое */
  background: linear-gradient(120deg, #fff 80%, #ffe3d6 100%);
  border-radius: 2rem;
  box-shadow: 0 2px 16px 0 rgba(193,58,27,0.07);
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 80%);
  opacity: 0.18;
  z-index: 0;
}
.about__mission,
.about__values,
.about__why-us,
.about__specialization,
.about__internship {
  background: rgba(255,255,255,0.85);
  border-radius: 1.5rem;
  box-shadow: 0 2px 12px rgba(193,58,27,0.06);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 1;
  animation: fadeInSection 1s;
}
.about__title, .about__subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-align: center; /* Центрируем заголовки */
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 1.2rem;
  display: inline-block;
  box-shadow: 0 2px 12px rgba(193,58,27,0.09);
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
}
.about__title i, .about__subtitle i {
  margin-right: 0.7rem;
  color: #fff;
}
.about__text {
  font-size: 1.07rem;
  color: #444;
  text-align: center; /* Центрируем текст */
  background: rgba(255,255,255,0.7);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin: 0 auto;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(31,38,135,0.04);
  position: relative;
  z-index: 1;
  color: #444;
  font-size: 1.09rem;
}
.values__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center; /* Центрируем список */
}
.values__list li {
  background: linear-gradient(120deg, #fff 70%, #ffe3d6 100%);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(193,58,27,0.07);
  font-size: 1.08rem;
  padding: 1rem 2rem;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.values__list li i {
  color: var(--primary);
  font-size: 1.3em;
  margin-right: 0.7em;
}
.values__list li:hover {
  background: linear-gradient(120deg, var(--secondary) 60%, #fff 100%);
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(193,58,27,0.13);
  transform: translateY(-4px) scale(1.04);
}
.stats-grid {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center; /* Центрируем статистику */
  align-items: center;     /* Вертикальное центрирование */
  text-align: center;      /* Центрируем текст */
  margin: 2.5rem 0 1.5rem 0;
}
.stat {
  background: linear-gradient(120deg, #fff 80%, #ffe3d6 100%);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(193,58,27,0.07);
  min-width: 180px;
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 1.7rem 2.2rem;
  border-radius: 1.2rem;
  margin-bottom: 1.2rem;
}
.stat:hover {
  box-shadow: 0 8px 32px rgba(193,58,27,0.13);
  transform: translateY(-4px) scale(1.04);
}
.stat__number {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(193,58,27,0.08);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stat__number i {
  color: var(--secondary);
  font-size: 1.2em;
}
.stat__label {
  font-size: 1.05rem;
  color: #666;
  opacity: 0.8;
}
.spec-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
  justify-content: center; /* Центрируем специализации */
  text-align: center;      /* Центрируем текст */
}
.spec-item {
  font-size: 1.09rem;
  padding: 0.9rem 2rem;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(90deg, #fff 70%, #ffe3d6 100%);
  border: 1.5px solid var(--glass-border);
}
.spec-item i {
  color: var(--primary);
  font-size: 1.2em;
  margin-right: 0.7em;
}
.spec-item:hover {
  background: linear-gradient(90deg, var(--secondary) 60%, #fff 100%);
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(193,58,27,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* --- Advantages --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  justify-items: center;
  align-items: stretch;
  margin-top: 2.5rem;
}
.adv-card {
  background: var(--glass-bg);
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
  animation: advFadeInUp 0.8s cubic-bezier(.4,0,.2,1);
  opacity: 0; animation-fill-mode: both;
}
@keyframes advFadeInUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.95);}
  80% { opacity: 1; transform: translateY(-4px) scale(1.03);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
}
.adv-card .fa-solid { font-size: 2.5rem; color: var(--secondary); margin-bottom: 1.2rem; }
.adv-card h4 { font-size: 1.09rem; font-weight: 600; color: var(--primary); margin: 0; }
.adv-card:hover {
  box-shadow: 0 16px 48px rgba(216,67,21,0.13);
  transform: translateY(-8px) scale(1.04);
  background: rgba(255,255,255,0.32);
}
.adv-card:hover .fa-solid { color: var(--primary); transform: scale(1.15) rotate(-8deg); }
@media (max-width: 700px) {
  .advantages-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .adv-card { padding: 1.3rem 0.7rem 1.1rem 0.7rem; }
}
@media (max-width: 480px) {
  .advantages-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* --- Vacancies --- */
.vacancies { margin-bottom: 3rem; }
.vacancies-grid { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.vacancy-card {
  background: var(--glass-bg);
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow);
  padding: 2rem 1.5rem;
  min-width: 320px;
  flex: 1 1 350px;
  margin-bottom: 2rem;
}
.card-header { font-size: 1.13rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.vacancy-list {
  list-style: none;
  display: flex; flex-direction: column; align-items: center; width: 100%;
}
.vacancy-item {
  margin-bottom: 1rem;
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.vacancy-btn {
  font-size: 1.05rem;
  color: var(--primary);
  background: #fff;
  border: none;
  border-radius: 1.2rem;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(31,38,135,0.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto; margin-right: auto;
  width: fit-content; min-width: 180px; max-width: 100%;
}
.vacancy-btn:hover { background: var(--primary); color: #fff; }
.vacancy-desc {
  max-height: 0; opacity: 0; overflow: hidden;
  background: rgba(255,255,255,0.13);
  border-radius: 0 0 0.8rem 0.8rem;
  margin-top: -2px;
  padding: 0 1.2rem;
  font-size: 0.99rem;
  color: var(--text);
  transition: max-height 0.38s cubic-bezier(.4,0,.2,1), opacity 0.25s, padding 0.25s;
}
.vacancy-btn.active + .vacancy-desc {
  max-height: 800px;
  opacity: 1;
  padding: 0.9rem 1.2rem 1.1rem 2.2rem;
}

/* --- Partners --- */
.partners { margin-bottom: 3rem; }
.partners-slider {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem;
}
.partner-item {
  background: var(--glass-bg);
  border-radius: 1.5rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  display: flex; align-items: center;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.25s, background 0.25s;
  animation: partner-fade-in-up 0.8s cubic-bezier(.4,0,.2,1);
  animation-fill-mode: both; opacity: 0;
}
.partner-item img {
  max-height: 100px; max-width: 200px; object-fit: contain; display: block;
  filter: grayscale(0.2) contrast(1.1) brightness(0.98);
  transition: filter 0.3s, transform 0.3s;
}
.partner-item:hover {
  transform: translateY(-10px) scale(1.07) rotate(-2deg);
  box-shadow: 0 16px 48px rgba(216,67,21,0.13);
  background: rgba(255,255,255,0.32);
}
.partner-item:hover img { filter: none; transform: scale(1.08) rotate(2deg); }
@keyframes partner-fade-in-up {
  0% { opacity: 0; transform: translateY(40px) scale(0.95) rotate(-6deg);}
  80% { opacity: 1; transform: translateY(-4px) scale(1.03) rotate(2deg);}
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg);}
}

/* --- FAQ --- */
.faq {
  background: var(--glass-bg);
  border-radius: 2rem;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--glass-border);
  padding: 3rem 0;
}
.faq-item {
  background: rgba(255,255,255,0.22);
  border-radius: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(31,38,135,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  position: relative;
  animation: fadeInSection 1s;
}
.faq-item:hover {
  box-shadow: 0 8px 32px rgba(216,67,21,0.10);
  transform: translateY(-2px) scale(1.01);
}
.faq-question {
  font-size: 1.07rem;
  font-weight: 500;
  color: var(--text);
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 1.2rem 3.5rem 1.2rem 2.8rem;
  text-align: left;
  cursor: pointer;
  border-radius: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.faq-question::before {
  content: '\f059';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--secondary);
  font-size: 1.3rem;
  margin-right: 1rem;
  display: inline-block;
}
.faq-question::after {
  content: '';
  position: absolute;
  top: 50%; right: 2rem;
  width: 1.1rem; height: 1.1rem;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L6 6L10 2' stroke='%23D84315' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s;
}
.faq-item.active .faq-question::after { transform: translateY(-50%) rotate(180deg); }
.faq-answer {
  font-size: 1.01rem; color: #444;
  max-height: 0; opacity: 0; overflow: hidden;
  background: rgba(255,255,255,0.13);
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 0 2.8rem;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s, padding 0.3s;
}
.faq-item.active .faq-answer {
  max-height: 2000px;
  opacity: 1;
  padding: 1rem 2.8rem 1.5rem 2.8rem;
}
@media (max-width: 600px) {
  .faq-question { font-size: 1rem; padding: 1rem 2.2rem 1rem 1.7rem; }
  .faq-question::before { font-size: 1.1rem; margin-right: 0.7rem; }
  .faq-question::after { right: 1.1rem; width: 0.9rem; height: 0.9rem; }
  .faq-answer, .faq-item.active .faq-answer { padding-left: 1.7rem; padding-right: 1.7rem; }
}

/* --- Footer --- */
.footer {
  background: linear-gradient(120deg, #fff 70%, #ffe3d6 100%);
  border-top: 2.5px solid #ffe3d6;
  box-shadow: 0 -8px 32px rgba(193,58,27,0.07), 0 -1.5px 8px rgba(31,38,135,0.04);
  padding: 3.5rem 0 2rem 0;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  left: -120px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, #ffe3d6 0%, #fff 80%);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.footer__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2.5rem;
  position: relative;
  z-index: 1;
}
.footer__contacts {
  font-size: 1.08rem; color: #444; line-height: 1.7;
  background: rgba(255,255,255,0.7);
  border-radius: 1.2rem;
  padding: 1.2rem 2rem;
  box-shadow: 0 2px 12px rgba(216,67,21,0.07);
}
.footer__socials a {
  color: #fff;
  background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
  font-weight: 700;
  border-radius: 2rem;
  padding: 0.7rem 1.5rem;
  margin-right: 1.2rem;
  box-shadow: 0 2px 12px rgba(216,67,21,0.09);
  text-decoration: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s;
  display: inline-block;
}
.footer__socials a:hover {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(216,67,21,0.13);
  transform: scale(1.08);
}
.footer p {
  color: #888;
  font-size: 0.98rem;
  margin-top: 1.5rem;
  text-align: center;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .footer__inner { flex-direction: column; gap: 1.5rem; }
  .footer__contacts { padding: 1rem 1.2rem; }
}
@media (max-width: 600px) {
  .footer { padding: 2rem 0 1.2rem 0; }
  .footer__contacts { padding: 0.7rem 0.7rem; font-size: 0.97rem; }
  .footer__socials a { padding: 0.5rem 1rem; font-size: 0.97rem; }
}

/* --- Floating Action Button --- */
.fab {
  position: fixed; right: 2.2rem; bottom: 2.2rem; z-index: 1002;
  background: linear-gradient(135deg, var(--primary) 60%, var(--secondary) 100%);
  color: #fff; border: none; border-radius: 50%;
  width: 60px; height: 60px;
  box-shadow: 0 8px 32px rgba(216,67,21,0.13);
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.fab:hover {
  background: linear-gradient(135deg, var(--secondary) 60%, var(--primary) 100%);
}
.fab-text {
  position: absolute; right: 80px; bottom: 12px;
  background: var(--glass-bg); color: var(--primary);
  border-radius: 1.2rem; padding: 1rem 1.25rem;
  font-size: .95rem; font-weight: 600;
  box-shadow: 0 2px 8px rgba(216,67,21,0.07);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.fab:hover + .fab-text { opacity: 1; }

/* --- Modal & Popup --- */
.modal {
  display: none;
  position: fixed; z-index: 1001; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(44,44,54,0.18);
}
.modal.show { display: block; }
.modal-overlay {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(44,44,54,0.18);
}
.modal-content {
  position: absolute; left: 50%; top: 10%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  border-radius: 1.5rem;
  box-shadow: 0 16px 48px rgba(31,38,135,0.18);
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  min-width: 320px; max-width: 95vw;
  animation: fadeInUpModal 0.6s;
}
@keyframes fadeInUpModal {
  from { opacity: 0; transform: translate(-50%, -60px);}
  to { opacity: 1; transform: translate(-50%, 0);}
}
.modal-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; font-size: 2rem; color: var(--primary);
  cursor: pointer; transition: color 0.2s;
}
.modal-close:hover { color: var(--secondary);}
.form__group { margin-bottom: 1.2rem; }
.form__group label { display: block; margin-bottom: 0.5rem; font-weight: 600;}
.form__group input, .form__group textarea {
  width: 100%; padding: 0.7rem 1rem; border-radius: 1rem;
  border: 1.5px solid var(--glass-border); font-size: 1rem;
  background: rgba(255,255,255,0.22); color: var(--text);
  transition: border 0.2s;
}
.form__group input:focus, .form__group textarea:focus {
  border: 1.5px solid var(--primary); outline: none;
}
.success-popup {
  position: fixed;
  left: 50%;
  top: 10%;
  transform: translateX(-50%) scale(0.95);
  background: rgba(255,255,255,0.98); color: #222831;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(31,38,135,0.13);
  padding: 2rem 2.5rem; z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  min-width: 260px; text-align: center;
  font-family: 'Inter', Arial, sans-serif;
}
.success-popup.show {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(1);
}
.success-popup__emoji {
  font-size: 2.5rem; display: block; margin-bottom: 1rem;
  animation: emoji-pop 0.7s ф cubic-bezier(.4,0,.2,1);
}

/* === Преимущества: длинный список, сетка, минимализм === */
.benefits {
  background: var(--color-bg-alt, #fff);
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(79,140,255,0.07);
  padding: 2.5rem 2rem;
  margin: 2.5rem auto;
  max-width: 900px;
}
.benefits__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #2a3a4a;
  letter-spacing: 0.01em;
}
.benefits__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits__item {
  display: flex;
  align-items: center;
  background: #f7fafd;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(79,140,255,0.06);
  padding: 1.1rem 1.3rem;
  font-size: 1.08em;
  color: #3a4a5a;
  min-height: 64px;
  transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
}
.benefits__item:hover {
  box-shadow: 0 8px 32px 0 rgba(79,140,255,0.13);
  transform: translateY(-2px) scale(1.03);
  background: #eaf6fb;
}
.benefit-icon {
  font-size: 2em;
  margin-right: 1em;
  color: #ff7043;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
@media (max-width: 700px) {
  .benefits {
    padding: 1.2rem 0.5rem;
  }
  .benefits__title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  .benefits__list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .benefits__item {
    font-size: 1em;
    padding: 0.8rem 0.7rem;
  }
}

/* --- Универсальное центрирование заголовков разделов и карточек --- */
.section-title,
.card-header,
.vacancies .section-title,
.partners .section-title,
.advantages .section-title,
.benefits__title,
.vacancies h2,
.vacancies h3,
.vacancies h4,
.partners h2,
.partners h3,
.partners h4,
.advantages h2,
.advantages h3,
.advantages h4 {
  text-align: center !important;
}

/* --- Кнопка "отправить заявку" --- */
.hero-cta,
.send-application-btn,
button[type="submit"] {
  border-radius: var(--radius);
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: 0 2px 8px rgba(31,38,135,0.07);
  font-size: 1.13rem;
  font-weight: 600;
  padding: 1rem 2.2rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: inline-block;
  margin: 0 auto;
}
.hero-cta:hover,
.send-application-btn:hover,
button[type="submit"]:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 32px rgba(193,58,27,0.13);
  transform: translateY(-2px) scale(1.06);
}