:root {
  --orange: #f42020;
  --black: #111;
  --white: #fff;
  --line: #e8e8e8;
  --sidebar-width: 235px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
  background: #f6f6f6;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  height: 100vh;
  padding: 30px 24px;
  color: var(--white);
  background: var(--black);
  transition: transform 0.3s ease;
}

.logo {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 1px;
}

.logo span {
  color: var(--orange);
}

.side-title {
  margin: 55px 0 14px;
  color: #999;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-decoration: none;
}

nav a {
  display: block;
  padding: 12px 0;
  color: var(--white);
  font-size: 15px;
  line-height: 50px;
  text-decoration: none;
  border-bottom: 1px solid #292929;
}
nav ul{
    margin: 0 0 0 5px;
    padding: 0;
    list-style: none;
}
nav a:hover {
  color: var(--orange);
}

.side-foot {
  margin-top: auto;
  color: #999;
  font-size: 12px;
  line-height: 1.5;
}

.sidebar-social {
  display: flex;
  gap: 18px;
  margin-top: 35px;
}

.sidebar-social img {
  display: flex;
  margin-left: 30px;
  width: 34px;
  height: 34px;
  transition: .3s;
}

.QRcode {
  margin: 30px 0 0 40px;
}

.sidebar-social img:hover {
  transform: scale(1.15);
}

/* Menu button */

.menu-toggle {
  position: fixed;
  z-index: 10;
  top: 18px;
  left: 250px;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  background: var(--orange);
  border: 0;
  transition: left 0.3s ease;
}
main,
footer {
    margin-left: var(--sidebar-width);
    transition: margin-left .3s ease;
}

body.menu-closed main,
body.menu-closed footer {
    margin-left: 0;
}

body.menu-closed .sidebar {
  transform: translateX(calc(-100% - 5px));
}
body.menu-closed .menu-toggle {
  left: 15px;
}

details summary{
    list-style:none;
    cursor:pointer;
    padding:12px 0;
    line-height:50px;
    color:#fff;
    border-bottom:1px solid #292929;
    user-select:none;
}

details summary:hover{
    color:var(--orange);
}

/* Убираем стандартную стрелку */
details summary::-webkit-details-marker{
    display:none;
}

.dropdown-list{
    list-style:none;
    margin:0;
    padding:0 0 0 15px;
    text-align: center;
}

.dropdown-list a{
    display:block;
    padding:8px 0;
    line-height:30px;
    border:none;
}

.menu-container summary::-webkit-details-marker {
    display: none;
}

.menu-container summary::before {
    content: "▾";
    margin-right: 8px;
    transition: transform .3s ease;
}

/* При открытии поворачиваем стрелку влево */
.menu-container details[open] summary::before {
    transform: rotate(90deg);
}

/*Main content*/
.content {
  background-color: #efefef;
}

.Hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 250px;
    margin: 0;
    padding: 70px 30px;
    color: #fff;
    text-align: center;
    background-image: url(./image/elevator-hero.jpg);
    background-size: cover;
    background-position: center;
}


.Hero h1{
    max-width:900px;
    font-size:48px;
    line-height:1.25;
    margin:0;
    font-weight:800;
}

.Hero span{
    display:block;
    margin-top:18px;
    color:#d6d6d6;
    font-size:16px;
    font-weight:400;
}

.elevator-info{
    max-width:1200px;
    margin:-55px auto 70px;
    padding:45px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    line-height:1.8;
    color:#444;
    position:relative;
}

.elevator-info::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:6px;
    height:100%;
    background:#f42020;
}

.elevator-info p{
    margin:18px 0;
    font-size:17px;
}

.elevator-info b{
    color:#111;
}

/*Чому ми?*/
.whyus{
    max-width:1250px;
    margin:auto;
    padding:20px;
    background:none;
}

.whyus h1{
    font-size:42px;
    margin-bottom:45px;
}

.whyus-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin:0;
    box-shadow:none;
}

.whyus-card{
    margin:0;
    padding:35px 25px;
    background:#fff;
    border-radius:12px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}


.whyus-card span{
    display:block;
    margin-bottom:18px;
    font-size:46px;
    filter:none;
}

.whyus-card h3{
    margin:0;
    font-size:20px;
    line-height:1.5;
    color:#222;
}
.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: ARIAL BLACK ;
  gap:100px;
  width: 100%;
  height: 40px;
  color: white;
  background-color: #333;
  padding: 3px 0 3px 0;
}

.wrapper p {
  padding: 20px 0 20px 0;
}

/*services*/

.services{
    margin:70px auto;
    max-width:1300px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
        align-items:start;
}

.services h2{
    grid-column:1 / -1;
    text-align:center;
    font-size:42px;
    margin-bottom:20px;
    color:#111;
}

.service-item{
    background:#fff;
    border:1px solid #d9d9d9;
    border-top:4px solid #f42020;
    border-radius:0;
    padding:0;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.3s;
}

.service-item summary{
    list-style:none;
    padding:25px;
    font-size:24px;
    font-weight:700;
    color:#111;
    border-bottom:1px solid #ececec;
    background:#fff;
}

.service-item summary::-webkit-details-marker{
    display:none;
}

.service-item summary::after{
    display:none;
}

.service-item ul{
    padding:25px 35px 30px;
}

.service-item li{
    margin-bottom:14px;
    line-height:1.7;
    color:#555;
    font-size:16px;
}

.service-item li::marker{
    color:#f42020;
}

/*Gallery*/
.gallery{
    max-width:1300px;
    margin:60px auto 80px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.gallery img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:8px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:.3s;
}

@media (max-width:900px){
    .gallery{
        grid-template-columns:1fr;
    }

    .gallery img{
        height:250px;
    }
}
/*Повернутися*/

.back {
    font-size: 20px;
    text-decoration: none;
    color: #3a3939;
    background-color: #fdfdfd;
    text-align: center;
    margin: 10px 0 20px 5px;
}

.back a:hover {
    color: #d90000;
}

.back a {
    text-decoration: none;
    color: #3a3939;
    transition: color 0.3s ease-in-out;
}

/*CONTACTS*/
/* Contacts */
.contacts{
    display:grid;
    grid-template-columns:320px 1fr;
    gap:35px;
    padding:50px 70px 25px;
    background:#111;
    color:#fff;

}
.contacts a{
  text-decoration:none;
  color:#ffffff;
}

.contact-list b {
  color: rgb(255, 0, 0);
}

.contact-list a {
  color: #fff;
   transition: color .3s ease-in-out;
}

.contact-list a:hover{
  color:red;
}

.social a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  gap: 0 10px;
  transition: color 0.3s ease-in-out;
  padding: 0 5px;
}

.social a:hover {
  color: rgb(38, 0, 255);
}

.map{
    min-height:220px;
}

.map iframe{
    width:100%;
    height:220px;
    min-height:220px;
}

.footer-production{
     background:#111;
    color:#fff;

    display:flex;
    text-align:center;
    justify-content:space-between;
    gap:40px;

    margin-top:20px;
    padding-top:20px;
    padding-left:50px;
    padding-bottom:20px;
    border-top:1px solid #2b2b2b;
}

.footer-production h3{
    margin:0 0 10px;
    font-size:22px;
}

.footer-production ul{
    margin:0;
    padding:0;
    list-style:none;
}

.footer-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(180px,1fr));
    gap:8px 25px;
    color:#747474;
}
.footer-list-service {
  line-height: 30px;
}
.footer-production li{
    color:#ddd;
    font-size:15px;
    line-height:1.4;
    
}

.footer-production a{
    color:#ddd;
    text-decoration:none;
}

.footer-production a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.footer-production a:visited{
    color:#fff;
}

.footer-production a:hover{
    color:var(--orange);
}

.footer-production a:hover{
    color:var(--orange);
}

footer {
  background: #ff0000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 10px 0;
}
/*tell*/
.tell {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  padding-top: 12px;
  padding-right: 18px;
  font-weight: bold;
  border-radius: 60px;
}

.lang {
  position: fixed;
  z-index: 9999;
   top: 10px;
  right: 10px;

  background-color: red;
  color: white;
  text-align: var(--white);
  padding: 2px 2px 2px 2px;
  font-size: 30px;
  text-align: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 10px;
text-decoration: none;

}
@media (max-width:1000px){

    .services{
        grid-template-columns:1fr;
        padding:0 20px;
    }

    .whyus-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .wrapper{
        flex-wrap:wrap;
        height:auto;
        gap:15px;
        padding:20px;
    }

    .wrapper p{
        margin:0;
        padding:10px 18px;
    }

    .contacts{
        grid-template-columns:1fr;
        padding:40px 25px;
    }

    .footer-production{
        flex-direction:column;
        text-align:center;
        gap:30px;
        padding:30px 20px;
    }

    .footer-list{
        grid-template-columns:1fr 1fr;
    }

}

@media (max-width:768px){

    .sidebar{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        padding: 30px 20px;
        overflow-y: auto;
        z-index: 1000;
    }

    .menu-closed .sidebar{
        transform: translateX(-100%);
    }

    .menu-toggle{
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1100;
    }

    main{
        margin-left: 0;
    }

    .Hero{
        min-height:220px;
        padding:40px 20px;
    }

    .Hero h1{
        font-size:30px;
    }

    .Hero span{
        font-size:14px;
    }

    .elevator-info{
        margin:-30px 15px 40px;
        padding:25px;
    }

    .elevator-info p{
        font-size:16px;
    }

    .whyus{
        padding:15px;
    }

    .whyus h1{
        font-size:32px;
        margin-bottom:25px;
    }

    .whyus-grid{
        grid-template-columns:1fr;
    }

    .whyus-card{
        padding:25px;
    }

    .whyus-card h3{
        font-size:18px;
    }

    .services{
        margin:40px auto;
    }

    .services h2{
        font-size:32px;
    }

    .service-item summary{
        font-size:20px;
        padding:18px;
    }

    .service-item ul{
        padding:20px 25px;
    }

    .service-item li{
        font-size:15px;
    }

    .wrapper{
        padding:15px;
    }

    .wrapper p{
        width:100%;
        text-align:center;
        font-size:16px;
    }

    .footer-list{
        grid-template-columns:1fr;
    }

    .tell img{
        width:55px;
    }

    .lang{
        font-size:22px;
        padding:5px 10px;
    }

}

@media (max-width:480px){

    .Hero h1{
        font-size:24px;
    }

    .Hero{
        min-height:180px;
    }

    .elevator-info{
        padding:20px;
    }

    .contacts{
        padding:30px 15px;
        text-align:center;
    }

    .contact-list p{
        font-size:15px;
    }

    .footer-production{
        padding:20px 15px;
    }

    .footer-production li{
        font-size:14px;
    }

}