:root {
  --ink: #151816;
  --paper: #eeece5;
  --line: #c8c6bd;
  --lime: #d8ff37;
  --orange: #ff6a2e;
  --muted: #6e736d;
  --os: 'Oswald', sans-serif;
  --man: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 var(--man);
  overflow-x: hidden;
}

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

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

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.tag {
  margin: 0 0 17px;
  color: #747971;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--os);
  font-weight: 600;
  text-transform: uppercase;
  line-height: .97;
  margin: 0;
}

h1 { font-size: clamp(56px, 8vw, 116px); }
h2 { font-size: clamp(43px, 5vw, 72px); }
h3 { font-size: 30px; }

i {
  font-style: normal;
  color: var(--lime);
}

header {
  height: 82px;
  background: var(--ink);
  color: #fff;
}

.header {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font-size: 18px;
  line-height: 1;
}

.logo small {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  letter-spacing: .13em;
  color: #aeb3ad;
  text-transform: uppercase;
}

.logo b {
  font-weight: 800;
}

nav {
  display: flex;
  gap: 27px;
  margin-left: auto;
}

nav a {
  color: #aeb3ad;
  font-size: 13px;
}

nav a:hover, nav .on {
  color: #fff;
}

.head-phone {
  border-left: 1px solid #484c48;
  padding-left: 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--lime);
}

.head-phone small {
  display: block;
  color: #aeb3ad;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.menu {
  display: none;
}

.mob-call {
  display: none;
}

.mob-nav {
  display: none;
}

.hero {
  min-height: 580px;
  color: #fff;
  background: radial-gradient(circle at 83% 0, rgba(216,255,55,.16), transparent 28%),
              linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
              var(--ink);
  background-size: auto, 54px 54px;
  position: relative;
  overflow: hidden;
  padding: 85px 0 95px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-main {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(52px, 6vw, 94px);
  line-height: .96;
}

.hero h1 span {
  white-space: nowrap;
}

.hero .tag, .black .tag {
  color: var(--lime);
}

.lead {
  max-width: 550px;
  margin: 24px 0 32px;
  color: #c4c9c2;
  line-height: 1.7;
}

.actions {
  display: flex;
  gap: 11px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 13px 18px;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.dark {
  border-color: #5d625c;
  color: #fff;
}

.hero-info {
  margin-top: 48px;
  color: #aeb3ad;
  font-size: 11px;
}

.hero-info b {
  color: #fff;
}

.hero-info span {
  margin: 0 9px;
}

/* Side visual card beside headline */
.hero-visual {
  background: rgba(16, 19, 17, 0.75);
  border: 1px solid #29312b;
  border-left: 3px solid var(--lime);
  padding: 24px 26px 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  transition: border-color .25s ease;
}

.hero-visual:hover {
  border-color: #3b463e;
  border-left-color: var(--lime);
}

.visual-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
}

.visual-status {
  font-size: 9px;
  font-weight: 700;
  color: #9da49b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.visual-status i {
  color: var(--lime);
  font-size: 8px;
}

.hero-svg-car {
  display: block;
  width: 100%;
  height: auto;
  margin: 6px 0 12px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

.visual-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid #252d27;
  padding-top: 12px;
}

.visual-points div {
  font-size: 10px;
  color: #9aa198;
  line-height: 1.4;
}

.visual-points b {
  display: block;
  font-family: var(--os);
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 2px;
  line-height: 1;
}

.section {
  padding: 105px 0;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 48px;
}

.line-link {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-bottom: 1px solid;
  padding-bottom: 4px;
}

.cards {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  grid-auto-rows: 235px;
  gap: 13px;
}

.card {
  position: relative;
  padding: 24px;
  background: #dedbd1;
  overflow: hidden;
  transition: .2s;
}

.card:hover {
  transform: translateY(-3px);
  background: #d4d2c9;
}

.card:after {
  content: "";
  position: absolute;
  right: -30px;
  top: -45px;
  width: 145px;
  height: 145px;
  border: 1px solid #7776;
  border-radius: 50%;
}

.card b {
  color: var(--orange);
  font-size: 11px;
}

.card h3 {
  margin-top: 43px;
}

.card p {
  max-width: 230px;
  font-size: 12px;
  color: var(--muted);
}

.featured {
  grid-row: span 2;
  background: var(--ink);
  color: #fff;
  padding: 32px;
}

.featured:after {
  width: 320px;
  height: 320px;
  top: auto;
  bottom: -215px;
  border-color: #d8ff3777;
}

.featured p {
  color: #b5bbb4;
}

.lime-card {
  background: var(--lime);
}

.more {
  font-size: 12px;
  color: #626760;
  margin: 22px 0 0;
}

.more a {
  font-weight: 800;
  border-bottom: 1px solid;
}

.black {
  background: var(--ink);
  color: #fff;
}

.aside {
  max-width: 330px;
  margin: 0;
  color: #b8bdb7;
  font-size: 13px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #494e49;
}

.steps li {
  padding: 28px 28px 0 0;
  min-height: 190px;
  border-right: 1px solid #494e49;
}

.steps li + li {
  padding-left: 28px;
}

.steps li:last-child {
  border: 0;
}

.steps b {
  font-family: var(--os);
  font-size: 20px;
  color: var(--lime);
}

.steps h3 {
  font-size: 26px;
  margin-top: 32px;
}

.steps p {
  font-size: 12px;
  color: #b8bdb7;
}

.calc-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.calc-copy {
  max-width: 350px;
  color: #60655e;
  line-height: 1.7;
  margin-top: 31px;
}

.note {
  font-size: 11px;
  line-height: 1.6;
  border-left: 3px solid var(--orange);
  padding-left: 13px;
  margin-top: 32px;
  color: #60655e;
}

.calculator {
  background: #dedbd1;
  padding: 29px;
}

.calculator fieldset {
  border: 0;
  margin: 0;
  padding: 0 0 23px;
}

.calculator fieldset + fieldset {
  border-top: 1px solid #bbb9b0;
  padding-top: 23px;
}

.calculator legend {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.checks input {
  position: absolute;
  opacity: 0;
}

.checks span {
  display: block;
  border: 1px solid #b8b6ae;
  padding: 11px;
  font-size: 11px;
  cursor: pointer;
}

.checks input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.calculator label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 800;
  color: #5d625c;
}

.calculator input, .calculator select, .calculator textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #9fa19a;
  background: transparent;
  outline: 0;
  padding: 8px 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.calculator textarea {
  resize: vertical;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px;
  margin-bottom: 15px;
}

.preview {
  background: var(--ink);
  color: #fff;
  padding: 21px;
  margin: 0 -1px -1px;
}

.preview > b {
  display: block;
  color: var(--lime);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.preview output {
  display: block;
  min-height: 76px;
  margin: 12px 0 17px;
  color: #d5dad3;
  font-size: 11px;
  white-space: pre-line;
}

.preview .btn {
  width: 100%;
}

.preview small {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: #929891;
  font-size: 9px;
}

.calc-privacy {
  font-size: 10px;
  color: #72776f;
  margin-top: 15px;
  line-height: 1.5;
}

.calc-privacy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.contact-band {
  background: var(--orange);
  padding: 65px 0;
}

.contact-band .tag {
  color: #782600;
}

.contact-band i {
  color: #fff;
}

.band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.band-right {
  text-align: right;
}

.big-number {
  font: 46px/1 var(--os);
}

.band-right p {
  font-size: 11px;
  margin: 9px 0 13px;
}

.messengers {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.messengers a {
  display: inline-block;
  padding: 12px 15px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  min-height: 42px;
}

.copy-number {
  background: none;
  border: 0;
  border-bottom: 1px solid;
  padding: 0 0 3px;
  margin-top: 13px;
  font-size: 9px;
  letter-spacing: .08em;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

/* Footer & Legal styling */
footer {
  background: #0f1210;
  color: #fff;
  padding: 55px 0 32px;
  border-top: 1px solid #232824;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.footer-desc {
  margin: 14px 0 0;
  font-size: 12px;
  color: #8c928b;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: #aeb3ad;
}

.footer-col b {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-phone {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-phone:hover {
  color: var(--lime);
}

.footer-legal {
  border-top: 1px solid #222623;
  border-bottom: 1px solid #222623;
  padding: 22px 0;
  font-size: 11px;
  color: #899088;
  line-height: 1.7;
}

.legal-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
}

.legal-item {
  margin: 0;
}

.legal-item b {
  color: #dbe0d9;
  font-weight: 600;
}

.legal-item a {
  color: inherit;
  border-bottom: 1px dotted #555b54;
}

.legal-item a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: #6f756e;
}

.footer-bottom a {
  color: #9ea49d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Fallback for legacy class */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: #aeb3ad;
}

.footer a:hover {
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .wrap {
    width: min(100% - 34px, 1180px);
  }
  header {
    height: 72px;
  }
  .head-phone, .header nav, .menu {
    display: none !important;
  }
  .mob-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: var(--lime);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 8px 14px;
    background: #1b211d;
    border: 1px solid #323d35;
    border-radius: 2px;
  }
  .mob-call:hover {
    background: #252d27;
    color: #fff;
  }

  /* Mobile Top Navigation Strip */
  .mob-nav {
    display: block;
    background: #161b18;
    border-bottom: 1px solid #28332b;
    padding: 10px 0;
  }
  .mob-nav-wrap {
    display: flex;
    gap: 8px;
  }
  .mob-link {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: #101412;
    color: #aeb4ac;
    border: 1px solid #2b352e;
    border-radius: 3px;
    text-decoration: none;
    transition: .15s;
  }
  .mob-link:hover {
    color: #fff;
    border-color: #404f44;
  }
  .mob-link.on {
    background: var(--lime);
    color: #111412;
    border-color: var(--lime);
    font-weight: 800;
  }
  .hero {
    min-height: auto;
    padding: 60px 0 70px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-main {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(42px, 8vw, 68px);
  }
  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .calculator input, .calculator select, .calculator textarea {
    font-size: 16px; /* Prevents iOS Safari auto-zoom */
  }
  .section {
    padding: 75px 0;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 215px;
  }
  .featured, .lime-card {
    grid-row: auto;
    grid-column: span 2;
  }
  .calc-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .steps li {
    min-height: 0;
  }
  .band {
    align-items: start;
    flex-direction: column;
  }
  .band-right {
    text-align: left;
  }
  .messengers {
    justify-content: flex-start;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 14px;
  }
  .mob-call span {
    display: none;
  }
  .mob-call {
    padding: 9px 10px;
  }
  .hero {
    min-height: auto;
    padding: 44px 0 52px;
  }
  .hero h1 {
    font-size: clamp(36px, 10vw, 50px);
    line-height: .98;
  }
  .hero h1 span {
    white-space: normal;
  }
  .lead {
    font-size: 13px;
    max-width: 100%;
    margin: 16px 0 24px;
  }
  .actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .actions .btn {
    width: 100%;
    min-height: 52px;
    justify-content: center;
  }
  .hero-info {
    margin-top: 24px;
    max-width: 100%;
    font-size: 11px;
    line-height: 1.6;
  }
  .hero-info span {
    display: none;
  }
  .hero-visual {
    padding: 16px 14px 14px;
  }
  .visual-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .visual-points div {
    font-size: 9px;
  }
  .visual-points b {
    font-size: 12px;
  }
  .section-top {
    align-items: start;
    flex-direction: column;
    margin-bottom: 30px;
  }
  .cards {
    grid-template-columns: 1fr;
    grid-auto-rows: 205px;
  }
  .featured, .lime-card {
    grid-column: auto;
  }
  .card h3 {
    margin-top: 35px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps li, .steps li + li {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid #494e49;
  }
  .steps h3 {
    margin-top: 13px;
  }
  .calculator {
    padding: 20px;
  }
  .checks, .two {
    grid-template-columns: 1fr;
  }
  .two {
    gap: 14px;
  }
  .contact-band {
    padding: 55px 0;
  }
  .big-number {
    font-size: 31px;
  }
  .messengers {
    flex-wrap: wrap;
  }
  .messengers a {
    flex: 1 1 45%;
    text-align: center;
    padding: 14px 8px;
  }
  .copy-number {
    min-height: 35px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer {
    display: block;
  }
  .footer > * {
    display: block;
    margin-bottom: 15px;
  }
}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .header {
    gap: 10px;
  }
  .logo {
    font-size: 16px;
  }
  .logo small {
    font-size: 7.5px;
  }
  .visual-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

