:root{
  --bg:#f7f9fc; --bg-alt:#ffffff; --surface:#ffffff; --card:#ffffff;
  --text:#0c1633; --muted:#5a678a; --primary:#1b6bff; --accent:#0bb07b;
  --border:#e3e8f2; --ok:#177245; --err:#c62828;
}

*{box-sizing:border-box}
html,body{margin:0}
body{
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu;
  color:var(--text); background:var(--bg)
}

/* Layout helpers */
.container{max-width:1100px; margin:0 auto; padding:0 20px}

/* ===== NAV ===== */
.nav{
  position:sticky; top:0; z-index:10;
  background:rgba(255,255,255,.9);
  border-bottom:1px solid var(--border);
  backdrop-filter:saturate(140%) blur(6px)
}
.nav__inner{display:flex; align-items:center; justify-content:space-between; height:64px}
.brand{display:flex; align-items:center; gap:10px; color:var(--text); text-decoration:none}
.brand__logo{width:200px; height:200px}
.brand__text{font-weight:700; letter-spacing:.2px}

.menu a{color:var(--text); text-decoration:none; margin-left:18px; opacity:.85}
.menu a:hover{opacity:1}

/* Language switcher */
.lang select{
  appearance:none; border:1px solid var(--border); background:#fff; color:var(--text);
  border-radius:10px; padding:8px 10px; margin-left:14px; cursor:pointer;
}
.sr-only{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}

/* Hamburger (hidden on desktop) */
.burger{
  display:none; position:relative; width:40px; height:36px;
  border:1px solid var(--border); border-radius:10px; background:#fff; cursor:pointer
}
.burger__bar{
  position:absolute; left:8px; right:8px; height:2px; background:var(--text);
  transition:transform .25s ease, opacity .2s ease, top .25s ease
}
.burger__bar:nth-child(1){ top:11px }
.burger__bar:nth-child(2){ top:17px }
.burger__bar:nth-child(3){ top:23px }
.burger.is-open .burger__bar:nth-child(1){ top:17px; transform:rotate(45deg) }
.burger.is-open .burger__bar:nth-child(2){ opacity:0 }
.burger.is-open .burger__bar:nth-child(3){ top:17px; transform:rotate(-45deg) }

/* ===== HERO ===== */
.hero{
  padding:72px 0 40px;
  background:linear-gradient(180deg,#ffffff 0%, #f2f6ff 100%);
  border-bottom:1px solid var(--border)
}
.hero__grid{display:grid; grid-template-columns:1.2fr .8fr; gap:32px}
h1{font-size:40px; line-height:1.15; margin:0 0 12px}
.lead{color:var(--muted); max-width:52ch}
.cta{margin:18px 0 10px; display:flex; gap:12px}
.badges{list-style:none; padding:0; margin:14px 0 0; display:flex; gap:14px; color:var(--muted); flex-wrap:wrap}

/* ===== SECTIONS ===== */
.section{padding:56px 0}
.section--alt{background:var(--bg-alt)}

/* Cards / work */
.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.card{
  background:var(--card); border:1px solid var(--border); border-radius:14px; padding:18px;
  box-shadow:0 2px 12px rgba(10,20,60,.04)
}
.checklist{margin:10px 0 0 0; padding-left:18px}
.checklist li{margin:6px 0}

.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.work{
  background:var(--card); border:1px solid var(--border); border-radius:14px; overflow:hidden;
  box-shadow:0 2px 12px rgba(10,20,60,.04)
}
.work__thumb{height:120px; background:linear-gradient(135deg,#d9e6ff,#c8ffe6)}
.work__meta{padding:12px 14px; color:var(--muted); display:flex; align-items:center; justify-content:space-between}

/* ===== FORM ===== */
.form{max-width:760px}
.field{display:flex; flex-direction:column; gap:6px; margin:10px 0}
.field input,.field textarea,.field select{
  appearance:none; border:1px solid var(--border); background:#fff; color:var(--text);
  border-radius:10px; padding:12px; outline:none; width:100%
}
.field input:focus,.field textarea:focus,.field select:focus{
  border-color:#b8cffd; box-shadow:0 0 0 3px rgba(27,107,255,.15)
}
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.checkbox{display:flex; align-items:center; gap:10px; margin:6px 0 12px; color:var(--muted)}
.hp{display:none}

/* Buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; padding:10px 14px; border-radius:10px; text-decoration:none; border:1px solid transparent; cursor:pointer}
.btn--primary{background:var(--primary); color:#fff; font-weight:700}
.btn--primary:disabled{opacity:.6}
.btn--ghost{border-color:var(--border); color:var(--text); background:#fff}
.btn--ghost:hover{background:#f4f7ff}

/* Notes */
.note{margin-top:10px; color:var(--muted)}
.note--ok{color:var(--ok)}
.note--err{color:var(--err)}

/* Footer */
.footer{border-top:1px solid var(--border); background:#fff; padding:18px 0; color:var(--muted)}
.footer__inner{display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px}

/* ===== Responsive ===== */
@media (max-width:900px){
  .burger{ display:block }
  .menu{
    position:absolute; top:64px; left:0; right:0;
    background:#fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
    display:grid; gap:10px; padding:12px 20px;
    transform:translateY(-10px); opacity:0; pointer-events:none;
    box-shadow:0 10px 24px rgba(10,20,60,.06);
    transition:opacity .2s ease, transform .2s ease
  }
  .menu a{ margin:0; padding:8px 0 }
  .menu .btn--primary{ width:100%; justify-content:center }
  .menu .lang{ margin-top:6px }
  .menu.is-open{ transform:translateY(0); opacity:1; pointer-events:auto }
  .nav__inner{ position:relative }
  .hero__grid{grid-template-columns:1fr}
  .cards,.grid-3,.grid-2{grid-template-columns:1fr}
}