:root {
  --green: #7fb51f;
  --green-dark: #456f13;
  --forest: #172412;
  --forest-2: #22351b;
  --orange: #ff7417;
  --ink: #1f251d;
  --muted: #687164;
  --line: #e2e7df;
  --soft: #f5f7f2;
  --white: #fff;
  --shadow: 0 18px 50px rgba(28, 39, 24, .12);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background: #fff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; white-space: nowrap; }
.brand b { color: var(--green); }
.brand-mark { color: var(--green); font-size: 34px; transform: rotate(90deg); display: inline-block; }
.desktop-nav { margin-left: auto; display: flex; gap: 26px; font-size: 14px; font-weight: 700; }
.desktop-nav a { opacity: .9; transition: .2s; }
.desktop-nav a:hover { color: var(--green); opacity: 1; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone b { display: block; font-size: 18px; }
.header-phone small { display: block; font-size: 11px; opacity: .8; }
.phone-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.menu-button, .mobile-nav { display: none; }
.hero { min-height: 780px; position: relative; display: grid; align-items: center; color: #fff; background: url('/static/images/hero.webp') center center / cover no-repeat; overflow: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,3,.92) 0%, rgba(4,10,4,.7) 43%, rgba(4,10,4,.18) 73%, rgba(4,10,4,.38) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) 430px; gap: 65px; align-items: center; padding-top: 110px; }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: #b9dc6c; font-size: 13px; letter-spacing: .17em; font-weight: 900; }
.eyebrow.dark { color: var(--green-dark); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 590px; margin: 28px 0; font-size: 20px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 28px; border-radius: 9px; border: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 850; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--orange), #ff8f22); box-shadow: 0 12px 28px rgba(255,116,23,.25); }
.button-outline { color: #fff; border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.hero-points { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.hero-points div { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.hero-points span { flex: 0 0 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(127,181,31,.55); background: rgba(0,0,0,.25); }
.lead-form { background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.lead-form h2 { margin: 0 0 4px; font-size: 28px; }
.lead-form > p { margin: 0 0 22px; color: var(--muted); }
.lead-form label { display: block; margin-bottom: 12px; }
.lead-form label > span { display: block; margin-bottom: 5px; color: #4d564a; font-size: 12px; font-weight: 750; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; border: 1px solid #dce2d8; border-radius: 8px; padding: 13px 14px; color: var(--ink); background: #fff; outline: none; transition: border .2s, box-shadow .2s; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(127,181,31,.12); }
.lead-form textarea { min-height: 94px; resize: vertical; }
.form-row, .compact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit { width: 100%; }
.form-note { display: block; margin-top: 10px; color: #7a8377; font-size: 10px; line-height: 1.4; }
.form-status { min-height: 20px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.form-status.success { color: #457710; }
.form-status.error { color: #b72b24; }
.hp-field { position: absolute !important; left: -99999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.trust-strip { background: var(--forest); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { padding: 24px 30px; border-left: 1px solid rgba(255,255,255,.1); }
.trust-grid div:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: #c5e77e; font-size: 17px; }
.trust-grid span { color: rgba(255,255,255,.7); font-size: 12px; }
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 720px; margin: 0 auto 45px; text-align: center; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p:last-child { margin: 0; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(31,37,29,.06); transition: .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(127,181,31,.45); }
.service-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #edf5df; color: var(--green-dark); font-size: 30px; font-weight: 900; }
.service-card h3 { margin: 20px 0 8px; font-size: 21px; }
.service-card p { margin: 0 0 20px; color: var(--muted); }
.service-card strong { color: var(--green-dark); font-size: 19px; }
.price-note { margin: 24px auto 0; max-width: 820px; text-align: center; color: var(--muted); font-size: 13px; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.advantage { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.advantage > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green-dark); font-size: 23px; }
.advantage h3 { margin: 18px 0 8px; }
.advantage p { margin: 0; color: var(--muted); }
.process-section { color: #fff; background: linear-gradient(135deg, #13200f, #243d1c); }
.section-heading.light h2 { color: #fff; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step { position: relative; min-height: 250px; padding: 26px 22px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.process-step b { position: absolute; right: 18px; top: 12px; color: rgba(255,255,255,.13); font-size: 48px; }
.process-step span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green-dark); font-size: 24px; }
.process-step h3 { margin: 24px 0 8px; font-size: 20px; }
.process-step p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { margin: 0; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.work-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.work-card:hover img { transform: scale(1.04); }
.work-card figcaption { padding: 18px 20px; font-weight: 800; }
.faq-list { max-width: 900px; margin: auto; }
details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
summary { cursor: pointer; list-style: none; padding: 21px 24px; font-weight: 850; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--green-dark); font-size: 24px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.final-cta { position: relative; color: #fff; padding: 90px 0; background: linear-gradient(90deg, rgba(10,26,7,.94), rgba(23,45,15,.86)), url('/static/images/cta.webp') center / cover; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.cta-copy h2 { margin: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1; }
.cta-copy p { max-width: 530px; color: rgba(255,255,255,.75); font-size: 18px; }
.cta-phone { display: inline-block; margin-top: 12px; color: #c8ea84; font-size: 30px; font-weight: 900; }
.compact-form { padding: 26px; }
.compact-form textarea { min-height: 80px; }
footer { color: #fff; background: #151a13; }
.footer-grid { padding: 36px 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; align-items: center; }
.footer-grid > div:not(.brand) { display: flex; flex-direction: column; }
.footer-grid small { color: rgba(255,255,255,.52); }
.footer-grid a, .footer-grid span { font-weight: 700; }
.copyright { padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.45); font-size: 12px; }
.toast { position: fixed; z-index: 50; right: 20px; bottom: 20px; max-width: 360px; padding: 16px 20px; border-radius: 12px; color: #fff; background: #234519; box-shadow: var(--shadow); transform: translateY(150%); transition: transform .3s; }
.toast.show { transform: translateY(0); }
.mobile-call { display: none; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .header-phone { margin-left: auto; }
  .menu-button { display: block; border: 0; background: transparent; color: #fff; font-size: 26px; cursor: pointer; }
  .mobile-nav { position: absolute; top: 86px; left: 20px; right: 20px; padding: 12px; display: none; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 12px; background: rgba(17,31,13,.97); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 11px 13px; border-radius: 8px; }
  .hero { min-height: auto; padding: 145px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 0; }
  .hero-copy { max-width: 700px; }
  .hero-form { max-width: 700px; }
  .service-grid, .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { position: absolute; }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand { font-size: 15px; }
  .brand-mark { font-size: 26px; }
  .header-phone small, .header-phone .phone-icon { display: none; }
  .header-phone b { font-size: 14px; }
  .mobile-nav { top: 72px; }
  .hero { padding: 115px 0 50px; background-position: 61% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(3,8,3,.78), rgba(3,8,3,.84)); }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 17px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-form { padding: 21px; }
  .form-row, .compact-grid { grid-template-columns: 1fr; gap: 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div { padding: 18px 15px; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 30px; }
  .service-grid, .advantage-grid, .works-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-step { min-height: 0; }
  .cta-grid { gap: 25px; }
  .compact-form { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .mobile-call { position: fixed; display: grid; place-items: center; z-index: 40; right: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 10px 30px rgba(48,88,18,.35); font-size: 24px; }
  .toast { right: 15px; left: 15px; bottom: 85px; max-width: none; }
}

/* Исправление плавающей кнопки звонка на мобильных */
@media (max-width: 700px) {
  .mobile-call {
    position: fixed !important;
    right: 18px !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    overflow: visible !important;
    z-index: 9999 !important;
    text-decoration: none !important;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* FLOATING_PHONE_V2_START */

/*
  Новая мобильная кнопка звонка.
  Полностью независима от старого элемента .mobile-call.
*/
.floating-phone-v2 {
  display: none !important;
}

@media (max-width: 700px) {
  html,
  body {
    background-color: #ffffff !important;
  }

  .floating-phone-v2 {
    all: initial !important;

    position: fixed !important;
    right: 18px !important;
    bottom: calc(32px + env(safe-area-inset-bottom, 0px)) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;

    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    outline: 0 !important;

    border-radius: 9999px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;

    background: #7fb51f !important;
    box-shadow: 0 10px 28px rgba(42, 83, 14, 0.38) !important;

    cursor: pointer !important;
    text-decoration: none !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;

    z-index: 2147483647 !important;
  }

  .floating-phone-v2 svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    fill: #ffffff !important;
    pointer-events: none !important;
  }
}

/* FLOATING_PHONE_V2_END */

/* TOAST_STRIP_FIX_START */

/*
  Уведомление полностью скрыто, пока у него нет класса show.
  Раньше нижняя часть уведомления оставалась видна зелёной полосой.
*/
.toast {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(calc(100% + 160px)) !important;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0s linear 0.3s !important;
}

.toast.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease !important;
}

/* TOAST_STRIP_FIX_END */

