/* ====== RESET ====== */
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: #333;
  background: #f9f9f9;
 
}

*, *::before, *::after { box-sizing: inherit; }

/* ====== NAVBAR ====== */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1000;
}
.navbar {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
    position: relative;
  border-bottom: #c0af70 1px solid;
  background-color: rgba(0,0,0,0.4);

}

.imgNav{
    position: absolute;
    width: 100%;
    height: 100%;
   top: 0;
    left: 0;
    z-index: -1;
}
.nav-wrap {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
   position: relative;
  z-index: 2;
  
}
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-family: "Roboto", sans-serif;
  font-size: 34px;
  color: #fff;
  letter-spacing: 1px;
  margin-left: 10px;
}
.logoImg{
  width: auto;
  height: 70px;
}
.menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.menu li a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 20px;
}
.menu li a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:#c0af70;
  transition: width 0.3s ease;
}

.menu li a:hover::after{
  width:100%;
}
.navTog{
    color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  font-size: 20px;
  background-color: transparent;
  border: none;
}
.navTog::after{
  content:"▾";
  margin-left:6px;
  font-size:14px;
  display:inline-block;     /* ЭТО ВАЖНО */
  transition: transform 0.3s ease;
}

.navTog.active::after{
  transform: rotate(180deg);
}
.menu li a:hover {
  color: #c0af70;
}
.contactIcons{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.socialIcons {
  display: flex;
  align-items: center;
  gap: 5px;  
}
.lang{
  color: #c0af70;
  text-decoration: none;
  font-weight: 400;
}
.socialIcons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;   
  margin: 0;    
}

.socialImg {
  width: 40px;
  height: 40px;
}
/* SMALL TOGGLE */
.dropdown {
  position: relative;
}
.dropdown-menu{
    position: absolute;
  top: 45px;
  left: 0;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: 0.25s ease;
   
}
.smallNav{
    background-color: #282828;
    width: 280px;
    padding: 10px;
    padding-left: 40px;
    color: white;
    list-style-type: none;  
}
.smallNav:hover{
    color: #c0af70;
}
.navOpen{
    display:block;
    opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/*END SMALL TOGGLE*/
/* --- Burger --- */
.hamb {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  margin-right: 10px;
}

.hamb span {
  height: 3px;
  width: 100%;
  background: #c0af70;
  border-radius: 2px;
  transition: 0.3s;
}

.hamb.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamb.active span:nth-child(2) {
  opacity: 0;
}

.hamb.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 500; 
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}
.hero-container {
  width: 100%;
  height: 100vh;
  position: relative;

}
.imgHero {
  width: 100%;
  height: 92%;
  margin-top: 60px;
  position: absolute;
  inset: 0;


}
/* Полупрозрачный overlay (чтобы текст читался) */
.hero {
  position: relative;
  width: 100%;
  height: 100%;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
 z-index: 1;
  backdrop-filter: brightness(0.8);
}


.hero h1 {
  font-size: 64px;
  margin: 0;
  line-height: 1.05;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  text-transform: none;
  text-shadow: 0 6px 22px rgba(0,0,0,0.5);
 
}
.anim{
    opacity: 0;
  transform: translateY(40px);
}
.anim.active{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-subtitle {
  margin-top: 12px;
  font-size: clamp(14px, 2.2vw, 28px);
  color: rgba(255,255,255,0.92);
   opacity: 0;
  transform: translateY(40px);
}
.hero-subtitle.active{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
/* Кнопка */
.hero .btn {
  display:inline-block;
  margin-top: 26px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #c0af70;
  color: #142238;
  text-decoration: none;
  font-weight: 600;
}
.hero .btn:hover {
  background: #d1c7a0;
 
}
/* ====== MAIN CONTENT ====== */
/* Отступ сверху для основного контента: важен, чтобы он начинался после hero */
main {
  background: #fff;
  padding-top: 28px;
  flex: 1;
}


section {
  width: 100%;
  margin: 0 auto;
  padding: 56px 20px;
}
#services{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
h2{
  color: #c0af70;
  font-size: 50px;
  margin-top: 30px;
}
.title {
  width: 80%;
  height: auto;
}
.titH3{
  text-decoration: none;

}
h3{
  background-color: #c0af70;
  color: #fff;
  text-align: center;
  padding: 10px;
}
.about-content { 
  margin-top: 50px;
  display:flex;
  justify-content: center;
   flex-direction:row; 
   flex-wrap: wrap;
   gap:20px; 
   align-items:center; 
  }
  .borderGold{
    width: 90%;
    height: 5%;
    border: 1px solid #c0af70;
   margin-top: -30px;
    border-bottom: 1px solid rgba(0,0,0,0.0);
    position: relative;
  }
.blockText {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  height: 500px;
  background:#fff;
  border: 1px solid #e3e7eb;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin: 10px;
   position: relative;
  transition: 0.4s ease, transform 0.4s ease;
  opacity: 0;
  transform: translateY(80px);
}

.blockText:hover{
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transition: 0.8s ease 0s;
    border: 1px solid #d1c7a0;
   
   
}
.blockText.active{
  opacity: 1;
  transform: translateY(0);
}

.iconBlock{
  width: 100%;
  height: 150px;
  left: 0;
  right: 0;
  top: 0;
  position: relative;
    background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

}
.one{
      background-image: url(bandHoriz.jpg);
     
}
.two{
      background-image: url(dni.jpeg);

}
.three{
      background-image: url(refugio2.jpg);
}
.four{
      background-image: url(juicio.jpg);
}
.five{
      background-image: url(apostillado.jpg);
}
.six{
      background-image: url(rectificasion.jpg);
}
.seven{
      background-image: url(goldenPas.avif);
}
.textAboutContent{
  padding: 20px;
  position: relative;
  margin-top: -55px;
}
.about-text {
  color: #858c94;
}
.btnMore{
  color: #c0af70;
  font-size: 20px;
  text-decoration: none;
}
/*--OTROS TRAMITES--*/
.heroAnother {
  position: relative;
  width: 100%;
  height: auto;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  color: #fff;
 z-index: 1;
   
}

.mainContent{
    display: flex;
    flex-direction: row;
    justify-content: center;
  flex-wrap: wrap;
 
}
section .heroAnother {
  width: 100%;
  margin: 0 auto;
}
.anotherCase{
        display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    margin: 5px;
     background: rgba(255,255,255,0.4);
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
    
}
.anotherCase:hover{
   transform: translateY(-5px);
    transition: 0.3s ease;
}
.btnUl{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c0af70;
   height: 40px;
   width: auto;
   background-color: transparent;
  
     color: #1E3E62;
    font-size: 22px;
    font-weight: 400;
  padding: 10px;
}
.btnUl:hover{
    background-color: #c0af70;
    color: #fff;
    cursor: pointer;
}

.btnText{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: 
        max-height 0.5s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
        flex-wrap: wrap;
        width: 350px;
}
.btnTextOpen{
     max-height: 1000px; 
    opacity: 1;
    transform: translateY(0);
    margin-top: 3px;
    
}
li{
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #1E3E62;
     text-align: left;
     
}
.btnMoreAnother{
  color: #fff;
  background-color: #c0af70;
  font-size: 20px;
  text-decoration: none;
  padding: 10px;
  margin-top: 20px;
  margin-left: 100px;
   margin-right: 100px;
}
.btnMoreAnother:hover{
  background-color: #d1c7a0;
}


/*--FIN OTROS TRAMITES-*/
#about{
  width: 100%;
  background-image:url("martin-guido-7d-9A0CD_hU-unsplash.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
 background-attachment: fixed;
  height: 150vh;
  backdrop-filter: brightness(0.7);
}
.about {
  position: fixed;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  text-align: left;
  background-color: rgba(1, 0, 0, 0.4);
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.white{
  color: #fff;
}
.textCenter{
  max-width: 80%;
  height: auto;
  padding: 40px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.898);
}
.textCenter h2{
  color: #c0af70;
}
h4{
  font-size: 24px;
  font-weight: 400;
  color:#858c94;
  text-align: center;
  text-transform: uppercase;
}
.imgIcon{
  width: 55px;
}
.contact { 
  max-width:900px; 
  margin: 30px auto; 
  padding:40px; 
  background:#fff; 
  border-radius:12px; 
  box-shadow:0 6px 20px rgba(0,0,0,0.7);
 }
 #contact-form { 
  display:flex; 
  flex-direction:column; 
 }
.contact input, .contact textarea { 
  width:100%; 
  padding:12px; 
  margin:8px 0; 
  border-radius:6px; 
  border:1px solid #cfcfcf; }
  .formP{
    font-size: 30px;
  }
.btnForm {
  background: #c0af70;
  color: #142238;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 26px;
  font-weight: 600;
}
.btnForm:hover {
  background: #d1c7a0;
}
/* FOOTER */
footer { 
  background:#142238; 
  color:#fff; 
  text-align:center; 
  padding:22px 10px;
left: 0;
right: 0;
  bottom: 0;
  width: 100%;
 }
footer p {
  margin: 0;
  font-size: 16px;
}

/* ====== RESPONSIVE ====== */
@media all and (max-width: 1024px) {
  .hero-container {
  width: 100%;
  height: 47vh;
}

    .imgHero {
  height: auto;
  margin-top: 77px;
}
#about{
  height: 80vh;
}
}
@media all and (max-width: 820px) {
  .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0,0,0,0.5);
    flex-direction: column;
    width: 200px;
    padding: 20px;
    transform: translateX(100%);
    transition: 0.3s;
    z-index: 11000;
  }
  .logo{
    font-size: 28px;
  }
  .menu.active {
    transform: translateX(0);
  }
.dropdown-menu{
  top: -250px;
  left:-350px;   /* выезжает слева */
  opacity:0;
  transform:translateX(20px);
  pointer-events:none;
  transition:0.25s;

}
.dropdown-menu.navOpen{
    opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}
  .hamb {
    display: flex;
  }

  .imgHero {
  height: auto;
  margin-top: 61px;
}
.hero-container {
  height: auto;

}
   .hero h1 {
  font-size: 50px;
  margin-top: 120px;
  
}
#services{
 margin-top: 70px;
}
.blockText {
  width: 47%;
  margin: 2px;
  margin-top: 20px;
}
#about{
  height: 100vh;
}
.textAboutContent{
  padding: 10px;
}
 .borderGold{
   
    height: 3%;
   
  }

}
@media (max-width: 480px) {
  .hero { 
    padding: 20px;
   }
   .hero h1 {
  font-size: 40px;

  
}
  .logo { 
    font-size: 25px; 
  }
  .logoImg{
  width: 150px;
  height: auto;
}
 .socialImg {
  width: 30px;
  height: 30px;
}
.blockText {
  width: 80%;
  height: auto;
  
}
.imgHero {
  width: 100%;
  height: 90%;
  margin-top: 52px;
  

}
.dropdown-menu{
  left:-250px;   /* выезжает слева */
  flex-wrap: wrap;
}
.btnUl{
  font-size: 16px;
}

#about{
  height: 100vh;
}
h4{
  font-size: 16px;
  font-weight: 300;
}
.imgIcon{
  width: 35px;
}
section {
  padding: 10px;
}
.about-content { 
  margin-top: 5px;
  }
h2{
  font-size: 30px;
  margin-top: 5px;
}
.btnMoreAnother{
  
  font-size: 18px;
  
  padding: 5px;
  
  margin-left: 5px;
   margin-right: 5px;
}
.textCenter{
  max-width: 95%;
  padding: 10px;
  }
}
