/* ═══════════════════════════════════════════════
   BASE
═══════════════════════════════════════════════ */
.mk {
  font-family: 'Manrope', sans-serif;
  background: #fff;
  color: #000;
  overflow-x: hidden;
  position: relative;
}

.mk *,
.mk *::before,
.mk *::after {
  box-sizing: border-box;
}

.mk p,
.mk h1,
.mk h2 {
  margin: 0;
}

.mk a {
  text-decoration: none;
}

.mk-wrap {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 10px;
}

.mk-desktop {
  display: none !important;
}

.mk-mobile {
  display: block;
}

/* ═══════════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════════ */

.mk-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mk-logo-img {
  height: 60px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.mk-btn {
  display: block;
  width: 100%;
  background: #fa5255;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
  padding: 16px 40px;
  cursor: pointer;
  box-shadow: 0 2px 0 #de393c;
  transition: opacity .15s;
}

.mk-btn:hover {
  opacity: .88;
  color: #fff;
  text-decoration: none;
}

.mk-btn-auto {
  display: inline-block;
  width: auto;
}

.mk-timer-pill {
  background: #6639db;
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 18px;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.mk-timer-pill strong {
  font-weight: 700;
}

input[type="range"].mk-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  margin: 14px 0 8px;
  background: linear-gradient(to right, #fa5255 var(--fill, 40%), #e8e8e8 var(--fill, 40%));
}

input[type="range"].mk-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: #fa5255;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fa5255;
}

input[type="range"].mk-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #fa5255;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fa5255;
}

.mk-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 800;
}

.mk-rate {
  color: #fa5255;
}

.mk-slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #777;
}

.mk-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.mk-checkbox-row input {
  width: 20px;
  height: 20px;
  accent-color: #fa5255;
  cursor: pointer;
  flex-shrink: 0;
}

.mk-checkbox-label {
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.mk-checkbox-label a {
  color: #fa5255;
  text-decoration: underline;
}

.mk-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  justify-content: center;
}

.mk-secure img {
  width: 20px;
  height: 20px;
}

/* ═══════════════════════════════════════════════
   MOBILE LAYOUT
═══════════════════════════════════════════════ */

.mk-blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 576px;
  height: 377px;
  pointer-events: none;
  z-index: 0;
}

.mk-blob img {
  width: 100%;
  height: 100%;
}

/* Header */
.mk-header {
  position: relative;
  z-index: 10;
  padding: 20px 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
}

.mk-hamburger {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mk-hamburger img {
  width: 100%;
  height: 100%;
}

/* Hero */
.mk-hero-section {
  position: relative;
}

.mk-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mk-hero-titles {
  text-align: center;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

.mk-h1 {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

.mk-hero-sub {
  font-size: 20px;
  font-weight: 400;
}

/* Form card */
.mk-form-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, .05);
  padding: 15px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mk-form-title {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.mk-slider-block {
  display: flex;
  flex-direction: column;
}

/* Timer mobile */
.mk-timer-mobile-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0;
  max-width: 430px;
  margin: 0 auto;
}

/* Steps */
.mk-steps-section {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 10px 24px;
}

.mk-steps-card {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.mk-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.mk-step img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.mk-step p {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

/* Section (payments / partners heading row) */
.mk-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.mk-section-title {
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

/* Tile grid */
.mk-tile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 340px;
}

.mk-tile {
  width: 164px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mk-tile img {
  width: auto;
  height: auto;
  max-width: 80px;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

/* Benefits */
.mk-benefits-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 10px;
  margin-bottom: 24px;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.mk-benefit {
  background: #fff4e7;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 280px;
}

.mk-benefit img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
}

.mk-benefit-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.mk-benefit-text {
  font-size: 14px;
  line-height: 1.4;
}

.mk-benefit.pos-left {
  margin-right: auto;
}

.mk-benefit.pos-center {
  margin: 0 auto;
}

.mk-benefit.pos-right {
  margin-left: auto;
}

/* Main column */
.mk-main-col {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 10px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* FAQ */
.mk-faq-card {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 20px;
}

.mk-faq-title {
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
}

.mk-faq-item {
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.mk-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.mk-faq-question {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  user-select: none;
}

.mk-faq-q {
  flex: 1;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.mk-faq-ico {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.mk-faq-ico img {
  width: 100%;
  height: 100%;
}

.mk-faq-ans {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
  display: none;
}

.mk-faq-ans.open {
  display: block;
}

/* CTA bottom */
.mk-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.mk-cta-girl-wrap {
  display: none;
}

.mk-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.mk-cta-ellipse {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 62px;
  pointer-events: none;
}

.mk-cta-ellipse img {
  width: 100%;
  height: 100%;
}

.mk-cta-h2 {
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

.mk-cta-sub {
  font-size: 16px;
  text-align: center;
}

/* Legal */
.mk-legal-card {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mk-legal-card p {
  font-size: 12px;
  line-height: 1.65;
}

.mk-lenders-title {
  font-size: 16px !important;
  font-weight: 800 !important;
}

.mk-lender {
  font-size: 12px;
  color: #5b5b5b;
  line-height: 1.65;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 14px;
}

.mk-lender:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.mk-agree-title {
  font-size: 16px !important;
  font-weight: 800 !important;
}

.mk-agree-links a {
  display: block;
  color: #fa5255;
  text-decoration: underline;
  font-size: 12px;
  line-height: 1.9;
}

.mk-legal-note {
  font-size: 12px !important;
  color: #000;
}

/* Footer */
.mk-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mk-footer-top {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.mk-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mk-footer-nav a {
  font-size: 14px;
  color: #000;
}

.mk-footer-copy {
  font-size: 14px;
  text-align: center;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   DESKTOP (≥ 1024px)
═══════════════════════════════════════════════ */
@media (min-width: 1024px) {

  .mk-desktop {
    display: block !important;
  }

  .mk-mobile {
    display: none !important;
  }

  .mk-hamburger {
    display: none;
  }

  .mk-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* Logo */
  .mk-logo-img {
    height: 70px;
  }

  /* Blob */
  .mk-blob {
    width: 1252px;
    height: 820px;
  }

  /* Header */
  .mk-header {
    max-width: 1140px;
    margin: 0 auto;
    padding: 30px 20px 0;
    position: relative;
    z-index: 10;
  }

  .mk-nav-desktop {
    display: flex !important;
    gap: 80px;
    font-size: 18px;
    font-weight: 400;
  }

  .mk-nav-desktop a {
    color: #000;
  }

  .mk-nav-desktop a:hover {
    color: #fa5255;
  }

  /* ── Hero ── */
  .mk-hero-section {
    position: relative;
    min-height: 720px;
    display: flex;
    flex-direction: column;
  }

  .mk-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    /* 20px = сетка как у header и секций */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex: 1;
  }

  .mk-hero-left-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex: 1;
    position: relative;
    z-index: 2;
  }

  .mk-hero-titles {
    text-align: left;
    align-items: flex-start;
    min-height: auto;
    padding: 0;
  }

  .mk-h1 {
    font-size: 70px;
    line-height: 1.1;
  }

  .mk-hero-sub {
    font-size: 28px;
    margin-top: -8px;
  }

  .mk-hero-girl-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -60px;
    width: 300px;
    height: 400px;
    pointer-events: none;
    z-index: 1;
  }

  .mk-hero-girl-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
  }

  .mk-timer-desktop-wrap {
    display: flex !important;
  }

  .mk-timer-mobile-wrap {
    display: none !important;
  }

  /* ── Form card ── */
  .mk-form-card {
    width: 420px;
    flex-shrink: 0;
    padding: 32px 28px 36px;
    gap: 20px;
    position: relative;
    z-index: 3;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
  }

  .mk-form-title {
    font-size: 26px;
  }

  .mk-slider-header {
    font-size: 18px;
  }

  .mk-checkbox-label {
    font-size: 13px;
  }

  /* Steps */
  .mk-steps-section {
    max-width: 1140px;
    margin: 40px auto 0;
    padding: 0 20px;
  }

  .mk-steps-card {
    flex-direction: row;
    border-radius: 40px;
    padding: 60px 40px;
    gap: 24px;
  }

  .mk-step img {
    width: 100px;
    height: 100px;
  }

  .mk-step p {
    font-size: 25px;
  }

  /* Section (2-col on desktop) */
  .mk-section {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-bottom: 0;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
  }

  .mk-section-title {
    font-size: 50px;
    text-align: left;
    width: 364px;
    flex-shrink: 0;
    line-height: 1.15;
  }

  /* Tile grid */
  .mk-tile-grid {
    width: auto;
    max-width: none;
    flex: 1;
    gap: 24px;
    justify-content: flex-start;
  }

  .mk-tile {
    width: 267px;
    height: 100px;
  }

  .mk-tile img {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 40px;
    object-fit: contain;
    display: block;
  }

  .mk-partner-tile {
    width: 234px;
  }

  .mk-partner-tile img {
    max-width: 170px;
    max-height: 52px;
  }

  /* Benefits */
  .mk-benefits-section {
    position: relative;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 70px 20px 20px;
    margin-bottom: 0;
    min-height: 740px;
    gap: 20px;
  }

  .mk-benefits-girl {
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 400px;
    height: 510px;
    pointer-events: none;
    z-index: 0;
  }

  .mk-benefits-girl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
  }

  .mk-benefit {
    flex-direction: row;
    align-items: center;
    width: 655px;
    border-radius: 40px;
    padding: 40px;
    gap: 24px;
    position: relative;
    z-index: 1;
  }

  .mk-benefit.wide {
    width: 800px;
  }

  .mk-benefit img {
    width: 100px;
    height: 100px;
  }

  .mk-benefit-title {
    font-size: 25px;
  }

  .mk-benefit-text {
    font-size: 18px;
    white-space: nowrap;
  }

  .mk-benefit.pos-left {
    margin-right: auto;
    margin-left: 290px;
  }

  .mk-benefit.pos-center {
    margin: 0;
    margin-left: 380px;
  }

  .mk-benefit.pos-right {
    margin-left: 470px;
  }

  .mk-partners-section .mk-section {
    align-items: flex-start;
  }

  /* Main column */
  .mk-main-col {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 60px;
    gap: 50px;
  }

  /* FAQ */
  .mk-faq-card {
    border-radius: 40px;
    padding: 60px;
  }

  .mk-faq-title {
    font-size: 50px;
    margin-bottom: 40px;
  }

  .mk-faq-q {
    font-size: 25px;
  }

  .mk-faq-ans {
    font-size: 20px;
  }

  .mk-faq-ico {
    width: 40px;
    height: 40px;
  }

  /* CTA */
  .mk-cta-section {
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
  }

  .mk-cta-girl-wrap {
    display: block !important;
    width: 520px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .mk-cta-girl-wrap img {
    width: 100%;
    max-height: 358px;
    object-fit: contain;
    object-position: bottom;
  }

  .mk-cta-content {
    align-items: flex-start;
    padding-bottom: 80px;
  }

  .mk-cta-ellipse {
    bottom: 0;
    left: -20px;
    width: 1046px;
    height: 216px;
    transform: none;
  }

  .mk-cta-h2 {
    font-size: 50px;
    text-align: left;
  }

  .mk-cta-sub {
    font-size: 25px;
    text-align: left;
  }

  .mk-secure {
    justify-content: flex-start;
  }

  /* Legal */
  .mk-legal-card {
    border-radius: 40px;
    padding: 60px;
    gap: 24px;
  }

  .mk-legal-card p {
    font-size: 16px;
  }

  .mk-lenders-title {
    font-size: 25px !important;
  }

  .mk-lender {
    font-size: 16px;
  }

  .mk-agree-title {
    font-size: 16px !important;
  }

  .mk-agree-links a {
    font-size: 16px;
  }

  .mk-legal-note {
    font-size: 16px !important;
  }

  /* Footer */
  .mk-footer {
    padding-bottom: 24px;
  }

  .mk-footer-top {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0;
  }

  .mk-footer-nav {
    flex-direction: row;
    gap: 80px;
  }

  .mk-footer-nav a {
    font-size: 18px;
  }

  .mk-footer-copy {
    font-size: 16px;
    line-height: 24px;
  }
}


/* ═══════════════════════════════════════════════
   PHONE PAGE
═══════════════════════════════════════════════ */

/* Декоративний blob знизу */
.ph-blob {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 360px;
  height: 236px;
  pointer-events: none;
  z-index: 0;
  transform: rotate(180deg);
}

.ph-blob img {
  width: 100%;
  height: 100%;
}

/* Layout — мобіль */
.ph-page {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Logo */
.ph-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
}

.ph-logo-img {
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Прогрес */
.ph-progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 400;
}

.ph-progress-labels .step-num {
  color: #000;
}

.ph-progress-labels .step-of {
  color: #5b5b5b;
}

.ph-progress-bar {
  position: relative;
  height: 5px;
  border-radius: 100px;
  background: #f0eef9;
}

.ph-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 100px;
  background: #6639db;
}

/* Секція: заголовок + картка */
.ph-form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.ph-title {
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

/* Картка */
.ph-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 rgba(0, 0, 0, .08);
  padding: 36px 28px;
  width: 100%;
}

.ph-card form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Поле телефону */
.ph-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-input-wrap {
  display: flex;
  align-items: center;
  background: #f5f5f8;
  border-radius: 100px;
  padding: 18px 32px;
  border: 1.5px solid transparent;
  transition: border-color .2s, background .2s;
}

.ph-input-wrap:focus-within {
  border-color: #6639db;
  background: #fff;
}

.ph-input-wrap.is-error {
  border-color: #fa5255;
}

.ph-prefix {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  white-space: nowrap;
  margin-right: 4px;
  user-select: none;
}

.ph-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  min-width: 0;
}

.ph-input::placeholder {
  color: #c0c0c0;
}

/* Помилка */
.ph-error {
  display: none;
  align-items: center;
  gap: 10px;
}

.ph-error.visible {
  display: flex;
}

.ph-error img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.ph-error span {
  font-size: 14px;
  font-weight: 400;
  color: #fa5255;
}

/* Чекбокс */
.ph-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ph-checkbox-custom {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 1.5px solid #d0d0d0;
  border-radius: 5px;
  background: #fff;
  position: relative;
  transition: border-color .2s;
  cursor: pointer;
  margin-top: 2px;
}

.ph-checkmark {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}

.ph-checkmark img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

input[type="checkbox"].ph-checkbox-real {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

input[type="checkbox"].ph-checkbox-real:checked+.ph-checkbox-custom {
  border-color: #6639db;
}

input[type="checkbox"].ph-checkbox-real:checked+.ph-checkbox-custom .ph-checkmark {
  display: flex;
}

.ph-agree-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
}

.ph-agree-text a {
  color: #6639db;
  text-decoration: underline;
}

/* Кнопка */
.ph-btn {
  display: block;
  width: 100%;
  background: #fa5255;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
  padding: 18px 40px;
  cursor: pointer;
  box-shadow: 0 2px 0 #de393c;
  transition: opacity .15s;
  margin-top: 4px;
}

.ph-btn:hover {
  opacity: .88;
}

@media (min-width: 1024px) {

  /* ── Фон всіх сторінок форми ── */
  .form-page-bg {
    background: linear-gradient(145deg, #ede8ff 0%, #f8f6ff 40%, #fff 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 24px;
  }

  /* Blob */
  .ph-blob {
    width: 700px;
    height: 456px;
    opacity: .6;
  }

  /* ── Панель кроку 1 (телефон) ── */
  .ph-page {
    max-width: 600px;
    width: 100%;
    margin: 0;
    padding: 56px 56px 48px;
    background: #fff;
    border-radius: 36px;
    box-shadow: 0 32px 100px 0 rgba(102, 57, 219, .12);
    gap: 36px;
  }

  /* Лого */
  .ph-logo-img {
    height: 34px;
  }

  /* Прогрес */
  .ph-progress-labels {
    font-size: 18px;
  }

  .ph-progress-bar {
    height: 6px;
  }

  /* Заголовок */
  .ph-title {
    font-size: 34px;
    letter-spacing: .5px;
  }

  /* Картка телефону */
  .ph-card {
    padding: 48px;
    gap: 44px;
    border-radius: 20px;
  }

  /* Поле */
  .ph-input-wrap {
    padding: 20px 40px;
  }

  .ph-prefix {
    font-size: 22px;
  }

  .ph-input {
    font-size: 22px;
  }

  .ph-error span {
    font-size: 15px;
  }

  .ph-agree-text {
    font-size: 15px;
  }

  /* Кнопка */
  .ph-btn {
    padding: 20px 40px;
    font-size: 18px;
  }
}


/* ═══════════════════════════════════════════════
   SHARED FORM COMPONENTS (step 2+)
═══════════════════════════════════════════════ */

/* Обёртка шага */
.step-page {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Секция: заголовок + карточка */
.step-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Карточка формы */
.step-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px 0 rgba(0, 0, 0, .08);
  padding: 36px 28px;
  width: 100%;
}

.step-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Группа из двух полей (на мобиле — вертикально с тем же gap) */
.f-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Поле */
.f-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-label {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 3px;
}

.f-label .req {
  color: #fa5255;
}

/* Текстовый input */
.f-input {
  width: 100%;
  height: 58px;
  background: #f5f5f8;
  border-radius: 100px;
  border: 1.5px solid transparent;
  padding: 0 28px;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}

.f-input::placeholder {
  font-weight: 400;
  color: #c0c0c0;
}

.f-input:focus {
  border-color: #6639db;
  background: #fff;
}

.f-input.is-error {
  border-color: #fa5255;
  color: #fa5255;
}

/* Сообщение об ошибке */
.f-error {
  display: none;
  align-items: center;
  gap: 8px;
}

.f-error.visible {
  display: flex;
}

.f-error img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.f-error span {
  font-size: 13px;
  font-weight: 400;
  color: #fa5255;
  line-height: 1.3;
}

/* Радиокнопки — пол */
.f-gender {
  display: flex;
  gap: 12px;
}

.f-gender-opt {
  flex: 1;
  height: 58px;
  background: #f5f5f8;
  border-radius: 100px;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

.f-gender-opt:hover {
  border-color: #c0c0c0;
  background: #fff;
}

/* Скрытый реальный radio */
.f-gender-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Кастомная иконка радио */
.f-radio-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid #c0c0c0;
  position: relative;
  transition: border-color .2s;
}

.f-radio-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6639db;
  transition: transform .15s;
}

/* Состояние выбрано */
.f-gender-opt.selected {
  border-color: #6639db;
}

.f-gender-opt.selected .f-radio-icon {
  border-color: #6639db;
}

.f-gender-opt.selected .f-radio-icon::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Date input */
.f-input[type="date"]::-webkit-inner-spin-button,
.f-input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .5;
  cursor: pointer;
}

@media (min-width: 1024px) {

  /* ── Панель крок 2 ── */
  .step-page {
    max-width: 600px;
    width: 100%;
    margin: 0;
    padding: 56px 56px 48px;
    background: #fff;
    border-radius: 36px;
    box-shadow: 0 32px 100px 0 rgba(102, 57, 219, .12);
    gap: 36px;
  }

  .step-section {
    gap: 24px;
  }

  .step-card {
    padding: 48px 44px;
    gap: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
  }

  /* Заголовки */
  .ph-title {
    font-size: 34px;
    letter-spacing: .5px;
  }

  .ph-logo-img {
    height: 34px;
  }

  .ph-progress-labels {
    font-size: 18px;
  }

  .ph-progress-bar {
    height: 6px;
  }

  /* Поля */
  .f-label {
    font-size: 16px;
    font-weight: 500;
  }

  .f-field {
    gap: 14px;
  }

  .f-input {
    height: 64px;
    font-size: 18px;
    padding: 0 32px;
  }

  .f-error span {
    font-size: 14px;
  }

  /* Радіокнопки */
  .f-gender-opt {
    height: 64px;
    font-size: 17px;
  }

  /* Двоколонний рядок */
  .f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* Кнопка */
  .ph-btn {
    padding: 20px 40px;
    font-size: 18px;
  }
}


/* ═══════════════════════════════════════════════
   STEP 3 — ПЕРЕВІРКА ДАНИХ
═══════════════════════════════════════════════ */

/* Картка */
.s3-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, .05);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
}

/* Кругова діаграма */
.s3-circle-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}

.s3-circle-wrap svg {
  width: 180px;
  height: 180px;
  display: block;
}

.s3-track {
  fill: none;
  stroke: #f0eef9;
  stroke-width: 10;
}

.s3-arc {
  fill: none;
  stroke: #6639db;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 471.24;
  stroke-dashoffset: 471.24;
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset .4s linear;
}

.s3-percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: #000;
}

/* Список пунктів перевірки */
.s3-checks {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.s3-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.s3-item-text {
  flex: 1;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
}

.s3-item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.s3-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Спінер — обертається */
.s3-spinner {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: none;
}

.s3-spinner img {
  width: 100%;
  height: 100%;
}

@keyframes s3-spin {
  to {
    transform: rotate(360deg);
  }
}

.s3-spinning {
  animation: s3-spin .9s linear infinite;
}

/* Стан пункту */
.s3-item .icon-done {
  display: none;
}

.s3-item .icon-loading {
  display: none;
}

.s3-item.state-loading .icon-loading {
  display: block;
}

.s3-item.state-done .icon-done {
  display: block;
}

/* Pop-in для галочки */
@keyframes s3-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.s3-item.state-done .icon-done {
  animation: s3-pop .3s ease forwards;
}

@media (min-width: 1024px) {

  /* ── Крок 3 ── */
  .s3-card {
    padding: 48px 44px;
    gap: 48px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
  }

  .s3-circle-wrap {
    width: 240px;
    height: 240px;
  }

  .s3-circle-wrap svg {
    width: 240px;
    height: 240px;
  }

  .s3-percent {
    font-size: 54px;
  }

  .s3-track {
    stroke-width: 12;
  }

  .s3-arc {
    stroke-width: 12;
  }

  .s3-item-text {
    font-size: 20px;
  }

  .s3-item-icon {
    width: 30px;
    height: 30px;
  }

  .s3-checks {
    gap: 28px;
  }

  .ph-logo-img {
    height: 34px;
  }

  .ph-progress-labels {
    font-size: 18px;
  }

  .ph-title {
    font-size: 34px;
    letter-spacing: .5px;
  }
}


/* ═══════════════════════════════════════════════
   SHOWCASE — ВИТРИНА
═══════════════════════════════════════════════ */

.sc-page {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0 auto;
  padding: 20px 10px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Заголовок */
.sc-title {
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  color: #000;
  width: 340px;
  margin: 0 auto;
}

/* Список офферів */
.sc-offers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Картка оффера */
.sc-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, .05);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  width: 340px;
  /* Анімація появи */
  opacity: 0;
  transform: translateY(16px);
  animation: sc-fadein .4s ease forwards;
}

.sc-card:nth-child(1) {
  animation-delay: .05s;
}

.sc-card:nth-child(2) {
  animation-delay: .15s;
}

.sc-card:nth-child(3) {
  animation-delay: .25s;
}

.sc-card:nth-child(4) {
  animation-delay: .35s;
}

.sc-card:nth-child(5) {
  animation-delay: .45s;
}

.sc-card:nth-child(n+6) {
  animation-delay: .55s;
}

@keyframes sc-fadein {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Логотип оффера */
.sc-logo-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.sc-logo {
  max-width: 235px;
  max-height: 80px;
  object-fit: contain;
  display: block;
}

/* Кнопка */
.sc-btn {
  display: block;
  width: 100%;
  background: #fa5255;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 100px;
  padding: 16px 40px;
  box-shadow: 0 2px 0 #de393c;
  transition: opacity .15s;
}

.sc-btn:hover {
  opacity: .88;
  color: #fff;
  text-decoration: none;
}

/* Пустой список */
.sc-empty {
  text-align: center;
  color: #777;
  font-size: 16px;
  padding: 40px 0;
}

@media (min-width: 1024px) {
  .sc-page {
    max-width: 560px;
    padding: 48px 20px 60px;
  }

  .sc-title {
    font-size: 28px;
    width: 100%;
  }

  .sc-card {
    width: 100%;
    padding: 32px;
  }

  .sc-logo {
    max-width: 280px;
    max-height: 100px;
  }

  .sc-btn {
    font-size: 18px;
    padding: 18px 40px;
  }
}