*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial, sans-serif;
  background:#f2f4f7;
  color:#101828;
}

.site-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 18px;
  background:#000;
  color:#fff;
  position:relative;
}

.logo{
  margin:0;
  font-size:20px;
}

.nav{
  display:flex;
  gap:20px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.3s;
}

nav>a:hover {
  background: #00c853;
}

.burger{
  display:none;
  font-size:26px;
  background:none;
  border:none;
  color:white;
  cursor:pointer;
}

.wrap{
  max-width:1000px;
  margin:auto;
  padding:30px 20px 50px;
}

.hero-box{
  text-align:center;
  margin-bottom:30px;
}

.page-title{
  font-size:34px;
  margin:0 0 12px;
}

.page-description{
  max-width:750px;
  margin:0 auto;
  color:#667085;
  line-height:1.7;
}

.calculator-card,
.seo-section,
.faq-section{
  background:white;
  border-radius:18px;
  padding:24px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  margin-bottom:30px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:16px;
}

.full{
  grid-column:1 / -1;
}

.field label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
}

.field input,
.field select{
  width:100%;
  padding:12px;
  border:1px solid #d0d5dd;
  border-radius:12px;
  font-size:15px;
  background:#fff;
}

.section-block{
  margin-top:22px;
}

.section-title{
  font-size:18px;
  font-weight:700;
  margin-bottom:10px;
}

.toggle-row{
  display:flex;
  gap:10px;
  margin-bottom:12px;
  flex-wrap:wrap;
}

.toggle-btn{
  padding:10px 16px;
  border:1px solid #d0d5dd;
  background:#fff;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
}

.toggle-btn.active{
  background:#e8f5e9;
  border-color:#4caf50;
  color:#1b5e20;
}

.calculate-btn{
  margin-top:24px;
  width:100%;
  padding:14px;
  border:none;
  border-radius:14px;
  background:#2e7d32;
  color:white;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

.calculate-btn:hover{
  background:#25692a;
}

.result-box{
  margin-top:24px;
  padding:20px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #eaecf0;
}

.main-result{
  font-size:24px;
  font-weight:800;
  margin-bottom:10px;
}

.sub-result{
  color:#667085;
  line-height:1.6;
  margin-bottom:18px;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.stat-card{
  background:white;
  padding:16px;
  border-radius:14px;
  border:1px solid #eaecf0;
}

.stat-label{
  display:block;
  color:#667085;
  font-size:14px;
  margin-bottom:8px;
}

.stat-card strong{
  font-size:20px;
}

.seo-section h2,
.faq-section h2{
  margin-top:0;
  margin-bottom:14px;
}

.seo-section p,
.faq-item p{
  color:#475467;
  line-height:1.7;
}

.faq-item{
  margin-bottom:20px;
}

.faq-item:last-child{
  margin-bottom:0;
}

.faq-item h3{
  margin-bottom:8px;
}

.hidden{
  display:none;
}

@media (max-width:900px){
  .stats-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){
  .grid{
    grid-template-columns:1fr;
  }

  .page-title{
    font-size:28px;
  }
}

@media (max-width:600px){
  .burger{
    display:block;
  }

  .nav{
    display:none;
    position:absolute;
    top:60px;
    left:0;
    right:0;
    background:black;
    flex-direction:column;
    padding:15px;
    z-index:1000;
  }

  .nav.open{
    display:flex;
  }
}