@font-face {
  font-family: "Rubik";
  src: url(../fonts/Rubik-Medium.ttf);
}

@font-face {
  font-family: "RubikDirt";
  src: url(../fonts/RubikDirt-Regular.ttf);
}

@font-face {
  font-family: "RubikDistressed";
  src: url(../fonts/RubikDistressed-Regular.ttf);
}

@font-face {
  font-family: "SourceCodePro";
  src: url(../fonts/SourceCodePro-Medium.ttf);
}

@font-face {
  font-family: "DS-Eraser-Cyr";
  src: url(../fonts/DS-Eraser-Cyr.ttf);
}

:root {
  --red: #f44336;
  --accent: #ff8f00;
  --background: #f8f9fa;

  --yellow: #ffc107;
  --links: #0174b3;
  --green-accept: #198754;

  --sand: #e6d2aa;
  --sand-light: #f5ebd5;
  --sand-dark: #d4b97a;
  --green: #4a7c59;
  /* что за дубляж? */
  --green-lighter: #6d9978;
  --green-light: #6d9978;
  --green-dark: #2d5a3d;
  --beige: #d8c3a5;
  --beige-light: #e8dcc9;
  --beige-dark: #c4ae87;
  --text: #3e3e3e;
  --text-light: #6e6e6e;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-active: 1px 5px 15px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;

  --green-back: #1a3d39;
  --brown: #583521;
  --service1: #4f6c40;
  --service2: #533324;
  --service3: #7e5a3a;
  --service4: #352214;
  --service5: #a38465;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--sand-light);
}

body {
  font-family: SourceCodePro, sans-serif;
  background-color: var(--background);
  /* background-color: rgba(26, 61, 57, 0.7); */
  /* Точка привязки */
  /* scroll-snap-align: start;  */
  /* opacity: 0;
  animation: pageFadeIn 0.6s ease forwards; */
}

/* анимация для всех страниц кроме титульный, чтобы не нагружать */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1,
h2 {
  /* font-size: 5rem; */
  font-family: Rubic, sans-serif;
  /* font-weight: 700; */
  /* line-height: 1.7; */
}

h3 {
  font-size: 1.5rem;
  font-family: cursive;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 3rem;

}

.hide {
  display: none;
}

.visible {
  visibility: visible !important;
}

.mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-content {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-content.show {
  opacity: 1;
}

.btn {
  position: relative;
  display: inline-block;
  color: var(--brown);
  font-weight: 500;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 6px;
  /* border-top-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px; */
  transition: var(--transition);
  border: none;
  cursor: pointer;
  /* box-shadow: 0 4px 15px rgba(255, 143, 0, 0.3); */
  box-shadow: var(--shadow);
  background: linear-gradient(to top left, var(--sand-dark), var(--sand-light));
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-active);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  border-top-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
}

.btn:hover::before {
  background-color: rgba(0, 0, 0, 0);
}

.btn:active::before {
  background-color: rgba(0, 0, 0, 0.4);
}

.btn__start {
  position: fixed;
  z-index: 10;
  right: 5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* border-top: var(--green-back) 1px solid;
  border-left: var(--green-back) 1px solid;
  border-right: var(--green-light) 1px solid;
  border-bottom: var(--green-light) 1px solid; */
  background: url("../images/tech/arrow-top.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--green-back);
  /* transition: background-color .3s linear, filter .3s linear, box-shadow .3s linear opacity .3 linear, transition 1s linear; */
  transition:
    top 1.5s ease-out,
    filter 0.3s linear,
    box-shadow 0.3s linear;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  /* SVG становится маской, вырезая форму */
  /* mask-image: url('../images/arrow.svg');
  mask-repeat: no-repeat;
  mask-size: cover; */
  /* Для поддержки Webkit (Chrome, Safari) */
  /* -webkit-mask-image: url('../images/arrow.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: cover; */
}

.btn__start.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Эффект при прокрутке */
.btn__start.scrolling {
  transform: translateY(-50px);
  transition: transform 0.1s ease;
}

/* Возвращение после остановки */
.btn__start.returning {
  transform: translateY(0);
  transition: transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn__start img {
  width: 100%;
  height: 100%;
}

.btn__start:hover {
  filter: brightness(1.1) sepia(0.5) hue-rotate(45deg);
  box-shadow: var(--shadow-active);
}

@media (max-width: 768px) {
  .container {
    padding: 1rem 2rem;
  }
}

/* .btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
} */

.header {
  position: absolute;
  width: 100%;
  top: 0;
  background-color: rgba(26, 61, 57, 0.9);
  z-index: 11;
}

.header__content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2.4rem;
  color: var(--sand-light);
  font-weight: 700;
  text-decoration: none;
}

/* .header__content a, */
.phone {
  text-decoration: none;
}

.phone:hover {
  text-decoration: underline;
}

.header__logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.header__logo img {
  width: 100%;
  height: 100%;
}

.navigation ul,
.navigation__mobile ul {
  text-transform: uppercase;
  display: flex;
  list-style: none;
  justify-content: space-between;
  gap: 4vw;
}

.navigation ul li,
.navigation__mobile ul li {
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.navigation ul li a,
.navigation__mobile ul li a {
  position: relative;
  transition: var(--transition);
  text-decoration: none;
}

.navigation ul li a::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--sand-dark);
  transition: 0.3s ease-out;
  opacity: 0;
  /* Добавим трансформацию для плавности */
  transform: scaleX(0);
  /* Изначально полоска скрыта */
  transform-origin: center;
  /* Анимация слева направо */
}

.navigation ul li a:hover,
.navigation__mobile ul li a:hover {
  color: var(--sand-dark);
}

.navigation ul li a:hover::before {
  bottom: -5px;
  transform: scaleX(1);
  opacity: 1;
}

.navigation__mobile {
  display: none;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.phone {
  font-size: 2rem;
  white-space: nowrap;
}

.header__contacts button {
  padding: 6px 12px;
}

@media (max-width: 1024px) {
  .navigation ul li {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .navigation {
    display: none;
  }

  .navigation__mobile {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .header__content {
    padding: 1rem 2rem;
  }
}

@media (max-width: 500px) {
  .logo {
    flex-direction: column;
    /* font-size: 2rem; */
  }

  .phone {
    font-size: 1.7rem;
  }
}

/* background: rgba(255, 255, 255, 0.35);
backdrop-filter: blur(10px) contrast(0.9);
-webkit-backdrop-filter: blur(20px) contrast(0.9); */
.intro {
  position: relative;
  height: 100vh;
  background-image: url("../images/udalenie-derevyev-desktop.jpg");
  background-attachment: fixed;
  /* Ключевое свойство для параллакса */
  background-position: 0 30%;
  /* background-position: 0 -30px; */
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,
      0,
      0,
      0.4);
  /* Измените значение для нужной интенсивности */
  z-index: 1;
}

.parallax-section {
  transition: var(--transition);
}

.intro__back-image {
  background-image: url("../images/derevo.png");
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 110%;
  background-size: cover;
  /* background-position: center 0; */
  background-position: 30% 0;
  background-repeat: no-repeat;
  opacity: 1;
  transition: all .2s ease-out;
}

.intro__content {
  position: relative;
  z-index: 3;
  top: calc(50% + 55px);
  left: 10vw;
  transform: translateY(-50%);
  width: max-content;
  color: var(--sand-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 3rem;
}

.intro__content::before {
  content: "";
  position: absolute;
  z-index: -1;
  /* background-color: rgba(255, 255, 255, 0.4);  */
  /* background: rgba(185, 189, 236, 0.35); */

  /* Ледяной эффект */
  /* backdrop-filter: blur(3px) saturate(150%) brightness(1.2) contrast(0.9); */
  /* -webkit-backdrop-filter: blur(20px) saturate(200%) brightness(1.2) contrast(0.9); */
  /* Морозные границы */
  /* border: 2px solid rgba(220, 240, 255, 0.4); */
  width: 100%;
  height: 100%;
  /* Внутреннее свечение */
  /* box-shadow: 
    inset 0 0 30px rgba(173, 216, 230, 0.3),
    inset 0 0 60px rgba(135, 206, 250, 0.2),
    inset 0 0 90px rgba(176, 224, 230, 0.1), */
  /* Внешнее свечение */
  /* 0 0 20px rgba(135, 206, 235, 0.4),
    0 0 40px rgba(176, 224, 230, 0.3),
    0 10px 50px rgba(0, 0, 0, 0.3); */
  /* Эффект кристаллической структуры */
  /* background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 2%, transparent 2.5%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.15) 2%, transparent 2.5%),
    linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(255, 255, 255, 0.1) 49%, rgba(255, 255, 255, 0.1) 51%, transparent 51%); */
  /* background-size: 50px 50px, 50px 50px, 30px 30px, 30px 30px; */
}

.intro__subtitle {
  font-size: 3.5rem;
  padding: 0 1rem;
  font-weight: 100;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 4px;
  font-family: RubikDirt;
  text-align: center;
}

/* RubikDirt
RubikDistressed */
.intro__content em {
  color: var(--accent);
  font-family:
    DS Eraser Cyr,
    cursive;
  font-weight: 800;
  font-size: 2.5rem;
}

.intro__content span {
  /* color: #fff; */
}

.intro__btn {
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .intro__subtitle {
    font-size: 3rem;
    /* font-weight: 800; */
    line-height: 1.4;
    letter-spacing: 2px;
  }

  .intro__subtitle em {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .intro {
    background-attachment: scroll;
    /* Отключаем фиксированный фон */
    background-image: url("../images/udalenie-derevyev-mobile.jpg");
  }

  .intro__content {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 500px) {
  .intro__content {
    width: 100%;
  }

  .intro__subtitle {
    /* font-size: 5.5vw; */
    font-size: 2rem;
  }

  .intro__subtitle em {
    font-size: 1.5rem;
  }
}

section {
  /* min-height: 100vh; */
  /* padding: 100px 0; */
  /* position: relative; */
}

/* О КОМПАНИИ */
.about {
  background: url("../images/background1.jpg");
  /* background-attachment: fixed; */
  background-repeat: repeat;
  /* background:  */
  /* url(images/gemini-var/3.png) no-repeat right center,  */
  /* linear-gradient(to left top, var(--green-dark), var(--green-light)); */
  /* background-size: auto; */
  /* background-size: 45% auto, auto; */
  color: var(--sand-light);
  position: relative;
  padding: 10rem 0;
  box-shadow: 0px -20px 30px -20px #000;
  /* box-shadow: 14px 14px 14px 0px rgba(0, 0, 0, .3); */
}

.about__content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* border: #000 solid 1px; */
  border-radius: 30px;
  box-shadow: 14px 14px 14px 0px rgba(0, 0, 0, 0.3);
  background: linear-gradient(to left top, #0e3e39, #2a7870);
}

.about__image {
  width: 60%;
  max-height: 500px;
  /* max-width: 500px; */
  position: relative;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  overflow: hidden;
  /* background-image: url('../images/gemini-var/3.png'); */
  /* background-image: url('../images/komanda.jpg'); */
  /* box-shadow: 14px 14px 14px 0px rgba(0, 0, 0, .3); */
}

/* .about__image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('images/gemini-var/3.png');
  background-size: cover;
  background-repeat: no-repeat;
} */
.about__image img {
  width: 100%;
  height: auto;
  opacity: 0.8;
  /* opacity: 0; */
}

.about__title {
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 3rem;
}

.about__text {
  padding: 0 3rem;
  width: 40%;
}

.about__title p {
  font-size: 2rem;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
}

.about__text h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about__text p {
  font-size: 1.2rem;
  line-height: 1.4;
}

.about__features {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr); */
  /* gap: 2rem; */
}

.about__feature {
  text-align: center;
  padding: 1.5rem;
  /* background: rgba(255, 255, 255, 0.1); */
  /* backdrop-filter: blur(5px); */
  border-radius: 10px;
}

.about__feature i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--sand-dark);
}

.about__feature h3 {
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .about__content {
    flex-direction: column;
  }

  .about__image {
    /* border-radius: 16px; */
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 0;
  }

  .about__image,
  .about__text {
    width: 100%;
  }

  .about__features {
    display: flex;
    padding: 2rem 0;
  }

  .about__feature {
    width: 33.3333%;
  }
}

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

  .about__title p {
    font-size: 1.4rem;
  }

  .about__text {
    padding: 0;
  }

  .about__features {
    flex-direction: column;
  }

  .about__feature {
    width: 100%;
  }
}

.uslugi {
  /* background: linear-gradient(to top, #0e3e39, #0e3e39); */
  background-image: url("../images/background-dark1.jpg");
  /* background-position: center; */
  /* background-attachment: fixed; */
  /* background-size: cover; */
  background-repeat: repeat;
  width: 100%;
  /* height: 700px; */
}

.uslugi__blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  padding: 10rem 0;
  /* margin: -15rem 0 7rem;  */
  /* margin: 5rem 0; */
  position: relative;
  z-index: 2;
}

.uslugi__block {
  display: flex;
  max-height: 300px;
  background: rgba(255, 255, 255, 0.15);

  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  /* Ледяной эффект */
  /* backdrop-filter: blur(10px)  contrast(0.9); */
  /* saturate(150%)  */
  /* brightness(1.2) */
  /* -webkit-backdrop-filter: blur(10px) contrast(0.9); */
  /* saturate(200%)  */
  /* brightness(1.2) */
  /* Морозные границы */
  /* border: 2px solid rgba(220, 240, 255, 0.4); */
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 14px 14px 14px 0px rgba(0, 0, 0, 0.3);
  /* transition: var(--transition); */
}

.uslugi__block.lazy {
  transform: translateY(0);
  opacity: 1;
}

.uslugi__image img {
  transition: transform 0.5s;
}

.uslugi__block:hover>.uslugi__image img {
  transform: scale(1.1);
}

.uslugi__block:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.uslugi__content {
  padding: 2rem 0 2rem 2rem;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.uslugi__top h2 {
  font-size: 2.2rem;
  color: #e1e1e1;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.uslugi__top p {
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: lowercase;
  letter-spacing: 1px;
}

.uslugi__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.uslugi__bottom span {
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.btn-uslugi {
  border-bottom-left-radius: 0px;
}

.uslugi__image {
  width: 40%;
  margin: 1rem;
  border-radius: 16px;
  overflow: hidden;
}

.uslugi__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .uslugi__blocks {
    grid-template-columns: repeat(1, 1fr);
  }

  .uslugi__content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .uslugi__content {
    min-height: 250px;
  }

  .uslugi__top h2 {
    /* font-size: 1.5rem; */
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .uslugi__top p {
    /* font-size: 1.1rem; */
    line-height: 1.1;
  }

  .uslugi__image {
    margin: 0;
    /* height: 100%; */
    /* min-height: 300px; */
  }

  .uslugi__bottom {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .uslugi__content {
    padding: 1rem;
  }

  .uslugi__top h2 {
    font-size: 1.8rem;
  }
}

/* ПРОЦЕСС РАБОТЫ */
.process {
  position: relative;
  z-index: 1;
  background-color: var(--green-light);
  /* height: 470px; */
  box-shadow:
    0px 20px 20px -20px #000,
    0px -20px 20px -20px #000;
  /* box-shadow: 0px -5px 5px -5px rgba(34, 60, 80, 0.6); */
}

.process h2 {
  font-size: 3rem;
  text-align: center;
  margin-top: 2rem;
}

.process__content {
  background: linear-gradient(to top left, #12302e, #407f6e);
  /* width: 80vw; */
  max-width: 1280px;
  display: flex;
  gap: 2rem;
  margin: 2rem auto 5rem auto;
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 14px 14px 14px 0px rgba(0, 0, 0, 0.3);

  /* transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  will-change: transform; */
}

.process__block {
  text-align: center;
  color: #fff;
}

.process__block i {
  font-size: 2rem;
  /* height: 3rem; */
}

.process__block h3 {
  margin: 1rem 0;
}

.process__block p {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .process__content {
    flex-direction: column;
    /* width: 696px;
    overflow-x: auto; */
  }
}

/* ФУТЕР */
.footer {
  /* background: #183a36;  */
  background:
    url("../images/arboristika-bottom.jpg"),
    linear-gradient(to bottom, #183a36, var(--green-back));
  background-position: 50% 50%;
  color: var(--sand-light);
  padding: 15% 0 1rem;
  text-align: center;
  position: relative;
}

.footer__background-top {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  /* overflow: hidden; */
  background-image: url("../images/arboristika-stars.png");
  background-position: 20% -50px;
  background-repeat: repeat;
  transition: all 1.2s linear
}

.footer__logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.footer__content {
  max-width: 1280px;
  margin: 0 auto 3rem;
  padding: 0 3rem;
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 4;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 1.5rem;
  text-align: left;
}

.footer__nav ul li a {
  cursor: pointer;
  font-size: 2rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer__nav ul li a:hover {
  color: var(--sand-dark);
}

.footer__contacts {
  margin-bottom: 2rem;
  font-size: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__contacts-social{
  /* color: rgba(0, 0, 255, 0.9); */
  font-size: 2rem;
  text-decoration: none;
}
.footer__contacts-social:hover {
  text-decoration: underline;
}

.footer__social-column{
  display: flex;
  gap: 1.5rem;
  justify-content: end;
  position: relative;
  margin-bottom: 1.2rem;
}

.footer__social h3 {
  /* position: absolute;
  top: -4rem; */
  display: flex; justify-content: end;
  font-size: 2rem;
  white-space: nowrap;
  margin-bottom: 1rem;
}
.footer__social a {
  font-size: 1.2rem;
}
.fa-max {
  width: 35px; height: 35px;
  background: url("/images/tech/maxlogos2.png");
  background-size: 35px 35px;
  transition: var(--transition);
}
.fa-max:hover {
  background: url("/images/tech/max.jpg");
  background-size: 35px 35px;
}
.fa-profi {
  width: 35px;
  height: 35px;
  background: url("/images/tech/logo-profi.png");
  background-size: 35px 35px;
  transition: var(--transition);
}

.fa-profi:hover {
  /* transform: scale(1.1); */
  background: url("/images/tech/profi.jpg");
  background-size: 35px 35px;
}

.footer__social a i {
  color: var(--sand-light);
  font-size: 3.5rem;
  transition: var(--transition);
}

/* .fa-vk:hover {
  color: #0077FF;
  transform: scale(1.1); 
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */
.fa-telegram:hover {
  color: #27a7e7;
  /* официальный цвет Telegram */
  /* transform: scale(1.1); */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.copyright {
  font-size: 0.9rem;
  color: var(--sand);
  margin: 2rem auto 0 auto;
  padding: 1rem 3rem 0 3rem;
  border-top: 1px solid rgba(128, 128, 128, 0.2);

  max-width: 1280px;
  position: relative;
  z-index: 2;
}

.copyright span {
  color: var(--sand);
}

@media (min-width: 1600px) {
  .footer {
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .footer {
    background:
      url("../images/arboristika-mobile.jpg"),
      linear-gradient(to bottom, #183a36, var(--green-back));
    background-position: 100% 100%;
    padding-top: 5rem;
  }

  .footer__background-top {
    display: none;
  }

  .footer__logo {
    display: none;
  }

  .footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
  }

  .footer__nav,
  .footer__contacts {
    margin-bottom: 3rem;
  }

  .footer__contacts .logo {
    margin: 1rem 0;
  }

  /* .footer__social {
    margin-top: 3rem;
  } */

  .footer__nav ul {
    margin-left: 1rem;
  }

  .footer__nav ul li a {
    text-align: center;
    font-size: 1.8rem;
  }
  .footer__social-column{
    gap: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .footer__social h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 500px) {
  .footer__contacts-social{
    font-size: 1.5rem;
  }
}
/* МОДАЛЬНЫЕ ОКНА */
/* .modal {
  display: none;
  position: fixed; top: 50%; left: 50%; z-index: 12;
} */
.contact-form {
  /* display: none; */
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 12;
  transform: translate(0, -50%) rotateY(90deg);
  transition: transform 0.5s, opacity .5s;
  padding: 20px;
  background: #f7f6dd;
  width: 100%;
  max-width: 400px;
  font-size: 14px;
  border-radius: 8px;
}

/* .contact-form form {display: flex; flex-direction: column;} */
.contact-form h2 {
  margin-bottom: 12px;
  color: var(--text);
}

.contact-form p {
  margin-bottom: 12px;
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 3rem;
  line-height: 2;
  font-size: 1rem;
  letter-spacing: 1px;
  /* font-family: NotoSans-Regular;  */
  color: var(--text);
  border-radius: 4px;
  border: 1px solid rgba(28, 39, 76, 0.38);
  background-color: rgb(235, 234, 207);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.consent-checkbox input {
  /* margin-top: 3px; */
  width: auto;
}

.modal-close {
  width: 16px;
  height: 16px;
  padding: 1.2rem;
  background-color: var(--beige-light);
  position: absolute;
  z-index: 13;
  top: 24px;
  right: 24px;
  transition: transform 0.3s;
}

.modal-close::before {
  border-bottom-left-radius: 6px;
}

.modal-close span {
  color: red;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.modal-close:hover {
  cursor: pointer;
  transform: translateY(-2px);
}

.modal-close:active {
  transform: translateY(0);
}

/* .contact-form canvas {
  margin-bottom: 1rem;
} */
/* .btn-reset {
  padding: 10px 20px;
} */
.button__contact-form{
  background: none; /* Убирает цвет фона */
  border: none; /* Убирает рамку */
  outline: none; /* Убирает эффект при нажатии */
  box-shadow: none; /* Убирает тень */
  color: #0066cc; 
  display: flex;
  font-size: 1rem;
  cursor: pointer;
}
.button__contact-form:hover {text-decoration: underline;}
.btn-submit {
  padding: 10px 20px;
  background: var(--green-accept);
  color: var(--sand-light);
}

/* Политика конфеденциальности */
.modal-policy {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  /* display: flex; */
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  max-width: 600px;
  width: 90%;
  max-height: 80%;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.modal-header {
  background: #2d5a3f;
  color: white;
  padding: 15px 0 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {font-size: 2rem; padding-right: 5rem;}

.modal-body {
  max-height: 400px;
  font-size: 1.2rem;
  padding: 20px;
  overflow-y: auto;
}
.modal-body > * {
  color: var(--text);
  line-height: 1.5;
}
.modal__close-policy {
  position: absolute;
  right: 2rem;
  top: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .contacts {
    height: 100%;
  }

  .contacts__content {
    gap: 48px;
    padding: 24px 0;
  }

  .contacts__img-img {
    height: 480px;
  }

  .contacts__text {
    padding-right: 10px;
    padding-top: 0;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  color: white;
  animation: slideIn 0.3s ease-out;
  z-index: 1000;
  max-width: 350px;
}

.success {
  background-color: #4caf50;
}

.error {
  background-color: var(--red);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 800px) {
  .contact-form {
    /* display: none; */
    /* transform: translate(-50%, -50%); */
  }
}

@media (max-width: 768px) {
  .contacts {
    margin: 0 0 100px 0;
  }

  .contacts__content {
    gap: 50px;
    flex-direction: column;
  }

  .contacts__img {
    width: 100%;
  }

  .contacts__img-img {
    height: 400px;
  }

  .contacts__text {
    width: 100%;
    padding-right: 0px;
  }

  /* .contacts__call {display: flex; margin-top: 14px;} */
  /* .contacts__phone {display: inline-flex;} */
  .contacts__info {
    margin-top: 8px;
  }

  /* .contacts__qr {margin-top: 20px; } */
}

@media (max-width: 620px) {
  .contacts__img-img {
    height: 352px;
  }

 .modal-header h3 {font-size: 1.3rem; padding-right: 5rem;}
 .modal-body {font-size: 1.1rem;}
}