* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
	--white: #fff;
    --black: #000;
	--dark: #272b2d;
	--accent: #e30613;
}

body {
  font-family: Arial, sans-serif;
}

h1:target, h2:target, h3:target, div:target {
  scroll-margin-top: 130px; /* відступ згори при переході по якорю */
}

strong {
  font-weight: bold;
}

ul, ol {
    list-style-position: inside;
}

main {
	padding-top: 110px;
}

.link {
	color: var(--accent);
}

.nav {
  top: 0;
}

.container {
	position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
    padding: 15px 20px;
  width: 100%;
  margin: auto;
    z-index: 999;
  background: var(--dark);
}

.logo {
}

.logo img {
	width: 70%;
}

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: var(--white);
  font-size: 130%;
  font-weight: 100;
  transition: 0.3s;
}

.menu a:hover {
  color: var(--accent);
}

.menu .cta {
  background: var(--accent);
  color: #fff;
  margin-left: 30px;
  padding: 10px 18px;
  text-decoration: none;
  transition: 0.3s;
}

.menu .cta:hover {
	color: #fff;
  box-shadow: 0 2px 0 #000;
    transform: translateY(2px); /* як ніби нажали */
}

.heroimage {
    width: 100%;
    height: 500px; /* або 100vh */

    background-image:
        linear-gradient(to right, var(--dark) 0%, var(--dark) 40%, rgba(204,204,204,0) 50%), 
        url('/img/hero.webp');

    background-size:
        100% 100%,  /* градієнт натягується повністю */
        cover;      /* фото займає всю площу */

    background-position: center;
    background-repeat: no-repeat;
} 

.herotext {
	position: absolute;
	padding-left: 10%;
	font-weight: 100;
    top: 25%;
    left: 0;
	line-height: 45px;
	color: var(--white);
}

.herotext span {
	font-weight: 900;
}

.button_red {
	float: left;
	background: var(--accent);
	font-size: 120%;
  color: #fff;
  padding: 10px 18px;
  line-height: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.button_red:hover {
  box-shadow: 0 2px 0 #000;
    transform: translateY(2px);
}

.button_white {
	float: left;
	border: solid 1px var(--white);
	font-size: 120%;
  color: #fff;
  margin-left: 20px;
  padding: 10px 18px;
  line-height: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.button_white:hover {
  box-shadow: 0 2px 0 #000;
    transform: translateY(2px);
}

.hero-block {
	position: relative;
	max-width: 90vh;
    /*
    width: 90vh;  */     /* квадрат, висота ~90% екрану */ 
    /*height: 90vh;*/
    margin: 0 auto;   /* центрує блок по горизонталі */
}

.hero-block img {
    width: 100%;
    height: auto;
    object-fit: contain;  /* показує картинку повністю без обрізання */
    display: block;
}

/* верхній текст */
.hero-block .top-text {
    position: absolute;
    top: 53%;
	right: 0%;
    transform: translateY(-50%);  /* легке стикування центр/верх */
    text-align: right;
    color: var(--dark);
    font-size: 180%;
    font-weight: 100;
    pointer-events: none; /* щоб текст не заважав клікам */
}

.hero-block .top-text span {
    font-weight: 900;
}

/* нижній текст */
.hero-block .bottom-text {
    position: absolute;
    bottom: 0%;
    right: 0%;
    text-align: right;
	line-height: 25px;
	width: 70%;
    color: var(--dark);
    font-size: 1.2rem;
    pointer-events: none;
}

.bottom-text-mob {
    display: none;
}

.info-section {
    background-color: var(--dark); /* темно-сірий фон */
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

/* Контейнер */
.info-container {
    width: 100%;
	margin: 0px 7%;
    color: #ffffff;
}

/* Малий заголовок */
.section-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 10px;
    position: relative;
}

/* Червона лінія під підзаголовком */
.section-subtitle::after {
    content: "";
    width: 80px;
    height: 3px;
    background-color: var(--accent); /* червона лінія */
    display: block;
    margin-top: 8px;
}

/* Головний заголовок */
.section-title {
    font-size: 36px;
    font-weight: 600;
    margin: 20px 0 25px;
}

/* Текст */
.section-text {
    font-size: 18px;
    line-height: 1.6;
	margin-left: 20%;
	margin-right: 10%;
    color: #d2d2d2;
    margin-bottom: 22px;
}

/* ---------------- SECTION ---------------- */
.solutions {
    padding: 60px 20px;
	display: flex;
    justify-content: center;
}

.solutions-container {
    width: 100%;
	margin: 0px 7%;
}

.solutions-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 10px;
    position: relative;
}

.solutions-subtitle::after {
    content: "";
    width: 80px;
    height: 3px;
    background-color: var(--accent); /* червона лінія */
    display: block;
    margin-top: 8px;
}

.solutions-title {
    font-size: 36px;
    font-weight: 600;
    margin: 20px 0 25px;
}

/* ---------------- SLIDER ---------------- */

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 25px;
    transition: transform 0.45s ease;
}

/* CARD */
.slide {
    background: #fff;
    flex: 0 0 calc(25% - 25px);
    text-align: center;
}

.slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.slide h4 {
    font-size: 20px;
    margin: 10px 0 5px;
}

.slide a:hover {
	box-shadow: 0 2px 0 var(--accent);
    transform: translateY(2px);
}

.slide p {
    color: #6c6c6c;
    font-size: 15px;
    margin-bottom: 6px;
}

.slide span {
    font-size: 18px;
    color: #e52525;
    font-weight: bold;
}

/* ---------------- BUTTONS ---------------- */

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 32px;
    color: #b3b3b3;
    cursor: pointer;
    transition: color 0.2s;
    padding: 5px 10px;
	z-index: 10;
}

.slider-btn:hover {
    color: var(--accent);
}

.prev {
    left: -10px;
	color: var(--accent);
}

.next {
    right: -10px;
}

/* ---------------- DOTS ---------------- */

.dots-container {
	display: flex;
	padding: 20px 0px;
	justify-content: center;
}

.slider-dots button {
    width: 8px;
    height: 8px;
    margin: 0 8px;
    border: none;
    background: #cfcfcf;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dots button.active {
    background: #e52525;
}

/* ------------------ FIRST SECTION ------------------ */

.prep-section {
    background-color: #F5F5F5;
}

.prep-container {
    display: flex;
    width: 100%;
    margin: auto;
}

.prep-image {
flex: 0 0 30%;          /* займає 30% ширини */
    position: relative;
    overflow: hidden; 
}

.prep-image img {
	 width: 100%;
    height: 100%;
    object-fit: cover;      /* обрізає фото красиво */
    object-position: center;
}

.subtitle {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
}

.subtitle::after {
    content: "";
    width: 80px;
    height: 3px;
    background: var(--accent);
    display: block;
    margin-top: 8px;
}

.title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
}

.prep-text {
	flex: 1;
    padding: 40px;
}

.prep-block {
    margin-bottom: 25px;
    line-height: 1.6;
}

/* ------------------ SECOND SECTION ------------------ */

.install-section {
    background: var(--dark);
}

.install-container {
    display: flex;
    width: 100%;
}

.install-container.reverse {
    flex-direction: row-reverse;   /* Фото переходить справа */
}

.install-image {
flex: 0 0 30%;          /* займає 30% ширини */
    position: relative;
    overflow: hidden; 
}

.install-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* обрізає фото красиво */
    object-position: center;
}

.subtitle-light {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
}

.subtitle-light::after {
    content: "";
    width: 80px;
    height: 3px;
    background: var(--accent);
    display: block;
    margin-top: 8px;
}

.title-light {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.install-text {
	flex: 1;
    padding: 40px;
}

.install-list li {
    font-size: 18px;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 12px;
}

/* list for FAQ with arrows */
.faq-right {
    margin-left: 20%;
	margin-right: 10%;
}

.faq-item {
      background: white;
      margin-bottom: 10px;
      border-bottom: 1px solid lightgrey;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .faq-question {
      padding: 18px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-weight: 600;
    }

    .faq-question:hover {
      background-color: #f2f2f2;
    }

    .arrow_list {
      transition: transform 0.3s ease;
    }

    .faq-item.active .arrow_list {
      transform: rotate(90deg);
    }

    .faq-answer {
      max-height: 0;
	  line-height: 25px;
      overflow: hidden;
      transition: max-height 0.4s ease, padding 0.3s ease;
      padding: 0 20px;
    }

    .faq-item.active .faq-answer {
      max-height: 300px; /* достатньо для більшості відповідей */
      padding: 10px 20px 20px;
    }

/* list for FAQ with arrows finish */

/* Quote section */
.quote {
   margin: 0 auto;
   padding: 50px 10%;
	
	background-color: var(--dark);

    background-image:
        url('/img/quote.webp');

    background-size:
        225px 140px,  /* градієнт натягується повністю */
        cover;      /* фото займає всю площу */

    background-position: 10% center;
    background-repeat: no-repeat;
	color: var(--white);
	font-size: 400%;
	font-weight: 100;
	text-align: right;
}

.quote img {
	padding: 50px 10%;
	width: 225px;
    height: 140px;
    object-fit: contain;  /* показує картинку повністю без обрізання */
    display: block;
}


/*Quote Finish */

/* Gallery index page */

.gallery_main {
  width: 100%;
}

.row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

/* base item */
.item {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  height: 25vw; /* controls row height */
  max-height: 350px;
}

/* widths */
.small {
  width: 25%;
  aspect-ratio: 1 / 1;
}

.large {
  width: 50%;
}

/* image */
.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item:hover img {
  transform: scale(1.05);
}

/* bottom overlay */
.label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* gallery index finish */


/* Calculate Online -------------------------------------------*/

.forma1 {
	max-width: 1150px;
	margin-top: 20px;
	margin-bottom: 50px;
	box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.2);
}

.forma1_title {
	margin: 1%;
	margin-left: 15px;
	width: 97%;
	color: #000;
	font-size: 170%;
    font-weight: 700;
	line-height: 40px;
	text-align: left;
	border-bottom: 1px solid #999;
}

.forma1_title span {
	color: var(--accent);
}

.forma1_block {
	float: left;
	margin-top: 20px;
	margin-left: 4%;
	color: #000;
	width: 28%;
	font-size: 100%;
    font-weight: 100;
	line-height: 30px;
	text-align: left;
}

.forma1_block span {
	color: var(--accent);	
}

.forma1_block h5 {
	float: none;
	color: #666;
	font-size: 100%;	
	font-weight: 100;
}

.forma1 h4 {
	float: none;
	margin-left: 4%;
	padding-bottom: 30px;
	color: var(--accent);
	font-size: 100%;	
	font-weight: 100;
}

.forma1_input {
	background-color: #fff;
	color: #000;
	width: 48%;
	font-size: 100%;
    font-weight: 100;
	line-height: 30px;
	text-align: left;
	padding-left: 10px;
	border: 1px solid #999;
}

.forma1_but {
	float: left;
	width: 47%;
	margin-left: 2%;
	margin-right: 2%;
	border: 3px solid #000;
	cursor: pointer;
}

.forma1_but2 {
	float: left;
	width: 47%;
	border: 0.3px solid #999;
	cursor: pointer;
}

.forma1_marg {
	margin-left: 2%;
	margin-right: 2%;
}


.forma1_img {
	width: 100%;
	height: auto;
}

.forma1_img1 {
	width: 60%;
	height: auto;
}

.forma1_styk {
	position: absolute;
	margin-left: 5px;
	font-size: 120%;
	z-index: 1005;
  	color:#000;
	cursor: zoom-in;
	text-decoration: underline;
}

.forma1_styk:hover {
	color:#87060C;
}

.forma1_napis {
	position: absolute;
	margin-left: 5px;
	padding: 2px 5px;
	font-size: 100%;
	font-weight: 100;
	z-index: 1005;
  	color:#fff;
	background-color: #000;
	opacity: 0.7;
}

.forma1_resbut {
	float: left;
	margin-right: 3%;
	background-color: #fff;
	border: 0.5px solid #000;
	border-radius: 10px;
	padding-top: 8px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 8px;
	width: 47%;
	cursor: pointer;
}

.forma1_subbut {
	font-size: 150%;
	font-weight: 900;
	background-color: var(--accent);
	border: 0.5px solid var(--accent);
	padding-top: 8px;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 8px;
	color: #fff;
	width: 47%;
}

/* Calculate finish */

.contact-block {
  padding: 60px 20px;
  background: #f5f5f5;
}

.contact-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

/* LEFT */
.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  gap: 15px;
  background: #fff;
  padding: 20px;
}

.info-item i {
  font-size: 22px;
  color: #e30613; /* Fixo red */
  min-width: 28px;
}

.info-item h4 {
  margin: 0 0 5px;
  font-size: 16px;
}

.info-item p,
.info-item a {
  margin: 0;
  color: #333;
  text-decoration: none;
}

.socials a {
  margin-right: 10px;
  color: #333;
  font-size: 18px;
}

.socials a:hover {
  color: #e30613;
}

/* RIGHT */
.contact-image {
  flex: 1;
  max-width: 400px;
}

.contact-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/*   GALLery   */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  width: 100%;
  padding: 10px;
  background: var(--dark);
}

.gallery-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-block {
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  font-size: 20px;
  font-weight: 500;
}

.text-block span {
  max-width: 80%;
}

/*   VIDEO   */

.gif-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.gif-item {
  overflow: hidden;
}

.gif-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/*    Footer*/

.site-footer {
  background: var(--dark);
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.footer-col {
  flex: 1;
}

.footer-logo {
  max-width: 180px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: red;
}

.footer-text {
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact i {
  color: var(--accent);
}

/* Bottom row */
.footer-bottom {
  border-top: 1px solid #444;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 25px;
  margin-top: 20px;
}

.footer-social a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: red;
}


/* footer finish  */



/* ------------------ RESPONSIVE ------------------ */

@media (max-width: 900px) {
 
}

	

/* Mobile toggle button */
.mobile-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* TABLET */
@media screen and (min-width: 700px) and (max-width: 1000px) {

.menu {
  gap: 10px;
}

.menu a {
	font-size: 110%;
}

.logo img {
	width: 80%;
}

.cta {
padding: 5px 10px;
}

.hero-block {
    max-width: 70vh;  /* центрує блок по горизонталі */
}

.hero-block .top-text {
    font-size: 130%;
}

.hero-block .bottom-text {
    font-size: 1.1rem;
}


.slide {
        flex: 0 0 calc(50% - 25px);
    }
	
.forma1_block {
	width: 43%;
}

.forma1_block1 {
	width: 43%;
}

.gif-row {
    grid-template-columns: repeat(2, 1fr);
  }

}




/* MOBILE */
@media (max-width: 700px) {
  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    padding: 15px 0;
    align-items: center;
    display: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  .menu.active {
    display: flex;
	height: 90vh;
  }
  
.menu a {
  line-height: 7vh;
}

  .cta a {
line-height: 5vh;
  }
   
.heroimage {
 background-image:
        linear-gradient(to right, var(--dark) 0%, var(--dark) 40%, rgba(204,204,204,0) 50%), 
        url('/img/hero_mob.webp');
background-position: left;
} 

  .mobile-toggle {
	padding-right: 30px;
    display: block;
	color: var(--white);
  }
  
.button_red:active {
  box-shadow: 0 2px 0 #000;
    transform: translateY(2px);
}

.button_white:active {
  box-shadow: 0 2px 0 #000;
    transform: translateY(2px);
}


.hero-block img {
    padding: 20px;
}

/* верхній текст */
.hero-block .top-text {
    top: 85%;
	right: 20px;
    font-size: 150%;
    font-weight: 100;
    pointer-events: none; /* щоб текст не заважав клікам */
}

.hero-block .top-text span {
    font-weight: 900;
}

/* нижній текст */
.hero-block .bottom-text {
    display: none;
}

.bottom-text-mob {
	display: block;
	padding: 20px;
    text-align: right;
	line-height: 25px;
	width: 100%;
    color: var(--dark);
    font-size: 1.2rem;
    pointer-events: none;
}

.section-text {
	margin: 0px;
}

.slide {
        flex: 0 0 calc(50% - 25px);
    }

    .slider-btn {
        font-size: 28px;
    }
	
	   .prep-container {
        flex-direction: column;
    }
    .prep-image {
        flex: 0 0 auto;
        height: 250px; /* або інша висота */
    }
	
	.install-container,
    .install-container.reverse {
        flex-direction: column;
    }

    .install-image {
        flex: 0 0 auto;
        height: 250px; /* можеш змінити */
    }

.faq-right {
    margin: 0 auto;
}

.row {
  gap: 5px;
  margin-bottom: 5px;
}

.small {
  width: 33.33%;
  aspect-ratio: 1 / 1;
}

.large {
  width: 33.33%;
}

.label {
	padding: 5px;
  font-weight: 200;
}

.footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    justify-content: center;
  }

.footer-social {
    justify-content: center;
  }
  
  .forma1_block {
	width: 91%;
}

.forma1_resbut {
	margin-right: 1%;
}

  .contact-inner {
    flex-direction: column;
  }

  .contact-image {
    max-width: 100%;
  }
  
    .gif-row {
    grid-template-columns: 1fr;
  }
}
