body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg,#0f172a,#020617);
  color: #e5e7eb;
}

.container {
  max-width: 1100px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 20px;
}

.brand img {
  height: 100px;        /* размер логотипа */
  width: auto;
  display: block;
}

/* чтобы хидер не вырос */
.navbar {
  padding: 0px 0;     /* можно оставить как есть, если всё ок */
}

/* аккуратное выравнивание по центру */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: #cbd5f5;
  text-decoration: none;
  position: relative;
}

.nav-links a:hover {
  color: white;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #22c55e;
  transform: scaleX(0);
  transition: .25s;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.language-switcher select {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
}

/* ===== HERO ===== */
.hero {
  padding-top: 140px;
  padding-bottom: 120px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(34,197,94,.2), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(59,130,246,.2), transparent 40%);
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: #cbd5f5;
  max-width: 700px;
  margin: auto;
}

.hero-button {
  margin-top: 30px;
  display: inline-block;
  padding: 12px 26px;
  background: #22c55e;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: .2s;
}

.hero-button:hover {
  background: #16a34a;
}

/* ===== ABOUT ===== */
.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
  font-weight: 600;
}

.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 30px;
  backdrop-filter: blur(10px);
}

/* ===== CONTACT ===== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: white;
  border-radius: 8px;
}

.contact-btn {
  background: #22c55e;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 80px;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
  .nav-links { display:none; }
  .hero h1 { font-size:32px; }
}

/* ===== HERO С ИЛЛЮСТРАЦИЕЙ ===== */
.welcome-hero {
  position: relative;
  padding: 140px 0 120px 0;
  background: url("../images/about/profile_image.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* размытие картинки */
.welcome-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(6px) brightness(0.6);
  transform: scale(1.05);
}

/* затемнение поверх */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.55);
}

/* текст поверх */
.welcome-hero .container {
  position: relative;
  z-index: 2;
}

/* компактная типографика */
.header-text h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.header-text p {
  font-size: 20px;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: auto;
  line-height: 1.5;
}

/* мобильная версия */
@media (max-width: 768px) {
  .welcome-hero {
    padding: 110px 0 90px 0;
  }

  .header-text h1 {
    font-size: 24px;
  }

  .header-text p {
    font-size: 14px;
  }
}

/* ===== ABOUT BLOCKS ===== */
.about-block {
  max-width: 820px;
  margin: 0 auto;
}

.about-block h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 500;
}

.about-block p,
.about-block div {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255,255,255,.9);
}

/* разделительная линия */
.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,.25),
    transparent
  );
  margin: 40px auto;
  max-width: 600px;
}

/* ===== ABOUT IMAGES ===== */
.about-image {
  margin-top: 22px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.08) inset;
}

/* мягкое стеклянное свечение */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,0) 40%
  );
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.01);
  transition: transform .4s ease;
}

/* лёгкий hover (если десктоп) */
@media (hover:hover) {
  .about-image:hover img {
    transform: scale(1.05);
  }
}

.brand img {
  height: 100px;
  width: auto;
  display: block;
  margin-top: 10px;
}

/* ===== ARTICLES HERO LAYOUT ===== */

.articles-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

/* текстовая часть */
.articles-hero-text {
  min-width: 0;
}

/* блок справа */
.articles-hero-illustration {
  display: flex;
  justify-content: flex-end;
}

/* заготовка под изображение */
.illustration-placeholder {
  width: 100%;
  height: 200px;

  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.02)
  );

  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 10px 30px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.06) inset;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(255,255,255,.35);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;

  backdrop-filter: blur(10px);
}

/* мобильная версия */
@media (max-width: 768px) {
  .articles-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .articles-hero-illustration {
    justify-content: center;
  }

  .illustration-placeholder {
    height: 160px;
  }
}

