:root {
  --ink: #111815;
  --muted: #65716d;
  --paper: #f6f7f2;
  --panel: #ffffff;
  --line: #dfe5dc;
  --green: #0f6a55;
  --green-2: #09483d;
  --lime: #d7ff44;
  --aqua: #9ce7de;
  --coral: #ff7c5f;
  --blue: #3848ff;
  --shadow: 0 24px 80px rgba(17, 24, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 8%, rgba(156, 231, 222, 0.45), transparent 30%),
    linear-gradient(180deg, #fbfbf7 0%, var(--paper) 48%, #eef4ec 100%);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:not(.is-loaded) {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

html.loader-seen body:not(.is-loaded) {
  overflow: auto;
}

body:not(.is-loaded) .site-header,
body:not(.is-loaded) main,
body:not(.is-loaded) .footer {
  opacity: 0;
  transform: translateY(12px);
}

html.loader-seen body:not(.is-loaded) .site-header,
html.loader-seen body:not(.is-loaded) main,
html.loader-seen body:not(.is-loaded) .footer {
  opacity: 1;
  transform: none;
}

body.is-loaded .site-header,
body.is-loaded main,
body.is-loaded .footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.loader-screen {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #020202;
  color: #fff;
  transition: opacity 760ms ease, visibility 760ms ease, transform 760ms ease;
}

.loader-screen::after {
  display: none;
}

body.is-loaded .loader-screen {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
}

html.loader-seen .loader-screen {
  display: none;
}

.loader-brand {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100% - 42px));
  justify-items: center;
  text-align: center;
}

.loader-logo {
  width: min(980px, 92vw);
  max-height: 42vh;
  aspect-ratio: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 56px rgba(255, 255, 255, 0.12));
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  animation: loaderLogoIn 1300ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

.loader-brand span {
  display: none;
}

.loader-word::after {
  display: none;
}

.loader-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: loaderLetter 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 150ms + 680ms);
}

.loader-line {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.loader-line i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lime), var(--aqua));
  transform-origin: left;
  animation: loaderLine 2850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes loaderLetter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderLogoIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    filter: blur(8px) drop-shadow(0 28px 56px rgba(255, 255, 255, 0));
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 28px 56px rgba(255, 255, 255, 0.12));
  }
}

@keyframes loaderLine {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(223, 229, 220, 0.76);
  background: rgba(246, 247, 242, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.widget-top,
.section-heading,
.form-head,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--aqua));
  font-size: 13px;
}

.nav {
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.nav-item {
  position: relative;
}

.nav a,
.nav-item > a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: #42504b;
  font-size: 14px;
  font-weight: 750;
}

.nav a.active,
.nav a:hover {
  color: var(--ink);
  background: var(--lime);
}

.submenu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 230px;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(17, 24, 21, 0.14);
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.submenu a {
  white-space: nowrap;
}

.header-phone {
  padding: 12px 15px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.hero-home {
  padding: 60px 20px 42px;
}

.hero-image,
.hero-glass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-glass {
  background:
    linear-gradient(90deg, rgba(246, 247, 242, 0.98) 0%, rgba(246, 247, 242, 0.82) 45%, rgba(246, 247, 242, 0.22) 100%),
    linear-gradient(0deg, rgba(17, 24, 21, 0.2), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, 100%);
  min-height: calc(100vh - 174px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
  padding-bottom: 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.hero-text,
.lead {
  overflow-wrap: break-word;
}

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-family: "SF Pro Display", Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: "SF Pro Display", Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-text,
.lead,
.product-band-copy p {
  max-width: 680px;
  color: #3d4a46;
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  color: var(--ink);
  background: var(--lime);
}

.button.soft {
  border: 1px solid rgba(17, 24, 21, 0.15);
  background: rgba(255, 255, 255, 0.76);
}

.button.full {
  width: 100%;
}

.live-widget,
.quote-card,
.compare-panel,
.contact-panel,
.widget-shell {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.live-widget {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.widget-top {
  justify-content: space-between;
  color: var(--green);
  font-weight: 850;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(215, 255, 68, 0.2);
}

.score-ring {
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  margin: 0 auto;
  border: 18px solid var(--aqua);
  border-right-color: var(--lime);
  border-radius: 50%;
  text-align: center;
}

.score-ring strong {
  display: block;
  font-size: 44px;
}

.score-ring span {
  max-width: 120px;
  color: var(--muted);
  font-size: 12px;
}

.widget-list {
  display: grid;
  gap: 10px;
}

.widget-list div,
.compare-row,
.matrix-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px;
  border-radius: 8px;
  background: #f4f6f0;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.signal-strip div {
  padding: 26px max(20px, calc((100vw - 1180px) / 2));
  border-right: 1px solid var(--line);
  text-align: center;
}

.signal-strip strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.signal-strip span,
.product-card p,
.scenario-card p,
.timeline p,
.case-card p,
.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.section,
.page-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.page {
  padding-top: 44px;
}

.page-hero {
  padding: 70px 0 38px;
}

.page-hero.compact {
  max-width: 960px;
  text-align: center;
}

.page-hero h1 {
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(42px, 6vw, 78px);
}

.split,
.section-heading,
.product-band,
.quote-hero,
.contact-layout,
.matrix,
.service-hero,
.assistant-lab,
.euro-hero,
.euro-preview,
.warning-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 44px;
  align-items: start;
}

.split > *,
.product-band > *,
.quote-hero > *,
.contact-layout > *,
.matrix > *,
.service-hero > *,
.assistant-lab > *,
.euro-hero > *,
.euro-preview > *,
.warning-band > * {
  min-width: 0;
}

.section-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 28px;
}

.text-link,
.product-card a,
.product-card button {
  color: var(--green);
  font-weight: 900;
}

.scenario-grid,
.product-grid,
.case-grid,
.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scenario-card,
.product-card,
.case-card,
.automation-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

button.scenario-card {
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-card {
  cursor: pointer;
}

.product-card button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.product-actions button:last-child {
  color: var(--muted);
}

.scenario-card:hover,
.product-card:hover,
.product-card.active,
.case-card:hover,
.automation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 106, 85, 0.34);
  box-shadow: 0 20px 56px rgba(17, 24, 21, 0.11);
}

.scenario-card.accent {
  color: #fff;
  background: linear-gradient(135deg, var(--green-2), var(--green));
}

.scenario-card.accent p {
  color: rgba(255, 255, 255, 0.76);
}

.scenario-card span,
.case-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--coral);
  font-weight: 900;
}

.lead-form {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(160px, 1fr));
  gap: 14px;
  align-items: end;
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(15, 106, 85, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 24, 21, 0.09);
}

.lead-form.is-open {
  display: grid;
}

.lead-form h3 {
  margin-bottom: 0;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
}

.lead-actions .button {
  min-height: 46px;
}

.modal-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(17, 24, 21, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(17, 24, 21, 0.24);
}

.compact-modal {
  width: min(560px, 100%);
}

.modal-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f7f2;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.modal-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.modal-list li {
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f7ef;
  color: #26332f;
  font-weight: 750;
}

.modal-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-form label {
  display: grid;
  gap: 7px;
  color: #3d4a46;
  font-weight: 800;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfcf8;
  color: var(--ink);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 850;
}

.product-band {
  padding: 80px max(20px, calc((100vw - 1180px) / 2));
  background: #e6f4eb;
}

.smart-preview {
  padding-bottom: 50px;
}

.automation-grid {
  grid-template-columns: repeat(4, 1fr);
}

.automation-card {
  min-height: 230px;
}

.automation-card.tall {
  min-height: 280px;
}

.auto-icon {
  display: inline-grid;
  min-width: 48px;
  height: 38px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--lime), var(--aqua));
  font-weight: 950;
}

.automation-card p {
  color: var(--muted);
  line-height: 1.6;
}

.service-hero {
  align-items: center;
}

.assistant-phone {
  display: grid;
  gap: 14px;
  width: min(360px, 100%);
  justify-self: end;
  padding: 18px;
  border: 10px solid var(--ink);
  border-radius: 30px;
  background: #f8fbf2;
  box-shadow: var(--shadow);
}

.assistant-chat {
  display: grid;
  max-height: 310px;
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
}

.service-logic {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.service-logic article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.service-logic span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  font-weight: 950;
}

.service-logic strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

.service-logic p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.phone-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(215, 255, 68, 0.22);
}

.phone-top small {
  margin-left: auto;
  color: var(--green);
  font-weight: 850;
}

.chat-bubble {
  max-width: 82%;
  padding: 13px;
  border-radius: 8px;
  line-height: 1.35;
  font-size: 14px;
}

.chat-bubble.bot {
  background: #e8f7ef;
}

.chat-bubble.user {
  justify-self: end;
  color: #fff;
  background: var(--green);
}

.choice-stack {
  display: grid;
  gap: 8px;
}

.mini-choice,
.flow-tab {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 850;
}

.mini-choice {
  min-height: 42px;
  text-align: left;
  padding: 0 12px;
}

span.mini-choice {
  display: flex;
  align-items: center;
}

.preview-only .mini-choice {
  cursor: default;
}

.mini-choice.active,
.flow-tab.active {
  border-color: transparent;
  background: var(--lime);
}

.result-chip {
  justify-self: start;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.assistant-result {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(15, 106, 85, 0.2);
  border-radius: 8px;
  background: #fff;
}

.assistant-result strong {
  color: var(--green);
  line-height: 1.35;
}

.assistant-lead {
  display: grid;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.assistant-lead label {
  gap: 5px;
  font-size: 12px;
}

.assistant-lead input {
  padding: 10px 11px;
  border-radius: 8px;
}

.assistant-lead .button {
  min-height: 44px;
  padding: 11px 14px;
}

.assistant-dialog {
  width: min(980px, 100%);
}

.assistant-dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: start;
}

.modal-chat {
  min-height: 300px;
  max-height: 430px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf2;
}

.assistant-modal-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.dialog-lead {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.dialog-lead h3,
.dialog-lead p {
  margin: 0;
}

.dialog-lead p {
  color: var(--muted);
  line-height: 1.45;
}

.flow-board {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(17, 24, 21, 0.09);
}

.flow-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.flow-tab {
  min-height: 46px;
}

.flow-result {
  min-height: 190px;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff8e8, #e4f5f1);
}

.flow-result span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--green);
  font-weight: 900;
}

.flow-result p {
  color: var(--muted);
  line-height: 1.6;
}

.flow-checklist {
  display: grid;
  gap: 10px;
}

.flow-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f6f0;
  color: #34423d;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.flow-item span {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(15, 106, 85, 0.26);
  border-radius: 6px;
  background: #fff;
}

.flow-item.done span {
  border-color: transparent;
  background: var(--lime);
}

.flow-item.done span::after {
  content: "✓";
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.flow-docs {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.flow-docs strong {
  color: var(--green);
}

.flow-docs ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-docs li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.4;
}

.flow-docs li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--lime);
  content: "";
}

.compare-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.compare-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.compare-row.good {
  background: #e8fbde;
}

.compare-row.warn {
  background: #fff1de;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.timeline div {
  min-height: 190px;
  padding: 22px;
  border-top: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.62);
}

.timeline span {
  display: block;
  margin-bottom: 48px;
  color: var(--green);
  font-weight: 900;
}

.final-cta {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 38px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

.final-cta h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 50px);
}

.final-cta p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.quote-card {
  display: grid;
  gap: 15px;
  padding: 24px;
}

.quote-card.expanded {
  align-self: start;
}

.form-head {
  gap: 12px;
}

.form-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.form-icon,
.product-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.product-icon {
  color: #0b211b;
  box-shadow: inset 0 0 0 1px rgba(15, 106, 85, 0.12);
}

.product-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

label {
  display: grid;
  gap: 8px;
  color: #34423d;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

input,
select {
  height: 50px;
  padding: 0 13px;
}

textarea {
  resize: vertical;
  padding: 13px;
}

input[type="range"] {
  padding: 0;
  accent-color: var(--green);
}

.calc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.calc-row span {
  color: var(--muted);
}

.calc-row strong {
  font-size: 30px;
}

.privacy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.osago-widget {
  padding-top: 40px;
}

.osago-page {
  padding-top: 28px;
}

.osago-title {
  padding-bottom: 20px;
}

.only-widget {
  padding-top: 20px;
}

.osago-online-home {
  width: min(1240px, calc(100% - 40px));
}

.osago-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: end;
  margin-bottom: 20px;
  padding: 32px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 72, 61, 0.96), rgba(15, 106, 85, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(215, 255, 68, 0.42), transparent 30%);
}

.osago-hero-panel .section-kicker {
  color: var(--lime);
}

.osago-hero-panel h2 {
  max-width: 820px;
}

.osago-hero-panel .lead {
  color: rgba(255, 255, 255, 0.76);
}

.osago-badges {
  display: grid;
  gap: 10px;
}

.osago-badges span {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 850;
}

.osago-shell {
  border-color: rgba(15, 106, 85, 0.2);
}

.widget-shell {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.external-widget-shell .pampadu-frame {
  position: relative;
  z-index: 1;
}

.iframe-loader {
  position: absolute;
  z-index: 2;
  inset: 86px 0 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 320px;
  padding: 28px;
  background: linear-gradient(135deg, #fff, #eef8f4);
  text-align: center;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.iframe-loader strong {
  font-size: 24px;
}

.iframe-loader span {
  color: var(--muted);
}

.iframe-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.widget-shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbf2, #eef8f4);
}

.widget-shell-head span {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.widget-shell-head strong {
  font-size: 24px;
}

.widget-shell-head p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pampadu-frame {
  display: block;
  width: 100%;
  min-width: 320px;
  height: 650px;
  border: 0;
  overflow: hidden;
  background: #fff;
}

.document-widget {
  padding-top: 20px;
}

.document-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #edf8f2);
}

.document-intro h2 {
  margin-bottom: 0;
}

.doc-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.doc-badges span {
  padding: 13px 14px;
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 900;
}

.document-shell {
  overflow: visible;
  background: #fff;
}

.document-frame {
  display: block;
  width: 100%;
  min-width: 320px;
  height: 2300px;
  border: 0;
  overflow: auto;
  background: #fff;
}

.dkp-builder {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 18px;
  align-items: start;
}

.dkp-form,
.contract-preview {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.dkp-form {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.form-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.form-section-head span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 950;
}

.form-section-head h3 {
  margin-bottom: 0;
}

.field-grid {
  display: grid;
  gap: 12px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid .wide {
  grid-column: 1 / -1;
}

.dkp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contract-preview {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbf2, #edf8f2);
}

.preview-toolbar span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.preview-toolbar strong {
  color: var(--muted);
}

.contract-paper {
  max-height: 860px;
  overflow: auto;
  padding: 18px;
  background: #fff;
  color: #121614;
  font-family: "Times New Roman", Times, serif;
  font-size: 12px;
  line-height: 1.18;
}

.pdf-export-layer {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 14px;
  background: #fff;
  opacity: 0.01;
  pointer-events: none;
}

.pdf-export-layer .contract-paper {
  width: 190mm;
  max-height: none;
  overflow: visible;
  padding: 0;
  box-shadow: none;
  border: 0;
  font-size: 8.8pt;
  line-height: 1.05;
}

.pdf-export-layer .contract-paper h2 {
  margin-bottom: 3px;
  font-size: 13pt;
}

.pdf-export-layer .contract-paper h3 {
  margin: 5px 0 2px;
  font-size: 9.5pt;
}

.pdf-export-layer .contract-paper p {
  margin-bottom: 2px;
}

.pdf-export-layer .signature-box {
  margin-top: 6px;
  padding-top: 6px;
}

.print-only-layer {
  display: none;
}

.contract-paper h2,
.contract-paper h3 {
  font-family: "Times New Roman", Times, serif;
  text-align: center;
}

.contract-paper h2 {
  margin-bottom: 4px;
  font-size: 18px;
}

.contract-paper h3 {
  margin: 8px 0 4px;
  font-size: 13px;
}

.contract-paper p {
  margin-bottom: 4px;
}

.contract-paper .compact {
  text-align: justify;
}

.contract-meta,
.signature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 16px;
  margin: 6px 0;
}

.vehicle-grid p {
  margin: 0;
}

.contract-value {
  display: inline;
  min-width: 80px;
  padding: 0 3px 1px;
  border-bottom: 1px solid #111;
  font-weight: 700;
}

.signature-box {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #1d1d1d;
}

.matrix-table {
  display: grid;
  gap: 10px;
}

.case-card strong {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
}

.proof-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.proof-wall div,
.contact-panel {
  padding: 28px;
  border-radius: 8px;
  background: #fff;
}

.proof-wall strong {
  display: block;
  font-size: 46px;
}

.proof-wall span {
  color: var(--muted);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-panel a {
  padding: 16px;
  border-radius: 8px;
  background: #f3f7ef;
  font-weight: 900;
}

.contact-panel span {
  color: var(--muted);
}

.partners-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 44px;
  align-items: center;
}

.partner-summary {
  display: grid;
  gap: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.partner-summary strong {
  font-size: clamp(64px, 8vw, 108px);
  line-height: 0.86;
}

.partner-summary span {
  color: var(--green);
  font-size: 20px;
  font-weight: 950;
}

.partner-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.partners-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 40px;
}

.partners-strip img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(17, 24, 21, 0.06);
}

.partner-list-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: end;
  padding-top: 44px;
}

.partner-list-intro p:not(.section-kicker) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}

.partner-tags {
  display: grid;
  width: min(220px, 100%);
  gap: 10px;
}

.partner-tags.full {
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.partner-tags span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #34423d;
  font-weight: 900;
}

.partner-list {
  display: grid;
  gap: 12px;
}

.partner-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, 0.26fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partner-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), var(--aqua), var(--coral));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.partner-card.partner-accent {
  border-color: rgba(15, 106, 85, 0.24);
  background: linear-gradient(180deg, #faffea, #fff 52%);
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 106, 85, 0.34);
  box-shadow: 0 20px 56px rgba(17, 24, 21, 0.11);
}

.partner-card:hover::before,
.partner-card.partner-accent::before {
  opacity: 1;
}

.partner-logo {
  display: grid;
  height: 128px;
  place-items: center;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 247, 239, 0.78)),
    #f7f9f4;
  box-shadow: inset 0 0 0 1px rgba(223, 229, 220, 0.78);
}

.dark-logo .partner-logo {
  background:
    linear-gradient(135deg, rgba(215, 255, 68, 0.08), rgba(156, 231, 222, 0.08)),
    #101312;
  box-shadow: none;
}

.partner-logo img {
  max-width: 100%;
  max-height: 82px;
  object-fit: contain;
}

.partner-content {
  display: grid;
  gap: 9px;
}

.partner-content h3 {
  margin-bottom: 0;
  font-size: 26px;
}

.partner-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.partner-meta span {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.partner-meta small {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 8px;
  padding: 0 9px;
  background: #f2f6ef;
  color: #65716d;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.partner-year {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(215, 255, 68, 0.44);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.partner-principles {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.principle-grid {
  display: grid;
  gap: 12px;
}

.principle-grid article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.principle-grid span {
  display: grid;
  width: 44px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  font-weight: 950;
}

.principle-grid h3,
.principle-grid p {
  margin: 0;
}

.principle-grid p {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.55;
}

.euro-card,
.sample-panel,
.download-panel,
.paper-preview,
.warning-band {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.euro-card,
.sample-panel,
.download-panel {
  padding: 28px;
}

.euro-card-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 8px;
  background: var(--lime);
  color: #0b211b;
}

.euro-card-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.euro-card ul,
.warning-band ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.euro-card li,
.warning-band li {
  position: relative;
  padding-left: 22px;
  color: #3d4a46;
  line-height: 1.55;
}

.euro-card li::before,
.warning-band li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--lime);
  content: "";
}

.euro-download {
  padding-top: 50px;
}

.euro-preview {
  align-items: stretch;
}

.pdf-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.download-panel,
.sample-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.download-panel p,
.sample-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.payout-section {
  padding-top: 20px;
}

.payout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.payout-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.payout-card.accent {
  border-color: rgba(15, 106, 85, 0.28);
  background: linear-gradient(180deg, #f7ffe4, #fff);
}

.payout-card span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 28px;
  font-weight: 950;
}

.payout-card p,
.payout-note p {
  color: var(--muted);
  line-height: 1.58;
}

.payout-note {
  margin-top: 14px;
  padding: 24px;
  border: 1px solid rgba(15, 106, 85, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 21, 0.08);
}

.paper-preview {
  display: grid;
  min-height: 420px;
  gap: 18px;
  padding: 30px;
}

.paper-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.paper-top span {
  color: var(--muted);
  font-weight: 850;
}

.paper-top strong {
  font-size: 28px;
}

.paper-line,
.paper-columns span {
  display: block;
  height: 13px;
  border-radius: 8px;
  background: #e8eee5;
}

.paper-line.wide {
  width: 100%;
}

.paper-line.short {
  width: 52%;
}

.paper-columns {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 14px;
}

.paper-columns div {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.paper-columns b {
  font-size: 14px;
}

.scheme-box {
  min-height: 146px;
  border: 1px dashed rgba(15, 106, 85, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(15, 106, 85, 0.18) 50%, transparent 51%),
    linear-gradient(180deg, transparent 49%, rgba(15, 106, 85, 0.18) 50%, transparent 51%);
}

.sample-panel dl {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.sample-panel div {
  padding: 14px;
  border-radius: 8px;
  background: #f4f7ef;
}

.sample-panel dt {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-panel dd {
  margin: 5px 0 0;
  color: #26332f;
  line-height: 1.45;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.guide-grid article {
  min-height: 235px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.guide-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--coral);
  font-weight: 950;
}

.guide-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.warning-band {
  align-items: center;
  padding: 34px;
}

.faq {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 900;
}

details p {
  padding: 0 20px 20px;
}

.tax-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.tax-summary-card,
.tax-result-card {
  padding: 30px;
  border: 1px solid rgba(15, 106, 85, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(215, 255, 68, 0.18), transparent 42%),
    #fff;
  box-shadow: var(--shadow);
}

.tax-summary-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
}

.tax-summary-card span,
.tax-result-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.tax-summary-card strong {
  display: block;
  margin: 18px 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 0.95;
}

.tax-summary-card p,
.tax-note,
.tax-section .section-heading p,
.tax-rate-section .section-heading p,
.tax-cta p {
  color: var(--muted);
  line-height: 1.58;
}

.tax-section .section-heading,
.tax-rate-section .section-heading {
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
}

.tax-section .section-heading h2,
.tax-rate-section .section-heading h2 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.98;
}

.tax-section .section-heading p,
.tax-rate-section .section-heading p {
  max-width: 760px;
  margin: 0 0 4px;
  justify-self: end;
  font-size: 19px;
}

.tax-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: stretch;
}

.tax-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(17, 24, 21, 0.08);
}

.tax-form label {
  display: grid;
  gap: 8px;
  color: #33413d;
  font-size: 13px;
  font-weight: 900;
}

.tax-form label:first-child,
.tax-manual-rate {
  grid-column: 1 / -1;
}

.tax-form input,
.tax-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.tax-form input:focus,
.tax-form select:focus {
  outline: 2px solid rgba(215, 255, 68, 0.76);
  border-color: rgba(15, 106, 85, 0.35);
}

.tax-result-card {
  display: grid;
  align-content: start;
  gap: 18px;
}

.tax-result-card > strong {
  display: block;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.9;
}

.tax-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tax-result-grid p {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(15, 106, 85, 0.12);
  border-radius: 8px;
  background: rgba(246, 247, 242, 0.72);
}

.tax-result-grid small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.tax-result-grid b {
  font-size: 16px;
}

.tax-formula {
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #111815;
  color: #fff;
  font-weight: 900;
}

.tax-note {
  margin: 0;
}

.tax-rate-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.tax-rate-table article {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.tax-rate-table article.active {
  border-color: rgba(15, 106, 85, 0.45);
  background: linear-gradient(180deg, #f4ffd1, #fff);
  transform: translateY(-3px);
}

.tax-rate-table span {
  display: block;
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.tax-rate-table strong {
  display: block;
  margin-top: 22px;
  font-size: 22px;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer {
  display: block;
  padding: 54px max(20px, calc((100vw - 1180px) / 2)) 26px;
  border-top: 1px solid rgba(17, 24, 21, 0.08);
  background:
    radial-gradient(circle at 86% 0%, rgba(215, 255, 68, 0.18), transparent 28%),
    linear-gradient(180deg, #f4f6f0 0%, #e9eee7 100%);
  color: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(170px, 0.72fr) minmax(190px, 0.8fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: start;
}

.footer-brand-block {
  display: grid;
  gap: 18px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 950;
}

.footer-brand-block p,
.footer-action-panel p {
  max-width: 360px;
  margin: 0;
  color: #5b6863;
  line-height: 1.55;
}

.footer-contacts {
  display: grid;
  gap: 8px;
}

.footer-contacts a {
  width: fit-content;
  font-size: 18px;
  font-weight: 900;
}

.footer-column,
.footer-action-panel {
  display: grid;
  gap: 12px;
}

.footer-column h3,
.footer-action-panel h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.05;
}

.footer-column a {
  width: fit-content;
  color: #3f4c48;
  font-weight: 800;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-column a:hover,
.footer-contacts a:hover,
.footer-socials a:hover {
  color: var(--green);
  transform: translateX(3px);
}

.footer-action-panel {
  padding: 24px;
  border: 1px solid rgba(15, 106, 85, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(17, 24, 21, 0.08);
}

.footer-actions,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-actions {
  margin-top: 8px;
}

.footer-socials a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 21, 0.1);
  color: #68736f;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
  }

  .hero-content,
  .split,
  .product-band,
  .quote-hero,
  .contact-layout,
  .matrix,
  .service-hero,
  .assistant-lab,
  .partners-hero,
  .partner-principles,
  .partner-list-intro,
  .tax-hero,
  .tax-calculator,
  .euro-hero,
  .euro-preview,
  .warning-band,
  .osago-hero-panel,
  .document-intro,
  .dkp-builder {
    grid-template-columns: 1fr;
  }

  .contract-preview {
    position: static;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-copy {
    padding: 32px 0 0;
  }

  .live-widget {
    max-width: 420px;
  }

  .signal-strip,
  .scenario-grid,
  .product-grid,
  .case-grid,
  .automation-grid,
  .guide-grid,
  .pdf-split,
  .payout-grid,
  .partners-strip,
  .tax-rate-table,
  .timeline,
  .proof-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-tags {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .lead-form {
    grid-template-columns: 1fr 1fr;
  }

  .flow-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .assistant-dialog-grid {
    grid-template-columns: 1fr;
  }

  .assistant-phone {
    justify-self: start;
  }

  .section {
    padding: 66px 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-action-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .header-phone {
    display: none;
  }

  .brand {
    width: 100%;
    justify-content: space-between;
  }

  .tax-section .section-heading,
  .tax-rate-section .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tax-section .section-heading h2,
  .tax-rate-section .section-heading h2 {
    max-width: none;
    font-size: clamp(34px, 11vw, 48px);
  }

  .tax-section .section-heading p,
  .tax-rate-section .section-heading p {
    max-width: none;
    justify-self: start;
    font-size: 17px;
  }

  .hero-home {
    padding-top: 28px;
  }

  .hero-glass {
    background: linear-gradient(180deg, rgba(246, 247, 242, 0.98), rgba(246, 247, 242, 0.84));
  }

  h1 {
    font-size: clamp(40px, 13vw, 62px);
  }

  .hero-actions,
  .hero-actions .button,
  .final-cta .button {
    width: 100%;
  }

  .signal-strip,
  .scenario-grid,
  .product-grid,
  .case-grid,
  .automation-grid,
  .guide-grid,
  .pdf-split,
  .payout-grid,
  .partners-strip,
  .tax-rate-table,
  .timeline,
  .proof-wall {
    grid-template-columns: 1fr;
  }

  .partner-tags {
    grid-template-columns: 1fr;
  }

  .partner-card,
  .partner-list-intro {
    grid-template-columns: 1fr;
  }

  .paper-columns {
    grid-template-columns: 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .tax-form,
  .tax-result-grid {
    grid-template-columns: 1fr;
  }

  .flow-tabs {
    grid-template-columns: 1fr;
  }

  .assistant-modal-choices {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .final-cta,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-top: 38px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-action-panel {
    grid-column: auto;
  }

  .footer-actions .button,
  .footer-socials a {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .calc-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .widget-shell-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pampadu-frame {
    height: 720px;
  }

  .document-frame {
    height: 2500px;
  }

  .doc-badges {
    grid-template-columns: 1fr;
  }

  .field-grid.two,
  .contract-meta,
  .signature-grid,
  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  .contract-paper {
    max-height: none;
    padding: 22px;
  }
}

@media print {
  @page {
    size: A4;
    margin: 7mm;
  }

  body {
    background: #fff;
  }

  .loader-screen,
  .site-header,
  .footer,
  .document-intro,
  .dkp-form,
  .preview-toolbar,
  .page-hero,
  .contract-preview {
    display: none !important;
  }

  .print-only-layer {
    display: block !important;
  }

  .print-only-layer .contract-paper {
    display: block !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    font-size: 8.8pt;
    line-height: 1.05;
  }

  .print-only-layer .contract-paper h2 {
    margin-bottom: 3px;
    font-size: 13pt;
  }

  .print-only-layer .contract-paper h3 {
    margin: 5px 0 2px;
    font-size: 9.5pt;
  }

  .section,
  .document-widget,
  .dkp-builder,
  .contract-preview,
  .contract-paper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    overflow: visible !important;
  }

  .contract-paper {
    max-height: none !important;
    page-break-after: avoid;
    page-break-inside: avoid;
    font-size: 8.8pt;
    line-height: 1.05;
  }

  .contract-paper h2 {
    margin-bottom: 3px;
    font-size: 13pt;
  }

  .contract-paper h3 {
    font-size: 9.5pt;
    margin: 5px 0 2px;
  }

  .contract-paper p {
    margin-bottom: 2px;
  }

  .signature-box {
    margin-top: 6px;
    padding-top: 6px;
  }

  .vehicle-grid {
    grid-template-columns: 1fr 1fr;
  }
}
