:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-muted: #edf3ff;
  --text: #10213f;
  --muted: #546583;
  --accent: #1267d3;
  --accent-strong: #0a4ea4;
  --accent-soft: #d8e7ff;
  --line: #d5def0;
  --success: #0b8f63;
  --error: #d64545;
  --shadow: 0 14px 42px rgba(17, 44, 83, 0.15);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 15% 0%, #dceaff 0, transparent 42%), var(--bg);
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.block {
  padding: 64px 0;
}

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

h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(18, 103, 211, 0.14);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
}

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

.site-header__logo {
  display: inline-flex;
  align-items: center;
  width: 170px;
}

.site-header__phone {
  font-weight: 700;
  text-decoration: none;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  white-space: nowrap;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn--header {
  padding: 10px 14px;
  font-size: 0.92rem;
  border: 1px solid var(--line);
  color: var(--accent-strong);
  background: #eaf2ff;
}

.btn--header:hover {
  background: #dce9ff;
}

.hero {
  padding-top: 56px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 30px;
  align-items: start;
}

.hero__content {
  display: grid;
  gap: 18px;
}

.hero__subtitle {
  font-size: 1.05rem;
  max-width: 58ch;
}

.hero__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.hero__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #223150;
  font-weight: 500;
}

.hero__benefits li::before {
  content: "";
  width: 10px;
  min-width: 10px;
  height: 10px;
  margin-top: 0.37em;
  border-radius: 50%;
  background: linear-gradient(160deg, #1fa6ff, #0f5ccc);
}

.hero__media {
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-self: start;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero__media img {
  width: min(100%, 325px);
  border-radius: var(--radius);
}

.btn {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  padding: 14px 20px;
}

.btn:focus-visible {
  outline: 3px solid rgba(18, 103, 211, 0.36);
  outline-offset: 2px;
}

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

.btn--primary {
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 26px rgba(18, 103, 211, 0.26);
}

.btn--primary:hover {
  box-shadow: 0 14px 30px rgba(18, 103, 211, 0.32);
}

.btn--secondary {
  width: 100%;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.btn--secondary:hover {
  background: #cfe0ff;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: #33466d;
}

.btn--full {
  width: 100%;
}

.how-it-works {
  background: var(--surface);
}

.how-it-works .container {
  display: grid;
  gap: 20px;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.steps li {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.step__num {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(145deg, #2f88f0, #0f58be);
}

.steps li p {
  color: #203150;
}

.how-it-works__note {
  font-size: 0.92rem;
  color: #687893;
}

.models__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.model-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 10px 34px rgba(17, 44, 83, 0.08);
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.model-card img {
  height: 190px;
  width: auto;
  object-fit: contain;
}

.model-card h3 {
  font-size: 1.22rem;
}

.model-card p {
  min-height: 44px;
  color: #45577a;
}

.model-card__price {
  min-height: 0;
  color: #123a74;
  font-size: 1.12rem;
  font-weight: 800;
}

.faq {
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.faq .container {
  display: grid;
  gap: 22px;
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 18px 48px 18px 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #1d63bd;
  font-size: 1.35rem;
}

.faq__item.is-open .faq__question::after {
  content: "−";
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.faq__answer p {
  padding: 0 16px 16px;
  color: #42567d;
}

.faq__cta {
  justify-self: start;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 25, 46, 0.6);
}

.modal__dialog {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  position: relative;
  margin: 16px auto;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  transform: translateY(8px);
  transition: transform 0.24s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0);
}

.modal__close {
  border: 0;
  background: transparent;
  font-size: 1.9rem;
  line-height: 1;
  color: #44526c;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 12px;
}

.modal__subtitle {
  margin-top: 8px;
  margin-bottom: 18px;
}

#lead-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #30446b;
}

.field input {
  width: 100%;
  border: 1px solid #bfcae0;
  border-radius: 12px;
  padding: 12px 13px;
  font-size: 1rem;
  color: #1c2f50;
  outline: none;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(18, 103, 211, 0.15);
}

.field input.is-invalid {
  border-color: var(--error);
}

.field__error {
  min-height: 18px;
  font-size: 0.84rem;
  color: var(--error);
}

.form-status {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 0.96rem;
}

.form-status--success {
  color: var(--success);
}

.form-status--error {
  color: var(--error);
}

@media (max-width: 1023px) {
  .block {
    padding: 56px 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero__media {
    justify-content: flex-start;
  }

  .hero__media img {
    width: min(280px, 100%);
  }

}

@media (max-width: 767px) {
  .site-header {
    height: auto;
    min-height: 58px;
    padding: 8px 0;
  }

  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .site-header__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-header__logo {
    width: 145px;
  }

  .btn--header,
  .site-header__phone {
    width: 100%;
    text-align: center;
  }

  .block {
    padding: 44px 0;
  }

  .hero {
    padding-top: 28px;
  }

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

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

  .model-card {
    justify-items: stretch;
    text-align: left;
  }

  .model-card img {
    margin: 0 auto;
  }

  .model-card p {
    min-height: 0;
  }

  .faq__cta {
    width: 100%;
  }

  .modal__dialog {
    padding: 20px 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    width: calc(100% - 20px);
  }
}



.form_text {
    font-size: 13px;
    margin-top: 30px;
    line-height: 1.4;
}

#cookie_note{
    display: none;
    position: fixed;
    bottom: 15px;
    left: 50%;
    max-width: 90%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
	z-index: 100;
    line-height: 1.3;
}

#cookie_note p{
    margin: 0;
    font-size: 0.7rem;
    text-align: left;
    color: black;
}

.cookie_accept{
    width: fit-content;
    white-space: nowrap;
}
@media (min-width: 576px){
    #cookie_note.show{
        display: flex;
    }
}

@media (max-width: 575px){
    #cookie_note.show{
        display: block;
        text-align: left;
        left: 15px;
        transform: translateX(0);
    }
	.cookie_accept{
		width:100%;
	}
}
