.hero{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 90px;
}
.hero-text{
    width: 60%;
    max-width: 900px;
    text-align: center;
}
.hero-text h1{
  font-size: 80px;
  margin-bottom: 30px;
  margin-top: 15px;
  font-weight: 500;
  letter-spacing: 5px;
  color: #3A2D28;
  text-transform: uppercase;
}
.hero-text h2{
  font-size: 18px;
  font-weight: 300;
  color: #A48D78;
}
.hero-text p{
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 30px;
  color: #4A342A;
  font-weight: 300;
}
.buttons{
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.btn-hero{
  background: rgba(250, 245, 239, 0.88);
  color: #3A2D28;
  text-decoration: none;
  max-width: 200px;
  height: 55px;
  border-radius: 3px;
  border:1px solid #3A2D28;
  text-align: center;
  align-items: center;
  padding: 15px 35px;
  justify-content: center;
  display: flex;
  font-size: 18px;

}
.btn1-hero{
  background: #3A2D28;
  color: #eee1d0;
  text-decoration: none;
  max-width: 200px;
  height: 55px;
  border-radius: 3px;
  text-align: center;
  align-items: center;
  padding: 15px 35px;
  justify-content: center;
  display: flex;
  font-size: 18px;
  letter-spacing: 1px;
}

   /* Pakalpjumi */
  .pakalpojumi{
    padding: 40px ;
    text-align: center;
    background-size: cover;
    max-width: 75%;
    margin: 0 auto;
    z-index: 1;
  }
  .pakalpojumi h2{
    text-align: center;
    color: #3A2D28;
    letter-spacing: 4px;
    font-size: 26px;
    font-weight: 400;
    margin-top: 20px;
  }
  .line{
   max-width: 80px;
    background-color: #A48D78;
    height: 1px;
    margin: 15px auto 15px auto;
  }
  .pakalpojumi p{
    color: #A48D78;
    font-size: 14px;
    text-align: center;
    margin-top: 0;
  }
.card-content h3{
  color: #3A2D28;
  font-weight: 400;
  font-size: 17px;
  padding-bottom: 25px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 1px;
}
.card-content p{
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #3A2D28;
}
  .card-content h4{
  color: #4A342A;
  font-size: 18px;
  padding-bottom: 60px;
  text-align: center;
  font-weight: 600;
}
  .cards{
    display: flex;
    gap: 70px;
    padding-bottom: 50px;
    justify-content: center;
    padding-top: 60px;
  }
  .card{
    border: none;
    box-shadow: none;
    width: 100%;
    max-width:320px;
    position: relative;
    height: 580px;
    border-radius: 3px;
  }
  .card img{
    max-width: 230px;
    height: 270px;
    object-fit: cover;
    border-radius: 3px;
    margin: 0 auto 30px auto;
    display: block;
    box-shadow: 0 2px 5px rgba(58, 45, 40, 0.2);
    transition: 0.36s;
  }
  .card:hover{
transform: scale(1.07);    
  }
  .card-content{
    text-align: center;  
}  
  .card a{
    border: none;
    margin: 0 auto;
    max-width: 70%;
    background: none;
    font-size: 14px;
    text-transform: uppercase;
    padding: 13px;
    text-decoration: none;
    color: #3A2D28;
    text-align: center;
    justify-content: center;
    display: flex;
  }
.results{
  align-items: center;
  max-width: 90%;
  border-radius: 20px;
  justify-self: center;
}
.results-info{
  margin: 0 auto;
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-self: center;
}

.results-info h2{
  text-align: center;
    color: #3A2D28;
    letter-spacing: 4px;
    font-size: 26px;
    font-weight: 400;
    margin-top: 20px;
}
.results-info p{
  color: #A48D78;
    font-size: 14px;
    text-align: center;
    margin-top: 0;
    padding-bottom: 20px;
}
.gallery-section{
  display: flex;
  gap: 70px;
  max-width:100%;
  justify-content: center;
  padding-top: 15px;
  padding-bottom: 15px;
}
.gallery{
  gap: 30px;
  display: flex;
  padding-bottom: 15px;
}

.gallery-section img{
  max-width:220px;
  height:220px;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 50px;
  box-shadow: 0 2px 5px #A48D78 ;
  transition: 0.3s;
}
.gallery-section img:hover{
  transform: scale(1.02);
}
/* atsauksmes */
.atsauksmes{
  max-width:1400px;
  justify-self: center;  
}
.parent1 h2{
  font-size: 26px;
  color: #3A2D28;
  letter-spacing: 3px;
  padding-top: 60px;
  font-weight: 400;
  text-align: center;
}
.fixed-size-containerA {
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding-bottom: 90px;
  padding-top: 25px;
}
.fixed-sizeA{
  max-width: 250px;
  height: 220px;
  color: #3A2D28;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 3px;
  transition: 0.4s;
  border: 1px solid #F6F1EA;
  letter-spacing: 1px;
}

.fixed-sizeA:hover{
transform: scale(1.15);
background-color: #F6F1EA;
box-shadow: 0 10px 25px rgba(164, 141, 120, 0.35);
}
.name{
  font-size: 14px;
  font-weight: 300;
  padding-top: 10px;
}
  .fixed-sizeA P{
  font-size: 12px;
  text-align: center;
  }
  .fixed-sizeA span{
  font-size: 30px;
  justify-content: left;
  }


/*filiales */
.filiales{
  margin-top: 100px;
  height: 520px;
  max-width: 100%;
  background-image: url("attēli/Frame\ 4.svg");
  background-position: bottom;
  margin: 0 auto;
  background-repeat: no-repeat;
}
.filiales h2{
  text-align: center;
    color: #3A2D28;
    letter-spacing: 4px;
    font-size: 26px;
    font-weight: 400;
    margin-top: 20px;
    padding-top: 30px;
}
.filiales p{
  color: #3A2D28;
    font-size: 14px;
    text-align: center;
    margin-top: 0;
}
.filiales-container{
    display:flex;
    gap:30px;
    justify-content:center;
    flex-wrap:wrap;
    padding-bottom: 40px;
}

.filiale-card{
    max-width:300px;
    width: 100%;
    height: 230px;
    padding:30px;
    border-radius: 3px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
    color: #A48D78;
    transition: 0.3s;
    margin-top: 20px;
}
.filiale-card:hover{
  background-color: #F6F1EA;
  color: #3A2D28;
}
.filiale-card h3{
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 400;
  text-align: center;
}
.filiale-card p{
  padding-bottom: 30px;
  font-size: 14px;
  font-weight: 300;
  text-align: center;
}
.filiale-card ul{
  padding-left: 40px;
}
.filiale-card li{
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 2;
}

/* galerija */

/* jautajumi */

.faq-section{
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  max-width:  1200px;
  align-items: stretch;
  height: 550px;
  gap: 40px;
  margin: 0 auto;
}
.faq-image img{
  max-width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  margin-left: 30px;
  justify-self: center;
  border-radius: 3px;
}

.faq{
  gap: 12px;
  padding-top: 40px;
}

.faq h2{
  text-align: center;
  color: #3A2D28;
  letter-spacing: 4px;
  font-size: 26px;
  font-weight: 400;
  margin-top: 20px;
}

.faq-box{
  max-width: 90%;
  margin-bottom: 8px;
  padding: 15px;
  border-bottom: 1px solid #3A2D28;
}
.faq-box p{
  font-size: 16px;
  padding-top: 20px;
  font-weight: 300;
  color: #3A2D28;
}

summary{
  cursor:pointer;
  font-size: 16px;
  color: #3A2D28;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}
@media (max-width:1023px){
/*pakalpojumi*/
.pakalpojumi{
    max-width:100%;
    padding:60px 20px;
}
.pakalpojumi h2{
    font-size:22px;
    letter-spacing:3px;
}
.pakalpojumi p{
    font-size:15px;
}
.cards{
    flex-direction:column;
    align-items:center;
    gap:35px;
    padding-top:40px;
    padding-bottom:20px;
}
.card{
    max-width:340px;
    width:100%;
    height:auto;
}
.card img{
    width:100%;
    max-width:340px;
    height:320px;
    object-fit:cover;
}
.card-content h3{
    font-size:18px;
    padding-bottom:18px;
}
.card-content p{
    font-size:15px;
    margin-bottom:20px;
}
.card-content h4{
    font-size:18px;
    padding-bottom:25px;
}
.card a{
    max-width:100%;
    padding:15px;
    font-size:13px;
}
.results{
    max-width:100%;
    padding:60px 20px;
}

.results-info h2{
    font-size:22px;
    letter-spacing:3px;
}

.results-info p{
    font-size:15px;
    padding-bottom:30px;
}

.gallery{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    justify-items:center;
}

.gallery-section{
    padding:0;
}

.gallery img{
    width:100%;
    max-width:170px;
    height:170px;
    margin-bottom:0;
}
.filiales{
    height:auto;
    padding:60px 20px;
    background-size:cover;
    background-position:center;
}
.filiales h2{
    font-size:22px;
    letter-spacing:3px;
}
.filiales p{
    font-size:15px;
}
.filiales-container{
    flex-direction:column;
    align-items:center;
    gap:25px;
    padding-bottom:35px;
}
.filiale-card{
    width:100%;
    max-width:340px;
    height:auto;
    padding:30px 25px;
}
.filiale-card h3{
    font-size:18px;
}
.filiale-card p{

    padding-bottom:20px;
}
.filiale-card ul{
    padding-left:20px;
}
.filiale-card li{
    font-size:15px;
}
/*header*/
header{
    justify-content:space-between;
    padding:20px;
}
.logo{
    position:static;
    margin-left: 20px;
}
.menu-toggle{
    display:block;
}
nav{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    display:none;
    background:rgba(255,254,252,.96);
    backdrop-filter:blur(18px);
}
nav.active{
    display:block;
}
.menu{
    flex-direction:column;
    gap:0;
    padding:20px 0;
}
.menu li{
    width:100%;
    text-align:center;
}
.menu a{
    display:block;
    padding:18px;
}
.submenu{
    position:static;
    display:none;
    box-shadow:none;
    border:none;
    background:#F6F1EA;
}
.dropdown:hover .submenu{
    display:none;
}
.dropdown.active .submenu{
    display:block;
}
/*jautajumi*/
    .faq-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        height: auto;
        gap: 30px;
        padding: 50px 20px;
    }

    .faq-image{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .faq-image img{
        width: 100%;
        max-width: 400px;
        height: 400px;
        object-fit: cover;
        margin-left: 0;
        border-radius: 3px;
    }

    .faq{
        width: 100%;
        padding-top: 0;
    }

    .faq h2{
        font-size: 24px;
        letter-spacing: 3px;
        margin-bottom: 25px;
    }

    .faq-box{
        max-width: 100%;
        padding: 18px 0;
    }

    summary{
        font-size: 15px;
    }

    .faq-box p{
        font-size: 15px;
        line-height: 1.7;
    }

/*atsauksmes*/
    .parent1 h2{
        font-size:24px;
        padding-top:50px;
    }

    .fixed-size-containerA{
        flex-direction:column;
        gap:25px;
        padding:30px 20px 60px;
    }

    .fixed-sizeA{
        width:100%;
        max-width:500px;
        min-height:220px;
        margin-bottom:0;
        padding:35px 25px;
    }

    .fixed-sizeA:hover{
        transform:scale(1.03);
    }

    .fixed-sizeA p{
        font-size:14px;
        line-height:1.7;
    }

    .name{
        font-size:15px;
    }

    .fixed-sizeA span{
        font-size:28px;
    }

}


/* PIRMS / PĒC — sakārtota rezultātu galerija */
.results .gallery-section{
  width:100%;
  max-width:960px;
  margin:0 auto;
  padding:15px 20px 45px;
  box-sizing:border-box;
}
.results .gallery{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  padding:0;
  align-items:stretch;
}
.results .gallery > img,
.results .gallery .before-after-pair{
  width:100%;
  max-width:none;
  aspect-ratio:1 / 1;
  height:auto;
  margin:0;
  border-radius:4px;
  box-shadow:0 2px 8px rgba(164,141,120,.32);
  background:#fff;
  overflow:hidden;
}
.results .gallery > img{
  display:block;
  object-fit:cover;
}
.results .gallery .before-after-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3px;
}
.results .gallery .before-after-pair img{
  width:100%;
  max-width:none;
  height:100%;
  margin:0;
  border-radius:0;
  box-shadow:none;
  object-fit:cover;
  min-width:0;
}
@media (hover:hover) and (pointer:fine){
  .results .gallery > img,
  .results .gallery .before-after-pair{
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .results .gallery > img:hover,
  .results .gallery .before-after-pair:hover{
    transform:translateY(-3px);
    box-shadow:0 7px 18px rgba(164,141,120,.30);
  }
  .results .gallery .before-after-pair img:hover{
    transform:none;
  }
}
@media (max-width:700px){
  .results .gallery-section{
    padding:10px 14px 30px;
  }
  .results .gallery{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
  }
}
