:root {
  --green: #00BC4C;
  --green-dark: #009C3E;
  --ink: #16241c;
  --muted: #6b7a70;
  --bg: #ffffff;
  --bg-alt: #f4f8f5;
  --line: #e4ebe6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 60, 30, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.narrow { width: min(760px, 92%); }
.center { text-align: center; margin-top: 28px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: 2px solid transparent; transition: .18s; white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: #fff; border-color: var(--green); color: var(--green-dark); }
.btn-ghost:hover { background: var(--green); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { flex: none; display: block; height: 34px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: 18px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang-switch button { border: 0; background: #fff; padding: 7px 11px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--muted); }
.lang-switch button.active { background: var(--green); color: #fff; }
.burger { display: none; border: 0; background: none; font-size: 22px; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #009C3E, #00BC4C 60%, #1ace5c);
  color: #fff; padding: 84px 0;
}
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-copy { max-width: 640px; flex: 1 1 auto; }
.hero-img { flex: 0 0 auto; width: clamp(240px, 32vw, 400px); height: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; font-weight: 700; opacity: .9; margin: 0 0 14px; }
.hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; }
.hero-sub { font-size: 18px; opacity: .95; margin: 18px 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Tools */
.tools { margin-top: -46px; }
.tools-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; border: 1px solid var(--line); }
.tools-title { font-size: 20px; font-weight: 800; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 18px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
label.full { grid-column: 1 / -1; }
input, textarea { font-family: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
input:focus, textarea:focus { outline: none; border-color: var(--green); }
.dims-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hint { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.result { margin-top: 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.result table { width: 100%; border-collapse: collapse; font-size: 14px; }
.result th, .result td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.result th { color: var(--muted); font-weight: 600; }
.result .err { color: #c0392b; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-align: center; margin-bottom: 36px; }
.section-lead { text-align: center; color: var(--muted); margin: -22px 0 32px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: .18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-ico { font-size: 30px; margin-bottom: 12px; }
img.card-ico { width: 120px; height: 120px; object-fit: contain; display: block; }
.card h3 { font-size: 18px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }
a.card { display: flex; flex-direction: column; }
a.card .card-more { margin-top: auto; padding-top: 14px; color: var(--green); font-weight: 700; font-size: 14px; }
a.card .card-more::after { content: ' →'; }
a.card:hover .card-more { text-decoration: underline; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-item { display: flex; gap: 14px; }
.adv-ico { font-size: 24px; }
img.adv-ico { width: 80px; height: 80px; object-fit: contain; flex: 0 0 auto; }
.adv-item h4 { font-size: 16px; }
.adv-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-n { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: var(--green); color: #fff; border-radius: 50%; font-weight: 800; margin-bottom: 12px; }
.steps h4 { font-size: 16px; }
.steps p { color: var(--muted); font-size: 14px; margin: 0; }

/* PVZ */
.pvz-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 26px; }
.pvz-list { list-style: none; padding: 0; margin: 0; }
.pvz-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; }
.pvz-list li.active { border-color: var(--green); box-shadow: var(--shadow); }
.pvz-list b { display: block; }
.pvz-list a { color: var(--green); font-weight: 600; font-size: 14px; }
.map { height: 440px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ */
/* Новости — плитки на главной */
.news-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.news-tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px; transition: .18s; }
.news-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-tile-title { font-size: 17px; line-height: 1.35; margin: 6px 0 10px; color: var(--ink); }
.news-tile-text { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* Новости — полная лента */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.news-card:hover { box-shadow: var(--shadow); }
.news-date { display: block; color: var(--green-dark); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 8px; }
.news-card-title { font-size: 21px; line-height: 1.3; margin: 0 0 12px; }
.news-body { color: var(--ink); margin: 0 0 12px; line-height: 1.6; }
.news-source { color: var(--muted); font-size: 13px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.news-source a { color: var(--green); font-weight: 600; }
.news-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.news-pagination:empty { display: none; }
.news-pagination a, .news-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); transition: .18s; }
.news-pagination a:hover { border-color: var(--green); color: var(--green); }
.news-pagination .is-current { background: var(--green); border-color: var(--green); color: #fff; }
.news-pagination .is-disabled { opacity: .4; }

.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: var(--muted); margin: 0 0 14px; }

/* Вакансии */
.vacancy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; box-shadow: var(--shadow); }
.vacancy-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.vacancy-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; margin: 0; }
.vacancy-salary { color: var(--green-dark); font-weight: 800; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.chip { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px; padding: 6px 13px; font-size: 13px; font-weight: 600; color: var(--ink); }
.vacancy-details { border-top: 1px solid var(--line); }
.vacancy-details summary { cursor: pointer; font-weight: 700; color: var(--green-dark); padding: 14px 0; list-style: none; }
.vacancy-details summary::-webkit-details-marker { display: none; }
.vacancy-details summary::before { content: '+ '; font-weight: 800; }
.vacancy-details[open] summary::before { content: '– '; }
.vacancy-body { padding-top: 4px; }
.vacancy-h { font-size: 16px; font-weight: 800; margin: 18px 0 8px; }
.vacancy-body p { margin: 0 0 10px; color: #2c3a31; }
.vacancy-ul { margin: 0 0 10px; padding-left: 20px; }
.vacancy-ul li { margin-bottom: 6px; color: #2c3a31; }
.vacancy-ul ul { margin: 6px 0; }
.vacancy-outro { font-weight: 700; color: var(--ink); margin-top: 16px; }
.apply-form { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.apply-form input { font-family: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.apply-form input:focus { outline: none; border-color: var(--green); }
.vacancy-apply { margin-top: 0; }
.apply-result { margin-top: 14px; }
@media (max-width: 560px) { .apply-row { grid-template-columns: 1fr; } }

/* Contract */
.section-cta { background: var(--bg-alt); }
.contract-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contract-holder { text-align: left; }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, #009C3E, #00BC4C 60%, #1ace5c); color: #fff; padding: 56px 0 48px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 14px; }
.page-hero-ico { font-size: 44px; line-height: 1; margin-bottom: 14px; }
img.page-hero-ico { width: 200px; height: 200px; object-fit: contain; display: block; }
.breadcrumb { margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a::before { content: '← '; }
.breadcrumb a:hover { color: #fff; }
.page-lead { max-width: 760px; font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.92); margin: 0; }
.svc-intro { font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.section .svc-intro + .svc-intro,
.section > .container:last-child .svc-intro { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.feature h3 { font-size: 17px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }
.center-block { text-align: center; }
.center-block .section-lead { margin: -22px auto 0; max-width: 620px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfe0d5; padding: 50px 0 56px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; }
.footer-h4-mt { margin-top: 14px; }
.site-footer p { margin: 6px 0; }
.site-footer a:hover { color: #fff; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-top: 14px; border-radius: 11px; color: #cfe0d5; border: 1px solid rgba(255,255,255,.2); transition: .2s; }
.footer-social svg { width: 22px; height: 22px; }
.footer-social:hover { color: #fff; border-color: transparent; background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); transform: translateY(-2px); }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #9fb3a6; }

/* Responsive */
@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .cards, .adv-grid, .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .pvz-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .cards, .adv-grid, .steps, .features { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
}
