:root {
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-25: 25px;
  --fs-55: 55px;
  --fs-60: 60px;
  --fs-70: 70px;
  --lh-63: 63px;
  --lh-33_1: 33.1px;
  --fs-60_1: 60px;

  /* Добавленные переменные */
  --fs-17: 17px;
  --fs-31: 31px;
  --fs-45: 45px;
  --fs-50: 50px;

  --lh-25: 25px;
  --lh-33: 33px;
  --lh-53: 53px;
}
html, body {
  height: 100%;
}




main {
  flex: 1 0 auto;
}
/* Alata */
@font-face {
  font-family: 'Alata';
  src: url('/fonts/Alata/Alata-Regular.woff2') format('woff2'),
       url('/fonts/Alata/Alata-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Albert Sans */
@font-face {
  font-family: 'Albert Sans';
  src: url('/fonts/Albert_Sans/AlbertSans-Regular.woff2') format('woff2'),
       url('/fonts/Albert_Sans/AlbertSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Albert Sans';
  src: url('/fonts/Albert_Sans/AlbertSans-Italic.woff2') format('woff2'),
       url('/fonts/Albert_Sans/AlbertSans-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Kantumruy Pro */
@font-face {
  font-family: 'Kantumruy Pro';
  src: url('/fonts/Kantumruy_Pro/KantumruyPro-Regular.woff2') format('woff2'),
       url('/fonts/Kantumruy_Pro/KantumruyPro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kantumruy Pro';
  src: url('/fonts/Kantumruy_Pro/KantumruyPro-Italic.woff2') format('woff2'),
       url('/fonts/Kantumruy_Pro/KantumruyPro-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Karla */
@font-face {
  font-family: 'Karla';
  src: url('/fonts/Karla/Karla-Regular.woff2') format('woff2'),
       url('/fonts/Karla/Karla-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/fonts/Karla/Karla-Italic.woff2') format('woff2'),
       url('/fonts/Karla/Karla-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}



.main-screen {
  transition: opacity 0.5s ease-in-out;
}



/* === Слайдер-фон с плавной сменой изображений === */
.slider-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeCycle 25s infinite;
  transition: opacity 2s ease-in-out;
}

.bg1 { background-image: url('/img/bildmaterial-homepage/slideshow/slide-1.webp'); animation-delay: 0s; }
.bg2 { background-image: url('/img/bildmaterial-homepage/slideshow/slide-2.webp'); animation-delay: 5s; }
.bg3 { background-image: url('/img/bildmaterial-homepage/slideshow/slide-3.webp'); animation-delay: 10s; }
.bg4 { background-image: url('/img/bildmaterial-homepage/slideshow/slide-4.webp'); animation-delay: 15s; }
.bg5 { background-image: url('/img/bildmaterial-homepage/slideshow/slide-5.webp'); animation-delay: 20s; }

@keyframes fadeCycle {
  0%     { opacity: 0; z-index: 1; }
  4%     { opacity: 1; z-index: 1; }
  20%    { opacity: 1; z-index: 1; }
  24%    { opacity: 0; z-index: 0; }
  100%   { opacity: 0; z-index: 0; }
}

/* === Цифры 01–05 === */
.dynamic-number {
  position: relative;
  width: 2ch;
  height: 1em;
  display: inline-block;
  overflow: hidden;
  color: white;
  font-size: var(--fs-25);
  font-family: 'Alata', sans-serif;
  line-height: 1;
  vertical-align: middle;
  text-align: center;
}

.dynamic-number span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  animation: numCycle 25s infinite;
}

.dynamic-number span:nth-child(1) { animation-delay: 0s; }
.dynamic-number span:nth-child(2) { animation-delay: 5s; }
.dynamic-number span:nth-child(3) { animation-delay: 10s; }
.dynamic-number span:nth-child(4) { animation-delay: 15s; }
.dynamic-number span:nth-child(5) { animation-delay: 20s; }

@keyframes numCycle {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; }
  100% { opacity: 0; }
}

/* === Прогресс-бар === */
.progress-bar {
  position: relative;
  width: 200px;
  height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
}

.progress-bar .progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #ffcc00;
  transform: scaleX(0);
  transform-origin: left;
  animation: progressLine 25s linear infinite;
}

@keyframes progressLine {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}






body {
  font-family: "Karla", sans-serif;
  font-weight: 400;
  color: rgb(0, 41, 19);
}

html {
  scroll-behavior: smooth;
}




/* Elements sliding in from the left */
.left {
  opacity: 0;
  transform: translateX(-200px);
  transition: all 0.8s ease-out;
}

/* Elements sliding in from the right */
.right {
  opacity: 0;
  transform: translateX(200px);
  transition: all 0.8s ease-out;
}

/* Final visible state */
.show {
  opacity: 1;
  transform: translateX(0);
}




.a-p-n {
  font-weight: 500;
  cursor: pointer;
}



.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease-in-out;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.scroll-up {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  color: black;
  font-size: 24px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 0;
  /* Начальное состояние - скрыто */
  transform: translateY(100px);
  /* Начальное состояние - смещено */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.scroll-up.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-up img {
  transform: rotate(90deg);
  width: 100%;
}



.wrapper-main {
  width: 100%;
  height: auto;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 10px;
}

header {
  position: relative;
  z-index: 900;
}

.top-info {
  background: #CDF6DA;
  height: 50px;
  display: flex;
  align-items: center;
}

.block-link-nav {
  width: 100%;
  display: flex;
  gap: 30px;
  align-items: center;
}

.block-link-nav a:nth-child(3) {
  margin-left: auto;
}


.tel-header,
.mail-header {
  display: inline-flex;
  align-items: center;
  margin-right: 40px;
  font-family: "Kantumruy Pro", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: var(--fs-14);
  color: #066834;
}

.tel-header::before,
.mail-header::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tel-header::before {
  background-image: url("../icon/nav-info1.svg");
}

.mail-header::before {
  background-image: url("../icon/nav-info.svg");
}

.main-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  align-items: center;
}

.logo {
  max-width: 182px;
  height: auto;
  z-index: 101;
}

.ul-li {
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.li-a {
  width: auto;
}

.a-link-nav {
  font-family: "Kantumruy Pro", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-20);
  color: #ffffff;
  transition: all 0.5s ease;
}

.a-link-nav:hover {
  font-weight: 600;
}

.main-screen {
  top: -145px;
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1.5s ease-in-out;
  overflow: hidden;
}






.main-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.cont-main-screen {
  position: relative;
  z-index: 2;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}



































h1 {
  font-family: "Albert Sans", sans-serif;
  font-size: var(--fs-45);
  font-weight: 400;
  line-height: var(--lh-63);
  font-style: normal;
  width: 675px;
}

h1 span {
  font-size: var(--fs-70);
  font-weight: 600;


}

h2 {
  font-family: "Karla", sans-serif;
  font-size: var(--fs-24);
  font-weight: 300;
  line-height: var(--lh-33_1);
  font-style: normal;
  width: 380px;
}

.btn-ms {
  background-color: #EEA10D;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: var(--fs-16);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 45px;
  width: 140px;
  height: 46px;
  text-align: center;
  font-size: 19px;
}

.btn-ms:hover {
  background-color: #CDF6DA;
  color: #066834;
}

.info-slider {
  position: absolute;
  bottom: 73px;
  left: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 10px;
}

.slider-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
}

.indicator-text {
  font-size: var(--fs-25);
  color: #ffffff;
  font-family: "Alata", sans-serif;
  font-weight: 400;
}

.progress-bar {
  position: relative;
  width: 200px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #ffcc00;
  width: 0;
  transition: width 0.3s ease;
}

.block-m-info {
  display: flex;
  gap: 100px;
}

.icon-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  font-family: Arial, sans-serif;
  text-align: center;
  gap: 5px;
}

.icon-text img {
  width: 100%;
  height: 52px;
  margin-bottom: 10px;
}

.icon-text-number {
  font-size: var(--fs-18);
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
}

.icon-text span p {
  font-size: var(--fs-60);
  font-weight: bold;
  margin: 0;
}

.icon-text p {
  font-size: var(--fs-16);
  margin: 0;
  color: #ffffff;
  font-family: "Kantumruy Pro", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.uber-uns {
  position: relative;
  margin: 100px 50px 0 50px;
  box-sizing: border-box;
  border: 2px solid transparent;
  border-image: linear-gradient(to left,
      rgba(205, 246, 218, 1),
      rgba(71, 174, 119, 0.1)) 2;
}

.gear-button {
  background: #EEA10D;
  margin-top: 30px;
  padding: 26px 26px 26px 26px;
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: center;
}
.gear-button:hover {
  background-color: #CDF6DA;
  color: #066834;
}
.uber-unss {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 50px 0;
}

.foto-sec-tw {
  height: auto;
}

.foto-sec-tw img {
  max-width: 580px;
}

.text-sec-tw {
  gap: 19px;
}

/* Было 50px и 53px */
h3 {
  font-family: "Albert Sans", sans-serif;
  font-size: var(--fs-50);
  font-weight: 500;
  line-height: var(--lh-53);
  color: rgb(6, 104, 52);
}

/* Было 20px и 33.1px */
.text-sec-tw p {
  color: rgb(0, 41, 19);
  font-family: Karla;
  font-size: var(--fs-20);
  font-weight: 300;
  line-height: var(--lh-33_1);
  margin-top: 19px;
}

.unsere-leistungen {
  margin-top: 200px;
}

/* Было 20px и 33.1px */
.unsere-leistungen p {
  color: rgb(80, 136, 106);
  font-family: "Karla", sans-serif;
  font-size: var(--fs-20);
  font-weight: 300;
  line-height: var(--lh-33_1);
  margin: 20px 0 0px 0;
}

/* Было 31px и 33.1px */
h4 {
  font-family: "Albert Sans", sans-serif;
  font-size: var(--fs-31);
  font-weight: 400;
  line-height: var(--lh-33_1);
  color: rgb(6, 104, 52);
}

.block-uns-ls ul li {
  color: rgb(1, 35, 17);
  list-style: disc;
  margin-left: 15px;
  padding: 0 0 1px 0;
  font-size: var(--fs-20);
  /* вместо 20px */
}


.block-uns-ls p {
  font-size: var(--fs-20);
  /* вместо 20px */
  line-height: var(--lh-25);
  /* вместо 25px */
  color: #012311;
}

.bl-block {
  display: flex;
  margin-top: 40px;
  justify-content: space-between;
}

.block-uns-ls {
  padding: 35px 32px 21px 32px;
  border: 2px solid;
  border-image-source: linear-gradient(90deg, #CDF6DA 0%, #47AE77 100%);
  border-image-slice: 1;
  width: 270px;
  transition: border-image-source 0.5s ease;
}

.h3-un {
  width: 200px;
}

.sec-partner {
  margin-top: 200px;
  background-image: url(../img/luxury-fence-design\ 1.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  padding: 71px 0 171px 0;
  position: relative;
  z-index: 0;
}

.sec-partner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); 
  z-index: 1;
}

.sec-partner > * {
  position: relative;
  z-index: 2;
}



/* Было 20px и 33.1px */
.conte-part p {
  color: rgb(255, 255, 255);
  font-family: Karla;
  font-size: var(--fs-20);
  font-weight: 300;
  line-height: var(--lh-33_1);
  max-width: 938px;
  margin-top: 20px;
}

.h3-port {
  color: #ffffff;
  max-width: 278px;
}

.port-logo {
  background: rgb(205, 246, 218);
  display: flex;
  gap: 30px;
  position: absolute;
  bottom: -40px;
  right: 0;
  padding: 20px 200px 20px 30px;
}

.buy-now {
  margin-top: 189px;
}

.bn-title {
  max-width: 818px;
  color: #50886A;
  margin-bottom: 60px;
}

.bn-title h3 {
  max-width: 545px;
  margin-bottom: 20px;
}

.information-services {
  max-width: 1374px;
  margin: 0 auto;
}

.block-in-se {
  display: flex;
  align-items: center;
  border: 2px solid;
  border-image-source: linear-gradient(90deg, #CDF6DA 0%, #47AE77 100%);
  border-image-slice: 1;
  height: 450px;
  margin: 0 0 60px 0;
  padding: 0 30px;
}

.se-foto img {
  max-width: 391px;
}

.se-info {
  margin: 0 30px;
}

/* Было 45px и 63px */
.se-info h5 {
  font-family: "Albert Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--fs-45);
  line-height: var(--lh-63);
  color: #066834;
}

/* Было 20px и 33px */
.se-info p {
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: var(--lh-33);
  color: #002913;
}

.block-in-se2 {
  text-align: right;
}

























/* Секция галереи и контейнеры */
.gallery {
  margin-top: 180px;
}

.title-gallery h3 {
  font-family: "Albert Sans", sans-serif;
  font-size: var(--fs-55);
  font-weight: 400;
  line-height: var(--lh-53);
}

.title-gallery p {
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-size: 20px;
line-height: var(--lh-33_1);
  color: #50886A;
  margin-top: 20px;
}


/* Слайдер и фильтры */
.slider-container {
  max-width: 1170px;
  margin: 40px auto;
  position: relative;
}

.gallery-controls {
  display: flex;
  justify-content: left;
  gap: 20px;
  margin-bottom: 10px;
}

.gallery-btn {
  background: none;
  border: none;
  font-size: var(--fs-25);
  color: #47AE77;
  cursor: pointer;
  transition: border-bottom 0.5s, color 0.5s;
  padding: 10px 15px 10px 0;
}

.gallery-btn:hover {
  border-bottom: 1px solid #066834;
  color: #066834;
}

.gallery-btn.active {
  color: #066834;
  border-bottom: 1px solid #066834;
}

/* Основной слайдер */
.carousel-view {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;

}

.slide {
  flex: 0 0 100%;
  /* отображается один слайд за раз */
  position: relative;
  cursor: pointer;
  height: 500px;
}

.slide img {
    display: block;
    object-fit: cover;
    border-radius: 5px;
    padding: 0 10px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Hover-эффект для слайда */
.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

.hover-overlay button {
  padding: 8px 16px;
  background-color: #47AE77;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}


/* Миниатюры */
.thumbnail-container {
  /* margin-top: 20px; */
  overflow-x: auto;
  padding: 10px 0;
}

.thumbnail-track {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.thumbnail {
  width: 100px;
  height: 57px;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.thumbnail:hover img {
  transform: scale(1.15);
}

/* Модальное окно */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  font-size: 30px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.prev-btn:hover,
.next-btn:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.modal-description {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  max-width: 80%;
  text-align: center;
}















.slider-footer {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.slider-footer h3 {
  color: #fff;
}

.slider-footer>div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 1s ease;
  z-index: 0;
}



.slider-f1{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  align-items: center;
  display: flex;
}


.slider-f1 p{
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: var(--lh-33);
  margin: 20px 0;
  padding-right: 400px;
}

.slider-f1 a{
  display: inline-block;
  justify-content: center;
  padding: 10px 20px;
  color: #ffffff;
  background: #EEA10D;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 17px 0 0 0;
  height: 46px;
  font-size: 19px;

}

.slider-f1 a:hover{
  background-color: #CDF6DA;
  color: #066834;
}

.slider-footer .slider-f1 {
  background-image: url('../img/slider-footer/1219192 1.webp');
}


.fence-repair {
  color: #ffffff;
  position: relative;
  margin: 100px 0 0 0;
}



.contact {
  margin: 0px 0;
  padding: 100px 0;
  position: relative;
}

.border-contact {
  border: 2px solid;
  border-image-source: linear-gradient(90deg, #CDF6DA 0%, #47AE77 100%);
  border-image-slice: 1;
  max-width: 1374px;
  margin: 0 auto;
  padding: 100px 0;
}

/* Было 20px и 33px */
.border-contact p {
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-style: normal;
  padding: 0 300px 0 0;
  font-size: var(--fs-20);
  line-height: var(--lh-33);
  margin: 10px 0 40px 0;
}

/* Было 17px и 33px */
.btn-cont {
  display: flex;
  justify-content: center;
  padding: 10px 20px;
  background: #EEA10D;
  font-family: "Karla", sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 140px;
  height: 46px;
  color: #ffffff;
  font-size: 19px;
}

.btn-cont:hover {
  background-color: #CDF6DA;
  color: #066834;
}

.slider-controls {
  position: absolute;
  bottom: 60px;
  z-index: 22;
  max-width: 1170px;
}



.btn-left {
  margin-right: 40px;
}

.block-info-contact {
  position: absolute;
  bottom: 39px;
  right: 0;
  background: #CDF6DA;
  padding: 26px 100px 26px 46px;
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Было 20px и 33px */
.block-info-contact a {
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: var(--lh-33);
  margin-left: 30px;
  color: #066834;
}

.icon-con {
  position: relative;
  padding-left: 35px;
  display: inline-block;
  text-decoration: none;
}

.icon-con::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.icon-con.navigation::before {
  background-image: url("../icon/Group 39.svg");
}

.icon-con.telephone::before {
  background-image: url("../icon/nav-info1.svg");
}

.icon-con.email::before {
  background-image: url("../icon/nav-info.svg");
}

.footer {
  color: #fff;
}

.footer-top {
  background-color: #1b5e20;
  padding: 20px 0;
}

/* Было 20px и 33px */
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: var(--lh-33);
}

.footer-left {
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  max-height: 64px;
  display: block;
}

.contact-item {
  display: block;
  color: #fff;
  margin-bottom: 10px;
  text-decoration: none;
  width: 350px;
}

.footer-center {
  margin-bottom: 20px;
}

.footer-center ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-center ul li {
  margin-bottom: 8px;
}

.footer-center ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-center ul li a:hover {
  text-decoration: underline;
}

.footer-right {
  margin-bottom: 20px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-right ul li {
  margin-bottom: 8px;
}

.footer-right ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-right ul li a:hover {
  text-decoration: underline;
}

/* Было 20px и 33px */
.footer-bottom {
  background-color: #CDF6DA;
  padding: 10px 0;
  text-align: center;
  color: #000;
  font-family: "Karla", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-20);
  line-height: var(--lh-33);
}

.footer-bottom a {
  color: #000;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.contact-item.phone::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../icon/w-icon-tel.svg') no-repeat center / contain;
  margin-right: 8px;
  vertical-align: middle;
}

.contact-item.email::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../icon/w-icon-email.svg') no-repeat center / contain;
  margin-right: 8px;
  vertical-align: middle;
}

/* ДОБАВЛЕННЫЕ МЕДИАЗАПРОСЫ */

@media (max-width: 1024px) {
  .container {
    max-width: 95%;
    padding: 10px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 20px;
  }

  .ul-li {
    flex-wrap: wrap;
    justify-content: center;
  }

  .block-info-contact {
    position: static;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .block-info-contact a {
    margin-left: 0;
  }

  .bl-block {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .block-uns-ls {
    margin-bottom: 20px;
  }

  .slider-footer {
    height: auto;
    min-height: 700px;
  }

  .slider-f1,
  .slider-f2 {
    background-size: cover;
    height: auto;
    min-height: 700px;
  }

  .slider-f1 p,
  .slider-f2 p {
    padding-right: 0;
  }
}


/* БУРГЕР-КНОПКА (показывается при ширине экрана < 998px) */
.burger-btn {
  display: none;
  width: 30px;
  cursor: pointer;
}

.burger-btn span {
  display: block;
  height: 3px;
  background: #ffffff;
  /* цвет полосок */
  margin-bottom: 5px;
  transition: 0.3s;
}

/* Анимация бургер-кнопки при открытом меню */
.burger-btn.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: #000;
}

.burger-btn.open span:nth-child(2) {
  opacity: 0;
}

.burger-btn.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: #000;
}

/* ОВЕРЛЕЙ (по умолчанию скрыт) */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-100%);
  /* уезжает за верх экрана */
  transition: transform 0.4s ease;
  background: linear-gradient(to bottom, #3d574cab, #CDF6DA 30%);

  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 40px;
  overflow-y: auto;
  /* если ссылок будет много */
}


.menu-overlay.active {
  transform: translateY(0);
}


.menu-overlay .nav-ul {
  margin-top: 70px;
}

.menu-overlay .ul-li {
  display: block;
}

.menu-overlay .ul-li li {
  list-style: none;
  margin: 15px 0;
  text-align: right;
}

/* Было 20px */
.menu-overlay .ul-li li a {
  color: #000;
  font-size: var(--fs-20);
  text-decoration: none;
  transition: color 0.3s;
}

.menu-overlay .ul-li li a:hover {
  color: #47AE77;
}

/* Контакты внутри оверлея */
.overlay-contacts {
  margin-top: 30px;
  text-align: right;
}

/* Было 16px */
.overlay-contacts a {
  display: block;
  margin: 10px 0;
  color: #066834;
  font-size: var(--fs-16);
  text-decoration: none;
}

.overlay-contacts a:hover {
  color: #47AE77;
}



/* ===== МЕДИАЗАПРОС ===== */
@media (max-width: 998px) {
  header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }

  .scrolled {
    background: #CDF6DA;
  }

  .hide-header {
    transform: translateY(-100%);
  }

  .scrolled .main-nav .burger-btn span {
    background: #000;
  }


  .scrolled .main-nav {
    margin: 0 auto;
    padding: 10px;
  }

  .main-screen {
    margin-top: 145px;
  }

  /* Показываем бургер */
  .burger-btn {
    display: block;
    z-index: 101;

  }

  .block-m-info {
    gap: 50px;
  }

  /* Скрываем старое меню (если есть) */
  .main-nav .nav-ul {
    display: none;
  }

  .top-info {
    display: none;
  }

  .se-foto img {
    max-width: 292px;
  }

  .block-in-se {
    height: 289px;
    margin: 0 0 97px 0;
  }

  :root {
    /* FONT-SIZE */
    --fs-14: 12.6px;
    /* 14 * 0.9 */
    --fs-16: 14.4px;
    /* 16 * 0.9 */
    --fs-17: 15.3px;
    /* 17 * 0.9 */
    --fs-18: 16.2px;
    /* 18 * 0.9 */
    --fs-20: 18px;
    /* 20 * 0.9 */
    --fs-24: 21.6px;
    /* 24 * 0.9 */
    --fs-25: 22.5px;
    /* 25 * 0.9 */
    --fs-31: 27.9px;
    /* 31 * 0.9 */
    --fs-45: 40.5px;
    /* 45 * 0.9 */
    --fs-50: 45px;
    /* 50 * 0.9 */
    --fs-55: 49.5px;
    /* 55 * 0.9 */
    --fs-60: 54px;
    /* 60 * 0.9 */
    --fs-70: 60px;

    /* LINE-HEIGHT */
    --lh-25: 22.5px;
    /* 25 * 0.9 */
    --lh-33: 29.7px;
    /* 33 * 0.9 */
    --lh-33_1: 29.8px;
    /* 33.1 * 0.9 ≈ 29.8px */
    --lh-53: 47.7px;
    /* 53 * 0.9 */
    --lh-63: 56.7px;
    /* 63 * 0.9 */
  }


  .progress-bar {
    width: 150px;
  }

}

@media (max-width: 789px) {
  .port-logo img {
    width: 76px;
  }

  .port-logo a img {
    width: 76px;
  }

  .port-logo a {
    width: 76px;
  }

  .port-logo {
    padding: 20px 42px 20px 30px;
  }
}

.port-logo {
  white-space: nowrap;
  overflow: hidden;
  display: flex;
}

.dis-bl-no {
  display: none;
}

.dis-bl-block {
  display: flex;
}
@media (max-width: 1100px) {
  .uber-unss {
    flex-direction: column;
  }

}
@media (max-width: 926px) {

  .text-sec-tw {
    background: #ffffffd6;
    padding: 20px 5px;
}
}
@media (max-width: 768px) {

  section {
    background: #fff;
  }

  .slide img {

    margin: 0 auto;
    cursor: zoom-in;

  }

  .slider-controls {
    left: 10px;
  }

  .container {
    padding-left: 0;
    padding-right: 0;
  }

  .block-info-contact {
    padding: 26px 0;
  }

  .block-info-contact {
    justify-content: end;
    padding-right: 10px;
  }

  .h1 {
    width: 100%;
  }

  .h2 {
    width: 100%;
  }

  .slider-indicator {
    align-items: end;
  }

  .block-m-info {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .icon-text img {
    max-width: 40px;
  }

  .uber-uns {
    margin: 10px 0 0 0;
    border: none;
  }



  .block-in-se {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .se-foto img {
    max-width: 100%;
  }

  .gallery-controls {
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0;
    flex-wrap: wrap;
  }

  .gallery-btn {
    margin: 0 0 0 0;
  }

  .gallery-btn:hover {
    border-bottom: none;
    margin: 0 0 0 0;
  }

  .slide {
    width: 160px;
    height: 240px;
    margin-right: 15px;
  }

  .buy-now {
    margin-top: 100px;
  }

  .border-contact {
    padding: 50px 0;
  }

  .border-contact p {
    padding-right: 0;
  }

  .contact {
    margin: 100px 0;
  }


  .footer-left,
  .footer-center,
  .footer-right {
    margin-bottom: 20px;
  }


  

  .unsere-leistungen {
    margin-top: 100px;
  }

  .sec-partner {
        margin: 100px 0 160px 0;
    padding: 71px 0 83px 0;
    background-attachment: revert;
    
  }


  .dis-bl-no {
    display: flex;
  }

  .dis-bl-block {
    display: none;
  }

  .se-info {
    background: #ffffffd6;
    text-align: left;
  }

  .block-in-se {
    border: none;
  }

  .gallery {
    margin-top: 100px;
  }
}

@media (max-width: 695px) {
  .block-info-contact {
    flex-direction: column;
    align-items: end;
  }

  .contact {
    margin: 0 0
  }
}


@media (max-width: 562px) {

  :root {
    /* FONT-SIZE */
    --fs-14: 9.8px;
    /* 14 * 0.7 */
    --fs-16: 16px;
    /* 16 * 0.7 */
    --fs-17: 16px;
    /* 17 * 0.7 */
    --fs-18: 12.6px;
    /* 18 * 0.7 */
    --fs-20: 14px;
    /* 20 * 0.7 */
    --fs-24: 16.8px;
    /* 24 * 0.7 */
    --fs-25: 17.5px;
    /* 25 * 0.7 */
    --fs-31: 21.7px;
    /* 31 * 0.7 */
    --fs-45: 31.5px;
    /* 45 * 0.7 */
    --fs-50: 35px;
    /* 50 * 0.7 */
    --fs-55: 38.5px;
    /* 55 * 0.7 */
    --fs-60: 42px;
    /* 60 * 0.7 */
    --fs-70: 50px;


    /* LINE-HEIGHT */
    --lh-25: 17.5px;
    /* 25 * 0.7 */
    --lh-33: 23.1px;
    /* 33 * 0.7 */
    --lh-33_1: 23.2px;
    /* 33.1 * 0.7 ≈ 23.2px */
    --lh-53: 37.1px;
    /* 53 * 0.7 */
    --lh-63: 44.1px;
    /* 63 * 0.7 */
  }

  .se-info {
    padding: 0 10px;
    width: 100%;
  }

  .footer-center ul li {
    margin-bottom: 8;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 10px;

  }

  .block-in-se {
    padding: 0 0 0 0;
  }

  .se-info {
    padding: 20px 20px;
  }

  .block-uns-ls {
    width: 100%;
  }

  .bl-block {
    gap: 0;
    display: block;
  }

  h1 {
    width: 100%;
  }

  h2 {
    width: 100%;
    line-height: 28px;
  }
}

@media (max-width: 480px) {
  .port-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
  }
.gear-button {
    font-size: 17px;
}
  .gallery-btn {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 0 0;
  }

  .bn-title {
    margin-bottom: 30px;
  }

  .menu-overlay .ul-li li a {
    font-size: 20px;
    font-weight: 400;
  }

  .info-slider {
    bottom: 15px;
    flex-direction: column-reverse;

  }

  .block-m-info {
    flex-direction: initial;
    display: flex;
    margin: 0 0 40px 0;
  }

  .slider-indicator {
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    margin-top: 0;
  }

  .foto-sec-tw img {
    max-width: 100%;
  }

}

@media (max-width: 400px) {
  .thumbnail {
    width: 50px;
    height: 50px;
  }

  .slide img {
    height: 400px;
  }G

  .carousel-track {
    height: 400px;
  }

  .block-uns-ls ul li {
    padding: 0 0 5px 0;
  }

  .gallery-controls {
    flex-wrap: wrap;
  }
}

@media (max-width: 370px) {
  .slider-controls {
    bottom: 25px;
  }
}

@media (max-height: 600px) {
  .main-screen {
    height: 136vh;
  }
}

@media (max-height: 430px) {
  .info-slider {
    bottom: 25px;
  }

  .main-screen {
    height: 200vh;
  }
}

@media (max-width: 345px) {
  .port-logo {
    padding: 15px 20px 15px 20px;
  }
}

/* Стили для секции Impressum (не затрагивают основной стиль сайта) */
.datenschutz,
.rheine,
.impressum {
  border: 2px solid;
  border-image-source: linear-gradient(90deg, #CDF6DA 0%, #47AE77 100%);
  border-image-slice: 1;
  padding: 40px;
  border-radius: 8px;
  margin: -120px auto 20px auto;
  font-family: "Karla", sans-serif;
  color: #333;
  line-height: 1.6;

}

.datenschutz h2,
.rheine h2,
.impressum h2 {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #066834;
  padding-bottom: 5px;
}




.zaunreparatur-page .main-screen,
.gartentore-page .main-screen,
.sichtschutz-page .main-screen,
.impressum-page .main-screen,
.datenschutz .main-screen,
.rheine-page .main-screen {
  height: 400px;

}

.zaunreparatur-page .slider-indicator,
.gartentore-page .slider-indicator,
.sichtschutz-page .slider-indicator,
.datenschutz .slider-indicator,
.rheine-page .slider-indicator,
.impressum-page .slider-indicator {
  opacity: 0;
}

.zaunreparatur-page h1,
.gartentore-page h1,
.sichtschutz-page h1,
.datenschutz h1,
.rheine-page h1,
.impressum-page h1 {
  text-align: center;
  width: 100%;
}


.zaunreparatur-page .cont-main-screen,
.gartentore-page .cont-main-screen,
.sichtschutz-page .cont-main-screen,
.datenschutz .cont-main-screen,
.impressum-page .cont-main-screen,
.rheine-page .cont-main-screen {
  justify-content: flex-end;
  padding-bottom: 50px;
}


.rheine a {
  border-bottom: 1px solid#000;
}


.block-link-nav {
  color: #066834;
}


.bl-block-link {
  background: #EEA10D;
  padding: 6px 26px;
  color: #ffffff;
  line-height: 33px;
  font-size: var(--fs-18);
  display: inline-block;
  width: auto;
  margin-left: 0;
  margin-right: auto;
  margin-top: 30px;
}

.bl-block-link:hover {
  background-color: #CDF6DA;
  color: #066834;
}

.prob {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.block-link {
  display: flex;
  justify-content: space-between;
}

















@media (max-width: 480px) {

  .datenschutz,
  .rheine,
  .impressum {
    width: 98%;
    padding: 20px 10px;
  }
}


@media (max-width: 768px) {
  .menu-overlay {
    background: linear-gradient(to bottom, #3d574cab, #CDF6DA 17%);
  }

  .zaunreparatur-page .main-screen,
  .gartentore-page .main-screen,
  .sichtschutz-page .main-screen,
  .impressum-page .main-screen,
  .datenschutz .main-screen,
  .rheine-page .main-screen {
    height: 300px;

  }
}




.wrap-foto_page img {
  cursor: zoom-in;
  transition: transform 0.3s ease;
  position: relative;
}

.wrap-foto_page img:hover {
  transform: scale(1.05);
}

/* Иконка лупы */
.wrap-foto_page {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wrap-foto_page img::after {
  content: "";
  display: none;
  position: absolute;
  background: url('path-to-zoom-icon.svg') center center no-repeat;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wrap-foto_page img:hover::after {
  display: block;
}

/* Модальное окно */
#image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#image-modal img {
  max-width: 90%;
  max-height: 80vh;
  margin-bottom: 20px;
}

#image-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

#image-modal .arrow {
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  user-select: none;
}

#image-modal .arrow.left {
  left: 30px;
}

#image-modal .arrow.right {
  right: 30px;
}

.wrap-foto_page {
  padding: 0 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.wrap-foto_page img {
  margin: 20px auto;
  max-height: 800px;
}

.text-link {
  font-weight: 700;
}



.datenschutz h2,
.rheine h2,
.impressum h2 {
  width: 100%;
}

.datenschutz .btn-ms {
  margin-top: 20px;
  display: block;
}





.image-compare {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image-compare .before {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.image-compare .after {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
}

.image-compare .before.opacnull {
  opacity: 0;
}


@media (max-width: 769px) {
  .wrap-foto_page img {
    margin: 0 auto;
    width: 100%;
    height: auto;
  }

  .wrap-foto_page {
    padding: 0 0px;
  }
}



.image-compare {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.image-compare img {
  display: block;
  height: auto;
  transition: opacity 1.5s ease;
}

.image-compare .before {
  position: relative;
  z-index: 2;
  opacity: 1;
}

.image-compare .after {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
}

.image-compare .before.opacnull {
  opacity: 0;
}


.impressum-page h2 {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #066834;
  padding-bottom: 5px;
}

.datenschutz a {
  font-weight: 700;
}





.popup {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #CDF6DA;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  z-index: 1060;
}

.popup.visible {
  display: block;
}

.overlay {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
}

.overlay.visible {
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-btn {
  position: absolute;
  top: -14px;
  right: 6px;
  cursor: pointer;
  font-size: 40px;
  color: black;
}

.popup ul li {
  margin: 10px 0;
}








.product_page {
  padding: 40px 10px;
  margin-top: -145px;
}

.prod_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  align-items: stretch;
}

.produ_block {
  position: relative;
  overflow: hidden;
  width: calc(33.33% - 10px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .produ_block {
    width: calc(50% - 10px);
  }
}

@media (max-width: 500px) {
  .produ_block {
    width: calc(100%);
  }
}
.block-img_prod{
  max-height: 250px;
}
.block-img_prod img {
  width: 100%;
  height: 100%;
}

.block-titile_prod {
  text-align: center;
  background-color: #EEA10D;
  color: #ffffff;
  padding: 10px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.produ_block .block-img_prod img {
  transition: transform 0.3s ease;
  /* Плавное изменение */
  transform-origin: center;
  /* Центрирование точки масштабирования */
}

.produ_block:hover .block-img_prod img {
  transform: scale(1.1);
  /* Увеличение размера изображения */
}


.produ_block:hover .block-titile_prod {
  background-color: #eea10dab;
}


.image-gallery.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 100%;
  aspect-ratio: 4/3; /* 4:3 пропорция карточки */
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* без растягивания */
  display: block;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-item img:hover {
  transform: scale(1.05);
}






.prod-ul {
  display: flex;
  margin-bottom: 20px;
}
.prod-li {
  font-family: "Karla", sans-serif;
  margin-right: 10px;
  font-size: var(--fs-20);
  color: #066834;
}
.prod-li:hover{
  font-weight: 600;
}
.akt-prod{
  font-weight: 600;
}















.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #CDF6DA;
  color: #012311;
  font-family: "Karla", sans-serif;
  font-size: var(--fs-16);
  line-height: var(--lh-25);
  padding: 20px 30px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 auto;
}

.cookie-banner a {
  color: #066834;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-buttons button {
  background-color: #EEA10D;
  color: white;
  border: none;
  padding: 10px 20px;
  font-family: "Karla", sans-serif;
  font-size: var(--fs-16);
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: #47AE77;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
}









.foto-sec-tw img {
  cursor: pointer;
}

.fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.fullscreen-overlay img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

.fullscreen-overlay.active {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

