/* layout.css */



html, body {
  width: 100%;
  overflow-x: hidden;
}

html{
  scroll-behavior:smooth;
}

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  background:#fff;
  z-index:999;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
  overflow:visible;
  transition:transform 0.35s ease, opacity 0.35s ease;
}

.header.hide{
  transform:translateY(-120%);
  opacity:0;
}


.nav{
  height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  overflow:visible;
}


.logo-link{
  display:flex;
  align-items:center;
  padding:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.logo{
  height:clamp(56px, 6vw, 74px);
  display:block;
  width:auto;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,0.22));
  transition:transform 0.25s ease, filter 0.25s ease;
}

.logo-link:hover .logo,
.logo-link:focus-visible .logo{
  transform:scale(1.05);
  filter:drop-shadow(0 3px 8px rgba(0,0,0,0.3));
}


.nav-links{
  display:flex;
  gap:30px;
  list-style:none;
}

@media (min-width:901px){
  .header{
    background:transparent;
    box-shadow:none;
    padding-top:6px;
    padding-bottom:6px;
  }

  .nav{
    height:auto;
    padding:6px 14px;
    margin-top:6px;
    border-radius:999px;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.3) 100%),
      rgba(255,255,255,0.22);
    border:1px solid rgba(255,255,255,0.45);
    box-shadow:0 10px 26px rgba(0,0,0,0.16);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
  }

  .nav-links{
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
  }

  .nav-links a{
    color:#1d1d1d;
    font-weight:600;
    text-shadow:0 1px 1px rgba(255,255,255,0.6);
  }

  .lang-toggle{
    background:rgba(255,255,255,0.45);
    border-color:rgba(255,255,255,0.5);
    color:#121212;
  }
}

.nav-links a{
  position:relative;
  display:inline-block;
  text-decoration:none;
  color:#1e1e1e;
  font-weight:500;
  padding:5px 0;
  transition:color 0.3s ease, transform 0.2s ease;
    font-size:15px;

}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background:#5a6b1e;
  transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{
  color:#5a6b1e;
}

.nav-links a:hover,
.nav-links a:focus-visible{
  transform:scale(1.05);
}

.nav-links a:hover::after,
.nav-links a.active::after{
  width:100%;
}

.menu-toggle{
  display:none;
  font-size:26px;
  cursor:pointer;
}

section{
  padding:80px 0;
}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  text-align:center;
}

.footer{
  position:relative;
  background:
    radial-gradient(circle at 12% -10%, rgba(207,224,107,0.14), transparent 55%),
    linear-gradient(160deg, #3a4412 0%, #2b3410 100%);
  color:#fff;
  padding:56px 0 50px;
}

.footer::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(207,224,107,0.45), transparent);
}

.footer-inner{
  width:100%;
}

.footer-simple{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:28px;
  width:min(100%, 920px);
  margin:0 auto;
}

.footer-brand{
  position:relative;
  display:flex;
  align-items:center;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  padding-left:16px;
}

.footer-brand::before{
  content:"";
  position:absolute;
  left:0;
  transform:none;
  top:4px;
  width:3px;
  height:40px;
  border-radius:6px;
  background:#cfe06b;
  box-shadow:0 0 10px rgba(207,224,107,0.35);
}

.footer-brand-name{
  font-family:'Sora',sans-serif;
  font-size:24px;
  font-weight:700;
  letter-spacing:0.4px;
}

.footer-brand-subtitle{
  font-size:12px;
  font-weight:500;
  letter-spacing:2px;
  text-transform:uppercase;
  color:#cfe06b;
  opacity:.95;
}

.footer-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
  justify-self:end;
}

.footer-chip{
  height:52px;
  padding:0 24px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.28);
  background:rgba(255,255,255,0.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  box-shadow:0 8px 14px rgba(0,0,0,0.12);
}

.footer-social-wrap{
  padding:6px 24px;
}

.footer-rights{
  font-size:13px;
  letter-spacing:0.2px;
  color:rgba(255,255,255,0.82);
}

.footer-bottom{
  margin-top:26px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,0.12);
  display:flex;
  justify-content:center;
  width:min(100%, 920px);
  margin-left:auto;
  margin-right:auto;
}

.footer-social{
  display:flex;
  gap:12px;
}

.footer-social-link{
  width:40px;
  height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.45);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:inherit;
  font-size:15px;
  font-weight:600;
  letter-spacing:.5px;
  background:rgba(255,255,255,0.12);
  transition:background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus{
  background:#cfe06b;
  border-color:#cfe06b;
  color:#1e1e1e;
  transform:translateY(-2px) scale(1.06);
  box-shadow:0 10px 18px rgba(0,0,0,0.18);
}

.footer-top{
  position:relative;
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  text-align:center;
  transition:background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor:pointer;
}


.footer-top::after{
  content:"";
  position:absolute;
  top:-140%;
  left:-40%;
  width:45%;
  height:320%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform:skewX(-20deg);
  opacity:0;
  z-index:0;
  pointer-events:none;
  transition:opacity 0.2s ease, transform 0.6s ease;
}

.footer-top > *{
  position:relative;
  z-index:1;
}

.footer-top:hover,
.footer-top:focus{
  background:#cfe06b;
  border-color:#cfe06b;
  color:#1e1e1e;
  transform:translateY(-2px);
  box-shadow:0 12px 20px rgba(0,0,0,0.2);
}

.footer-top:hover::after,
.footer-top:focus::after{
  opacity:0.9;
  transform:translateX(260%) skewX(-20deg);
}

.footer-top-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.5);
  background:rgba(255,255,255,0.18);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-top-icon svg{
  animation:footer-float 2.2s ease-in-out infinite;
}

.footer-top-text{
  font-size:14px;
  line-height:1.1;
  letter-spacing:0.3px;
  font-weight:600;
}

.footer-top:hover .footer-top-icon,
.footer-top:focus .footer-top-icon{
  background:#1e1e1e;
  border-color:#1e1e1e;
  color:#fff;
  transform:translateY(-2px) scale(1.12);
}

@keyframes footer-float{
  0%, 100% { transform:translateY(0); }
  50% { transform:translateY(-3px); }
}

/* ===== HAMBURGER ICON ===== */
.menu-toggle{
  width:28px;
  height:20px;
  position:relative;
  cursor:pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:3px;
  background:#1e1e1e;
  transition:0.3s ease;
  border-radius:3px;
}

.menu-toggle span{
  top:50%;
  transform:translateY(-50%);
}

.menu-toggle::before{
  top:0;
}

.menu-toggle::after{
  bottom:0;
}

/* ===== ACTIVE (X) ===== */
.menu-toggle.active span{
  opacity:0;
}

.menu-toggle.active::before{
  transform:rotate(45deg);
  top:50%;
}

.menu-toggle.active::after{
  transform:rotate(-45deg);
  bottom:auto;
  top:50%;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher{
  position:relative;
  display:flex;
  align-items:center;
  overflow:visible;
}

.lang-toggle{
  width:56px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.12);
  background:rgba(255,255,255,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:13px;
  font-weight:700;
  color:#121212;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(0,0,0,0.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-toggle:hover{
  transform:translateY(-1px);
  border-color:rgba(0,0,0,0.18);
  box-shadow:0 14px 26px rgba(0,0,0,0.16);
}

.lang-toggle-caret{
  font-size:12px;
  opacity:0.7;
}

.lang-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  background:#ffffff;
  border-radius:16px;
  padding:8px;
  min-width:190px;
  box-shadow:0 18px 40px rgba(0,0,0,0.12);
  border:1px solid rgba(0,0,0,0.06);
  color:#1e1e1e;
  display:none;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity 0.2s ease, transform 0.2s ease;
  z-index:1001;
}

.lang-switcher.open .lang-menu{
  display:block;
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.lang-option{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  border:0;
  background:transparent;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-size:14px;
  color:#1e1e1e;
  transition:background 0.2s ease, color 0.2s ease;
}

.lang-option:hover{
  background:#f3f2ed;
  color:#3e4a12;
}

.lang-code{
  min-width:36px;
  text-align:center;
  font-size:12px;
  font-weight:700;
  border-radius:999px;
  border:1px solid #e3ddd2;
  padding:3px 6px;
  color:#3e4a12;
}

.lang-name{
  flex:1;
  font-weight:600;
  color:#3e4a12;
  text-align:left;
}

.lang-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#5a6b1e;
  opacity:0;
}

.lang-btn.active .lang-dot{
  opacity:1;
}

