/*=============== GOOGLE FONTS & VARIABLES ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@100");

:root {
  --dark-blue: #212842;
  --navy-blue: #1a1f3c;
  --light-blue: #343f67;
  --beige-bg: #f0e7d5;
  --beige-card: #dfd7c3;
  --link-clr: #2f4aaa;
  --white: #ffffff;
  --text-dark: #333333;
  --error-red: #ff4d4f;
  --success-green: #52c41a;

  --font-main: "Montserrat", sans-serif;
  --header-height: 80px;

  --z-modal: 2000;
  --z-header: 990;
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--beige-bg);
  color: var(--text-dark);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== NAVBAR ===============*/
.navbar {
  background: var(--dark-blue);
  height: var(--header-height);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  z-index: 1;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

#navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  color: var(--beige-bg);
  font-weight: 700;
  font-size: 1.2rem;
  white-space: nowrap;
}

.navbar__img-logo {
  width: 30px;
  height: auto;
  margin-right: 15px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  list-style: none;
  text-align: center;
  gap: 1.8rem;
  flex-wrap: nowrap;
}

.navbar__item {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar__links {
  color: var(--beige-bg);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  font-size: 1.1rem;
}

.navbar__links:hover {
  opacity: 0.8;
}

.open-form-btn {
  background-color: var(--beige-bg);
  color: var(--dark-blue);
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s;
  white-space: nowrap;
}

.open-form-btn:hover {
  transform: translateY(-2px);
  background-color: #fff;
}

@media screen and (max-width: 960px) {
  #navbar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: var(--beige-bg);
    font-weight: 700;
    font-size: 1.3rem;
  }

  .navbar__img-logo {
    width: 40px;
    height: auto;
    margin-right: 15px;
  }

  .navbar__container {
    padding: 0 15px;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .navbar__menu.active {
    right: 0;
  }

  .navbar__menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
    pointer-events: none;
  }

  .navbar__item {
    width: 80%;
    height: 10%;
    text-align: center;
  }

  .navbar__links {
    display: block;
    padding: 15px 30px;
    color: var(--beige-bg);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
  }

  .navbar__links:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .nav-btn-item {
    margin-top: 20px;
    width: 80%;
  }

  .open-form-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    background: var(--beige-bg);
    color: var(--dark-blue);
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
  }

  #mobile-menu {
    position: absolute;
    top: 25%;
    right: 5%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
  }

  .navbar__toggle {
    margin-top: 1.3rem;
  }

  .navbar__toggle .bar {
    width: 30px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--beige-bg);
    display: block;
    border-radius: 2px;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media screen and (max-width: 400px) {
  #navbar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: var(--beige-bg);
    font-weight: 700;
    font-size: 1.1rem;
  }

  .navbar__img-logo {
    width: 35px;
    height: auto;
    margin-right: 15px;
  }
  .navbar__container {
    padding: 0 15px;
  }

  .navbar__links {
    padding: 15px 15px;
    color: var(--beige-bg);
    font-size: 1.1rem;
  }

  .nav-btn-item {
    margin-top: 10px;
    width: 80%;
  }

  .open-form-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    background: var(--beige-bg);
    color: var(--dark-blue);
    border-radius: 50px;
    border: none;
    font-weight: bold;
    cursor: pointer;
  }

  #mobile-menu {
    position: absolute;
    top: 25%;
    right: 5%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
  }

  .navbar__toggle {
    margin-top: 1.2rem;
  }

  .navbar__toggle .bar {
    width: 30px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--beige-bg);
    display: block;
    border-radius: 2px;
  }
}

/*=============== NEW HERO ===============*/
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-blue);
  color: var(--beige-bg);
  padding: 50px 0 110px;
}

/* --- фоновые слайды --- */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__slide.active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}
.hero__slide.active img {
  animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
  from {
    transform: scale(1.18) translateX(2%);
  }
  to {
    transform: scale(1.02) translateX(0);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(26, 31, 60, 0.95) 0%,
      rgba(26, 31, 60, 0.82) 40%,
      rgba(26, 31, 60, 0.35) 75%,
      rgba(26, 31, 60, 0.15) 100%
    ),
    linear-gradient(to top, rgba(26, 31, 60, 0.9), transparent 45%);
}

.hero__in {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- бейдж --- */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige-bg);
  background: rgba(240, 231, 213, 0.08);
  border: 1px solid rgba(240, 231, 213, 0.28);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  animation: heroUp 0.8s ease 0.1s backwards;
}
.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(82, 196, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(82, 196, 26, 0);
  }
}

/* --- заголовок с line-mask --- */
.hero__title {
  margin: 28px 0 22px;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero__title .line span {
  display: inline-block;
  transform: translateY(115%);
  animation: lineUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  font-size: clamp(1.7rem, 4.6vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: #fff;
}
.hero__title .line:nth-child(2) span {
  animation-delay: 0.12s;
}
.hero__title .line:nth-child(3) span {
  animation-delay: 0.24s;
}
.hero__title .accent {
  color: var(--beige-bg);
}
@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}

.hero__text {
  max-width: 560px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(240, 231, 213, 0.85);
  margin-bottom: 34px;
  animation: heroUp 0.8s ease 0.45s backwards;
}

/* --- кнопки --- */
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroUp 0.8s ease 0.6s backwards;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s,
    color 0.25s;
}
.hero__btn--primary {
  border: none;
  background: var(--beige-bg);
  color: var(--dark-blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.hero__btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background: #fff;
}
.hero__btn--ghost {
  border: 1px solid rgba(240, 231, 213, 0.45);
  background: transparent;
  color: var(--beige-bg);
}
.hero__btn--ghost:hover {
  background: var(--beige-bg);
  color: var(--dark-blue);
  transform: translateY(-3px);
}

/* --- факты --- */
.hero__stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 56px;
  animation: heroUp 0.8s ease 0.75s backwards;
}
.hero__stats div {
  border-left: 2px solid rgba(240, 231, 213, 0.25);
  padding-left: 18px;
}
.hero__stats b {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--beige-bg);
  line-height: 1.1;
}
.hero__stats span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 231, 213, 0.6);
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- нижняя панель слайдера --- */
.hero__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
}
.hero__bottom-in {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.hero__caption {
  max-width: 55%;
  font-size: 0.95rem;
  color: rgba(240, 231, 213, 0.85);
  line-height: 1.5;
}
.hero__caption.swap {
  animation: capIn 0.6s ease;
}
@keyframes capIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.hero__nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(240, 231, 213, 0.35);
  background: transparent;
  color: var(--beige-bg);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero__arrow:hover {
  background: var(--beige-bg);
  color: var(--navy-blue);
  transform: translateY(-2px);
}
.hero__dots {
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 32px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: rgba(240, 231, 213, 0.3);
  cursor: pointer;
  padding: 0;
  transition: all 0.4s ease;
}
.hero__dot.active {
  width: 54px;
  background: var(--beige-bg);
}

/*=============== БЕГУЩАЯ СТРОКА ===============*/
.marquee {
  background: var(--beige-bg);
  border-block: 3px solid var(--navy-blue);
  overflow: hidden;
  padding: 15px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marq 28s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee span {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-blue);
}
.marquee span::after {
  content: "✦";
  font-size: 0.7rem;
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}

/*=============== АДАПТИВ HERO ===============*/
@media (max-width: 960px) {
  .hero {
    padding: 40px 0 130px;
  }
  .hero__in,
  .hero__bottom-in {
    padding: 0 20px;
  }
  .hero__text {
    font-size: 1.05rem;
  }
  .hero__stats {
    gap: 26px;
    margin-top: 40px;
  }
  .hero__stats b {
    font-size: 1.6rem;
  }
  .hero__bottom-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .hero__caption {
    max-width: 100%;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .hero__eyebrow {
    font-size: 0.68rem;
    padding: 8px 14px;
  }
  .hero__btn {
    width: 100%;
  }
  .hero__arrow {
    width: 42px;
    height: 42px;
  }
  .hero__stats div {
    border-left: none;
    padding-left: 0;
  }
}

/*=============== SERVICES SECTION ===============*/
.services {
  background: var(--dark-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding-bottom: 3.5rem;
}

.services h1 {
  color: var(--beige-bg);
  margin-top: 5rem;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.services__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.services__card {
  margin: 1rem;
  height: 300px;
  width: 300px;
  border-radius: 6px;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(17, 17, 17, 0.8) 100%
  );
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: var(--beige-bg);
  transition: transform 0.2s ease-in;
  cursor: pointer;
}

.services__card:hover {
  transform: scale(1.04);
}

.services__card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  position: static;
  top: auto;
  left: auto;
}

.services__card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  position: static;
  top: auto;
  left: auto;
}

.services__card button {
  color: var(--dark-blue);
  font-weight: 700;
  padding: 10px 20px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: var(--beige-bg);
  position: static;
  top: auto;
  left: auto;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
}

@media screen and (max-width: 960px) {
  .services h1 {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .services h1 {
    font-size: 1.5rem;
  }
  .services__card {
    width: 90%;
    margin: 1rem 0;
  }
}

/*=============== FEATURES SECTION ===============*/
.section-padding {
  padding: 90px 150px;
  max-width: 100%;
  background: var(--beige-bg);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--navy-blue);
  margin-bottom: 65px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--beige-card);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.icon-box {
  width: 100px;
  height: 100px;
  background-color: var(--dark-blue);
  color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.icon-box .material-symbols-outlined {
  font-size: 55px;
  display: block;
}

.feature-card h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 15px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card p {
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 45px;
  }
  .section-padding {
    padding: 50px 15px;
  }
}

/*=============== CONFIG SECTION ===============*/
.config-section {
  background-color: var(--navy-blue);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.config-title {
  font-size: 2.5rem;
  color: var(--beige-bg);
  margin-bottom: 6rem;
}

.bg-card {
  background-color: var(--beige-bg);
  border-radius: 15px;
  width: 25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.top-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.text-left-block {
  min-height: 180px;
  min-width: 280px;
  padding: 20px 30px;
}

.num-content {
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--navy-blue);
}

.big-num {
  font-size: 60px;
  font-weight: bold;
  background: var(--navy-blue);
  color: var(--beige-bg);
  padding: 15px 20px;
  border-radius: 10px;
  margin-right: 15px;
}

.num-text {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.1;
  color: var(--navy-blue);
}

.main-card {
  width: 250px;
  height: 250px;
  padding: 0;
  border: 8px solid var(--light-blue);
}

.main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-right-block {
  min-height: 180px;
  min-width: 280px;
  padding: 20px 60px;
}

.text-right-block p {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--navy-blue);
  text-align: left;
  line-height: 1.2;
}

.bottom-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.single-card {
  width: 250px;
  height: 250px;
  padding: 0;
  border: 8px solid var(--light-blue);
}

.single-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .config-section {
    padding: 40px 0;
  }
  .config-title {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .num-text {
    font-size: 1.6rem;
    margin-top: 1.2rem;
    text-align: center;
  }
  .bg-card {
    width: 15rem;
  }
  .top-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 2rem;
  }
  .text-left-block,
  .text-right-block {
    text-align: center;
  }
  .num-content {
    flex-direction: column;
  }
  .num-text {
    font-size: 1.3rem;
  }
  .big-num {
    margin-right: 0;
    font-size: 2rem;
  }
  .bottom-row {
    flex-wrap: wrap;
  }
  .text-right-block p {
    font-size: 1.5rem;
  }
}

/*=============== SOLUTIONS SECTION ===============*/
.solutions-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solutions-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/folder.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.solutions-content {
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: 80px 40px;
  z-index: 2;
  text-align: center;
}

.solutions-title {
  font-size: 2.5rem;
  color: var(--navy-blue);
  margin-bottom: 40px;
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.solution-item {
  background-color: var(--navy-blue);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 20px 30px;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  min-width: 300px;
}

.solution-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.item-number {
  width: 50px;
  height: 50px;
  background-color: var(--beige-bg);
  color: var(--navy-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.item-text {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
}

@media (max-width: 1200px) {
  .solutions-title {
    font-size: 2.2rem;
    text-align: center;
  }
  .solution-item {
    padding: 20px 25px;
  }
}

@media (max-width: 768px) {
  .solutions-section {
    align-items: flex-start;
  }
  .solutions-content {
    padding: 40px 15px;
    text-align: center;
  }
  .solutions-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .item-text {
    font-size: 1.1rem;
  }
  .solution-item {
    font-size: 1.1rem;
  }
}

/*=============== ADVANTAGES SECTION ===============*/
.advantages-section {
  padding: 80px 20px;
  background-color: var(--navy-blue);
}

.advantages-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--beige-bg);
  margin-bottom: 50px;
  font-weight: 700;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.advantage-card {
  background: var(--beige-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
}

.advantage-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.advantage-content {
  padding: 25px;
}

.advantage-content h3 {
  font-size: 1.5rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.advantage-content p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .advantages-section {
    padding: 85px 5px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    justify-items: center;
    align-items: center;
  }

  .advantage-card {
    width: 90%;
    margin: 0 auto;
  }

  .advantages-section h2 {
    font-size: 1.5rem;
  }

  .advantage-img {
    height: 180px;
  }

  .advantage-content {
    padding: 20px;
  }

  .advantage-content h3 {
    font-size: 1.3rem;
  }
}

/*=============== FOOTER ===============*/
.footer__container {
  background-color: var(--dark-blue);
  color: var(--beige-bg);
  padding: 60px 20px 30px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__brand {
  flex: 1;
  min-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--beige-bg);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer__logo-img {
  width: 40px;
  height: auto;
}

.footer__description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(240, 231, 213, 0.8);
  max-width: 350px;
}

.footer__nav {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer__nav-column h3 {
  color: var(--beige-bg);
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer__nav-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav-column li {
  margin-bottom: 10px;
}

.footer__nav-column a {
  color: rgba(240, 231, 213, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer__nav-column a:hover {
  color: var(--beige-bg);
  text-decoration: underline;
}

.footer__divider {
  height: 1px;
  background: rgba(240, 231, 213, 0.2);
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.website__rights {
  color: rgba(240, 231, 213, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.footer__legal-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer__legal-links a {
  color: rgba(240, 231, 213, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer__legal-links a:hover {
  color: var(--beige-bg);
  text-decoration: underline;
}

.footer__legal-links .divider {
  color: rgba(240, 231, 213, 0.3);
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 15px;
}

.social__icon--link svg {
  width: 50px;
  height: 50px;
}

.social__icon--link {
  color: var(--beige-bg);
  transition:
    transform 0.3s,
    color 0.3s;
}

.social__icon--link:hover {
  transform: translateY(-3px);
  color: var(--light-blue);
}

@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
    gap: 30px;
  }

  .footer__nav {
    gap: 30px;
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer__legal {
    align-items: center;
  }

  .footer__legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer__container {
    padding: 40px 15px 20px;
  }

  .footer__logo {
    font-size: 1.2rem;
    justify-content: center;
  }

  .footer__description {
    text-align: center;
    max-width: 100%;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__nav-column {
    text-align: center;
  }
}

/*=============== FOOTER REQUISITES ===============*/
.footer-requisites {
  background-color: var(--navy-blue);
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(240, 231, 213, 0.2);
}

.requisites-text {
  font-size: 0.85rem;
  color: rgba(240, 231, 213, 0.7);
  line-height: 1.6;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(240, 231, 213, 0.9);
  font-weight: 500;
}

@media (max-width: 768px) {
  .requisites-text {
    font-size: 0.7rem;
  }

  .copyright {
    font-size: 0.8rem;
  }
}

/*=============== CONTACT SECTION (INLINE FORM) ===============*/
.contact-section {
  background-color: var(--beige-card);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 600px;
  width: 100%;
  background: var(--beige-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-header h2 {
  font-size: 1.8rem;
  color: var(--navy-blue);
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-header p {
  color: var(--navy-blue);
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 400;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 0;
}

.input-group {
  position: relative;
  text-align: left;
  width: 100%;
}

.inline-contact-form input[type="text"],
.inline-contact-form input[type="tel"] {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--light-blue);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-family: inherit;
  background: #fff;
}

.inline-contact-form input:focus {
  border-color: var(--navy-blue);
  box-shadow: 0 0 10px rgba(26, 31, 60, 0.15);
}

.inline-contact-form input.error {
  border-color: var(--error-red) !important;
  background-color: #fff1f0;
}

.error-msg {
  display: block;
  color: var(--error-red);
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: left;
}

.form-disclaimer-inline {
  font-size: 0.8rem;
  color: #666666;
  margin: 20px 0 15px;
  text-align: center;
  line-height: 1.4;
}

.form-disclaimer-inline a {
  color: var(--navy-blue);
  text-decoration: underline;
  font-weight: 500;
}

.cta-button {
  width: 100%;
  background-color: var(--navy-blue);
  color: var(--beige-bg);
  padding: 18px;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--light-blue);
}

.form-note {
  margin-top: 15px;
  font-size: 0.75rem;
  color: #888;
  text-align: center;
}

.form-note a {
  margin-top: 15px;
  font-size: 0.75rem;
  color: rgb(94, 94, 102);
  text-align: center;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 30px 20px;
  }
  .contact-header h2 {
    font-size: 1.5rem;
  }
  .contact-header p {
    font-size: 1rem;
  }
}

.upbtn {
  z-index: 9999;
  width: 205px;
  height: 205px;
  color: #fff;
  position: fixed;
  bottom: -205px;
  right: -205px;
  cursor: pointer;
  transform: rotate(-45deg);
  border: 3px solid var(--beige-bg);
  transition: all 0.7s ease-in-out;
  background-color: var(--navy-blue);
}
.upbtn:before {
  content: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDI4NC45MjkgMjg0LjkyOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMjg0LjkyOSAyODQuOTI5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTE3LjEyOCwxNjcuODcyYzEuOTAzLDEuOTAyLDQuMDkzLDIuODU0LDYuNTY3LDIuODU0YzIuNDc0LDAsNC42NjQtMC45NTIsNi41NjctMi44NTRMMTQyLjQ2Niw1NS42NjZsMTEyLjIwOCwxMTIuMjA2ICAgIGMxLjkwMiwxLjkwMiw0LjA5MywyLjg1NCw2LjU2MywyLjg1NGMyLjQ3OCwwLDQuNjY4LTAuOTUyLDYuNTctMi44NTRsMTQuMjc0LTE0LjI3N2MxLjkwMi0xLjkwMiwyLjg0Ny00LjA5MywyLjg0Ny02LjU2MyAgICBjMC0yLjQ3NS0wLjk1MS00LjY2NS0yLjg0Ny02LjU2N0wxNDkuMDI4LDcuNDE5Yy0xLjkwMS0xLjkwNi00LjA4OC0yLjg1My02LjU2Mi0yLjg1M3MtNC42NjUsMC45NS02LjU2NywyLjg1M0wyLjg1NiwxNDAuNDY0ICAgIEMwLjk1LDE0Mi4zNjcsMCwxNDQuNTU0LDAsMTQ3LjAzNGMwLDIuNDY4LDAuOTUzLDQuNjU4LDIuODU2LDYuNTYxTDE3LjEyOCwxNjcuODcyeiIgZmlsbD0iI0ZGRkZGRiIvPgoJCTxwYXRoIGQ9Ik0xNDkuMDI4LDExNy4wNTVjLTEuOTAxLTEuOTA2LTQuMDg4LTIuODU2LTYuNTYyLTIuODU2cy00LjY2NSwwLjk1My02LjU2NywyLjg1NkwyLjg1NiwyNTAuMSAgICBDMC45NSwyNTIuMDAzLDAsMjU0LjE5MiwwLDI1Ni42N2MwLDIuNDcyLDAuOTUzLDQuNjYxLDIuODU2LDYuNTY0bDE0LjI3MiwxNC4yNzZjMS45MDMsMS45MDMsNC4wOTMsMi44NDgsNi41NjcsMi44NDggICAgYzIuNDc0LDAsNC42NjQtMC45NTEsNi41NjctMi44NDhsMTEyLjIwNC0xMTIuMjA5bDExMi4yMDgsMTEyLjIwOWMxLjkwMiwxLjkwMyw0LjA5MywyLjg1Miw2LjU2MywyLjg1MiAgICBjMi40NzgsMCw0LjY2OC0wLjk0OCw2LjU3LTIuODUybDE0LjI3NC0xNC4yNzZjMS45MDItMS45MDMsMi44NDctNC4wOTMsMi44NDctNi41NjRjMC0yLjQ3OC0wLjk1MS00LjY2Ny0yLjg0Ny02LjU3ICAgIEwxNDkuMDI4LDExNy4wNTV6IiBmaWxsPSIjRkZGRkZGIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==);
  transform: rotate(45deg);
  position: relative;
  display: block;
  left: 60px;
  top: 88px;
}
.upbtn:after {
  content: "ВВЕРХ";
  transform: rotate(-45deg);
  position: relative;
  display: block;
  font-weight: bold;
  font-size: 13px;
  left: -12px;
  top: 14px;
}
.upbtn:hover {
  transform: rotate(45deg);
}

/*=============== CONTACT FORM MODAL ===============*/
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  justify-content: center;
  align-items: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  background-color: var(--beige-bg);
  padding: 40px 60px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h4 {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy-blue);
  margin-bottom: 30px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  color: var(--navy-blue);
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--error-red);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 1rem;
  text-align: center;
}

.form-group {
  position: relative;
  margin-bottom: 5px;
}

.contact-form input {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 0;
  border: 2px solid var(--light-blue);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form input:focus {
  border-color: var(--navy-blue);
  box-shadow: 0 0 10px rgba(26, 31, 60, 0.2);
}

.contact-form input::placeholder {
  color: #666;
}

.error-message {
  display: block;
  color: var(--error-red);
  font-size: 0.85rem;
  margin-top: 6px;
  min-height: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form input.error {
  border-color: var(--error-red);
  background-color: #fff1f0;
}

.contact-form input.success {
  border-color: var(--success-green);
}

.submit-btn {
  width: 100%;
  background-color: var(--navy-blue);
  color: var(--beige-bg);
  padding: 18px;
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--light-blue);
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #666666;
  margin-bottom: 15px;
  text-align: center;
  line-height: 1.4;
}

.form-disclaimer a {
  color: var(--navy-blue);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.form-disclaimer a:hover {
  color: var(--light-blue);
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-modal.show {
  display: flex;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
    width: 95%;
  }
  .contact-form input {
    padding: 12px 15px;
  }
  .modal-close {
    font-size: 2rem;
    top: 10px;
    right: 15px;
  }
}

.slideshow {
  width: 100%;
  height: 660px;
  position: relative;
  overflow: hidden;
  background: #000;
}
.slideshow-item {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  animation: slideanim 50s infinite;
  pointer-events: none;
}
.slideshow-item:nth-child(1),
.slideshow-item:nth-child(1) img {
  animation-delay: 0;
}
.slideshow-item:nth-child(2),
.slideshow-item:nth-child(2) img {
  animation-delay: 10s;
}
.slideshow-item:nth-child(3),
.slideshow-item:nth-child(3) img {
  animation-delay: 20s;
}
.slideshow-item:nth-child(4),
.slideshow-item:nth-child(4) img {
  animation-delay: 30s;
}
.slideshow-item:nth-child(5),
.slideshow-item:nth-child(5) img {
  animation-delay: 40s;
}
.slideshow-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoom 50s infinite;
}
.slideshow-item-text {
  max-width: 50%;
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px 30px;
  font-family: Verdana, sans-serif;
}
.slideshow-item-text h5 {
  font-size: 22px;
  margin: 0 0 10px 0;
  color: #bfe2ff;
}
.slideshow-item-text p {
  font-size: 15px;
  margin-bottom: 10px;
}
@keyframes slideanim {
  10% {
    opacity: 1;
    pointer-events: auto;
  }
  20% {
    opacity: 1;
    pointer-events: auto;
  }
  30% {
    opacity: 0;
  }
}
@keyframes zoom {
  40% {
    transform: scale(1.3);
  }
}
@media screen and (max-width: 1100px) {
  .slideshow-item-text {
    max-width: 75%;
  }
}
@media screen and (max-width: 456px) {
  .slideshow-item-text {
    bottom: 0;
    left: 0;
    max-width: 100%;
  }
  .slideshow-item-text h5 {
    font-size: 18px;
  }
  .slideshow-item-text p {
    font-size: 13px;
  }
}

/* ============================================
   ГАЛЕРЕЯ РАБОТ — стиль с overlay на фото
   ============================================ */
.gallery-section {
  background: linear-gradient(180deg, var(--beige-bg) 0%, #e8dcc4 100%);
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(52, 63, 103, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-badge {
  display: inline-block;
  background: var(--navy-blue);
  color: var(--beige-bg);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.gallery-title {
  font-size: 3rem;
  color: var(--navy-blue);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
}

.gallery-subtitle {
  font-size: 1.15rem;
  color: var(--text-dark);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.85;
}

/* Фильтры */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--white);
  color: var(--navy-blue);
  border: 2px solid transparent;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(26, 31, 60, 0.08);
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 31, 60, 0.15);
  border-color: var(--light-blue);
}

.filter-btn.active {
  background: var(--navy-blue);
  color: var(--beige-bg);
  box-shadow: 0 6px 20px rgba(26, 31, 60, 0.3);
}

/* Сетка галереи */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
  margin-bottom: 60px;
}

/* Карточка работы */
.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-blue);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  animation: galleryFadeIn 0.6s ease backwards;
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Overlay — ВСЕГДА виден на мобильных, при наведении на ПК */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 31, 60, 0.95) 0%,
    rgba(26, 31, 60, 0.7) 40%,
    rgba(26, 31, 60, 0.3) 70%,
    rgba(26, 31, 60, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 1; /* ← ВСЕГДА виден */
  transition: opacity 0.4s ease;
}

.gallery-overlay-content {
  transform: translateY(0);
  transition: transform 0.4s ease;
  color: var(--white);
}

.gallery-item:hover .gallery-overlay-content {
  transform: translateY(-5px);
}

.gallery-category {
  display: inline-block;
  background: var(--beige-bg);
  color: var(--navy-blue);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.gallery-overlay-content h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.gallery-overlay-content p {
  font-size: 0.95rem;
  color: rgba(240, 231, 213, 0.9);
  margin: 0;
  font-weight: 500;
}

/* Кнопка зума */
.gallery-zoom {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--beige-bg);
  color: var(--navy-blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; /* ← ВСЕГДА видна */
  transform: scale(1);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-zoom:hover {
  background: var(--white);
  transform: scale(1.1);
}

.gallery-zoom .material-symbols-outlined {
  font-size: 24px;
}

@keyframes galleryFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.gallery-item.hiding {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* CTA блок */
.gallery-cta {
  background: var(--navy-blue);
  border-radius: 24px;
  padding: 45px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 20px 60px rgba(26, 31, 60, 0.25);
  position: relative;
  overflow: hidden;
}

.gallery-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(240, 231, 213, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.gallery-cta-content {
  position: relative;
  z-index: 1;
}

.gallery-cta-content h3 {
  font-size: 1.8rem;
  color: var(--beige-bg);
  margin-bottom: 8px;
  font-weight: 700;
}

.gallery-cta-content p {
  font-size: 1.05rem;
  color: rgba(240, 231, 213, 0.8);
  margin: 0;
}

.gallery-cta-btn {
  position: relative;
  z-index: 1;
  background: var(--beige-bg);
  color: var(--navy-blue);
  border: none;
  padding: 18px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: var(--white);
}

.gallery-cta-btn .material-symbols-outlined {
  transition: transform 0.3s ease;
}

.gallery-cta-btn:hover .material-symbols-outlined {
  transform: translateX(5px);
}

/* ========== LIGHTBOX ========== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-lightbox.active {
  display: flex;
  animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 35, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  background: var(--beige-bg);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lightboxZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightboxZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-image-wrap {
  background: var(--navy-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  max-height: 90vh;
  overflow: hidden;
}

.lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-info {
  padding: 45px 40px;
  padding-right: 80px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  max-height: 90vh;
}

.lightbox-category {
  display: inline-block;
  background: var(--navy-blue);
  color: var(--beige-bg);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.lightbox-title {
  font-size: 1.8rem;
  color: var(--navy-blue);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.lightbox-desc {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.lightbox-params {
  background: var(--beige-card);
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--navy-blue);
  font-weight: 600;
  border-left: 4px solid var(--navy-blue);
  margin: 0;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: var(--beige-bg);
  color: var(--navy-blue);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--white);
  transform: scale(1.1);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-close .material-symbols-outlined {
  font-size: 26px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav .material-symbols-outlined {
  font-size: 32px;
}

/* ========== АДАПТИВ ========== */

/* Планшеты */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
  }
  .gallery-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .gallery-section {
    padding: 70px 15px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
    gap: 15px;
  }
  .lightbox-content {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
  .lightbox-image-wrap {
    max-height: 45vh;
    min-height: 250px;
  }
  .lightbox-info {
    padding: 25px;
    padding-right: 70px;
    max-height: 50vh;
  }
  .lightbox-title {
    font-size: 1.4rem;
  }
  .gallery-cta {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
  }
}

/* Мобильные */
@media (max-width: 640px) {
  .gallery-section {
    padding: 50px 12px;
  }
  .gallery-title {
    font-size: 1.9rem;
  }
  .gallery-subtitle {
    font-size: 1rem;
  }
  .gallery-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  .gallery-filters {
    gap: 8px;
    margin-bottom: 30px;
  }
  .filter-btn {
    padding: 9px 18px;
    font-size: 0.85rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
    gap: 12px;
  }
  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item--large {
    grid-row: span 2;
  }
  .gallery-item--tall {
    grid-row: span 2;
  }
  /* На мобильных overlay всегда виден */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(26, 31, 60, 0.9) 0%,
      rgba(26, 31, 60, 0.5) 50%,
      rgba(26, 31, 60, 0.1) 100%
    );
    padding: 20px;
  }
  .gallery-overlay-content {
    transform: translateY(0);
  }
  .gallery-zoom {
    opacity: 1;
    transform: scale(1);
    width: 42px;
    height: 42px;
    top: 15px;
    right: 15px;
  }
  .gallery-zoom .material-symbols-outlined {
    font-size: 22px;
  }
  .gallery-overlay-content h3 {
    font-size: 1.2rem;
  }
  .gallery-overlay-content p {
    font-size: 0.85rem;
  }
  .gallery-cta {
    padding: 30px 20px;
    border-radius: 18px;
  }
  .gallery-cta-content h3 {
    font-size: 1.5rem;
  }
  .gallery-cta-content p {
    font-size: 0.9rem;
  }
  .gallery-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.95rem;
  }
  .lightbox-close,
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-nav .material-symbols-outlined {
    font-size: 26px;
  }
  .lightbox-info {
    padding: 20px;
    padding-right: 60px;
  }
  .lightbox-title {
    font-size: 1.2rem;
  }
  .lightbox-desc {
    font-size: 0.9rem;
  }
  .lightbox-params {
    font-size: 0.85rem;
    padding: 12px 15px;
  }
}

/* Очень маленькие экраны (iPhone SE) */
@media (max-width: 375px) {
  .gallery-grid {
    grid-auto-rows: 300px;
  }
  .gallery-title {
    font-size: 1.6rem;
  }
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .gallery-overlay {
    padding: 15px;
  }
  .gallery-overlay-content h3 {
    font-size: 1.1rem;
  }
  .gallery-overlay-content p {
    font-size: 0.8rem;
  }
  .gallery-zoom {
    width: 38px;
    height: 38px;
    top: 12px;
    right: 12px;
  }
  .gallery-zoom .material-symbols-outlined {
    font-size: 20px;
  }
}

/* ============================================
   ВИДЕО-ОБЗОРЫ
   ============================================ */
.video-section {
  background: var(--beige-bg);
  padding: 100px 20px;
}

.video-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-header {
  text-align: center;
  margin-bottom: 60px;
}

.video-badge {
  display: inline-block;
  background: var(--navy-blue);
  color: var(--beige-bg);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.video-title {
  font-size: 3rem;
  color: var(--navy-blue);
  margin-bottom: 15px;
  font-weight: 800;
}

.video-subtitle {
  font-size: 1.15rem;
  color: var(--text-dark);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.85;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-item {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.video-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-item:hover .video-thumbnail img {
  transform: scale(1.08);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(26, 31, 60, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.video-play-btn .material-symbols-outlined {
  font-size: 36px;
  color: var(--beige-bg);
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.video-item:hover .video-play-btn {
  background: var(--navy-blue);
  transform: translate(-50%, -50%) scale(1.15);
}

.video-item:hover .video-play-btn .material-symbols-outlined {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-info {
  padding: 22px;
}

.video-info h3 {
  font-size: 1.2rem;
  color: var(--navy-blue);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.video-info p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-lightbox.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.video-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 35, 0.95);
  backdrop-filter: blur(8px);
}

.video-lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  z-index: 10;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 20;
}

.video-lightbox-close:hover {
  transform: scale(1.1);
  color: var(--beige-bg);
}

@media (max-width: 992px) {
  .video-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .video-title {
    font-size: 1.9rem;
  }
  .video-subtitle {
    font-size: 1rem;
  }
  .video-play-btn {
    width: 60px;
    height: 60px;
  }
  .video-play-btn .material-symbols-outlined {
    font-size: 30px;
  }
  .video-info h3 {
    font-size: 1.1rem;
  }
  .video-info p {
    font-size: 0.9rem;
  }
  .video-lightbox-close {
    top: -45px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .video-section {
    padding: 60px 15px;
  }
  .video-header {
    margin-bottom: 40px;
  }
}

/*=============== КАЛЬКУЛЯТОР СЕТОК ===============*/
.calc-section {
  background: var(--beige-bg);
  padding: 90px 20px;
}
.calc-container {
  max-width: 900px;
  margin: 0 auto;
}
.calc-header {
  text-align: center;
  margin-bottom: 45px;
}
.calc-badge {
  display: inline-block;
  background: var(--navy-blue);
  color: var(--beige-bg);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.calc-title {
  font-size: 2.5rem;
  color: var(--navy-blue);
  margin-bottom: 12px;
  font-weight: 800;
}
.calc-subtitle {
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.85;
}

.calc-box {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 40px;
}
.calc-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.calc-dot {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(33, 40, 66, 0.15);
}
.calc-dot.active {
  background: var(--navy-blue);
}
.calc-dot.done {
  background: var(--light-blue);
}

.calc-step {
  display: none;
  animation: fadeIn 0.4s ease;
}
.calc-step.active {
  display: block;
}
.calc-step-title {
  text-align: center;
  color: var(--navy-blue);
  font-size: 1.4rem;
  margin-bottom: 25px;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.calc-option {
  background: var(--beige-bg);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 18px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-blue);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.calc-option:hover {
  transform: translateY(-2px);
  border-color: var(--light-blue);
}
.calc-option.selected {
  background: var(--dark-blue);
  color: var(--beige-bg);
  border-color: var(--dark-blue);
  box-shadow: 0 8px 20px rgba(33, 40, 66, 0.25);
}

.calc-sizes {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.size-field {
  display: flex;
  flex-direction: column;
  width: 200px;
}
.size-field label {
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.size-field input {
  padding: 14px 16px;
  border: 2px solid var(--light-blue);
  border-radius: 10px;
  font-size: 1.1rem;
  font-family: inherit;
  outline: none;
  background: #fff;
}
.size-field input:focus {
  border-color: var(--navy-blue);
}
.size-field input.error {
  border-color: var(--error-red);
  background: #fff1f0;
}
.size-hint {
  color: #8a8a8a;
  font-size: 0.78rem;
  margin-top: 6px;
}
.size-x {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--light-blue);
  padding-top: 38px;
}

.calc-area {
  text-align: center;
  margin-top: 22px;
  color: var(--text-dark);
}
.calc-area b {
  color: var(--navy-blue);
}

.calc-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 12px;
}
.calc-btn {
  border: none;
  border-radius: 10px;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s ease;
}
.calc-btn.next,
.calc-btn.order {
  background: var(--navy-blue);
  color: var(--beige-bg);
}
.calc-btn.next:hover,
.calc-btn.order:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}
.calc-btn.back {
  background: transparent;
  color: var(--navy-blue);
  border: 2px solid rgba(33, 40, 66, 0.25);
}
.calc-btn.back:hover {
  border-color: var(--navy-blue);
}

.calc-result {
  text-align: center;
}
.calc-result-label {
  font-size: 1rem;
  color: var(--text-dark);
}
.calc-result-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy-blue);
  margin: 12px 0 18px;
}
.calc-result-note {
  color: var(--text-dark);
  font-size: 0.95rem;
}
.calc-result-note.small {
  font-size: 0.8rem;
  color: #8a8a8a;
  margin-top: 8px;
}
.calc-result-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}

.calc-error {
  color: var(--error-red);
  text-align: center;
  margin-top: 16px;
  min-height: 20px;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .calc-box {
    padding: 26px 18px;
  }
  .calc-title {
    font-size: 1.7rem;
  }
  .calc-result-price {
    font-size: 2.2rem;
  }
  .size-x {
    display: none;
  }
  .size-field {
    width: 100%;
  }
}

/*=============== ТЕЛЕФОН В ШАПКЕ ===============*/
.navbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--beige-bg);
  color: var(--dark-blue);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
  text-decoration: none;
  animation: phonePulse 2.2s infinite;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.navbar__phone svg {
  width: 18px;
  height: 18px;
  fill: var(--dark-blue);
  animation: phoneRing 3s ease-in-out infinite;
}
.navbar__phone:hover {
  transform: translateY(-2px) scale(1.04);
  background: #ffffff;
}
@keyframes phonePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 231, 213, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(240, 231, 213, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 231, 213, 0);
  }
}
@keyframes phoneRing {
  0%,
  55%,
  100% {
    transform: rotate(0);
  }
  5% {
    transform: rotate(-14deg);
  }
  15% {
    transform: rotate(12deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  35% {
    transform: rotate(8deg);
  }
  45% {
    transform: rotate(0);
  }
}

/* Круглая трубка на мобильных */
.navbar__phone-mobile {
  display: none;
}

@media screen and (max-width: 960px) {
  .navbar__phone-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--beige-bg);
    margin-left: auto;
    margin-right: 56px; /* не мешает бургеру */
    flex-shrink: 0;
    animation: phonePulse 2.2s infinite;
  }
  .navbar__phone-mobile svg {
    width: 14px;
    height: 14px;
    fill: var(--dark-blue);
    animation: phoneRing 3s ease-in-out infinite;
  }
  /* Большой телефон внутри выдвижного меню */
  .navbar__item--phone {
    width: 80%;
    margin-top: 24px;
  }
  .navbar__item--phone .navbar__phone {
    width: 100%;
    justify-content: center;
    font-size: 1.25rem;
    padding: 16px;
  }
}

@media screen and (max-width: 400px) {
  .navbar__phone-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--beige-bg);
    margin-left: auto;
    margin-right: 56px; /* не мешает бургеру */
    flex-shrink: 0;
    animation: phonePulse 2.2s infinite;
  }
  .navbar__phone-mobile svg {
    width: 14px;
    height: 14px;
    fill: var(--dark-blue);
    animation: phoneRing 3s ease-in-out infinite;
  }
  /* Большой телефон внутри выдвижного меню */
  .navbar__item--phone {
    width: 80%;
    margin-top: 24px;
  }
  .navbar__item--phone .navbar__phone {
    width: 100%;
    justify-content: center;
    font-size: 1.25rem;
    padding: 16px;
  }
}
