:root{
  --bg:#ffffff;
  --text:#141414;
  --muted:#666;
  --line:#e8e8e8;
  --soft:#f7f7f7;
  --accent:#111;
  --radius:14px;
  --shadow: 0 10px 28px rgba(0,0,0,.08);
  --max:1100px;
  --pad:20px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.45;
}

a{ color:inherit; }
img{ max-width:100%; display:block; }

.container{
  width:100%;
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--pad);
}

.header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  z-index:10;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-mark{
  width:34px;
  height:34px;
  border-radius:10px;
  background:var(--accent);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:12px;
  letter-spacing:.6px;
}

.brand-text{
  font-weight:700;
}

.nav-toggle{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:10px 12px;
  font-size:16px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-links a{
  text-decoration:none;
  color:var(--text);
  padding:8px 10px;
  border-radius:10px;
}

.nav-links a.active{
  background:var(--soft);
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:12px;
  background:var(--accent);
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  border:1px solid var(--accent);
  box-shadow: var(--shadow);
}

.button.ghost{
  background:transparent;
  color:var(--text) !important;
  border:1px solid var(--line);
  box-shadow:none;
}

.hero{
  padding:34px 0 14px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  align-items:center;
}

.hero-copy h1{
  font-size:44px;
  line-height:1.08;
  margin:0 0 12px;
}

.lead{
  font-size:18px;
  color:var(--muted);
  margin:0 0 14px;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 12px;
}

.pill{
  font-size:13px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
}

.subnote{
  color:var(--muted);
  margin:0 0 16px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:10px;
}

.hero-media{
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
  background: #fff;
}

.hero-img{
  width:100%;
  height:420px;
  object-fit:cover;
}

.section{
  padding:40px 0;
}

.section.muted{
  background:var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-title h2{
  margin:0 0 8px;
  font-size:28px;
}

.section-title p{
  margin:0 0 18px;
  color:var(--muted);
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}

.card img{
  width:100%;
  height:210px;
  object-fit:cover;
}

.card-body{
  padding:14px 14px 16px;
}

.card-body h3{
  margin:0 0 6px;
}

.card-body p{
  margin:0 0 10px;
  color:var(--muted);
}

.text-link{
  font-weight:700;
  text-decoration:none;
}

.how{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.step{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  padding:14px;
}

.step-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}

.badge{
  width:28px;
  height:28px;
  border-radius:9px;
  background:var(--accent);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:800;
}

.step h4{
  margin:0;
}

.step p{
  margin:0;
  color:var(--muted);
}

.cta-row{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}

.gallery a{
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background:#fff;
}

.gallery img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.page-head{
  padding:34px 0 10px;
}

.page-head h1{
  margin:0 0 8px;
  font-size:36px;
}

.page-head p{
  margin:0 0 12px;
  color:var(--muted);
}

.form-wrap{
  max-width: 860px;
}

.form{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}

.field-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-bottom:12px;
}

label{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:700;
  font-size:14px;
}

input, select, textarea{
  font: inherit;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  outline:none;
}

textarea{ resize:vertical; }

.note{
  color:var(--muted);
  margin:12px 0 0;
}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  background:#fff;
}

.footer-grid{
  display:flex;
  gap:10px;
  justify-content:space-between;
  flex-wrap:wrap;
  color:var(--muted);
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-img{ height:360px; }
  .cards{ grid-template-columns: 1fr; }
  .how{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .field-grid{ grid-template-columns: 1fr; }
  .nav-toggle{ display:inline-flex; }
  .nav-links{
    display:none;
    position:absolute;
    right:20px;
    top:64px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    box-shadow: var(--shadow);
    min-width: 220px;
  }
  .nav-links.open{ display:flex; }
}