:root {
  --olive: #98a92a;
  --olive-deep: #7d8c1e;
  --teal: #095751;
  --teal-deep: #004e4d;
  --red: #dd3636;
  --ink: #2c2825;
  --title: #6a625a;
  --cream: #fbfbf6;
  --paper: #eef0e3;
  --white: #ffffff;
  --footer: #5c554f;
  --line: rgba(9, 87, 81, 0.18);
  --serif: "primary", Georgia, serif;
  --sans: "secondary", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 8px solid var(--olive);
}

.header-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  align-self: end;
  margin-bottom: -12px;
}

.logo img {
  width: auto;
  height: 66px;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  color: var(--title);
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: var(--teal);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-contact .btn {
  min-height: 40px;
  padding: 0 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--teal);
  padding: 12px 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: #c42e2e;
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-line {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 720px;
}

.hero-copy {
  background: var(--teal-deep);
  color: var(--white);
  padding: 72px 64px 64px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}

.hero h1,
.band-head h2,
.benefits-intro h2,
.why-head h2,
.process-copy h2,
.lead-copy h2,
.faq-intro h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 20px;
}

.hero h1 {
  font-size: clamp(36px, 3.8vw, 54px);
  color: var(--white);
  max-width: 15ch;
}

.lead {
  font-size: 18px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.hero-proof {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 24px;
}

.hero-proof li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--olive);
}

.hero-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--olive);
  color: var(--white);
  padding: 14px 22px;
  font-weight: 700;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 8px solid var(--olive);
}

.fact {
  min-height: 250px;
  padding: 36px 28px 34px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.fact:last-child {
  border-right: 0;
}

.fact svg {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  fill: none;
  stroke: var(--title);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.fact h2 {
  margin: 0 0 12px;
  color: var(--title);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.2;
}

.fact p {
  max-width: 25ch;
  margin: 0 auto;
  color: var(--title);
  font-size: 16px;
  line-height: 1.45;
}

.band,
.benefits,
.why,
.process,
.lead-block,
.faq {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
}

.band-head,
.benefits-intro,
.why-head,
.process-copy,
.faq-intro {
  max-width: 720px;
}

.band-head {
  max-width: 660px;
}

.band-head h2,
.benefits-intro h2,
.why-head h2,
.process-copy h2,
.lead-copy h2,
.faq-intro h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  color: var(--title);
}

.band-head h2 {
  font-size: clamp(30px, 3vw, 42px);
  max-width: 24ch;
}

.band-head > p:last-child {
  max-width: 58ch;
  margin-bottom: 0;
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.offer {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.offer img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
}

.offer img.photo-pyme {
  object-position: left top;
}

.offer-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.offer-autonomos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  padding: 48px;
  background: var(--teal);
  color: var(--white);
  border: 0;
}

.autonomos-intro {
  max-width: 500px;
}

.offer-autonomos .offer-tag {
  color: var(--olive);
}

.offer-autonomos h3 {
  color: var(--white);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.12;
}

.offer-autonomos p {
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.86);
}

.autonomos-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.autonomos-products > div {
  padding: 4px 28px;
}

.autonomos-products > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.autonomos-products span {
  display: block;
  margin-bottom: 18px;
  color: var(--olive);
  font-family: var(--serif);
  font-size: 28px;
}

.autonomos-products h4 {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
}

.autonomos-products p {
  margin-bottom: 0;
}
.offer-tag {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.offer h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--title);
}

.offer p {
  margin: 0;
  color: var(--title);
}

.offer.offer-autonomos h3 {
  color: var(--white);
}

.offer.offer-autonomos p {
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.86);
}

.offer.offer-autonomos .autonomos-products p {
  margin-bottom: 0;
}

.text-link {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--teal);
  text-align: left;
  cursor: pointer;
}

.benefits {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.benefits-intro {
  max-width: 540px;
}

.benefits-intro .btn {
  margin-top: 18px;
}

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefit-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list span {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--olive);
}

.benefit-list h3 {
  margin: 0 0 6px;
  color: var(--teal);
}

.benefit-list p {
  margin: 0;
  color: var(--title);
}

.services {
  background: var(--paper);
  border-bottom: 8px solid var(--olive);
  padding: 80px 32px;
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
}

.services-head {
  max-width: 420px;
  position: sticky;
  top: 112px;
}

.services-head h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.12;
  color: var(--title);
}

.services-head p {
  margin: 0 0 28px;
  color: var(--title);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service {
  padding: 32px 30px 34px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service:nth-child(2n) {
  border-right: 0;
}

.service:nth-child(n + 3) {
  border-bottom: 0;
}

.service span {
  display: block;
  margin-bottom: 18px;
  color: var(--olive-deep);
  font-family: var(--serif);
  font-size: 26px;
}

.service h3 {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}

.service p {
  margin: 0;
  max-width: 28ch;
  color: var(--title);
}

.why {
  background: var(--white);
  max-width: none;
  padding-left: max(32px, calc((100% - 1216px) / 2));
  padding-right: max(32px, calc((100% - 1216px) / 2));
}

.why-head {
  max-width: 720px;
}

.why-tabs {
  display: flex;
  gap: 0;
  margin-top: 28px;
}

.why-tabs button {
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  padding: 12px 20px 14px 0;
  margin-right: 28px;
  color: var(--title);
  font-weight: 700;
  cursor: pointer;
}

.why-tabs button.is-active {
  color: var(--teal);
  border-bottom-color: var(--olive);
}

.why-panels {
  margin-top: 36px;
}

.why-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-panel.is-active {
  display: grid;
}

.why-panel article {
  background: var(--paper);
  padding: 28px 26px;
  border-top: 8px solid var(--olive);
}

.why-panel h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  color: var(--teal);
}

.why-panel p {
  margin: 0;
  color: var(--title);
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.process-copy {
  max-width: 540px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding: 0 0 36px 88px;
  counter-increment: step;
}

.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  background: var(--olive);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--olive);
}

.timeline li:last-child::after {
  display: none;
}

.timeline h3 {
  margin: 8px 0 8px;
  color: var(--teal);
}

.timeline p {
  margin: 0;
  color: var(--title);
}

.lead-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--teal-deep);
  color: var(--white);
  max-width: none;
  padding-left: max(32px, calc((100% - 1216px) / 2));
  padding-right: max(32px, calc((100% - 1216px) / 2));
}

.lead-copy h2 {
  color: var(--white);
}

.lead-block .eyebrow {
  color: var(--olive);
}

.lead-copy p,
.lead-copy li {
  color: rgba(255, 255, 255, 0.88);
}

.lead-copy ul {
  padding-left: 18px;
}

.lead-form {
  background: var(--cream);
  color: var(--ink);
  padding: 32px;
  display: grid;
  gap: 8px;
}

.lead-form label {
  font-weight: 700;
  color: var(--title);
  font-size: 14px;
}

.lead-form input,
.lead-form select {
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 46px;
  padding: 0 12px;
  margin-bottom: 10px;
}

.form-note {
  margin: 8px 0 0;
  color: var(--teal);
  font-weight: 700;
}

.form-note.is-error {
  color: var(--red);
}

.lead-form .btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.lead-modal {
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  background: transparent;
}

.lead-modal::backdrop {
  background: rgba(44, 40, 37, 0.62);
}

.lead-modal .lead-form {
  position: relative;
  padding-top: 48px;
}

.lead-modal h2 {
  margin: 0 0 8px;
  color: var(--title);
  font-size: 28px;
}

.lead-modal p:not(.form-note) {
  margin: 0 0 18px;
  color: var(--title);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--title);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.faq-intro {
  max-width: 520px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 40px 18px 0;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--title);
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--olive);
  font-size: 24px;
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-panel {
  display: none;
  padding: 0 0 18px;
  color: var(--title);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-extra {
  display: none;
}

.faq-extra.is-open {
  display: block;
}

.faq-list .btn {
  margin-top: 24px;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
}

.phones div {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
}

.phones div:last-child {
  border-right: 0;
}

.phones h3 {
  margin: 0 0 16px;
  color: var(--teal);
}

.phones p {
  margin: 0 0 8px;
  color: var(--title);
}

.phones .btn {
  display: inline-flex;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.phones .contact-email {
  display: block;
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--olive-deep);
  font-weight: 600;
  word-break: break-word;
}

.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 48px 32px 28px;
}

.footer-top,
.legal {
  max-width: 1216px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-top p {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  font-size: 13px;
}

.legal a {
  margin-right: 16px;
}

.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  font-weight: 400;
  line-height: 1.45;
}

.lead-form .legal-check input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--teal);
}

.legal-check a {
  color: var(--teal);
  text-decoration: underline;
  font-weight: 700;
}

.policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.policy .eyebrow {
  margin-bottom: 12px;
}

.policy h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--title);
}

.policy .updated {
  margin: 0 0 40px;
  color: var(--title);
  font-size: 14px;
}

.policy h2 {
  margin: 36px 0 12px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 26px;
}

.policy p,
.policy li {
  color: var(--title);
}

.policy ul,
.policy ol {
  padding-left: 20px;
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}

.policy th,
.policy td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.policy th {
  background: var(--paper);
  color: var(--teal);
}

.policy a {
  color: var(--teal);
  text-decoration: underline;
}

.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.cookie p a {
  color: var(--teal);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.cookie button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 8px 10px;
  cursor: pointer;
}

.cookie .accept {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.nav-open .main-nav {
  display: block;
}

@media (max-width: 1100px) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 980px) {
  .header-bar {
    grid-template-columns: auto 1fr auto;
    padding: 10px 16px;
  }

  .logo {
    margin-bottom: -10px;
  }

  .logo img {
    height: 52px;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 8px solid var(--olive);
    padding: 16px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .header-contact {
    display: none;
  }

  .header-tools .btn-red {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 14px;
  }

  .hero,
  .facts,
  .offers,
  .benefits,
  .services-inner,
  .services-grid,
  .why-panel,
  .process,
  .lead-block,
  .faq,
  .phones,
  .legal {
    grid-template-columns: 1fr;
  }

  .services {
    padding: 56px 20px;
  }

  .services-head {
    position: static;
    max-width: none;
  }

  .service {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy,
  .band,
  .benefits,
  .process,
  .faq {
    padding: 48px 20px;
  }

  .hero-copy {
    padding: 56px 24px 40px;
  }

  .offer-autonomos {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 28px;
  }

  .offer img {
    height: 220px;
  }

  .autonomos-products {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .autonomos-products > div {
    padding: 28px 0;
  }

  .autonomos-products > div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .fact,
  .phones div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-top,
  .legal {
    flex-direction: column;
  }

  .policy {
    padding: 48px 20px 72px;
  }
}
