:root {
  --green: #5bb22a;
  --green-dark: #4a9620;
  --green-soft: #eef7e8;
  --blue: #1a8fd0;
  --blue-dark: #12709f;
  --blue-soft: #e8f3fa;
  --ink: #2b2f33;
  --text: #555b61;
  --muted: #7a8188;
  --gray: #ececec;
  --gray-2: #dcdcdc;
  --bg: #ffffff;
  --bg-alt: #f6f7f6;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(20, 40, 60, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .05s;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Top bar & header */
.topbar { background: var(--blue); color: #fff; font-size: .88rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar-phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--gray); backdrop-filter: saturate(1.4) blur(6px);
}
.header-in { display: flex; align-items: center; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: .8rem; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 2px solid var(--blue); border-radius: 999px; overflow: hidden; }
.lang button {
  border: 0; background: #fff; color: var(--blue); font-weight: 700; font-size: .85rem;
  padding: 6px 12px; cursor: pointer; font-family: inherit;
}
.lang button[aria-pressed="true"] { background: var(--blue); color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--green-soft), #fff 85%); padding: 64px 0 56px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--green-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; margin-bottom: 12px; }
.eyebrow.light { color: #c9f0b0; }
.lead { font-size: 1.15rem; max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { position: relative; padding-left: 26px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hero-points li::before, .quote-facts li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat;
}
.invoice-mock { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--gray); }
.im-head { background: var(--blue); color: #fff; font-weight: 700; padding: 16px 20px; }
.im-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 20px; border-bottom: 1px solid var(--gray); color: var(--ink); font-size: .96rem; }
.im-row .ck {
  flex: 0 0 22px; height: 22px; border-radius: 6px; background: var(--green-soft);
  border: 2px solid var(--green); position: relative; margin-top: 1px;
}
.im-row .ck::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px;
  border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.im-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--green); color: #fff; font-weight: 600; }
.im-foot b { font-size: 1.5rem; }

/* Why */
.why { padding: 20px 0 64px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { background: #fff; border: 1px solid var(--gray); border-radius: var(--radius); padding: 22px; }
.why-item p { margin: 0; font-size: .95rem; }
.why-ic, .cat-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
}
.why-ic { background: var(--blue-soft); }
.why-ic svg, .cat-ic svg { width: 26px; height: 26px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-ic svg { stroke: var(--blue); }

/* Products */
.products { background: var(--bg-alt); padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { background: #fff; border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--green); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.cat-ic { background: var(--green-soft); }
.cat-ic svg { stroke: var(--green-dark); }
.cat ul { margin: 0; padding-left: 18px; font-size: .93rem; }
.cat li { margin: 3px 0; }
.cat li::marker { color: var(--green); }
.serve { margin: 32px 0 0; font-size: 1rem; color: var(--ink); }
.serve span:first-child { font-weight: 700; color: var(--blue); }

/* How */
.how { padding: 72px 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray); }
.steps p { margin: 0; }
.num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; margin-bottom: 14px;
}

/* Quote */
.quote { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); padding: 72px 0; color: #e8f3fa; }
.quote-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.quote-side h2 { color: #fff; }
.quote-facts { list-style: none; padding: 0; margin: 20px 0 28px; }
.quote-facts li { position: relative; padding-left: 28px; margin: 10px 0; font-weight: 600; color: #fff; }
.contact-box { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 20px; }
.contact-box p { margin: 0 0 10px; color: #fff; font-weight: 600; }
.contact-line { display: flex; flex-direction: column; color: #fff; text-decoration: none; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.18); }
.contact-line span { font-size: .82rem; color: #cfe6f5; }
.contact-line b { font-size: 1.1rem; word-break: break-word; }
.contact-line:hover b { text-decoration: underline; }

.quote-form { background: #fff; color: var(--text); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.quote-form h3 { font-size: 1.35rem; margin-bottom: 16px; }
.quote-form label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 14px; }
.quote-form input:not([type=checkbox]), .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400;
  color: var(--ink); background: #fff; border: 1.5px solid var(--gray-2); border-radius: 8px;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.quote-form .invalid { border-color: #d64545 !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
legend { font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 8px; padding: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; font-size: .9rem; cursor: pointer; }
.checks input { width: 17px; height: 17px; accent-color: var(--green); flex: none; }
.files input[type=file] { padding: 10px; background: var(--bg-alt); border-style: dashed; cursor: pointer; }
.files small { display: block; font-weight: 400; color: var(--muted); margin-top: 6px; }
.file-list { list-style: none; padding: 0; margin: -6px 0 14px; font-size: .88rem; }
.file-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; background: var(--green-soft); border-radius: 6px; margin-bottom: 4px; }
.file-list li.bad { background: #fdecec; color: #a12d2d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #c03434; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done .big { width: 64px; height: 64px; border-radius: 50%; background: var(--green); margin: 0 auto 16px; position: relative; }
.form-done .big::after { content: ""; position: absolute; left: 23px; top: 13px; width: 14px; height: 28px; border: solid #fff; border-width: 0 5px 5px 0; transform: rotate(45deg); }

/* Footer */
.footer { background: #1f2428; color: #b9c0c6; padding: 36px 0 20px; font-size: .93rem; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.f-brand { display: flex; align-items: center; gap: 14px; }
.f-brand img { background: #fff; border-radius: 10px; padding: 4px; }
.f-brand div { display: flex; flex-direction: column; }
.f-brand strong { color: #fff; }
.f-contact { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.f-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid #353c42; font-size: .82rem; color: #8b949b; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .why-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { padding: 40px 0; }
  .hero-in, .quote-in { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar-in span { font-size: .8rem; }
  .brand img { width: 46px; }
  .brand-text strong { font-size: .95rem; }
  .brand-text small, .hide-sm { display: none; }
  .why-grid, .cat-grid, .row2, .checks { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .quote-form { padding: 20px; }
  .f-contact { text-align: left; }
}
