/*
Theme Name: Biblioglobus
Version: 1.0.0
Author: Biblioglobus Team
Text Domain: biblioglobus
*/

/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type="file"] {
  max-width: 100%;
}
/* Убирает стрелки в Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Убирает стрелки в Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.offcanvas-header .btn-close {
  font-size: 20px;
  padding: 14px;
}

@media (max-width: 992px) {
  .offcanvas.offcanvas-end {
    max-width: 272px;
  }
}

/* Цвета */
:root {
  --black: #152139;
  --white: #ffffff;
  --gray: #f1f2f6;

  --primary100: #ec680f;
  --primary200: #ffae00;

  --secondary100: #0f5ec6;
  --secondary200: #2b76d9;
}

/* шрифты */
:root {
  /* толщина шрифтов*/
  --extrabold: 800;
  --bold: 700;
  --semibold: 600;
  --medium: 500;
  --regular: 400;

  /* размеры */
  --h1-size: 58px;
  --h2-size: 42px;
  --h3-size: 26px;

  --h1-mob-size: 33px;

  --p1: 16px;
  --p2: 18px;
  --description: 20px;
  --button-sm: 14px;
  --button-md: 15px;
}

body {
  font-family: "Raleway", sans-serif;
}

/* Заголовки */
h1,
h2,
h3 {
  font-family: "M_PLUS_Rounded_1c", sans-serif;
  font-weight: var(--extrabold);
}
.h1 {
  font-size: var(--h1-size);
  line-height: 130%;
  margin-bottom: 45px;
  text-transform: uppercase;
}
.h2 {
  font-size: var(--h2-size);
  line-height: 140%;
  text-align: center;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.h3 {
  font-size: var(--h3-size);
  line-height: 100%;
}

.p1 {
  font-size: var(--p1);
  font-weight: var(--medium);
  line-height: 120%;
}
.description {
  font-size: var(--description);
  font-weight: var(--medium);
  text-align: center;
}

.block {
  padding: 60px 0;
}
/* Стили для анимации переворота иконок */
.icon-flip {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;
  perspective: 1000px;
  cursor: pointer;
  border: 1px solid var(--primary200);
  border-radius: 100px;
  flex-shrink: 0;
}

.icon-flip svg {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 64px;
  height: 64px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Первая иконка (видна по умолчанию) */
.icon-flip svg:first-child {
  transform: rotateY(0deg);
  z-index: 2;
}

/* Вторая иконка (скрыта по умолчанию) */
.icon-flip svg:last-child {
  transform: rotateY(-180deg);
  z-index: 1;
}

/* При наведении */
.icon-flip:hover svg:first-child {
  transform: rotateY(180deg);
  z-index: 1;
}

.icon-flip:hover svg:last-child {
  transform: rotateY(0deg);
  z-index: 2;
}

/* Основные блоки и контейнеры */
.container {
  max-width: 1340px;
  padding: 20px;
  margin: auto;
}

.site-main {
}

/* Фиксированная шапка */
.site-header {
  position: fixed;
  top: 80px;
  right: 0;
  z-index: 1000;
  margin: auto;
  left: 0;
  border-radius: 100px;
  max-width: 1300px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 14px;
}

/* Шапка при скролле */
.site-header.scrolled {
  top: 20px;
}

/* Логотип */
.header-logo {
  flex-shrink: 0;
}

.logo-link {
  display: block;
  line-height: 0;
}

.logo-image {
  height: 35px;
  width: 193px;
  transition: all 0.25s ease;
}

.logo-link:hover .logo-image {
  opacity: 0.8;
}

/* Навигационное меню */
.header-nav {
  flex: 1;
  margin: 0 10px;
}

.header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu li {
  position: relative;
}

.header-menu a {
  color: #152139;
  font-weight: var(--bold);
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 15px;
  border-radius: 100px;
  transition: all 0.3s ease;
  display: block;
}

.header-menu a:hover {
  background: linear-gradient(135deg, var(--primary100), var(--primary200));
  color: #fff;
}

/* Кнопка в шапке */
.header-button {
  flex-shrink: 0;
}

.btn-vacancy {
  display: inline-flex;
  align-items: center;
  font-family: "M_PLUS_Rounded_1c", sans-serif;
  letter-spacing: 7%;
  background: linear-gradient(135deg, var(--secondary100), var(--secondary200));
  color: white;
  font-weight: var(--extrabold);
  font-size: var(--button-sm);
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle:hover span {
  background: linear-gradient(135deg, var(--primary100), var(--primary200));
}

/* Первый блок (hero) */
.first-block {
  padding: 20px 20px 60px;
}

.first-block-inner {
  padding: 60px 60px 50px 60px;
  border-radius: 50px;
  background: url("./image/first-block-bg.jpg") center/cover no-repeat,
    linear-gradient(135deg, var(--secondary100), var(--secondary200));
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.first-block-inner .h1 {
  margin-top: 132px;
}

.accent {
  background: linear-gradient(135deg, var(--primary100), var(--primary200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content {
}

.hero-icon-container {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: center;
  max-width: 930px;
}

.hero-description {
  font-size: 25px;
  line-height: 150%;
  color: #fff7;
  font-weight: var(--medium);
}

.hero-description .accent2 {
  color: #fff;
  font-weight: var(--bold);
}

.search-form-wrapper {
  margin: 70px 0 80px;
}

/* Поисковая форма */
.search-form {
  width: 100%;
  max-width: 634px;
}

.search-form-inner {
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 4px;
  transition: all 0.3s ease;
}

.search-form-inner:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: #fff;
}

.search-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 15px 28px;
  font-size: var(--p2);
  font-weight: var(--semibold);
  color: #000;
  outline: none;
}

.search-field:focus {
  outline: none;
}

.search-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--secondary100), var(--secondary200));
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  color: white;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: var(--button-md);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  padding: 14px 34px;
}

.search-submit svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.stats-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  border: 1px solid #616594;
  border-radius: 26px;
  padding: 32px 32px 32px 48px;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  position: relative;
  backdrop-filter: blur(10px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Фоновые изображения для каждого stat-item */
.stat-item:nth-child(1) {
  background-image: url("./image/stat-img1.png");
}

.stat-item:nth-child(2) {
  background-image: url("./image/stat-img2.png");
}

.stat-item:nth-child(3) {
  background-image: url("./image/stat-img3.png");
}

.stat-number {
  font-size: 80px;
  font-weight: var(--extrabold);
  line-height: 100%;
  font-family: "M_PLUS_Rounded_1c", sans-serif;
  letter-spacing: -2%;
}

.stat-text {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* Блок с картой */
.map-block {
}

.map-image-container {
  max-width: 1690px;
  margin: auto;
  margin-top: -80px;
  position: relative;
  z-index: 1;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 44px 50px rgba(12, 38, 64, 0.27));
}

/* Точки на карте */
.map-point {
  position: absolute;
  cursor: pointer;
  z-index: 50;
}

.point-marker {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Raleway", sans-serif;
  font-weight: var(--semibold);
  font-size: 14px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.point-marker:hover {
  transform: scale(1.05);
}

.point-marker svg {
  transition: all 0.3s ease;
}

.point-marker:hover svg {
  transform: scale(1.1);
}

/* Всплывающие окна */
.point-tooltip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
}

.point-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: white;
}

.map-point:hover .point-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

.point-tooltip h4 {
  margin: 0 0 12px 0;
  color: #152139;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.point-tooltip ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.point-tooltip li {
  color: #666666;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 6px;
  padding-left: 12px;
  position: relative;
}

.point-tooltip li::before {
  content: "•";
  color: var(--primary100);
  position: absolute;
  left: 0;
  top: 0;
}

.point-tooltip li:last-child {
  margin-bottom: 0;
}

/* Активное состояние точки */
.map-point.active {
  z-index: 100;
}

.map-point.active .point-marker {
  transform: scale(1.1);
}

.map-point.active .point-marker svg {
  transform: scale(1.15);
}

.map-point.active .point-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
  z-index: 300;
}

/* При наведении поднимаем z-index */
.map-point:hover {
  z-index: 80;
}

.map-point:hover .point-tooltip {
  z-index: 250;
}

/* Адаптивные стили для карты */
@media (max-width: 768px) {
  .point-marker {
    font-size: 12px;
    gap: 6px;
  }

  .point-marker svg {
    width: 50px;
    height: auto;
  }

  .point-tooltip {
    min-width: 180px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .point-tooltip h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .point-tooltip li {
    font-size: 12px;
    margin-bottom: 4px;
  }
}

/* Блок "Почему" */
.why-block {
  padding: 40px 20px 20px;
}

.why-block-inner {
  background: url("./image/why-bg.jpg") center/cover no-repeat;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 92px 60px 100px 60px;
  border-radius: 50px;
  color: #fff;
}

.why-block-inner .h2 {
  margin-bottom: 22px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.why-item-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.why-item-img {
  width: 100%;
  height: 194px;
  object-fit: cover;
  border-radius: 13px;
  margin-bottom: 35px;
}

/* Размещение элементов в сетке */
.why-grid .why-item:nth-child(1) {
  grid-column: 1 / 6; /* Занимает 2 колонки из 5 */
  grid-row: 1 / 3; /* Занимает 2 строки */
  background: var(--white);
}

.why-grid .why-item:nth-child(2) {
  grid-column: 6 / 13; /* Занимает 3 колонки из 5 */
  grid-row: 1; /* Первая строка */
  background: var(--white) url("./image/why-2.png") center/cover no-repeat;
  padding-right: 44px 220px 44px 50px;
}

.why-grid .why-item:nth-child(3) {
  grid-column: 6 / 13; /* Занимает 3 колонки из 5 */
  grid-row: 2; /* Вторая строка */
  background: var(--white) url("./image/why-3.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 5px solid var(--white);
  color: var(--white);
  position: relative;
}

.why-grid .why-item:nth-child(3)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 30px;
  z-index: 1;
}

.why-grid .why-item:nth-child(3) > * {
  position: relative;
  z-index: 2;
}

.why-grid .why-item:nth-child(3) .why-text {
  flex: 0;
}

.why-item {
  border-radius: 30px;
  padding: 50px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--black);
}

.why-text {
  flex: 1;
  margin: 20px 0 0;
}

.why-text p {
  margin-bottom: 16px;
  opacity: 0.7;
}

.button-link {
  background: linear-gradient(135deg, var(--primary100), var(--primary200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--bold);
  font-size: var(--button-md);
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: start;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

/* Блок планеты */
.planet-block {
  padding: 80px 0;
  text-align: center;
}

.planet-span {
  color: var(--primary100);
}

.planet-description {
  margin-bottom: 60px;
  font-size: 18px;
  color: #666666;
}

/* Контейнер для планеты */
.planet-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 610px;
  margin: 40px 0;
}

/* 3D Глобус */
.globe-container {
  width: 610px;
  height: 610px;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-container canvas {
  border-radius: 50%;
}

/* Информационное окно */
.info-box {
  position: absolute;
  background: white;
  color: #333;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 280px;
  max-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.info-box::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: white;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.info-box.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -110%);
}

.info-box h3 {
  margin: 0 0 12px 0;
  color: #152139;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.info-box p {
  margin: 0;
  color: #666666;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}

/* Адаптивные стили для планеты */
@media (max-width: 768px) {
  .planet-block {
    padding: 60px 0;
  }

  .planet-container {
    min-height: 350px;
  }

  .globe-container {
    width: 300px;
    height: 300px;
    background: #bfe0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .info-box {
    min-width: 240px;
    max-width: 280px;
    padding: 16px 20px;
  }

  .info-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .info-box p {
    font-size: 14px;
  }
}

/* Блок кейсов */
.cases-block {
}

.cases-span {
}

/* Блок FAQ */
.faq-block {
  padding: 80px 0;
  background: var(--gray);
}

.faq-container {
  margin: 60px auto 0;
}

.faq-item {
  background: var(--white);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.faq-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary100), var(--primary200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "M_PLUS_Rounded_1c", sans-serif;
  font-weight: var(--extrabold);
  font-size: var(--p2);
  flex-shrink: 0;
}

.faq-question h3 {
  margin: 0;
  font-size: var(--h3-size);
  font-weight: var(--extrabold);
  color: var(--black);
  flex: 1;
  text-transform: none;
}

.faq-toggle {
  width: 50px;
  height: 50px;
  background: var(--gray);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.faq-toggle svg {
  width: 13px;
  height: 9px;
  transition: transform 0.3s ease;
}

.faq-toggle svg path {
  stroke: var(--black);
}

.faq-item.active .faq-toggle svg path {
  stroke: var(--white);
}

.faq-item.active .faq-toggle {
  background: linear-gradient(135deg, var(--secondary100), var(--secondary200));
}

.faq-item.active .faq-toggle svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.02);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 30px 30px;
}

.faq-answer p {
  margin: 0;
  padding-top: 20px;
  color: var(--black);
  opacity: 0.8;
  line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
  .faq-block {
    padding: 60px 0;
  }

  .faq-container {
    margin-top: 40px;
  }

  .faq-question {
    padding: 24px 20px;
    gap: 16px;
  }

  .faq-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-toggle {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 24px;
  }
}

/* Блок жизни */
.life-block {
  padding: 80px 0;
  background: var(--white);
}

/* Табы */
.life-tabs {
  margin-top: 60px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.tab-btn {
  padding: 16px 32px;
  background: transparent;
  border: 2px solid var(--gray);
  border-radius: 50px;
  font-family: "Raleway", sans-serif;
  font-weight: var(--semibold);
  font-size: 16px;
  color: var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.tab-btn:hover {
  border-color: var(--primary100);
  color: var(--primary100);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary100), var(--primary200));
  border-color: transparent;
  color: var(--white);
}

/* Контент табов */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Карточки */
.life-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.life-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.life-image {
  height: 200px;
  overflow: hidden;
}

.life-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.life-card:hover .life-image img {
  transform: scale(1.1);
}

.life-content {
  padding: 24px;
}

.life-content h3 {
  font-size: 18px;
  font-weight: var(--semibold);
  color: var(--black);
  margin: 0 0 12px 0;
  text-transform: none;
}

.life-date {
  font-size: 14px;
  color: var(--primary100);
  font-weight: var(--medium);
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.life-excerpt {
  font-size: 14px;
  color: var(--black);
  opacity: 0.7;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.life-btn {
  background: linear-gradient(135deg, var(--secondary100), var(--secondary200));
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-family: "Raleway", sans-serif;
  font-weight: var(--semibold);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.life-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(43, 118, 217, 0.3);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .life-block {
    padding: 60px 0;
  }

  .life-tabs {
    margin-top: 40px;
  }

  .tabs-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .tab-btn {
    padding: 14px 28px;
    font-size: 14px;
    width: 200px;
  }

  .life-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .life-content {
    padding: 20px;
  }
}

/* Блок присоединения */
.join-block {
}

.join-block-inner {
}
