
:root {
	/* color variables */
	--neutral-white-secondary: #fafafa;
	--izi-green: #bfe552;
	--neutral-white-primary: #fff;
	--neutral-black-primary: #090909;
	--neutral-gray-400: #9a9a9a;
	--neutral-gray-600: #515151;
	--neutral-gray-100: #f4f4f4;
	--neutral-gray-200: #ececec;
	--neutral-gray-300: #d9d9d9;
}

* {
	--min-screen-size: 430;
	--max-screen-size: 1440;
	--interpolate-diff: calc(var(--max-font-size) - var(--min-font-size));
	--interpolate: clamp(calc(var(--min-font-size) * 1px), calc((var(--min-font-size) * 1px) + var(--interpolate-diff) * ((100vw - calc(var(--min-screen-size) * 1px)) / (var(--max-screen-size) - var(--min-screen-size)))), calc(var(--max-font-size) * 1px));
}


::before,
::after {
  --tw-content: '';
}


html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

*{
	box-sizing: border-box;
}

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

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

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-size: 1em; /* 4 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}


button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
	border:0;
}

button,
select {
  text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}


button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

img,
video {
	/* disable max-width solves bug img-export/propagation > nested-img-bigger */
	max-width:100%;
  height: auto;
}

[hidden] {
  display: none;
}

*{
	text-underline-offset: 0.134em;
}



html {
	height: 100%;
	font-size: 16px;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	color: var(--neutral-white-primary);
	font-size: 32px;
	font-family: 'Montserrat';
	font-weight: 700;
	line-height: normal;
	letter-spacing: 0px;
	background-color: var(--neutral-black-primary);
	overflow: auto;
}
/*==================== HEADER ============================*/
/* Скрываем бургер на десктопе */
.burger-menu {
    display: flex; /* Обязательно, чтобы работал flex-direction */
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    width: 42px; /* Увеличил ширину, так как у вас большой padding */
    height: 42px; 
    background: var(--izi-green);
    border: none;
    cursor: pointer;
    padding: 8px !important; /* Уменьшил padding, 20px слишком много для кнопки в 30px */
    border-radius: 4px;
}

.burger-menu span {
    display: block; /* Делаем span блочным */
    width: 100%;    /* Растягиваем на всю ширину кнопки */
    height: 3px;    /* Толщина линии */
    background-color: var(--neutral-black-primary); /* Цвет линий (черный или белый) */
    border-radius: 2px;
}
.mobile-menu{
    display: none;
}
.header {
    position: sticky;
    top: 0;           
    z-index: 100; /* Поднимаем z-index, чтобы блюр был поверх всего контента */
    
    /* Полупрозрачный черный фон (0.8 — это 80% непрозрачности) */
    background-color: rgba(0, 0, 0, 0.7); 
    
    /* Эффект размытия заднего фона */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); /* Для поддержки в Safari */
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    
    /* Опционально: добавим тонкую границу снизу, чтобы хедер не сливался с контентом */
    border-bottom: 1px solid  rgba(144, 144, 144, 0.5); 
}
.header-main-nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

/* Навигация */
.header-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

/* Кнопка и контакты */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: start;
    min-height: 80vh; /* Занимает 80% высоты экрана */
    padding: 60px 80px;
	background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)) top left / auto auto no-repeat, url(../assets/hero-section.png) center / cover no-repeat;
    color: var(--neutral-white-primary);
    text-align: center;
	margin-top: -15%;
	padding-top: 33%;
	padding-bottom: 17%;
}


.hero-content {
    max-width: 900px; /* Ограничиваем ширину, чтобы текст не растягивался */
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 40px;
	
}

.hero-text-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
	text-align: left;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--neutral-gray-300); /* Чуть приглушенный цвет для описания */
    max-width: 700px;
	text-align: left;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.burger-menu{
    display: none;
}

@media (max-width: 1200px) {
    
    .header{
        padding: 20px;
    }
    .header-menu {
    gap: 24px !important;
    }
    .header-main-nav{
        gap: 32px;
    }
    .header-actions{
        gap: 16px;
    }
    .hero{
    padding-left: 48px;
    }
}

@media (max-width: 900px) {
    .header {
        padding: 16px 20px;
        display: flex;
        justify-content: space-between; /* Распределяем навигацию и экшены по краям */
    }

    /* Навигационный блок слева */
    .header-main-nav {
        gap: 16px;
    }

    /* Показываем бургер */
    .burger-menu {
        display: block;
        display: flex;
        order: 1; /* Первым делом идет бургер */
    }

    .logo-wrapper {
        order: 2; /* Вторым — логотип */
    }

    /* Скрываем текстовое меню */
    .header-nav {
        display: none;
    }

    /* Блок кнопок справа */
    .header-actions {
        gap: 12px;
    }

    .contact-circle-link {
        order: 1; /* Телефон перед кнопкой "Приєднатися" */
        width: 40px; /* Немного уменьшим для мобилок */
        height: 40px;
    }

    .btn-primary {
        order: 2;
        padding: 10px 16px; /* Уменьшаем кнопку, чтобы влезла */
        font-size: 14px;
    }

    .btn-primary span {
        display: block; /* Оставляем текст или можно скрыть, оставив только иконку */
    }

    .btn-icon {
        width: 14px;
        height: 14px;
    }

    .header-logo {
        font-size: 20px; /* Уменьшаем логотип */
    }

    .hero-actions {
        justify-content: flex-start;
        flex-direction: column-reverse;
    }
/* Анимация трансформации в КРЕСТИК */
.burger-menu {
    position: relative; /* Важно для позиционирования линий */
}

.burger-menu.active span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px; /* Фиксированная длина для ровного креста */
    margin-left: -12px; /* Половина ширины влево */
    margin-top: -1.5px; /* Половина высоты (height: 3px) вверх */
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); /* Уводим среднюю линию в сторону */
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
}
/* Само меню (как на скриншоте) */
.mobile-menu {
    display: block;
    position: fixed;
    top: 80px;
    left: -100%; /* Спрятано */
    width: 80%; /* Не на весь экран */
    max-width: 320px; /* Чтобы на планшетах не было слишком широким */
    height: 100vh;
    background: rgba(18, 18, 18, 0.8); /* Темный фон */
    backdrop-filter: blur(20px); /* Сильное размытие как на фото */
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 72px 40px; /* Отступы сверху и сбоку */
    transition: left 0.4s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Расстояние между пунктами */
}

.mobile-link {
    color: var(--neutral-white-primary);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
}
    .mobile-link:hover {
        color: var(--izi-green);
    }

    /* Запрет прокрутки сайта при открытом меню */
    body.no-scroll {
        overflow: hidden;
    }
}
@media (max-width: 900px) {
    .hero {
        padding-left: 16px;
        padding-right: 16px;

    }
    .hero-title {
        font-size: 28px;
    }

}

/*=====================BUTTONS======================*/

.header-menu-link {
    text-decoration: none;
    color: var(--neutral-white-primary);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-menu-link:hover {
    color: var(--izi-green);
}

.contact-circle-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--izi-green);
    transition: transform 0.2s ease;
}

.contact-circle-link:hover {
    background-color: var(--neutral-gray-200);
    transform: translateY(-2px);
}


.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--izi-green);
    color: var(--neutral-black-primary);
    border: none;
}

.btn-primary:hover {
    background-color: var(--neutral-gray-200);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--neutral-white-primary);
    border: 1px solid var(--neutral-white-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--izi-green);
    color: var(--izi-green);
	    transform: translateY(-2px);

}
.btn-icon {
    width: 18px;
    height: 18px;
}
.btn-icon-pizza {
    width: 14px;
    height: 14px;
}


.place-cta-btn {
    position: absolute; /* Позиционируем кнопку относительно .place-card */
    bottom: 20px; /* Отступ от нижнего края */
    transition: transform 0.4s ease, opacity 0.4s ease;
    
    /* Стили кнопки из Hero-секции */
    background-color: var(--izi-green);
    color: var(--neutral-black-primary);
    border: none;
    padding: 14px 28px; /* Немного уменьшил padding, чтобы лучше смотрелось */
    border-radius: 12px;
    font-size: 18px; /* Немного уменьшил font-size */
    font-weight: 600;
    cursor: pointer;
    display: inline-flex; /* Чтобы span и img были в ряд */
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    
    z-index: 10; /* Кнопка должна быть поверх всего */
	transition: 0.3s ease;
}

/* 
.place-card:hover .place-cta-btn {
    transform: translateX(-50%) translateY(0); 
    opacity: 1;
}*/
.place-cta-btn:hover{
	background-color: var(--neutral-white-primary);
	color: var(--neutral-black-primary);
}
.hr-email-btn{
	text-align: center;
	display: block;
	border-radius: 100px;
}

    .logo-wrapper2{
        display: none;
    }
@media (max-width: 760px) {
    .header .btn-primary{
        display: none;
    }
    .logo-wrapper{
        display: none;
    }
    .logo-wrapper2{
        display: block;
    }
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
    .hero-actions {
        width: 100%;
    }
}

/*====================SECTION ABOUT============================*/

.about-section {
    padding: 160px 80px;
    background-color: var(--neutral-white-primary);
}

.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 64px;
}

.tag-text {
	color: var(--neutral-gray-400);
	font-size: 18px;
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 0px;
	text-align: left;
}

.section-header {
    max-width: 850px;
    margin-bottom: 60px;
}

.section-title {
    color: var(--neutral-black-primary);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.section-subtitle {
    color: var(--neutral-gray-600);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
	max-width: 630px;
}

/* Сетка карточек */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки в ряд */
    gap: 20px;
}

.feature-card {
    background: var(--neutral-gray-100);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
	align-items: center;
    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.card-badge {
    background-color: var(--izi-green);
    color: var(--neutral-black-primary);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
	margin-top: -20px;
    width: fit-content;
    text-align: center;
}

.card-content {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 40px;

}

.card-icon-circle {
    width: 60px;
    height: 60px;
    background-color: var(--neutral-black-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
	flex-shrink: 0;
}

.card-title {
    color: var(--neutral-black-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--neutral-gray-600);
    font-size: 16px;
    line-height: 1.5;
	font-weight: 400;
}
@media (max-width: 1200px) {
    
    .about-section{
        padding: 160px 48px;
    }
    .features-grid{
        gap: 28px;
    }
    .card-icon-circle{
        width: 48px;
        height: 48px;
    }
    .card-icon-circle img {
            max-width: 50%;
    }
    .card-desc{
        width: 120%;
        position: relative;
        right: 30%;
    }
    .card-title {
        font-size: 18px;
    }
    .feature-card {
        padding: 0;
    }
    .card-content{
        padding: 16px;
    }
    .card-badge{
        margin-bottom: 14px;
        margin-top: -10px;
    }
}
@media (max-width: 768px) {
    .features-grid {
        display: flex;
        flex-direction: column;
    }
    .card-desc {
        width: 100%;
        position: unset;
        right: 0;
    }
    .card-content {
        padding-bottom: 24px;
    }
}
@media (max-width: 540px) {
    .about-section {
        padding: 80px 16px;
    }
    .section-title {
        font-size: 32px;
    }
}
/*====================SECTION STEPS============================*/

.steps-section {
    padding: 160px 80px;
    background-color: var(--neutral-gray-100);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.step-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
	background-color: var(--neutral-white-primary);
	padding: 32px 20px;
	border-radius: 20px;
		align-items: center;

}

.step-visual {
    position: relative;
    width: 100%;
}

.step-img {
    width: 156px;
    height: auto;
    border-radius: 24px;
    display: block;
}

/* Стрелка позиционируется ровно между картинками */
.step-arrow {
    position: absolute;
    right: -50px; /* Половина gap между карточками */
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    z-index: 5;
    pointer-events: none;
	background-color: var(--izi-green);
	padding: 10px 14px;
	border-radius: 6px;
    box-shadow: 0px 0px 0px 6px rgba(203, 234, 104, 0.2);
}

.step-arrow2 {
    position: absolute;
    right: 50%;
    bottom: -100%;
    transform: rotate(90deg);
    width: 42px;
    z-index: 5;
    pointer-events: none;
	background-color: var(--izi-green);
	padding: 10px 14px;
	border-radius: 6px;
    box-shadow: 0px 0px 0px 6px rgba(203, 234, 104, 0.2);
}

.step-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-label {
    color: var(--neutral-gray-400);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

.step-card-title {
    color: var(--neutral-black-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.step-card-desc {
    color: var(--neutral-gray-600);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

/* Скрываем стрелку на последнем шаге */
.step-card:last-child .step-arrow {
    display: none;
}
    .step-arrow2  {
        
        display: none;
    }

/* Адаптивность: 2х2 для планшетов */
@media (max-width: 1200px) {
    .steps-grid .step-card:nth-child(2) .step-arrow2  {
        display: block;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .step-card:nth-child(2) .step-arrow,
    .step-card:last-child .step-arrow {
        display: none;
    }

    /* 1-й элемент: остается первым */
    .steps-grid .step-card:nth-child(1) {
        order: 1;
    }

    /* 2-й элемент: остается вторым */
    .steps-grid .step-card:nth-child(2) {
        order: 2;
    }

    /* 3-й элемент: уходит на 4-ю позицию */
    .steps-grid .step-card:nth-child(3) {
        order: 4;
    }
    .steps-grid .step-card:nth-child(3) .step-arrow  {
       left: -50px;
       right: auto;
       transform: scaleX(-1);
    }
    /* 4-й элемент: встает на 3-ю позицию */
    .steps-grid .step-card:nth-child(4) {
        order: 3;
    }
    .steps-section {
    padding: 160px 48px;
    }
}
@media (max-width: 768px) {
        .step-arrow2{
        bottom: -130%;
    }
}
@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
    .step-arrow2{
        bottom: -120%;
    }
    .step-arrow2  {
        display: block;
    }
    .step-arrow  {
        display: none;
    }
        .steps-grid .step-card:nth-child(3) {
        order: 3;
    }
}
@media (max-width: 540px) {
    .steps-section {
    padding: 80px 16px;
    }
}
/*==================== SECTION PLACE ============================*/

.place-section {
    padding: 100px 80px;
    background-color: var(--neutral-white-primary);
}

.place-section .section-title {
    text-align: center; /* Оставил по центру, как в твоем коде */
    margin-bottom: 64px;
    color: var(--neutral-black-primary);
}

.place-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 24px; /* Увеличил вертикальный отступ, чтобы карточки не слипались */
}

.place-card {
    position: relative; 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s ease;
}
.place-badge {
    position: relative;
    z-index: 2; /* Бейдж поверх картинки */
    
    /* Отрицательный отступ снизу "подтягивает" картинку под бейдж */
    margin-bottom: -20px; 
    
    display: inline-flex;
    padding: 10px 20px;
    background-color: var(--izi-green);
    color: var(--neutral-black-primary);
    border-radius: 12px;
    
    /* Твои параметры */
    font-size: 18px; 
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.place-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    z-index: 1;
}

/* Эффект при наведении на всю карточку */
.place-card:hover {
    transform: translateY(-10px); /* Лучше двигать вверх, чем скейлить, так аккуратнее */
}
@media (max-width: 1200px) {

    .place-grid {
        /* Переходим на 2 колонки */
        grid-template-columns: repeat(2, 1fr); 
        
        /* Увеличиваем вертикальный gap, так как бейджи нависают сверху 
           и могут перекрывать нижнюю часть карточки из верхнего ряда */
        gap: 80px 24px; 
    }
    .place-section {
    padding: 100px 48px;
    }

}

@media (max-width: 540px) {
     .place-grid {
        /* Переходим на 2 колонки */
        grid-template-columns: repeat(1, 1fr); 
        gap: 24px 16px; 
     }
}
@media (max-width: 540px) {
    .place-section {
        padding: 80px 16px;
    }
    .place-img {
        height: 200px;
    }
}
/*==================== SECTION BLOG ============================*/

.blog-section {
    padding: 100px 80px;
    background-color: var(--neutral-gray-100);
}
.blog-section .section-title{
	text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--neutral-white-primary);
    border-radius: 24px;
    overflow: hidden;
	padding: 8px;
    transition: 0.3s ease;
}

.blog-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.blog-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
	border-radius: 14px;
}

.blog-card-content {
    padding: 38px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-badge {
    padding: 10px 20px;
    background: var(--neutral-gray-100);
    color: var(--neutral-gray-600);
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
}

.blog-card-date {
    font-size: 16px;
    color: var(--neutral-gray-600);
    font-weight: 500;
}

.blog-card-divider {
    border: none;
    border-top: 1px solid var(--neutral-gray-200);
    margin: 0;
}

.blog-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--neutral-black-primary);
    margin-bottom: 12px;
}

.blog-card-desc {
    font-size: 16px;
    line-height: 1.6;
	font-weight: 400;
    color: var(--neutral-gray-600);
}

/* Управление слайдером */
.blog-controls {
    display: flex;
    justify-content: space-between;;
    align-items: center;
    gap: 32px;
    margin-top: 64px;
}

.slider-arrow {
    min-width: 42px;
    min-height: 42px;
    border-radius: 6px;
    background: var(--neutral-gray-300);;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slider-arrow:hover {
    background: var(--neutral-black-primary);
}
.prev{
	transform: rotate(180deg);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-btn, .page-dots{
    background: var(--neutral-gray-300);
	padding: 12px;
	min-width: 42px;
	min-height: 42px;
    border-radius: 6px;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    color: var(--neutral-black-primary);
    transition: 0.3s;
	text-align: center;
}

.page-btn.active, .page-btn:hover {
	background: var(--izi-green);
	cursor: pointer;
	font-weight: 600;
}
.slider-arrow:hover img {
    filter: brightness(0) invert(1); 
}
.slider-arrow img {
    transition: filter 0.3s ease;
}

@media (max-width: 1200px) {
    /* Меняем сетку на 2 колонки */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Скрываем все карточки, начиная с 3-й */
    .blog-card:nth-child(n+3) {
        display: none;
    }
    .blog-section {
    padding: 100px 48px;
    }
}
@media (max-width: 540px) {
     .blog-grid {
            grid-template-columns: repeat(1, 1fr);
     }
         .blog-card:nth-child(n+2) {
        display: none;
    }
}
@media (max-width: 540px) {
    .blog-controls {
        gap: 16px;
    }
    .blog-section {
        padding: 80px 16px;
    }
    .pagination {
        gap: 8px;
    }
    .page-btn:nth-child(2){
        display: none;
    }
}
/*==================== SECTION VACANCY ============================*/

.vacancy-section {
    padding: 100px 80px;
    background-color: var(--neutral-white-secondary);
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 64px;
}

.vacancy-hr-card {
    border-radius: 24px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hr-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-black-primary);
    margin-bottom: 12px;
}

.hr-card-text {
    font-size: 16px;
    color: var(--neutral-gray-600);
    line-height: 1.5;
	font-weight: 400;
}

/* Фильтры */
.vacancy-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 20px;
    border-radius: 6px;
    background: var(--neutral-gray-100);
	color: var(--neutral-black-primary);
    border: none;
    font-weight: 400;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--izi-green);
	    font-weight: 600;
}

/* Сетка и Карточки */
.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.vacancy-card {
    background: var(--neutral-white-primary);
    padding: 32px 20px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.3s;
}

.vacancy-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.vacancy-logo {
    width: fit-content;
    object-fit: contain;
}

.loc-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--neutral-black-primary);
    margin-bottom: 4px;
}

.loc-address {
    font-weight: 400;
    font-size: 18px;    
    color: var(--neutral-black-primary);
}

.vacancy-divider {
    border: none;
    border-top: 1px solid var(--neutral-gray-300);
    margin: 0;
}

.vacancy-tags {
    display: flex;
    flex-direction: column; /* Элементы теперь один под другим */
    align-items: flex-start; /* Чтобы теги не растягивались на всю ширину, если они разной длины */
    gap: 10px;
	min-height: 137px;
}

.v-tag {
	width: 100%;
	text-align: center;
    background: var(--neutral-gray-100);
    padding: 10px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-black-primary);
}

.contact-label {
	font-weight: 600;
    font-size: 18px;      
    color: var(--neutral-black-primary);
    margin-bottom: 12px;
}

.contact-value {
	font-weight: 400;
    font-size: 16px;   
    color: var(--neutral-black-primary);
}


@media (max-width: 1200px) {
    /* Меняем сетку на 2 колонки */
    .vacancy-grid  {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Скрываем все карточки, начиная с 3-й */
    .vacancy-card:nth-child(n+4) {
        display: none;
    }
    .vacancy-section {
        padding: 100px 48px;
    }
}
@media (max-width: 768px) {
.vacancy-filters {
    display: flex;
    flex-wrap: wrap; /* Разрешает перенос элементов */
    gap: 12px;
    margin-bottom: 40px;
}
.vacancy-header {
        display: flex;
        flex-direction: column;
    }
     .vacancy-grid {
        grid-template-columns: repeat(2, 1fr);
     }
         .vacancy-card:nth-child(n+3) {
        display: none;
    }
}
@media (max-width: 540px) {
     .vacancy-grid {
        grid-template-columns: repeat(1, 1fr);
     }
         .vacancy-card:nth-child(n+2) {
        display: none;
    }
}
@media (max-width: 1200px) {
    .vacancy-section {
        padding: 80px 16px;
    }
}
/*==================== CONTACT FOOTER REFACTOR ============================*/

.contact-section {
    padding: 120px 80px;
    background-color: var(--neutral-gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-header {
    max-width: 846px;
    margin-bottom: 60px;
	
}

.contact-main-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
	color: var(--neutral-black-primary);
}

.contact-main-subtitle {
    font-size: 18px;
	font-weight: 400;
    color: var(--neutral-gray-600);
}

/* Белая карточка */
.contact-form-card {
    background: var(--neutral-white-primary);
    border-radius: 20px;
    padding: 52px 32px;
    width: 100%;
    max-width: 846px;
	align-items: center;
}

.form-inner-header {
    margin-bottom: 48px;
}

.form-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 24px;
	color: var(--neutral-black-primary);

}

.form-desc {    
	font-weight: 400;
    font-size: 18px;
    color: var(--neutral-black-primary);
}

/* Мессенджеры */
.messenger-selection {
    text-align: left;
    margin-bottom: 40px;
}

.selection-label {
	font-weight: 400;
    font-size: 16px;
    color: var(--neutral-black-primary);
	margin-bottom: 20px;
}

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

.messenger-btn {
    padding: 14px;
    border-radius: 100px;
    border: none;
    background: var(--neutral-gray-100);
	color: var(--neutral-black-primary);
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.messenger-btn.active {
    background: var(--izi-green);
}
.messenger-btn:hover {
    background: var(--neutral-gray-300);
}

/* Ряд инпутов */
.inputs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    margin-bottom: 40px;
}

.input-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.input-field input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 6px;
    border: 1px solid var(--neutral-gray-300);
    background: var(--neutral-white-primary);
    font-size: 16px;
	font-weight: 400;
	color: var(--neutral-gray-600);
}

/* Кнопка */
.submit-full-btn {
    width: 100%;
    padding: 16px;
    background: var(--izi-green);
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
	color: var(--neutral-black-primary);
    transition: 0.3s;
}

.submit-full-btn:hover {
    background: var(--neutral-black-primary);
    color: var(--neutral-white-primary);
}

.submit-full-btn:hover img {
    filter: brightness(0) invert(1);
}

/* Адаптив */
@media (max-width: 992px) {
    .messenger-grid, .inputs-row {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 40px 20px;
    }
}
@media (max-width: 768px) {
    .contact-section {
        padding: 120px 48px;
    }
}
@media (max-width: 540px) {
    .contact-main-title {
        font-size: 32px;
    }
    .contact-section {
        padding: 0px;
    }
}

/*==================== FOOTER SECTION ============================*/

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    background-color: var(--neutral-black-primary); /* Черный фон из файла */
    padding: 64px 80px;
}

.footer-upper-part {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
}

/* Брендинг */
.footer-brand {
    width: 305px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.header-logo {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--neutral-white-primary);
}

.footer-text {
    color: var(--neutral-gray-300);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

/* Навигация */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-title {
    color: var(--neutral-white-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}
.footer-menu-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;    /* Разрешаем перенос на вторую строку */
    gap: 20px 20px;     /* Первый параметр - отступ между строками, второй - между пунктами */
    max-width: 400px;   /* Подбери ширину так, чтобы ровно 3 пункта влезало в ряд */
    list-style: none;
    padding: 0;
	font-size: 16px;
	font-weight: 400;
}
.footer-text-item {
    color: var(--neutral-gray-300);
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.footer-text-item:hover {
    color: var(--izi-green);
}

/* Контакты и Соцсети */

.footer-text-link {
    color: var(--neutral-gray-300);
    text-decoration: none;
    font-size: 16px;
	font-weight: 400;
    transition: 0.3s ease;
}

.footer-text-link:hover {
    color: var(--izi-green);
}
.footer-contact {
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    gap: 20px; 
}

.footer-social-media {
    display: flex;
    flex-direction: column; /* Иконки одна под другой */
    gap: 12px;
}

.icon {
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--neutral-gray-400);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.icon:hover {
    background-color: var(--izi-green);
    border-color: var(--izi-green);
}

.icon-graphic {
    height: 18px;
}

/* Линия-разделитель */
.footer-line {
    width: 100%;
    max-width: 1280px;
    border-top: 1px solid var(--neutral-gray-600);
}

/* Нижняя часть */
.footer-lower-part {
    container: footer-lower-part / inline-size;
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-text-copyright {
    color: var(--neutral-gray-400);
    font-size: 14px;
	font-weight: 400;

}

.footer-terms-of {
    display: flex;
    gap: 24px;
	font-size: 14px;
	font-weight: 400;
	transition: 0.3s ease;
}

.footer-legal-link {
    color: var(--neutral-gray-400);
    font-size: 14px;
    text-decoration: none;
	font-weight: 400;
	transition: 0.3s ease;

}

.footer-legal-link:hover {
    color: var(--izi-green);
}

.icon:hover img {
    filter: brightness(0) invert(1); 
}
@media (max-width: 1200px) {
    .footer {
            padding: 64px 48px;
    }
}
@media (max-width: 768px) {
    .footer-upper-part {
        flex-wrap: wrap; /* Разрешает перенос элементов */    
    }
    .footer-lower-part {
        flex-direction: column;
    }
    .footer-terms-of {
        flex-direction: column;
        align-items: center;
    }
}
/*================================================*/

.text-izi-green {
	color: var(--izi-green);
	font-family: 'IBM Plex Mono';
}


