/* ===== DJEB — styles ===== */
:root {
  --bg: #f6f3ed;
  --surface: #ffffff;
  --ink: #18211c;
  --muted: #66756b;
  --green: #1c5b41;
  --green-2: #134530;
  --deep: #0e2a1e;
  --amber: #d97706;
  --line: #e5dfd2;
  --radius: 6px;
  --shadow: 0 14px 34px rgba(20, 40, 30, .12);
  --font: 'Onest', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: inline-block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.kicker::before { content: ''; width: 22px; height: 3px; background: var(--amber); border-radius: 2px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 4px; font-family: var(--font); font-size: .98rem; font-weight: 700; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; text-decoration: none; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); box-shadow: 0 8px 20px rgba(28, 91, 65, .3); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(246, 243, 237, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header--scrolled { box-shadow: 0 6px 22px rgba(24, 33, 28, .08); }
.header__inner { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; background: var(--green); color: #fff; font-size: .95rem; font-weight: 800; }
.logo__dot { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: 9px 16px; border-radius: 4px; transition: color .15s ease, background .15s ease; }
.nav a:hover { color: var(--green); background: rgba(28, 91, 65, .08); text-decoration: none; }
.header__cta { margin-left: 6px; padding: 11px 20px; font-size: .9rem; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; background: transparent; border: 1.5px solid var(--ink); border-radius: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 92px 0 84px; background: radial-gradient(640px 420px at 88% -6%, rgba(217, 119, 6, .14), transparent 62%), var(--bg); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); border: 1.5px solid rgba(28, 91, 65, .4); border-radius: 4px; padding: 7px 14px; margin-bottom: 22px; }
.hero h1 { margin-bottom: 18px; }
.hero__accent { color: var(--amber); }
.hero__text { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__panel { background: var(--deep); color: rgba(255, 255, 255, .85); border-radius: 10px; padding: 30px 28px; box-shadow: var(--shadow); }
.hero__panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.hero__panel-label { font-weight: 800; font-size: 1.02rem; color: #fff; }
.hero__panel-badge { font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--deep); background: var(--amber); border-radius: 4px; padding: 6px 10px; }
.hero__panel-list { display: grid; gap: 18px; }
.hero__panel-list dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); margin-bottom: 3px; }
.hero__panel-list dd { font-weight: 600; font-size: .98rem; color: #fff; }
.hero__panel-list a { color: #fff; }
.hero__panel-list a:hover { color: var(--amber); text-decoration: none; }
.hero__stats { list-style: none; display: flex; gap: 12px 28px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); flex-wrap: wrap; }
.hero__stats b { display: block; font-size: 1.45rem; font-weight: 800; color: var(--amber); }
.hero__stats span { font-size: .82rem; color: rgba(255, 255, 255, .6); }
/* ===== About ===== */
.about { padding: 96px 0; background: var(--surface); scroll-margin-top: 74px; }
.about__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.about__text h2 { margin-bottom: 18px; }
.about__list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about__list li { position: relative; padding-left: 28px; font-weight: 600; color: var(--ink); }
.about__list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 14px; height: 14px; background: var(--amber); border-radius: 3px; transform: rotate(45deg); }
.about__card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 6px; padding: 30px 28px; }
.about__card dl { display: grid; gap: 16px; margin-top: 20px; }
.about__card dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.about__card dd { font-weight: 600; color: var(--ink); font-size: .98rem; }

/* ===== Services ===== */
.services { padding: 96px 0; scroll-margin-top: 74px; }
.section-head { max-width: 560px; margin-bottom: 46px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p:not(.kicker) { color: var(--muted); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 6px; padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__num { display: block; font-size: 1.6rem; font-weight: 800; color: var(--amber); margin-bottom: 12px; line-height: 1; }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .95rem; }

/* ===== Contacts ===== */
.contacts { padding: 96px 0; background: var(--surface); scroll-margin-top: 74px; }
.contacts__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contacts__info h2 { margin-bottom: 14px; }
.contacts__info > p { color: var(--muted); }
.contacts__list { margin-top: 28px; display: grid; gap: 20px; }
.contacts__list dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.contacts__list dd { font-weight: 600; color: var(--ink); }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 34px 30px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input, .field textarea { font-family: var(--font); font-size: .98rem; color: var(--ink); padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(28, 91, 65, .12); }
.field--hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__submit { margin-top: 4px; }
.form__status { min-height: 24px; font-size: .92rem; font-weight: 600; }
.form__status--success { color: #137a3f; }
.form__status--error { color: #b3261e; }
/* ===== Footer ===== */
.footer { background: var(--deep); color: rgba(255, 255, 255, .82); padding: 64px 0 30px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__brand { max-width: 340px; }
.logo--footer, .logo--footer .logo__text { color: #fff; }
.footer__about { margin-top: 16px; font-size: .94rem; color: rgba(255, 255, 255, .6); }
.footer__nav { display: grid; gap: 12px; align-content: start; }
.footer__nav a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; }
.footer__nav a:hover { color: var(--amber); text-decoration: none; }
.footer__legal { margin-top: 28px; font-size: .88rem; line-height: 1.6; color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; background: rgba(255, 255, 255, .05); padding: 16px 18px; font-weight: 600; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 22px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer__bottom a { color: rgba(255, 255, 255, .7); }

/* ===== Legal pages ===== */
.legal { padding: 64px 0 96px; min-height: calc(100vh - 366px); }
.legal .container { max-width: 860px; }
.legal h1 { margin-bottom: 8px; }
.legal__meta { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { word-break: break-all; }
.legal__page .header { position: static; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__inner, .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0 60px; }
}

@media (max-width: 860px) {
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--bg); padding: 20px 24px 28px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s ease; margin-left: 0; }
  .menu-open .nav { transform: translateY(0); }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .header__cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .form { padding: 26px 20px; }
  .about, .services, .contacts { padding: 72px 0; }
}