:root {
  color-scheme: light;
  --blue: #1268ff;
  --ink: #101925;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: Arial, Helvetica, sans-serif; background: #edf0f5; }
a { -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.phone-button { display: inline-flex; align-items: center; gap: 13px; min-height: 52px; padding: 5px 16px 5px 6px; border: 1px solid #dce7fb; border-radius: 999px; background: #f5f8ff; color: #112443; font-size: clamp(20px, 1.65vw, 27px); font-weight: 700; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; animation: phone-glow 4.6s ease-in-out infinite; }
.phone-badge { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; }
.phone-symbol { width: 22px; height: 22px; transform-origin: 50% 65%; animation: phone-ring 4.6s ease-in-out infinite; }
.phone-button:hover { background: #e9f0ff; color: #0756df; transform: translateY(-2px); box-shadow: 0 7px 24px #1268ff20; }
.phone-button:active { transform: translateY(0) scale(.98); }
.phone-button:focus-visible, .order-button:focus-visible { outline: 3px solid #112443; outline-offset: 6px; }
.hero { max-width: 1920px; margin-inline: auto; }
.desktop-hero { position: relative; }
.hero-image { display: block; width: 100%; height: auto; }
.desktop-phone { position: absolute; top: 3.2%; left: 4.55%; z-index: 1; min-height: 44px; gap: clamp(8px, .8vw, 13px); font-size: clamp(14px, 1.65vw, 27px); padding: 5px clamp(10px, 1vw, 16px) 5px 6px; }
.desktop-phone .phone-badge { width: clamp(28px, 2.5vw, 42px); height: clamp(28px, 2.5vw, 42px); }
.desktop-phone .phone-symbol { width: clamp(16px, 1.3vw, 22px); height: clamp(16px, 1.3vw, 22px); }
.order-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 15px; overflow: hidden; border: 0; border-radius: 999px; background: linear-gradient(110deg, #126bff, #0961f5); color: #fff; font-weight: 500; text-decoration: none; white-space: nowrap; isolation: isolate; box-shadow: 0 6px 20px #1268ff30; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; animation: order-glow 2.2s ease-in-out infinite; }
.order-button::after { content: ""; position: absolute; inset: 0 auto 0 -60%; z-index: 0; width: 45%; background: linear-gradient(105deg, transparent, #ffffff66, transparent); transform: skewX(-18deg); pointer-events: none; animation: order-shine 3.2s ease-in-out infinite; }
.order-button > span, .order-button > svg { position: relative; z-index: 1; }
.desktop-order { position: absolute; top: 61.66%; left: 4.55%; width: 20.45%; height: 8.58%; min-height: 44px; font-size: clamp(14px, 1.55vw, 30px); }
.arrow-symbol { flex-shrink: 0; width: 1.2em; height: 1.2em; transition: transform .2s ease; animation: arrow-nudge 1.1s ease-in-out infinite; }
.order-button:hover { background: #0357e7; transform: translateY(-3px) scale(1.055); box-shadow: 0 14px 30px #1268ff55; animation: none; }
.order-button:hover .arrow-symbol { animation: none; transform: translateX(6px); }
.order-button:active { animation: none; transform: translateY(0) scale(.98); }
.mobile-hero { display: none; }

.order-dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 34px; overflow-y: auto; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px #07152b40; }
.order-dialog::backdrop { background: #0e1e38a6; backdrop-filter: blur(4px); }
.order-dialog[open] { animation: dialog-enter .22s ease-out; }
.order-dialog h2 { margin: 0 35px 12px 0; font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #edf2f9; color: #46546b; font-size: 30px; line-height: 1; }
.dialog-close:hover { background: #dce7fb; color: #1268ff; }
.form-intro { margin: 0 0 24px; color: #6a7585; font-size: 15px; line-height: 1.5; }
.field-label { display: block; margin: 19px 0 8px; font-size: 14px; font-weight: 700; }
.field-label span { color: var(--blue); }
#order-form input[type="tel"], #order-form textarea { display: block; width: 100%; padding: 15px 16px; border: 1px solid #c9d4e4; border-radius: 12px; background: #f9fbff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; }
#order-form textarea { resize: vertical; min-height: 94px; max-height: 240px; }
#order-form input:focus-visible, #order-form textarea:focus-visible { outline: 3px solid #1268ff30; outline-offset: 2px; border-color: var(--blue); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-row { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; padding: 17px 15px; border: 2px solid #d7e5ff; border-radius: 14px; background: #eff5ff; font-size: 14px; line-height: 1.5; cursor: pointer; }
.consent-row input { appearance: none; display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; margin: 0; border: 2px solid var(--blue); border-radius: 6px; background: #fff; box-shadow: 0 0 0 3px #1268ff10; cursor: pointer; }
.consent-row input:checked { background: var(--blue); }
.consent-row input:checked::after { content: ""; width: 8px; height: 14px; margin-top: -3px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.form-status { min-height: 20px; margin: 13px 0; color: #bc343e; font-size: 14px; line-height: 1.4; }
.form-submit { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 56px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: 18px; font-weight: 600; transition: background .2s, transform .2s; }
.form-submit:hover { background: #0357e7; transform: translateY(-1px); }
.form-submit:disabled { cursor: wait; opacity: .62; transform: none; }
.dialog-close:focus-visible, .form-submit:focus-visible { outline: 3px solid #112443; outline-offset: 3px; }
.success-view { text-align: center; padding-top: 10px; }
.success-view h2 { margin-right: 0; }
.success-view p { margin: 12px 0 28px; color: #6a7585; line-height: 1.5; }
.success-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #e9f3ff; color: var(--blue); font-size: 36px; }
.metrika-pixel { position: absolute; left: -9999px; }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 480px) { .order-dialog { padding: 30px 22px 24px; border-radius: 20px; } .order-dialog h2 { font-size: 26px; } }

@keyframes phone-ring {
  0%, 72%, 100% { transform: rotate(0); }
  76%, 84% { transform: rotate(-13deg); }
  80%, 88% { transform: rotate(13deg); }
  92% { transform: rotate(-6deg); }
}
@keyframes phone-glow {
  0%, 68%, 100% { box-shadow: 0 0 0 0 #1268ff00; }
  83% { box-shadow: 0 0 0 6px #1268ff12; }
}
@keyframes order-glow {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 20px #1268ff30, 0 0 0 0 #1268ff45; }
  45% { transform: scale(1.065); box-shadow: 0 12px 32px #1268ff66, 0 0 0 9px #1268ff30; }
  75% { transform: scale(1.02); box-shadow: 0 8px 24px #1268ff45, 0 0 0 18px #1268ff00; }
}
@keyframes order-shine {
  0%, 20% { transform: translateX(0) skewX(-18deg); }
  65%, 100% { transform: translateX(450%) skewX(-18deg); }
}
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (min-width: 1921px) {
  .desktop-order { font-size: 30px; }
}

@media (max-width: 760px) {
  .phone-button { min-height: 52px; font-size: 22px; gap: 11px; padding-right: 15px; }
  .desktop-hero { display: none; }
  .mobile-hero { display: block; overflow: hidden; background: radial-gradient(ellipse at 15% 10%, #fff 0%, #f3f5f8 45%, #e9edf3 100%); }
  .mobile-copy { position: relative; z-index: 1; padding: 34px 24px 15px; max-width: 560px; margin-inline: auto; }
  .mobile-phone { margin-bottom: 25px; }
  h1 { margin: 0; font-size: clamp(44px, 10.8vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
  h1 span { display: block; color: var(--blue); }
  .subtitle { margin: 16px 0 0; font-size: clamp(24px, 5.7vw, 31px); line-height: 1.2; color: #4c5462; letter-spacing: -.03em; }
  .benefits { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 12px; padding: 0; margin: 25px 0 29px; list-style: none; }
  .benefits li { display: flex; flex-direction: column; gap: 9px; font-size: clamp(12px, 3vw, 15px); line-height: 1.35; color: #182332; }
  .benefits svg { width: 27px; height: 27px; }
  .mobile-order { width: 100%; max-width: 352px; min-height: 59px; padding: 16px 24px; font-size: 21px; }
  .caption { margin: 15px 0 0; font-size: 14px; color: #758092; line-height: 1.4; }
  .mobile-scene { position: relative; width: 100%; aspect-ratio: 1.1; overflow: hidden; }
  .mobile-scene img { position: absolute; top: 0; right: 0; display: block; width: 180%; max-width: none; height: auto; }
  .mobile-scene::after { content: ""; position: absolute; inset: 0 0 auto; height: 38px; background: linear-gradient(#eef1f6b3, #eef1f600); pointer-events: none; }
}

@media (max-width: 350px) {
  .phone-button { font-size: 20px; gap: 9px; padding-right: 12px; }
  .mobile-copy { padding-inline: 20px; }
  h1 { font-size: 41px; }
  .benefits { gap: 9px; }
  .mobile-order { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
