/*
Theme Name: Найди Работу
Theme URI: https://najdirabotu.ru
Author: najdirabotu
Description: Лёгкая тема для najdirabotu.ru — честный навигатор по подработке у партнёров сервисов. Т—Ж-типографика, зелёная палитра, без визуального билдера.
Version: 1.0
*/

:root{
  --ink:#111111;
  --text:#1a1a1a;
  --muted:#6b7280;
  --line:#e7e9ec;
  --bg:#ffffff;
  --brand:#02913d;
  --cta:#02913d;
  --cta-hover:#017a33;
  --tint:#e9f6ef;
  --warn:#b45309;
  --maxw:1120px;
  --read:720px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font:400 18px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Inter,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{color:var(--ink);letter-spacing:-.02em;line-height:1.2;margin:0 0 16px}
h1{font-size:40px;font-weight:800}
h2{font-size:30px;font-weight:800}
h3{font-size:21px;font-weight:700}
p{margin:0 0 18px}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.section{padding:64px 0}
.section--tint{background:var(--tint)}
.muted{color:var(--muted)}
.lead{font-size:21px;color:#33373d}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-block;background:var(--cta);color:#fff;font-weight:700;font-size:17px;
  padding:14px 26px;border-radius:12px;border:0;cursor:pointer;transition:background .15s;
}
.btn:hover{background:var(--cta-hover);text-decoration:none}
.btn--ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn--ghost:hover{background:#f5f6f7}

/* ---------- Шапка ---------- */
.site-header{
  position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(1.5) blur(6px);border-bottom:1px solid var(--line);
}
.site-header__in{display:flex;align-items:center;justify-content:space-between;height:64px}
.site-logo img{height:30px;width:auto}
.site-header__cta{font-size:15px;padding:9px 18px}

/* ---------- Hero ---------- */
.hero{position:relative;color:#fff;overflow:hidden;background:#0c1a12}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center}
.hero__grad{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,16,11,.88) 0%,rgba(8,16,11,.72) 34%,rgba(8,16,11,.15) 62%,rgba(8,16,11,0) 100%)}
.hero__in{position:relative;max-width:var(--maxw);margin:0 auto;padding:96px 24px}
.hero__box{max-width:560px}
.hero h1{color:#fff;font-size:46px;margin-bottom:18px}
.hero__sub{font-size:20px;color:#e8ece9;margin-bottom:28px}
.hero__note{margin-top:14px;font-size:14px;color:#c7d0ca}
.hero .btn{font-size:18px;padding:16px 30px}

/* ---------- Офферы ---------- */
.offers{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:8px}
.offer{
  border:1px solid var(--line);border-radius:16px;padding:26px;background:#fff;
  display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s;
}
.offer:hover{box-shadow:0 8px 30px rgba(0,0,0,.07);transform:translateY(-2px)}
.offer__ico{font-size:30px;margin-bottom:10px}
.offer h3{margin-bottom:10px}
.offer p{font-size:16px;margin-bottom:12px;color:#3a3f45}
.offer__income{background:var(--tint);color:#12643a;font-weight:600;font-size:15px;padding:10px 14px;border-radius:10px;margin-bottom:18px}
.offer .btn{margin-top:auto;align-self:flex-start;font-size:16px;padding:12px 22px}

/* ---------- Заработок ---------- */
.earn{max-width:var(--read)}
.earn h2{margin-bottom:14px}

/* ---------- Доверие ---------- */
.trust{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:8px}
.trust__item{display:flex;gap:14px}
.trust__num{flex:0 0 auto;width:40px;height:40px;border-radius:10px;background:var(--tint);color:var(--brand);display:flex;align-items:center;justify-content:center;font-weight:800}
.trust__item h3{font-size:18px;margin:2px 0 6px}
.trust__item p{font-size:16px;color:#3a3f45;margin:0}

/* ---------- Перелинковка ---------- */
.cross{max-width:var(--read)}

/* ---------- FAQ ---------- */
.faq{max-width:var(--read)}
.faq__item{border-bottom:1px solid var(--line);padding:20px 0}
.faq__q{font-weight:700;color:var(--ink);font-size:18px;margin-bottom:8px}
.faq__a{color:#3a3f45;font-size:16px;margin:0}

/* ---------- Футер ---------- */
.site-footer{background:#0f1512;color:#c7d0ca;padding:44px 0;font-size:14px;line-height:1.6}
.site-footer a{color:#9fe3bd}
.site-footer__row{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:18px}
.site-footer__brand{color:#fff;font-weight:800;font-size:18px}
.site-footer__disc{border-top:1px solid #223028;padding-top:18px;color:#8a978f}

/* ---------- Страница-оффер ---------- */
.phero{background:#0f1512;color:#fff;padding:52px 0}
.phero .wrap{max-width:820px}
.breadcrumb{font-size:14px;color:#8fb3a0;margin-bottom:14px}
.breadcrumb a{color:#9fe3bd}
.phero h1{color:#fff;font-size:38px;margin-bottom:14px}
.phero__sub{font-size:20px;color:#d7ded9;margin-bottom:22px;max-width:640px}
.phero .btn{font-size:17px}
.note-partner{display:block;background:rgba(159,227,189,.1);color:#cdeada;border:1px solid rgba(159,227,189,.22);border-radius:10px;padding:11px 15px;font-size:14px;margin-top:18px}
.pbody{max-width:820px}
.steps{counter-reset:s;margin:8px 0 0;padding:0;list-style:none}
.steps li{position:relative;padding:0 0 20px 52px;counter-increment:s;font-size:16px;color:#3a3f45}
.steps li:before{content:counter(s);position:absolute;left:0;top:-2px;width:34px;height:34px;border-radius:50%;background:var(--tint);color:var(--brand);font-weight:800;display:flex;align-items:center;justify-content:center}
.steps li strong{display:block;color:var(--ink);margin-bottom:2px}
.reqs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:8px 0 0;padding:0;list-style:none}
.reqs li{background:#f7f8f8;border:1px solid var(--line);border-radius:10px;padding:14px 16px;font-size:16px}
.cons{list-style:none;padding:0;margin:8px 0 0}
.cons li{padding:11px 0 11px 30px;position:relative;font-size:16px;color:#3a3f45;border-bottom:1px solid var(--line)}
.cons li:before{content:"!";position:absolute;left:0;top:10px;width:21px;height:21px;border-radius:50%;background:#fdeede;color:var(--warn);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.cta-band{background:var(--tint);border-radius:16px;padding:30px;text-align:center;margin-top:8px}
.cta-band h2{margin-bottom:8px}
.cta-band p{color:#3a3f45;margin-bottom:18px}
.tags2{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 0}
.tags2 span{background:var(--tint);color:var(--brand);font-weight:600;font-size:15px;padding:7px 14px;border-radius:8px}
.rate-wrap{overflow-x:auto}
.rate{width:100%;border-collapse:collapse;margin:8px 0 0;font-size:16px;min-width:460px}
.rate th,.rate td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}
.rate th{color:var(--muted);font-weight:600;font-size:14px}
.rate td:first-child{font-weight:700;color:var(--ink)}
.rate tr:last-child td{border-bottom:0}
.entry h2{margin-top:28px}
.entry ul{padding-left:22px}
.entry li{margin-bottom:6px}

/* ---------- Cookie-баннер ---------- */
.pb-cookie{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:100;max-width:760px;width:calc(100% - 32px);background:#111;color:#e8ece9;border-radius:12px;padding:14px 18px;display:flex;gap:14px;align-items:center;box-shadow:0 10px 40px rgba(0,0,0,.3);font-size:14px;line-height:1.5}
.pb-cookie a{color:#9fe3bd}
.pb-cookie button{flex:0 0 auto;background:var(--cta);color:#fff;border:0;border-radius:8px;padding:10px 20px;font-weight:700;cursor:pointer;font-size:14px}
.pb-cookie button:hover{background:var(--cta-hover)}
@media(max-width:600px){.pb-cookie{flex-direction:column;align-items:stretch;text-align:left}}

/* ---------- Навигация + плавный скролл ---------- */
html{scroll-behavior:smooth}
section[id]{scroll-margin-top:80px}
.site-nav{display:flex;gap:22px;margin-left:auto;margin-right:22px}
.site-nav a{color:var(--ink);font-weight:600;font-size:15px}
.site-nav a:hover{color:var(--brand);text-decoration:none}
@media(max-width:820px){.site-nav{display:none}}

/* ---------- Логотипы сервисов / фото ---------- */
.offer__logo{height:30px;width:auto;margin-bottom:14px}
.phero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.phero__ov{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,21,18,.94) 0%,rgba(15,21,18,.74) 46%,rgba(15,21,18,.42) 100%)}
.phero{position:relative;overflow:hidden}
.phero .wrap{position:relative;z-index:1}
.offbanner{display:block;width:100%;max-width:960px;border-radius:16px;margin:0 auto}
.fmt{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:8px}
.fmt figure{margin:0}
.fmt img{border-radius:14px;aspect-ratio:4/3;object-fit:cover;width:100%;display:block}
.fmt figcaption{margin-top:10px;font-weight:700;color:var(--ink);text-align:center;font-size:16px}
@media(max-width:640px){.fmt{grid-template-columns:1fr 1fr}}

/* ---------- Адаптив ---------- */
@media (max-width:820px){
  h1{font-size:32px}h2{font-size:25px}
  .hero h1{font-size:34px}
  .hero__in{padding:64px 24px}
  .hero__grad{background:linear-gradient(180deg,rgba(8,16,11,.78) 0%,rgba(8,16,11,.62) 60%,rgba(8,16,11,.72) 100%)}
  .offers,.trust,.reqs{grid-template-columns:1fr}
  .phero h1{font-size:29px}
  .section{padding:48px 0}
}
