:root {
  --ink: #0a1614;
  --ink-2: #132421;
  --ink-3: #1d352f;
  --paper: #f1f3ed;
  --paper-2: #e8ece3;
  --acid: #c9f84a;
  --mint: #89d6be;
  --mint-strong: #4abf8e;
  --line: rgba(10, 22, 20, .14);
  --muted: #64706c;
  --radius: 24px;
  --radius-s: 16px;
  --shadow: 0 24px 60px -28px rgba(10, 22, 20, .45);
  --font: 'Manrope', Arial, sans-serif;
  --display: 'Unbounded', 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--acid); color: var(--ink); padding: 10px 16px;
  z-index: 100; border-radius: 0 0 12px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  height: 78px;
  display: flex; align-items: center; gap: 28px;
  padding: 0 max(28px, calc((100vw - 1400px) / 2));
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 243, 237, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; white-space: nowrap; }
.brand-name > span { color: #3f8f78; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 3px; transform: rotate(-3deg);
}
.brand-mark i { display: block; width: 3px; background: var(--acid); border-radius: 3px; }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 20px; }
.brand-mark i:nth-child(3) { height: 14px; }
.site-header nav { display: flex; gap: 26px; margin: auto; font-size: 14px; font-weight: 600; }
.site-header nav a { position: relative; }
.site-header nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--ink); transition: right .25s;
}
.site-header nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 700; font-size: 15px; }
.header-cta {
  font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
}
.header-cta span {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--ink); color: #fff; transition: transform .2s;
}
.header-cta:hover span { transform: translate(2px, -2px); }
.menu-button { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.button span { transition: transform .2s; }
.button:hover span { transform: translateX(3px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--ink); color: #fff; }
.button-light { background: var(--acid); color: var(--ink); }
.button-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(201, 248, 74, .7); }
.button-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.button-ghost-light:hover { background: #fff; color: var(--ink); }
.text-link { font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.text-link.light { color: var(--acid); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1400px; margin: 0 auto; padding: 72px 28px 56px;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: center;
}
.eyebrow, .kicker {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: #48665d; margin-bottom: 18px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-strong); box-shadow: 0 0 0 4px rgba(74, 191, 142, .18); }
.hero h1 {
  font-family: var(--display); font-size: clamp(34px, 5.4vw, 62px); line-height: 1.06;
  font-weight: 700; letter-spacing: -.02em; margin: 0 0 22px;
}
.hero h1 em { font-style: normal; color: #3f8f78; }
.hero-lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--acid); flex: none; box-shadow: inset 0 0 0 4px var(--ink); }
.hero-note { font-size: 12px; color: var(--muted); }
.hero-media { position: relative; margin: 0; }
.hero-media img { border-radius: var(--radius); width: 100%; height: auto; box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }
.hero-badge {
  position: absolute; left: -16px; bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 16px;
  box-shadow: var(--shadow); font-size: 13px; line-height: 1.3;
}
.hero-badge b { display: block; font-size: 15px; }
.hero-badge .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(201, 248, 74, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(201, 248, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 248, 74, 0); } }

/* ---------- Stats ---------- */
.stats {
  max-width: 1400px; margin: 0 auto; padding: 10px 28px 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--paper);
}
.stat { padding: 26px 30px; background: var(--paper-2); border-radius: var(--radius-s); display: flex; flex-direction: column; gap: 8px; }
.stat strong { font-family: var(--display); font-size: 34px; font-weight: 700; color: #3f8f78; }
.stat span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- Sections ---------- */
.section { max-width: 1400px; margin: 0 auto; padding: 72px 28px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.kicker { color: #3f8f78; }
.section-heading h2, .request h2, .contact-card h2, .legal h2 {
  font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1;
  letter-spacing: -.01em; margin: 14px 0 0; font-weight: 600;
}
.section-heading p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { aspect-ratio: 4/3; overflow: hidden; background: var(--ink-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-body { padding: 22px 24px 24px; }
.service-body h3 { font-size: 19px; margin: 0 0 8px; font-weight: 800; }
.service-body p { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; min-height: 44px; }
.price { display: inline-block; font-weight: 800; font-size: 14px; color: #3f8f78; background: rgba(74, 191, 142, .12); padding: 6px 12px; border-radius: 999px; }

/* ---------- Before / After ---------- */
.ba-section { padding-top: 20px; }
.ba-slider {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16/8;
  box-shadow: var(--shadow); user-select: none; cursor: ew-resize;
  background: var(--ink-2);
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-top { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba-before { width: 200%; max-width: none; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.2); transform: translateX(-50%);
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow);
}
.ba-label { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #fff; }
.ba-label-before { left: 18px; background: rgba(0,0,0,.55); }
.ba-label-after { right: 18px; background: rgba(74, 191, 142, .9); }

/* ---------- Clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.client-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.client-card img { aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.client-body { padding: 22px 26px 26px; }
.client-body h3 { font-size: 20px; margin: 0 0 8px; font-weight: 800; }
.client-body p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Calculator ---------- */
.calc-section { background: var(--paper-2); border-radius: 40px; }
.calc {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.calc-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  border-radius: 12px; padding: 13px 14px; font-size: 15px; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--acid); outline-offset: 1px; }
.calc-result { background: var(--acid); color: var(--ink); border-radius: var(--radius-s); padding: 30px; text-align: center; }
.calc-result span { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.calc-result strong { display: block; font-family: var(--display); font-size: 40px; font-weight: 700; margin: 8px 0; }
.calc-result p { font-size: 14px; margin: 0 0 18px; }
.calc-result .button { background: var(--ink); color: #fff; }

/* ---------- Process ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 26px; position: relative; }
.timeline li > span {
  font-family: var(--display); font-size: 38px; font-weight: 700; color: var(--paper-2);
  -webkit-text-stroke: 1.5px #3f8f78; display: block; margin-bottom: 14px;
}
.timeline h3 { font-size: 17px; margin: 0 0 8px; font-weight: 800; }
.timeline p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Legal ---------- */
.legal {
  background: var(--ink-2); color: #fff; border-radius: 40px; padding: 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center;
}
.legal-stamp {
  grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.05;
  border: 3px solid var(--acid); color: var(--acid); border-radius: 50%; width: 130px; height: 130px;
  display: grid; place-items: center; text-align: center; transform: rotate(-6deg);
}
.legal-stamp b { display: block; font-size: 15px; }
.legal .kicker { color: var(--acid); }
.legal h2 { color: #fff; }
.legal p { color: rgba(255,255,255,.72); font-size: 15px; max-width: 720px; }
.legal .text-link { color: var(--acid); justify-self: start; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 800; color: #3f8f78; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- Request ---------- */
.request { background: var(--ink); border-radius: 40px; padding: 0; }
.request-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; padding: 56px 56px; }
.request-copy { color: #fff; }
.kicker.light { color: var(--acid); }
.request h2 { color: #fff; }
.request-copy > p { color: rgba(255,255,255,.72); font-size: 16px; max-width: 400px; }
.request-contacts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.request-form { background: #fff; border-radius: var(--radius); padding: 30px; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-wide { grid-column: 1 / -1; }
.request-form .field span { color: var(--muted); }
.request-form .field input, .request-form .field select, .request-form .field textarea {
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.request-form .field input:focus, .request-form .field select:focus, .request-form .field textarea:focus { outline: 2px solid #3f8f78; outline-offset: 1px; }
.request-form .field input::placeholder, .request-form .field textarea::placeholder { color: var(--muted); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; accent-color: #3f8f78; }
.request-form .button { width: 100%; justify-content: center; background: var(--ink); color: #fff; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form-status { margin-top: 14px; font-weight: 700; font-size: 14px; text-align: center; }
.form-status.ok { color: #2e7d5b; }
.form-status.err { color: #c0392b; }

/* ---------- Contacts ---------- */
.contacts { padding-top: 40px; }
.contact-card { background: var(--paper-2); border-radius: var(--radius); padding: 44px 48px; }
.contact-card h2 { margin-top: 0; }
.contact-card > p { color: var(--muted); max-width: 480px; }
.contact-rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.contact-rows > div { display: flex; flex-direction: column; gap: 6px; }
.contact-rows a { font-weight: 800; font-size: 17px; color: #3f8f78; }
.contact-rows .kicker { font-size: 11px; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: 1400px; margin: 0 auto; padding: 40px 28px 46px;
  display: flex; align-items: center; gap: 28px; border-top: 1px solid var(--line);
}
.footer-brand { font-size: 18px; }
.site-footer p { color: var(--muted); font-size: 14px; margin: 0 auto 0 0; }
.footer-meta { display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.footer-meta a:hover { color: var(--ink); }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 60; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow); transition: transform .18s;
}
.float-btn:hover { transform: scale(1.08); }
.float-wa { background: #25d366; }
.float-tg { background: #229ed9; }
.float-call { background: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .contact-rows { grid-template-columns: repeat(2, 1fr); }
  .request-inner { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header nav, .header-actions { display: none; }
  .menu-button { display: grid; place-content: center; gap: 5px; }
  .menu-button span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .25s; }
  body.menu-open .site-header { position: relative; }
  body.menu-open .site-header nav {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--paper); padding: 20px 28px; gap: 18px; border-bottom: 1px solid var(--line);
  }
  body.menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-button span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .clients-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; padding: 36px 28px; }
  .legal-stamp { grid-row: auto; margin: 0 auto; }
  .site-footer { flex-direction: column; text-align: center; }
  .site-footer p { margin: 0; }
  .footer-meta { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; padding: 0 16px 32px; }
  .stat { padding: 20px; }
  .stat strong { font-size: 26px; }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .hero-badge { left: 12px; bottom: 12px; }
  .calc { padding: 26px; }
  .calc-controls { grid-template-columns: 1fr; }
  .request-inner { padding: 36px 24px; }
  .contact-rows { grid-template-columns: 1fr; }
}
