
/* ==========================================================
   Modern homepage redesign for moldovacitizenship.md
   Scope: only <main class="page-container home-redesign">
   Colors preserved: #113D99, #009EDB
   ========================================================== */
:root {
  --mc-blue: #113D99;
  --mc-cyan: #009EDB;
  --mc-deep: #0A2361;
  --mc-text: #1F2742;
  --mc-muted: #64708A;
  --mc-line: rgba(17, 61, 153, .12);
  --mc-soft: #F4F8FF;
  --mc-white: #FFFFFF;
  --mc-radius-xl: 34px;
  --mc-radius-lg: 24px;
  --mc-shadow: 0 24px 70px rgba(17, 61, 153, .14);
  --mc-shadow-card: 0 14px 40px rgba(20, 45, 90, .10);
}

.home-redesign {
  color: var(--mc-text);
  background:
    radial-gradient(circle at 8% 4%, rgba(0, 158, 219, .10), transparent 34rem),
    linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 36%, #F7FAFF 100%);
  overflow: hidden;
}

.home-redesign section {
  position: relative;
}

.home-redesign .container-xl {
  position: relative;
  z-index: 2;
}

.home-redesign .page-title {
  max-width: 900px;
  font-weight: 900;
  letter-spacing: -.035em;
  color: var(--mc-text);
  margin-bottom: 44px;
}

.home-redesign .page-title strong {
  color: var(--mc-blue);
  position: relative;
  white-space: nowrap;
}

.home-redesign .page-title strong:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .05em;
  height: .34em;
  border-radius: 999px;
  background: rgba(0, 158, 219, .18);
  z-index: -1;
}

.home-redesign .btn {
  width: fit-content;
  min-width: 250px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mc-blue), var(--mc-cyan));
  box-shadow: 0 18px 42px rgba(17, 61, 153, .28);
  transform: translateZ(0);
  -webkit-animation: none;
  animation: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.home-redesign .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(17, 61, 153, .34);
  background: linear-gradient(135deg, #0D327E, var(--mc-cyan));
}

.home-redesign .btn:before {
  opacity: .55;
}

/* HERO */
/* ================================
   HERO REDESIGN — only CSS
   HTML structure is unchanged
================================ */

.main-section {
	min-height: 760px;
	padding: 150px 0 90px;
	margin-top: -80px;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
	background: #113D99;
	isolation: isolate;
}

.main-section .image-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	overflow: hidden;
}

.main-section .image-overlay img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
}

.main-section .image-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at 78% 18%, rgba(0, 158, 219, 0.55) 0, rgba(0, 158, 219, 0) 34%),
		linear-gradient(105deg, rgba(5, 18, 58, 0.96) 0%, rgba(17, 61, 153, 0.94) 48%, rgba(0, 158, 219, 0.76) 100%);
}

.main-section .image-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 52%),
		radial-gradient(circle at 8% 100%, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 30%);
}

.main-section::before {
	content: "";
	position: absolute;
	left: -190px;
	bottom: -250px;
	width: 540px;
	height: 540px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	z-index: -1;
}

/*.main-section::after {*/
/*	content: "";*/
/*	position: absolute;*/
/*	right: 7%;*/
/*	bottom: 86px;*/
/*	width: 410px;*/
/*	height: 410px;*/
/*	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);*/
/*	border: 1px solid rgba(255, 255, 255, 0.25);*/
/*	transform: rotate(-2deg);*/
/*	z-index: -1;*/
/*	opacity: 0.85;*/
/*}*/

.main-section .container-xl {
	position: relative;
	z-index: 3;
	width: 100%;
}

/*.main-section .container-xl::before {*/
/*	content: "Оформление гражданства Молдовы";*/
/*	display: inline-flex;*/
/*	align-items: center;*/
/*	gap: 10px;*/
/*	font-weight: 700;*/
/*	font-size: 14px;*/
/*	line-height: 1.2;*/
/*	color: #fff;*/
/*	background: rgba(255, 255, 255, 0.12);*/
/*	border: 1px solid rgba(255, 255, 255, 0.22);*/
/*	border-radius: 999px;*/
/*	backdrop-filter: blur(12px);*/
/*	padding: 10px 16px;*/
/*	margin: 0 0 24px;*/
/*}*/

.main-section .container-xl::after {
	content: "17+ лет опыта • 10 000+ клиентов • Юридическое сопровождение";
	display: flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.88);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	backdrop-filter: blur(12px);
	padding: 16px 20px;
	margin: 38px 0 0;
}

.main-title {
	font-weight: 900;
	font-size: clamp(42px, 5.4vw, 76px);
	line-height: 0.98;
	letter-spacing: -0.045em;
	text-align: left;
	color: #fff;
	max-width: 760px;
	margin: 0 0 26px;
	text-shadow: none;
}

.main-section .content {
	font-weight: 400;
	font-size: 19px;
	line-height: 1.75;
	text-align: left;
	color: rgba(255, 255, 255, 0.88);
	max-width: 720px;
	margin: 0 0 34px;
}

.main-section .btn-main {
	width: auto;
	min-width: 320px;
	max-width: none;
	min-height: 62px;
	font-weight: 800;
	font-size: 17px;
	line-height: 1.2;
	color: #113D99;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
	padding: 18px 34px;
	margin: 0;
	animation: none;
	transition: background-color .35s, color .35s, transform .35s, box-shadow .35s;
}

.main-section .btn-main::before {
	display: none;
}

.main-section .btn-main:hover {
	color: #fff;
	background: #009EDB;
	transform: translateY(-2px);
	box-shadow: 0 22px 52px rgba(0, 158, 219, 0.32);
}

/* отключаем старое голубое перекрытие, если оно осталось выше в CSS */
.main-section .image-overlay:after {
	background: none;
}

/* Desktop */
@media (min-width: 1200px) {
	.main-section {
		min-height: 820px;
		padding: 155px 0 100px;
	}

	.main-title {
		font-size: 72px;
		margin: 0 0 28px;
	}

	.main-section .content {
		font-size: 20px;
		margin: 0 0 38px;
	}

	.main-section .btn-main {
		min-height: 66px;
		font-size: 18px;
	}
}

/* Tablet */
@media (max-width: 1199px) {
	.main-section {
		min-height: 720px;
		padding: 130px 0 70px;
		margin-top: -80px;
	}

	.main-section::after {
		right: -90px;
		bottom: 70px;
		width: 360px;
		height: 360px;
		opacity: 0.45;
	}

	.main-title {
		max-width: 720px;
	}

	.main-section .content {
		max-width: 620px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.main-section {
		min-height: auto;
		padding: 112px 0 44px;
		margin-top: -72px;
		align-items: flex-start;
	}

	.main-section .image-overlay img {
		object-position: center;
		transform: scale(1.08);
	}

	.main-section .image-overlay::before {
		background:
			radial-gradient(circle at 92% 10%, rgba(0, 158, 219, 0.42) 0, rgba(0, 158, 219, 0) 38%),
			linear-gradient(145deg, rgba(5, 18, 58, 0.98) 0%, rgba(17, 61, 153, 0.95) 58%, rgba(0, 158, 219, 0.78) 100%);
	}

	.main-section::before {
		left: -230px;
		bottom: -300px;
		width: 430px;
		height: 430px;
	}

	.main-section::after {
		display: none;
	}

	.main-section .container-xl::before {
		font-size: 12px;
		padding: 9px 13px;
		margin-bottom: 18px;
	}

	.main-section .container-xl::after {
		font-size: 13px;
		line-height: 1.45;
		border-radius: 16px;
		padding: 14px 16px;
		margin-top: 24px;
	}

	.main-title {
		font-size: 38px;
		line-height: 1.04;
		letter-spacing: -0.04em;
		text-align: left;
		margin: 0 0 20px;
	}

	.main-section .content {
		font-size: 16px;
		line-height: 1.65;
		text-align: left;
		margin: 0 0 26px;
	}

	.main-section .btn-main {
		width: 100%;
		min-width: 1px;
		min-height: 56px;
		font-size: 15px;
		padding: 14px 20px;
	}
}

/* Small mobile */
@media (max-width: 420px) {
	.main-title {
		font-size: 34px;
	}

	.main-section .container-xl::before {
		max-width: 100%;
	}

	.main-section .container-xl::after {
		display: block;
		width: 100%;
	}
}
/* COMMON CARD SECTIONS */
.home-redesign .grounds-section,
.home-redesign .process-section,
.home-redesign .benefits-section,
.home-redesign .team-section,
.home-redesign .blog-section,
.home-redesign .press-section,
.home-redesign .reviews-section,
.home-redesign .contacts-section,
.home-redesign .consult-section_2 {
  background-image: none;
}

.home-redesign .grounds-section,
.home-redesign .process-section,
.home-redesign .benefits-section,
.home-redesign .team-section,
.home-redesign .blog-section,
.home-redesign .press-section {
  background: transparent;
  padding: 94px 0;
}

/* GROUNDS */
.home-redesign .grounds-section:before {
  content: "";
  position: absolute;
  inset: 34px max(24px, calc((100vw - 1200px)/2 - 30px));
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(17, 61, 153, .08);
  border-radius: 42px;
  box-shadow: var(--mc-shadow);
}

.home-redesign .gs-list {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
}

.home-redesign .gs-list .item {
  min-height: 220px;
  padding: 34px 30px 34px 34px;
  border-radius: var(--mc-radius-lg);
  border: 1px solid var(--mc-line);
  box-shadow: var(--mc-shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}

.home-redesign .gs-list .item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 158, 219, .28);
  box-shadow: 0 22px 58px rgba(17, 61, 153, .16);
}

.home-redesign .gs-list .item:before {
  width: 54px;
  height: 54px;
  top: 24px;
  left: auto;
  right: 24px;
  border-radius: 18px;
  padding: 0;
  justify-content: center;
  background: linear-gradient(135deg, var(--mc-blue), var(--mc-cyan));
  font-size: 22px;
  box-shadow: 0 14px 30px rgba(0, 158, 219, .22);
}

.home-redesign .gs-list .item-title {
  max-width: calc(100% - 78px);
  font-size: 21px;
  letter-spacing: -.02em;
  color: var(--mc-text);
  margin-bottom: 14px;
}

.home-redesign .gs-list .item-content {
  color: var(--mc-muted);
  line-height: 1.7;
}

/* CONSULT STRIP */
.home-redesign .consult-section,
.home-redesign .consult-section_2 {
  padding: 72px 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(0, 158, 219, .35), transparent 30rem),
    linear-gradient(135deg, var(--mc-deep), var(--mc-blue));
}

.home-redesign .consult-section:after,
.home-redesign .consult-section_2:after {
  display: none;
}

.home-redesign .consult-section .container-xl,
.home-redesign .consult-section_2 .container-xl {
  border-radius: 36px;
}

.home-redesign .consult-section .page-title,
.home-redesign .consult-section_2 .title {
  color: #fff;
  letter-spacing: -.035em;
}

.home-redesign .consult-section .page-title:after {
  right: 24px;
  opacity: .9;
}

.home-redesign .jv-wrapper {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}

.home-redesign .consult-section .jv-wrapper,
.home-redesign .consult-section_2 .jv-wrapper {
  width: 520px;
}

/* PROCESS */
.home-redesign .process-section {
  background:
    linear-gradient(180deg, #F5F9FF 0%, #FFFFFF 100%);
}

.home-redesign .proc-list {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
  margin-bottom: 48px;
}

.home-redesign .proc-list .item {
  min-height: 260px;
  border-radius: 28px;
  border: 1px solid rgba(17, 61, 153, .10);
  padding: 34px 28px 112px;
  box-shadow: var(--mc-shadow-card);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-redesign .proc-list .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 58px rgba(17, 61, 153, .16);
}

.home-redesign .proc-list .content {
  font-size: 17px;
  color: var(--mc-text);
}

.home-redesign .proc-list .ico {
  width: 148px;
  height: 78px;
  left: calc(50% - 74px);
  border-radius: 78px 78px 0 0;
  border-color: rgba(0, 158, 219, .22);
  background: linear-gradient(180deg, #F7FCFF, #FFFFFF);
}

.home-redesign .proc-list .ico:before {
  color: rgba(17, 61, 153, .08);
  font-size: 44px;
}

.home-redesign .process-section .btn,
.home-redesign .benefits-section .btn {
  background: linear-gradient(135deg, var(--mc-blue), var(--mc-cyan));
}

/* TEXT + FORM */
.home-redesign .consult-section_2 .text-box {
  max-width: 720px;
  color: rgba(255,255,255,.88);
  line-height: 1.78;
}

.home-redesign .consult-section_2 .text-box h2,
.home-redesign .consult-section_2 .text-box h3,
.home-redesign .consult-section_2 .text-box strong {
  color: #fff;
}

.home-redesign .consult-section_2 .title {
  font-size: 28px;
}

/* REVIEWS */
.home-redesign .reviews-section {
  padding: 92px 0;
  background: #fff;
}

.home-redesign .rw-crsl .item {
  min-height: 310px;
  margin: 10px 12px;
  padding: 42px 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, #FFFFFF, #F7FAFF);
  border: 1px solid var(--mc-line);
  box-shadow: var(--mc-shadow-card);
}

.home-redesign .rw-crsl .item-content {
  color: var(--mc-muted);
  line-height: 1.75;
  padding: 0 54px;
}

.home-redesign .rw-crsl .item-title {
  color: var(--mc-blue);
}

/* PRESS */
.home-redesign .ps-crsl .item,
.home-redesign .tm-crsl .item {
  display: block;
  height: 100%;
}

.home-redesign .ps-crsl img,
.home-redesign .tm-crsl img {
  border-radius: 24px;
  box-shadow: var(--mc-shadow-card);
}

.home-redesign .ps-crsl .item-title,
.home-redesign .blog-section .item-title {
  color: var(--mc-text);
  letter-spacing: -.015em;
}

.home-redesign .ps-crsl .item-content,
.home-redesign .blog-section .item-content {
  color: var(--mc-muted);
}

/* BENEFITS */
.home-redesign .benefits-section {
  background:
    radial-gradient(circle at 10% 18%, rgba(0, 158, 219, .13), transparent 28rem),
    #F5F9FF;
}

.home-redesign .benefits-section:before {
  display: none;
}

.home-redesign .bs-crsl .item {
  min-height: 310px;
  border-radius: 28px;
  border: 1px solid rgba(17, 61, 153, .10);
  box-shadow: var(--mc-shadow-card);
  padding: 54px 26px 30px;
}

.home-redesign .bs-crsl .item-ico {
  width: 86px;
  height: 86px;
  padding: 18px;
  border-radius: 26px;
  background-color: #F2FAFF;
  box-shadow: inset 0 0 0 1px rgba(0, 158, 219, .14);
}

.home-redesign .bs-crsl .item-content {
  color: var(--mc-text);
  font-weight: 600;
  line-height: 1.55;
}

/* TEAM + BLOG */
.home-redesign .team-section,
.home-redesign .blog-section {
  background: #fff;
}

.home-redesign .tm-crsl .item-title {
  color: var(--mc-blue);
  font-weight: 800;
}

.home-redesign .tm-crsl .item-job {
  color: var(--mc-muted);
}

.home-redesign .blog-section .tm-crsl .item {
  padding: 0 0 22px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(17, 61, 153, .10);
  box-shadow: var(--mc-shadow-card);
  overflow: hidden;
}

.home-redesign .blog-section .tm-crsl img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 0 0 18px;
  border-radius: 26px 26px 0 0;
  box-shadow: none;
}

.home-redesign .blog-section .item-content,
.home-redesign .blog-section .item-title {
  display: block;
  padding-left: 22px;
  padding-right: 22px;
}

.home-redesign .blog-section .item-content {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--mc-cyan);
  font-weight: 700;
}

.home-redesign .blog-section .item-title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

/* CONTACTS */
.home-redesign .contacts-section {
  margin-top: 0;
  padding: 92px 0;
  background: linear-gradient(180deg, #F5F9FF, #EAF5FF);
}

.home-redesign .doc-list .item,
.home-redesign #map iframe {
  border-radius: 24px;
  box-shadow: var(--mc-shadow-card);
  overflow: hidden;
}

.home-redesign .doc-list img {
  border-radius: 24px;
}

.home-redesign #map iframe {
  height: 520px;
}

/* SLICK */
.home-redesign .slick-arrow {
  width: 56px;
  height: 56px;
  top: calc(50% - 28px);
  border-radius: 50%;
  border: 1px solid rgba(17, 61, 153, .10);
  box-shadow: 0 12px 30px rgba(17, 61, 153, .12);
}

.home-redesign .slick-prev {
  left: 18px;
}

.home-redesign .slick-next {
  right: 18px;
}

.home-redesign .slick-dots button {
  width: 8px;
  height: 8px;
}

.home-redesign .slick-dots .slick-active button {
  background: var(--mc-blue);
}

@media (max-width: 1199px) {
  .home-redesign .page-title {
    font-size: clamp(30px, 4.6vw, 46px);
  }

  .home-redesign .main-section {
    min-height: 720px;
    padding: 130px 0 86px;
    margin-top: -80px;
  }

  .home-redesign .main-section .container-xl {
    grid-template-columns: 1fr;
  }

  .home-redesign .main-section .container-xl:after {
    display: none;
  }

  .home-redesign .main-title,
  .home-redesign .main-section .content {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .home-redesign .main-section .btn-main {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991px) {
  .home-redesign .grounds-section,
  .home-redesign .process-section,
  .home-redesign .benefits-section,
  .home-redesign .team-section,
  .home-redesign .blog-section,
  .home-redesign .press-section,
  .home-redesign .reviews-section,
  .home-redesign .contacts-section,
  .home-redesign .consult-section,
  .home-redesign .consult-section_2 {
    padding: 64px 0;
  }

  .home-redesign .grounds-section:before {
    inset: 18px 12px;
    border-radius: 30px;
  }

  .home-redesign .consult-section .page-title {
    text-align: center;
    margin-bottom: 32px;
  }

  .home-redesign .consult-section .page-title:after {
    display: none;
  }

  .home-redesign .consult-section .jv-wrapper,
  .home-redesign .consult-section_2 .jv-wrapper {
    width: 100%;
  }

  .home-redesign .consult-section_2 .text-box {
    text-align: left;
    padding-bottom: 32px;
  }

  .home-redesign #map iframe {
    height: 420px;
  }
}

@media (max-width: 767px) {
  .home-redesign {
    background: #F8FBFF;
  }

  .home-redesign .main-section {
    min-height: auto;
    padding: 112px 0 66px;
  }

  .home-redesign .main-section:before {
    width: 280px;
    height: 280px;
    right: -120px;
    top: 90px;
  }

  .home-redesign .main-section:after {
    display: none;
  }

  .home-redesign .main-title {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.03;
    margin-bottom: 22px;
  }

  .home-redesign .main-section .content {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 30px;
  }

  .home-redesign .btn,
  .home-redesign .main-section .btn-main {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 17px 22px;
    font-size: 16px;
  }

  .home-redesign .page-title {
    margin-bottom: 28px;
    letter-spacing: -.025em;
  }

  .home-redesign .gs-list .item {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .home-redesign .gs-list .item:before {
    position: static;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 16px;
    font-size: 19px;
  }

  .home-redesign .gs-list .item-title {
    max-width: 100%;
    font-size: 19px;
  }

  .home-redesign .proc-list .item {
    min-height: 220px;
    padding: 28px 22px 94px;
    border-radius: 22px;
  }

  .home-redesign .proc-list .content {
    font-size: 16px;
    line-height: 1.6;
  }

  .home-redesign .rw-crsl .item {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .home-redesign .rw-crsl .item-content {
    padding: 0 34px;
  }

  .home-redesign .bs-crsl .item {
    min-height: 260px;
    padding: 42px 22px 26px;
    border-radius: 22px;
  }

  .home-redesign .blog-section .tm-crsl img {
    height: 220px;
  }

  .home-redesign .slick-arrow {
    display: none !important;
  }

  .home-redesign #map iframe {
    height: 340px;
  }
}

@media (max-width: 480px) {
  .home-redesign .grounds-section,
  .home-redesign .process-section,
  .home-redesign .benefits-section,
  .home-redesign .team-section,
  .home-redesign .blog-section,
  .home-redesign .press-section,
  .home-redesign .reviews-section,
  .home-redesign .contacts-section,
  .home-redesign .consult-section,
  .home-redesign .consult-section_2 {
    padding: 52px 0;
  }

  .home-redesign .main-title {
    font-size: 34px;
  }

  .home-redesign .main-section .content {
    font-size: 15px;
  }

  .home-redesign .jv-wrapper {
    border-radius: 18px;
  }

  .home-redesign .jv {
    margin-left: -10px;
    margin-right: -10px;
  }
}

/* =========================================
   BLOG REDESIGN
   Works with current HTML structure
========================================= */

/* Common blog page background */

body .page-container .main-section .image-overlay img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
}

body .page-container .main-section .image-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(105deg, rgba(5, 18, 58, 0.96) 0%, rgba(17, 61, 153, 0.9) 55%, rgba(0, 158, 219, 0.75) 100%);
	z-index: 1;
}

body .page-container .main-section .image-overlay::after {
	display: none;
}


/* Breadcrumbs area */
body .page-container .main-section > .container-xl > div:first-child {
	margin-bottom: 22px;
}

body .page-container .main-section a {
	transition: color .3s, background-color .3s, border-color .3s, box-shadow .3s, transform .3s;
}

/* Blog listing grid */
.article-list {
	--bs-gutter-x: 24px;
	--bs-gutter-y: 28px;
	margin-top: 0 !important;
}

/* Blog card */
.article-preview {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid rgba(17, 61, 153, 0.08);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 12px 34px rgba(17, 61, 153, 0.08);
	margin-bottom: 0 !important;
	color: #464555;
	text-decoration: none;
	position: relative;
}

.article-preview:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 52px rgba(17, 61, 153, 0.16);
	border-color: rgba(0, 158, 219, 0.26);
	color: #464555;
}

/* Image wrapper */
.article-preview_top {
	display: block;
	position: relative;
	overflow: hidden;
	background: #113D99;
	aspect-ratio: 341 / 209;
}

.article-preview_img,
.article-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
	transform: scale(1);
	transition: transform .45s;
}

.article-preview:hover .article-preview_img,
.article-preview:hover img {
	transform: scale(1.06);
}

/* Date badge */
.article-preview_date {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	width: fit-content;
	font-weight: 800 !important;
	font-size: 13px !important;
	line-height: 1.2;
	color: #113D99;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 999px;
	padding: 8px 12px;
	margin-top: 0 !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* Card content */
.article-preview_title {
	display: block;
	font-weight: 800 !important;
	font-size: 18px !important;
	line-height: 1.28;
	color: #113D99 !important;
	margin: 20px 20px 10px !important;
	letter-spacing: -0.02em;
}

.article-preview:hover .article-preview_title {
	color: #009EDB !important;
}

.article-preview_descr {
	display: block;
	font-size: 15px !important;
	line-height: 1.6 !important;
	color: #5c6172;
	margin: 0 20px 22px;
}

.article-preview::after {
	content: "Читать статью";
	display: inline-flex;
	align-items: center;
	width: fit-content;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.2;
	color: #009EDB;
	margin: auto 20px 22px;
	padding-right: 28px;
	position: relative;
}

.article-preview::before {
	content: "";
	position: absolute;
	right: 20px;
	bottom: 23px;
	width: 18px;
	height: 18px;
	background: url('/assets/images/elements/ico-arrow-right.svg') center / contain no-repeat;
	filter: invert(49%) sepia(85%) saturate(1965%) hue-rotate(163deg) brightness(92%) contrast(101%);
	transition: transform .35s;
}

.article-preview:hover::before {
	transform: translateX(4px);
}

/* Pagination visual improvement */
.pagination,
.paginate,
.paginator {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 38px 0 26px;
}

.pagination a,
.pagination span,
.paginate a,
.paginate span,
.paginator a,
.paginator span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(17, 61, 153, 0.12);
	color: #113D99;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
}

.pagination a:hover,
.paginate a:hover,
.paginator a:hover {
	background: #113D99;
	border-color: #113D99;
	color: #fff;
}

.pagination .active,
.paginate .active,
.paginator .active,
.pagination span.current,
.paginate span.current,
.paginator span.current {
	background: #009EDB;
	border-color: #009EDB;
	color: #fff;
}

/* =========================================
   BLOG DETAIL PAGE
========================================= */

.container-blog {
	background: #fff !important;
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(17, 61, 153, 0.12);
	padding: 40px 46px !important;
}

/* Article typography */
.container-blog h1 {
	font-size: clamp(30px, 3vw, 50px) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.04em;
	color: #113D99;
	margin: 0 0 26px;
}

.container-blog h2 {
	font-weight: 900;
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.16;
	letter-spacing: -0.03em;
	color: #113D99;
	margin: 42px 0 18px;
}

.container-blog h3 {
	font-weight: 800;
	font-size: 24px;
	line-height: 1.25;
	color: #113D99;
	margin: 34px 0 14px;
}

.container-blog p {
	font-size: 18px;
	line-height: 1.78;
	color: #464555;
	margin: 0 0 20px;
}

.container-blog p a,
.container-blog a {
	color: #2d71ff;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(45, 113, 255, 0.25);
}

.container-blog p a:hover,
.container-blog a:hover {
	color: #009EDB;
	border-bottom-color: rgba(0, 158, 219, 0.35);
}

.container-blog ul,
.container-blog ol {
	margin: 0 0 26px;
	padding-left: 0;
	list-style: none;
}

.container-blog li {
	font-size: 18px;
	line-height: 1.65;
	color: #464555;
	position: relative;
	padding-left: 30px;
	margin: 0 0 13px;
}

.container-blog ul li::before {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #009EDB;
	box-shadow: inset 0 0 0 5px #dff5fc;
	position: absolute;
	left: 0;
	top: 7px;
}

.container-blog ol {
	counter-reset: article-counter;
}

.container-blog ol li {
	counter-increment: article-counter;
}

.container-blog ol li::before {
	content: counter(article-counter);
	position: absolute;
	left: 0;
	top: 2px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #113D99;
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	line-height: 24px;
	text-align: center;
}

/* Images inside article */
.container-blog img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 16px 42px rgba(17, 61, 153, 0.12);
	margin: 14px 0 24px;
}

/* Tables inside article */
.container-blog table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid rgba(17, 61, 153, 0.12);
	border-radius: 18px;
	overflow: hidden;
	margin: 28px 0;
	box-shadow: 0 12px 32px rgba(17, 61, 153, 0.08);
}

.container-blog th,
.container-blog td {
	font-size: 16px;
	line-height: 1.45;
	text-align: left;
	border-bottom: 1px solid rgba(17, 61, 153, 0.1);
	padding: 16px;
}

.container-blog th {
	font-weight: 800;
	color: #fff;
	background: #113D99;
}

.container-blog tr:last-child td {
	border-bottom: none;
}

/* Author block */
.container-blog [itemprop="author"] {
	background: linear-gradient(135deg, rgba(17, 61, 153, 0.08), rgba(0, 158, 219, 0.08));
	border: 1px solid rgba(17, 61, 153, 0.12);
	border-radius: 22px;
	padding: 22px 24px;
	margin: 36px 0 0;
	color: #464555;
	font-size: 16px;
	line-height: 1.6;
}

.container-blog [itemprop="author"] strong {
	color: #113D99;
}

.container-blog [itemprop="author"] a {
	color: #2d71ff;
}

/* Mobile */
@media (max-width: 991px) {
	body .page-container .main-section {
		padding: 96px 0 50px;
	}

	body .page-container .main-section > .container-xl {
		border-radius: 22px;
		padding: 26px;
	}

	.article-list {
		--bs-gutter-x: 18px;
		--bs-gutter-y: 22px;
	}

	.article-preview_title {
		font-size: 17px !important;
	}

	.container-blog {
		padding: 30px 28px !important;
	}

	.container-blog p,
	.container-blog li {
		font-size: 17px;
	}
}

@media (max-width: 768px) {
	body .page-container .main-section {
		padding: 82px 0 34px !important;
		background: #f4f7fb;
	}

	/*body .page-container .main-section .image-overlay {*/
	/*	height: 170px !important;*/
	/*}*/

	/*body .page-container .main-section > .container-xl,*/
	/*.container-blog {*/
	/*	width: calc(100% - 24px);*/
	/*	border-radius: 20px;*/
	/*	padding: 22px 18px !important;*/
	/*	background: #fff !important;*/
	/*}*/

	.article-list {
		--bs-gutter-y: 18px;
	}

	.article-preview {
		border-radius: 18px;
	}

	.article-preview_title {
		font-size: 17px !important;
		margin: 18px 18px 8px !important;
	}

	.article-preview_descr {
		font-size: 14px !important;
		margin: 0 18px 20px;
	}

	.article-preview::after {
		margin-left: 18px;
		margin-bottom: 20px;
	}

	.article-preview::before {
		right: 18px;
		bottom: 21px;
	}

	.container-blog h1 {
		font-size: 30px !important;
		line-height: 1.12 !important;
	}

	.container-blog h2 {
		font-size: 25px;
		margin-top: 34px;
	}

	.container-blog h3 {
		font-size: 21px;
	}

	.container-blog p,
	.container-blog li {
		font-size: 16px;
		line-height: 1.68;
	}

	.container-blog table {
		display: block;
		overflow-x: auto;
		border-radius: 16px;
	}

	.container-blog th,
	.container-blog td {
		min-width: 160px;
		font-size: 14px;
		padding: 13px;
	}
}

@media (max-width: 420px) {
	body .page-container .main-section > .container-xl,
	.container-blog {
		width: calc(100% - 16px);
		padding: 20px 14px !important;
	}

	.article-preview_date {
		left: 12px;
		bottom: 12px;
		font-size: 12px !important;
	}

	.container-blog h1 {
		font-size: 27px !important;
	}

	.container-blog p,
	.container-blog li {
		font-size: 15.5px;
	}
}

.breadcrumb_item::before,
.breadcrumbs_item::before,
.breadcrumbs_separator::before,
.breadcrumbs_separator::after {
	display: none !important;
	content: none !important;
}

.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.breadcrumb a {
	font-weight: 700;
	font-size: 15px;
	color: #2d71ff;
	text-decoration: none;
}

.breadcrumbs_separator {
	color: rgba(17, 61, 153, 0.35);
	font-weight: 800;
}

/* =========================================
   BLOG DETAIL PAGE — isolated styles
   Does not affect homepage .main-section
========================================= */

.blog-detail-page {
	background: #f4f7fb;
}

.blog-detail-section {
	position: relative;
	min-height: auto;
	padding: 110px 0 70px;
	background: #f4f7fb;
	overflow: hidden;
}

.blog-detail-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 260px;
	z-index: 0;
	overflow: hidden;
	background: #113D99;
}

.blog-detail-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
}

.blog-detail-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(105deg, rgba(5, 18, 58, 0.96) 0%, rgba(17, 61, 153, 0.9) 56%, rgba(0, 158, 219, 0.74) 100%);
}

.blog-detail-section .container-blog {
	position: relative;
	z-index: 2;
	max-width: 1224px;
	background: #fff !important;
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(17, 61, 153, 0.12);
	padding: 44px 46px !important;
}

.blog-detail-hero__title {
	font-weight: 900;
	font-size: clamp(32px, 4vw, 54px) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.04em;
	color: #113D99;
	margin: 0 0 26px;
	max-width: 980px;
}

/* Breadcrumbs */
.blog-detail-page .breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}

.blog-detail-page .breadcrumb_item::before,
.blog-detail-page .breadcrumbs_item::before,
.blog-detail-page .breadcrumbs_separator::before,
.blog-detail-page .breadcrumbs_separator::after {
	display: none !important;
	content: none !important;
}

.blog-detail-page .breadcrumb a {
	font-weight: 700;
	font-size: 15px;
	color: #2d71ff;
	text-decoration: none;
	border-bottom: 1px solid rgba(45, 113, 255, 0.22);
}

.blog-detail-page .breadcrumb a:hover {
	color: #009EDB;
	border-bottom-color: rgba(0, 158, 219, 0.32);
}

.blog-detail-page .breadcrumbs_separator {
	color: rgba(17, 61, 153, 0.35);
	font-weight: 800;
}

/* Article typography */
.blog-detail-content h2 {
	font-weight: 900;
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.16;
	letter-spacing: -0.03em;
	color: #113D99;
	margin: 42px 0 18px;
}

.blog-detail-content h3 {
	font-weight: 800;
	font-size: 24px;
	line-height: 1.25;
	color: #113D99;
	margin: 34px 0 14px;
}

.blog-detail-content p {
	font-size: 18px;
	line-height: 1.78;
	color: #464555;
	margin: 0 0 20px;
}

.blog-detail-content p a,
.blog-detail-content a {
	color: #2d71ff;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(45, 113, 255, 0.25);
}

.blog-detail-content p a:hover,
.blog-detail-content a:hover {
	color: #009EDB;
	border-bottom-color: rgba(0, 158, 219, 0.35);
}

.blog-detail-content ul,
.blog-detail-content ol {
	margin: 0 0 26px;
	padding-left: 0;
	list-style: none;
}

.blog-detail-content li {
	font-size: 18px;
	line-height: 1.65;
	color: #464555;
	position: relative;
	padding-left: 30px;
	margin: 0 0 13px;
}

.blog-detail-content ul li::before {
	content: "";
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #009EDB;
	box-shadow: inset 0 0 0 5px #dff5fc;
	position: absolute;
	left: 0;
	top: 7px;
}

.blog-detail-content ol {
	counter-reset: article-counter;
}

.blog-detail-content ol li {
	counter-increment: article-counter;
}

.blog-detail-content ol li::before {
	content: counter(article-counter);
	position: absolute;
	left: 0;
	top: 2px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #113D99;
	color: #fff;
	font-weight: 800;
	font-size: 13px;
	line-height: 24px;
	text-align: center;
}

.blog-detail-content img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 16px 42px rgba(17, 61, 153, 0.12);
	margin: 14px 0 24px;
}

.blog-detail-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border: 1px solid rgba(17, 61, 153, 0.12);
	border-radius: 18px;
	overflow: hidden;
	margin: 28px 0;
	box-shadow: 0 12px 32px rgba(17, 61, 153, 0.08);
}

.blog-detail-content th,
.blog-detail-content td {
	font-size: 16px;
	line-height: 1.45;
	text-align: left;
	border-bottom: 1px solid rgba(17, 61, 153, 0.1);
	padding: 16px;
}

.blog-detail-content th {
	font-weight: 800;
	color: #fff;
	background: #113D99;
}

.blog-detail-content tr:last-child td {
	border-bottom: none;
}

/* Author */
.blog-detail-author {
	background: linear-gradient(135deg, rgba(17, 61, 153, 0.08), rgba(0, 158, 219, 0.08));
	border: 1px solid rgba(17, 61, 153, 0.12);
	border-radius: 22px;
	padding: 22px 24px;
	margin: 36px 0 0;
	color: #464555;
	font-size: 16px;
	line-height: 1.6;
}

.blog-detail-author strong {
	color: #113D99;
}

.blog-detail-author a {
	color: #2d71ff;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(45, 113, 255, 0.25);
}

/* Mobile */
@media (max-width: 991px) {
	.blog-detail-section {
		padding: 96px 0 50px;
	}

	.blog-detail-section .container-blog {
		border-radius: 22px;
		padding: 30px 28px !important;
	}

	.blog-detail-content p,
	.blog-detail-content li {
		font-size: 17px;
	}
}

@media (max-width: 768px) {
	.blog-detail-section {
		padding: 82px 0 34px;
	}

	.blog-detail-bg {
		height: 190px;
	}

	.blog-detail-section .container-blog {
		width: calc(100% - 24px);
		border-radius: 20px;
		padding: 22px 18px !important;
	}

	.blog-detail-hero__title {
		font-size: 30px !important;
		line-height: 1.14 !important;
		margin-bottom: 22px;
	}

	.blog-detail-page .breadcrumb {
		margin-bottom: 26px;
	}

	.blog-detail-content h2 {
		font-size: 25px;
		margin-top: 34px;
	}

	.blog-detail-content h3 {
		font-size: 21px;
	}

	.blog-detail-content p,
	.blog-detail-content li {
		font-size: 16px;
		line-height: 1.68;
	}

	.blog-detail-content table {
		display: block;
		overflow-x: auto;
		border-radius: 16px;
	}

	.blog-detail-content th,
	.blog-detail-content td {
		min-width: 160px;
		font-size: 14px;
		padding: 13px;
	}
}

@media (max-width: 420px) {
	.blog-detail-section .container-blog {
		width: calc(100% - 16px);
		padding: 20px 14px !important;
	}

	.blog-detail-hero__title {
		font-size: 27px !important;
	}

	.blog-detail-content p,
	.blog-detail-content li {
		font-size: 15.5px;
	}
}

.blog-detail-preview {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 620px;
	margin: 0 auto 34px;
	padding: 14px;
	border-radius: 26px;
	background: linear-gradient(135deg, rgba(17, 61, 153, 0.06), rgba(0, 158, 219, 0.08));
	border: 1px solid rgba(17, 61, 153, 0.12);
	box-shadow: 0 18px 44px rgba(17, 61, 153, 0.12);
}

.blog-detail-preview::before {
	display: none;
}

.blog-detail-preview img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: contain;
	border-radius: 18px !important;
	box-shadow: 0 12px 32px rgba(17, 61, 153, 0.14) !important;
	margin: 0 !important;
}
@media (max-width: 768px) {
	.blog-detail-preview {
		max-width: 100%;
		padding: 10px;
		border-radius: 20px;
		margin-bottom: 26px;
	}

	.blog-detail-preview img {
		width: 100%;
		max-height: none;
		border-radius: 16px !important;
	}
}

/* =========================================
   HEADER REDESIGN
   Works with current HTML structure
========================================= */

#header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background: rgba(17, 61, 153, 0.82);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 12px 34px rgba(5, 18, 58, 0.16);
	padding: 12px 0;
	transition: background-color .35s, box-shadow .35s, padding .35s;
}

#header.isScrolled {
	background: rgba(17, 61, 153, 0.96);
	box-shadow: 0 14px 38px rgba(5, 18, 58, 0.24);
}

#header > .container-xl {
	align-items: center;
	gap: 22px;
	position: relative;
}

/* Logo */
#header .h-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	max-width: none;
	margin: 0;
	padding: 0;
}

#header .h-logo img {
	display: block;
	width: 133px;
	height: auto;
	max-height: 48px;
	object-fit: contain;
}

/* Contacts block */
#header .social-links {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 12px 0 0;
}

#header .social-links a {
	width: 32px;
	height: 32px;
	margin: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.16);
	transition: transform .3s, background-color .3s, opacity .3s;
}

#header .social-links a:hover {
	transform: translateY(-2px);
	background-color: rgba(255, 255, 255, 0.22);
	opacity: 1;
}

#header .phone-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	font-weight: 800;
	font-size: 16px;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
	text-decoration: none;
	border-radius: 999px;
	padding: 9px 14px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	transition: background-color .3s, transform .3s;
}

#header .phone-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

#header .phone-link::before {
	display: none;
}

/* Navigation */
#header .main-nav-wrapper {
	min-width: 0;
}

#header .main-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	width: 100%;
	padding: 0;
	margin: 0;
}

#header .main-nav .item {
	margin: 0;
}

#header .main-nav .item-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	font-weight: 800;
	font-size: 15px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	border-radius: 999px;
	padding: 10px 14px;
	position: relative;
	transition: color .3s, background-color .3s, transform .3s;
}

#header .main-nav .item-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.13);
	transform: translateY(-1px);
}

#header .main-nav .item-link::before {
	display: none;
}

/* Language selector */
#header .lang-selecter {
	position: relative;
	align-items: center;
}

#header .c-lng {
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 40px;
	font-weight: 900;
	font-size: 13px;
	line-height: 1;
	color: #113D99;
	background: #fff;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
	transition: background-color .3s, color .3s, transform .3s;
}

#header .lang-selecter:hover .c-lng {
	background: #009EDB;
	color: #fff;
	transform: translateY(-1px);
}

#header #drop-links {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	min-width: 96px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 42px rgba(5, 18, 58, 0.22);
	border: 1px solid rgba(17, 61, 153, 0.1);
	padding: 8px;
	z-index: 120;
}

#header #drop-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	font-weight: 800;
	font-size: 13px;
	color: #113D99;
	text-decoration: none;
	border-radius: 10px;
	text-transform: uppercase;
}

#header #drop-links a:hover {
	background: rgba(0, 158, 219, 0.1);
	color: #009EDB;
}

/* Mobile menu button */
#header .menu-btn {
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	position: static;
	margin-left: auto;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background:
		linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08));
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
	outline: none;
	cursor: pointer;
}

#header .menu-btn::before,
#header .menu-btn::after {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	background: #fff;
	border-radius: 999px;
	margin: 0 auto;
	transition: transform .3s, box-shadow .3s;
}

#header .menu-btn::before {
	box-shadow: 0 7px 0 #fff;
	transform: translateY(-4px);
}

#header .menu-btn::after {
	transform: translateY(4px);
}

/* Если JS добавляет active на кнопку */
#header .menu-btn.active::before {
	box-shadow: none;
	transform: translateY(1px) rotate(45deg);
}

#header .menu-btn.active::after {
	transform: translateY(-1px) rotate(-45deg);
}

/* убираем старую иконку bars */
#header .menu-btn {
	background-image: none !important;
}

/* =========================================
   HEADER MOBILE
========================================= */

@media (max-width: 991px) {
	#header {
		padding: 9px 0;
		background: rgba(17, 61, 153, 0.96);
	}

	#header > .container-xl {
		gap: 14px;
	}

	#header .h-logo img {
		width: 122px;
	}

	#header .phone-link {
		min-height: 38px;
		font-size: 14px;
		padding: 8px 12px;
		margin-left: auto;
		margin-right: 4px;
	}

	#header .main-nav-wrapper {
		display: block !important;
		position: fixed;
		top: 66px;
		right: -340px;
		width: 320px;
		max-width: calc(100vw - 28px);
		height: calc(100vh - 66px);
		background:
			radial-gradient(circle at 100% 0%, rgba(0, 158, 219, 0.26), transparent 240px),
			linear-gradient(180deg, #113D99 0%, #0A2361 100%);
		border-left: 1px solid rgba(255, 255, 255, 0.14);
		box-shadow: -18px 0 44px rgba(5, 18, 58, 0.28);
		padding: 22px 18px 30px;
		overflow-y: auto;
		z-index: 105;
		transition: right .35s ease;
	}

	#header .main-nav-wrapper.active {
		right: 0;
	}

	#header .main-nav {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 10px;
		width: 100%;
		padding: 0;
		margin: 0;
	}

	#header .main-nav .item {
		width: 100%;
		margin: 0;
	}

	#header .main-nav .item-link {
		justify-content: flex-start;
		width: 100%;
		min-height: 48px;
		font-size: 16px;
		color: #fff;
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.12);
		border-radius: 16px;
		padding: 14px 16px;
	}

	#header .main-nav .item-link:hover {
		background: rgba(255, 255, 255, 0.16);
		transform: none;
	}

	#header .m-lngs {
		display: flex !important;
		align-items: center;
		gap: 8px;
		margin-top: 12px;
		padding-top: 14px;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	#header .m-lngs a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		height: 40px;
		font-weight: 900;
		font-size: 13px;
		color: #fff;
		text-decoration: none;
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.14);
	}

	#header .m-lngs a.active {
		background: #fff;
		color: #113D99;
	}

	#header .menu-overlay {
		display: none;
		position: fixed;
		inset: 66px 0 0 0;
		width: 100%;
		height: calc(100vh - 66px);
		background: rgba(5, 18, 58, 0.56);
		backdrop-filter: blur(4px);
		z-index: 104;
	}

	#header .menu-overlay.active {
		display: block;
	}
}

@media (max-width: 575px) {
	#header > .container-xl {
		gap: 10px;
	}

	#header .h-logo img {
		width: 108px;
	}

	#header .phone-link {
		font-size: 0;
		width: 42px;
		min-width: 42px;
		height: 42px;
		padding: 0;
		border-radius: 50%;
		position: relative;
	}

	#header .phone-link::after {
		content: "";
		width: 18px;
		height: 18px;
		background: url('/assets/images/elements/phone-solid.svg') center / contain no-repeat;
		filter: brightness(0) invert(1);
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	#header .menu-btn {
		width: 42px;
		height: 42px;
	}

	#header .main-nav-wrapper {
		top: 60px;
		height: calc(100vh - 60px);
		max-width: calc(100vw - 18px);
	}

	#header .menu-overlay {
		inset: 60px 0 0 0;
		height: calc(100vh - 60px);
	}
}

/* =========================================
   FOOTER REDESIGN
   Works with current HTML structure
========================================= */

#footer {
	position: relative;
	background:
		radial-gradient(circle at 12% 0%, rgba(0, 158, 219, 0.34), transparent 360px),
		radial-gradient(circle at 88% 100%, rgba(255, 255, 255, 0.12), transparent 320px),
		linear-gradient(135deg, #0A2361 0%, #113D99 58%, #009EDB 100%);
	padding: 34px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	overflow: hidden;
}

#footer::before {
	content: "";
	position: absolute;
	left: -160px;
	bottom: -220px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

#footer::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -180px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: rgba(0, 158, 219, 0.22);
	border: 1px solid rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

#footer .container-xl {
	position: relative;
	z-index: 2;
	align-items: center;
	row-gap: 18px;
}

#footer .container-xl > div {
	min-height: 52px;
}

/* Social + phone block */
#footer .social-links {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 16px 0 0;
}

#footer .social-links a {
	width: 38px;
	height: 38px;
	margin: 0;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	transition: transform .3s, background-color .3s, border-color .3s;
}

#footer .social-links a:hover {
	transform: translateY(-3px);
	background-color: rgba(255, 255, 255, 0.22);
	border-color: rgba(255, 255, 255, 0.32);
}

/* Phone */
#footer .phone-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	font-weight: 900;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 11px 18px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	transition: background-color .3s, transform .3s, border-color .3s;
}

#footer .phone-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.32);
	transform: translateY(-2px);
}

#footer .phone-link::before {
	display: none;
}

/* Email */
#footer .email-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	font-weight: 900;
	font-size: 18px;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	padding: 11px 20px;
	margin: 0;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	transition: background-color .3s, transform .3s, border-color .3s;
}

#footer .email-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.32);
	transform: translateY(-2px);
}

/* Address */
#footer .address {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.9);
	text-align: right;
	margin: 0;
	max-width: 320px;
}

#footer .address span {
	display: inline-flex;
	align-items: center;
	position: relative;
	padding-left: 26px;
}

#footer .address span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 0 0 5px rgba(0, 158, 219, 0.42);
}

/* Tablet */
@media (max-width: 991px) {
	#footer {
		padding: 34px 0 30px;
	}

	#footer .container-xl {
		flex-direction: column;
		gap: 14px;
	}

	#footer .container-xl > div {
		width: 100%;
		min-height: auto;
	}

	#footer .container-xl > div:first-child {
		flex-direction: column;
		gap: 14px;
	}

	#footer .social-links {
		margin: 0;
	}

	#footer .phone-link,
	#footer .email-link {
		width: fit-content;
		max-width: 100%;
	}

	#footer .address {
		text-align: center;
		max-width: 560px;
	}

	#footer .address span {
		justify-content: center;
	}
}

/* Mobile */
@media (max-width: 575px) {
	#footer {
		padding: 30px 0 26px;
	}

	#footer .social-links a {
		width: 40px;
		height: 40px;
	}

	#footer .phone-link,
	#footer .email-link {
		width: 100%;
		min-height: 48px;
		font-size: 16px;
		padding: 13px 16px;
	}

	#footer .email-link {
		word-break: break-word;
		text-align: center;
	}

	#footer .address {
		font-size: 14px;
		line-height: 1.55;
	}

	#footer .address span {
		padding-left: 0;
	}

	#footer .address span::before {
		display: none;
	}
}