:root {
  --ink: #142019;
  --muted: #65706a;
  --paper: #f7f8f2;
  --soft: #eef1e9;
  --white: #ffffff;
  --line: #dedfd8;
  --lime: #7bd600;
  --lime-bright: #96e72a;
  --lime-soft: #e9f9d8;
  --dark: #0e1813;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(28, 34, 31, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 242, 0.92);
  border-bottom: 1px solid rgba(222, 223, 216, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 17px; letter-spacing: -0.02em; }
.brand small { color: var(--lime); font-size: 13px; font-weight: 700; margin-top: 5px; }

nav { display: flex; align-items: center; gap: 28px; color: #39403f; font-size: 15px; font-weight: 700; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--lime); transition: right .2s ease; }
nav a:hover::after { right: 0; }

.header-phone { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; }
.header-phone b { border: 1px solid var(--lime); border-radius: 999px; padding: 12px 18px; font-size: 14px; transition: .2s ease; }
.header-phone:hover b { background: var(--lime); color: white; }

.hero {
  position: relative;
  padding: 64px 0 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 81% 25%, rgba(123,214,0,.12), transparent 31%),
    radial-gradient(circle at 12% 68%, rgba(123,214,0,.05), transparent 24%);
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(20,32,25,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,32,25,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, black, transparent 58%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 610px) 526px; justify-content: space-between; align-items: center; gap: 64px; }
.hero-copy { min-width: 0; padding: 18px 0; }
.eyebrow { margin: 0 0 20px; color: #5b9910; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); }
.hero-chip { width: max-content; max-width: 100%; padding: 10px 14px; border-radius: 999px; background: var(--lime-soft); color: #2d5b17; letter-spacing: .09em; }
.hero-chip span { box-shadow: none; }
.hero h1 { margin: 0; max-width: 610px; font-size: clamp(50px, 3.35vw, 60px); line-height: 1.01; letter-spacing: -0.05em; font-weight: 850; text-wrap: balance; }
.hero h1 em { color: #315f1d; font-style: normal; }
.hero-lead { margin: 28px 0 0; max-width: 570px; color: var(--muted); font-size: 18px; line-height: 1.62; }

.hero-actions, .contact-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border-radius: 16px; font-size: 16px; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--dark); box-shadow: 0 12px 24px rgba(123, 214, 0, .24); }
.button-primary:hover { background: #70c600; box-shadow: 0 16px 28px rgba(123, 214, 0, .3); }
.button-secondary { background: var(--white); border: 1px solid #aeb3ae; }
.button-secondary:hover { border-color: var(--lime); }

.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; max-width: 520px; }
.trust-card { min-height: 82px; display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 34px rgba(20,32,25,.04); }
.trust-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.35; }
.trust-card strong { color: var(--ink); display: block; font-size: 18px; }
.trust-icon, .star { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: var(--lime-soft); color: var(--lime); font-size: 21px; font-weight: 900; }
.trust-yandex { justify-content: center; padding: 10px 14px; overflow: hidden; }
.trust-yandex iframe { display: block; width: 150px; height: 50px; border: 0; }

.hero-media { position: relative; width: 526px; min-height: 660px; border-radius: 34px; overflow: hidden; background: #dfe3dc; box-shadow: 0 28px 70px rgba(20,32,25,.16); }
.hero-media > img { width: 100%; height: 100%; min-height: 660px; object-fit: cover; object-position: 50% 26%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 17, 17, .7)); pointer-events: none; }
.hero-badge { position: absolute; z-index: 2; top: 24px; left: 24px; display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: rgba(233,249,216,.94); color: #2d5b17; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; font-weight: 900; box-shadow: 0 8px 24px rgba(30, 45, 23, .15); backdrop-filter: blur(8px); }
.hero-badge span { width: 21px; height: 21px; border-radius: 50%; background: var(--lime); color: white; display: grid; place-items: center; }
.hero-note { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero-note span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.28); background: rgba(15, 22, 22, .72); color: white; border-radius: 999px; font-size: 13px; font-weight: 800; backdrop-filter: blur(8px); }

.section { padding: 104px 0; scroll-margin-top: 78px; }
.section-muted { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin-bottom: 50px; }
.section-heading.compact { align-items: center; }
.section h2 { margin: 0; max-width: 760px; font-size: clamp(38px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -0.045em; }
.section-heading > p, .process-copy > p, .contacts-copy > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 220px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--lime); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #b9d58e; box-shadow: 0 18px 40px rgba(34, 46, 39, .08); }
.service-card h3 { margin: 0 0 14px; font-size: 23px; letter-spacing: -0.03em; }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.works-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: 340px 340px; gap: 18px; }
.work-card { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: #dde0db; }
.work-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .5s ease; }
.work-card:hover img { transform: scale(1.025); }
.work-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(10, 14, 14, .78)); }
.work-card figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: white; display: grid; gap: 5px; }
.work-card figcaption strong { font-size: 19px; }
.work-card figcaption span { font-size: 13px; color: rgba(255,255,255,.8); }
.work-1 { grid-row: 1 / 3; }
.work-4 { grid-column: 2 / 4; }

.process-section { background: var(--dark); color: white; }
.process-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: center; }
.eyebrow-light { color: var(--lime-bright); }
.process-copy h2 { margin-bottom: 24px; }
.process-copy > p { color: #aab5b2; max-width: 530px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: none; }
.steps li { display: flex; gap: 16px; min-height: 150px; padding: 24px; border: 1px solid #2d3737; border-radius: 22px; background: #161f20; }
.steps li > span { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: white; font-weight: 900; }
.steps strong { display: block; margin: 8px 0 10px; font-size: 19px; }
.steps p { margin: 0; color: #9ba7a5; font-size: 14px; line-height: 1.55; }

.contacts-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.contacts-copy > p { max-width: 500px; margin-top: 24px; }
.contact-phone { display: inline-block; margin-top: 28px; font-size: clamp(28px, 3vw, 42px); font-weight: 850; letter-spacing: -.04em; }
.map-card { position: relative; min-height: 480px; overflow: hidden; border-radius: 30px; background: #e2ead7; border: 1px solid #cbd6c1; box-shadow: var(--shadow); }
.map-card iframe { width: 100%; height: 480px; display: block; border: 0; }
.map-open-link { position: absolute; right: 18px; bottom: 18px; z-index: 2; padding: 13px 17px; background: var(--dark); color: white; border-radius: 14px; font-size: 13px; font-weight: 850; box-shadow: 0 10px 28px rgba(10, 25, 18, .24); }
.map-open-link:hover { background: #25312c; }

footer { padding: 34px 0; border-top: 1px solid var(--line); background: #f3f3ed; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-inner > a:last-child { font-weight: 800; }
.mobile-callbar { display: none; }

@media (max-width: 980px) {
  nav { display: none; }
  .hero-grid, .process-grid, .contacts-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 42px; }
  .hero h1 { max-width: 760px; }
  .hero-media { width: 100%; }
  .hero-media { min-height: 620px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 210px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .works-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 340px 340px; }
  .work-1 { grid-column: 1 / 3; grid-row: auto; }
  .work-4 { grid-column: 1 / 3; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 1180px); }
  .site-header { position: relative; }
  .header-inner { height: 62px; gap: 12px; }
  .brand { gap: 9px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 10px; margin-top: 4px; }
  .header-phone span { display: none; }
  .header-phone b { padding: 9px 13px; font-size: 13px; }
  .hero { padding: 26px 0 44px; }
  .hero-grid { gap: 26px; }
  .hero-copy { padding: 0; }
  .hero-chip { padding: 8px 10px; font-size: 10px; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(34px, 9vw, 38px); line-height: 1; letter-spacing: -.04em; text-wrap: initial; }
  .hero h1 br { display: block; }
  .hero h1 em { display: inline-block; }
  .hero-lead { margin-top: 18px; font-size: 15px; line-height: 1.5; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .button { min-height: 50px; padding: 0 18px; font-size: 15px; border-radius: 14px; }
  .trust-row { margin-top: 18px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust-card { min-height: 68px; padding: 10px; gap: 9px; border-radius: 15px; }
  .trust-icon, .star { width: 31px; height: 31px; font-size: 17px; border-radius: 10px; }
  .trust-card p { font-size: 11px; }
  .trust-card strong { font-size: 14px; }
  .hero-media { min-height: 430px; border-radius: 22px; }
  .hero-media > img { min-height: 430px; object-position: 50% 30%; }
  .hero-badge { top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 8px 10px; font-size: 10px; }
  .hero-badge span { width: 18px; height: 18px; }
  .hero-note { left: 14px; right: 14px; bottom: 14px; }
  .hero-note span { padding: 7px 9px; font-size: 10px; }
  .section { padding: 52px 0; scroll-margin-top: 14px; }
  .section-heading { margin-bottom: 28px; gap: 12px; }
  .section h2 { font-size: 32px; line-height: 1.04; }
  .section-heading > p, .process-copy > p, .contacts-copy > p { font-size: 15px; line-height: 1.52; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card { min-height: 0; padding: 16px; border-top-width: 3px; border-radius: 17px; display: block; }
  .service-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.15; }
  .service-card p { font-size: 12px; line-height: 1.4; }
  .works-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 230px); gap: 10px; }
  .work-1, .work-4 { grid-column: auto; }
  .work-card { border-radius: 17px; }
  .work-card figcaption { left: 13px; right: 13px; bottom: 13px; gap: 3px; }
  .work-card figcaption strong { font-size: 14px; line-height: 1.15; }
  .work-card figcaption span { font-size: 10px; line-height: 1.25; }
  .steps { grid-template-columns: 1fr; }
  .process-grid { gap: 32px; }
  .process-copy h2 { margin-bottom: 16px; }
  .steps { gap: 10px; }
  .steps li { min-height: auto; padding: 20px; border-radius: 18px; }
  .steps strong { margin: 6px 0 7px; font-size: 17px; }
  .contacts-grid { gap: 34px; }
  .contact-phone { font-size: 28px; }
  .map-card { min-height: 320px; border-radius: 22px; }
  .map-card iframe { height: 320px; }
  .map-open-link { right: 12px; bottom: 12px; padding: 12px 15px; }
  .contact-actions { display: grid; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .mobile-callbar { display: block; position: fixed; left: auto; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; padding: 0; background: transparent; border: 0; }
  .mobile-callbar a { min-height: 48px; padding: 0 18px; border-radius: 999px; background: var(--lime); color: var(--dark); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(45,91,23,.28); }
  .mobile-callbar span { font-weight: 850; }
  .mobile-callbar strong { display: none; }
  footer { padding-bottom: 78px; }
}

@media (max-width: 380px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand strong { font-size: 12px; }
  .header-phone b { padding-inline: 11px; }
  .hero h1 { font-size: 32px; }
  .hero-chip { letter-spacing: .055em; }
  .trust-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
