:root {

  --blue: #0E9D6E;

  --blue-dark: #0B5E43;

  --blue-soft: #E3F5EE;

  --ink: #1A1620;

  --muted: #6B6470;

  --line: #E6EAF0;

  --bg: #F4FAF7;

  --card: #FFFFFF;

  --danger: #E8442F;

  --radius: 24px;

  --shadow: 0 24px 60px -36px rgba(8, 86, 60, 0.28);

  --font: "Manrope", "Segoe UI", system-ui, sans-serif;

}



* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {

  font-family: var(--font);

  color: var(--ink);

  background: var(--bg);

  min-height: 100vh;

  line-height: 1.45;

}

body.quiz-open { overflow: hidden; }

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

button, input { font: inherit; }

a { color: inherit; }



.page { min-height: 100vh; display: flex; flex-direction: column; }

.wrap {

  width: min(1120px, calc(100% - 2rem));

  margin: 0 auto;

}



/* ——— Landing ——— */

.landing {

  flex: 1 0 auto;

  display: grid;

  place-items: center;

  padding: 1.5rem 0 2rem;

  min-height: 100vh;

  min-height: 100dvh;

  box-sizing: border-box;

}

.hero-card {

  width: min(1120px, calc(100% - 2rem));

  display: grid;

  grid-template-columns: 1.05fr 1fr;

  gap: 0;

  background: var(--card);

  border-radius: 28px;

  overflow: hidden;

  box-shadow: var(--shadow);

  border: 1px solid rgba(8, 86, 60, 0.08);

}

.hero-media {

  position: relative;

  min-height: 520px;

  background-color: #d7f0e5;

  background-image: var(--hero-image);

  background-size: cover;

  background-position: center 18%;

  background-repeat: no-repeat;

  isolation: isolate;

}

.hero-media::after {

  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background: linear-gradient(180deg, transparent 42%, rgba(12, 24, 48, 0.58) 100%);

}

.hero-media img {

  position: absolute;

  inset: 0;

  z-index: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center 18%;

}

.hero-overlay {

  position: absolute;

  left: 1.1rem;

  right: 1.1rem;

  bottom: 1.25rem;

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

}

.hero-overlay-line {

  display: inline-block;

  margin: 0.18rem 0;

  padding: 0.55rem 0.85rem;

  background: var(--blue);

  color: #fff;

  border-radius: 12px;

  font-size: clamp(1.37rem, 2.3vw, 1.66rem);

  font-weight: 800;

  line-height: 1.25;

  box-shadow: 0 10px 24px -14px rgba(14, 157, 110, 0.8);

  white-space: nowrap;

}



.hero-copy {

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 1.15rem;

  padding: clamp(1.4rem, 3vw, 2.4rem);

}

.brand {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  text-decoration: none;

}

.brand-mark {

  width: 42px;

  height: 42px;

  flex: 0 0 auto;

  display: block;

  object-fit: contain;

  background: transparent;

}

.brand-text strong {

  display: block;

  font-size: 1.15rem;

  font-weight: 800;

  color: var(--blue);

  letter-spacing: -0.02em;

}

.brand-text small {

  display: block;

  margin-top: 0.1rem;

  color: var(--muted);

  font-size: 0.72rem;

  font-weight: 600;

}

.hero-title {

  font-size: clamp(1.35rem, 2.5vw, 1.85rem);

  font-weight: 800;

  letter-spacing: -0.03em;

  line-height: 1.25;

  color: var(--ink);

}

.hero-title .hl { color: var(--blue); }

.cta {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 70px;

  width: 280px;

  height: 70px;

  padding: 0 1.6rem;

  border: 0;

  border-radius: 15px;

  background-color: #0E9D6E;

  background-position: center center;

  color: #ffffff;

  font-size: 20px;

  font-family: var(--font, Arial, sans-serif);

  line-height: 1;

  font-weight: 500;

  cursor: pointer;

  text-decoration: none;

  transform-origin: center;

  animation: ctaPulse 1.8s ease-in-out infinite;

  transition:

    background-color 0.2s ease-in-out,

    color 0.2s ease-in-out,

    border-color 0.2s ease-in-out,

    box-shadow 0.2s ease-in-out;

}

.cta:hover {

  background-color: #0B5E43;

  animation-play-state: paused;

}

@keyframes ctaPulse {

  0%, 100% { transform: scale(1); }

  50% { transform: scale(1.035); }

}

.bonus-label {

  margin-top: 0.35rem;

  color: var(--muted);

  font-size: 0.72rem;

  font-weight: 800;

  letter-spacing: 0.06em;

  text-transform: uppercase;

}

.bonus-card {

  display: grid;

  grid-template-columns: auto 1fr auto;

  gap: 0.85rem;

  align-items: center;

  padding: 0.95rem 1.05rem;

  border: 1.5px solid #2A2A2A;

  border-radius: 22px;

  background: #F2F2F2;

}

.bonus-ico {

  width: 56px;

  height: 56px;

  display: block;

  object-fit: contain;

  background: transparent;

  border-radius: 0;

}

.bonus-card p {

  display: grid;

  gap: 0.08rem;

  margin: 0;

  color: #2A2A2A;

  font-size: 0.82rem;

  font-weight: 800;

  line-height: 1.2;

  text-transform: uppercase;

  letter-spacing: 0.02em;

}

.bonus-card p span {

  display: block;

}

.bonus-lock {

  width: 34px;

  height: 34px;

  display: block;

  object-fit: contain;

  background: transparent;

  border-radius: 0;

}

.legal {

  color: var(--muted);

  font-size: 0.68rem;

  line-height: 1.45;

}



/* ——— Footer ——— */

.site-foot {

  padding: 2.5rem 0 2rem;

  background: #fff;

  border-top: 1px solid var(--line);

}

.site-foot-inner {

  width: min(1120px, calc(100% - 2rem));

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1.4fr 1fr auto;

  gap: 1.5rem;

  align-items: start;

}

.site-foot-brand { grid-column: 1; }

.site-foot-phone { grid-column: 3; grid-row: 1; justify-self: end; }

.site-foot-company { grid-column: 1; }

.site-foot-links { grid-column: 2; grid-row: 1; display: grid; gap: 0.45rem; }

.site-foot .brand-text strong { color: var(--blue); }

.site-foot p, .site-foot a {

  color: var(--muted);

  font-size: 0.82rem;

  text-decoration: none;

}

.site-foot a:hover { color: var(--blue); }

.site-foot-phone {

  font-size: 1.15rem !important;

  font-weight: 800 !important;

  color: var(--ink) !important;

}



/* ——— Quiz shell ——— */

.quiz-screen {

  display: none;

  min-height: 100vh;

  padding: 1.25rem 0 2rem;

  background: rgba(20, 30, 50, 0.45);

}

.quiz-screen.is-on { display: grid; place-items: center; }

.quiz-modal {

  position: relative;

  width: min(980px, calc(100% - 1.25rem));

  height: 600px;

  background: #fff;

  border-radius: max(0px, calc(25px - 1px));

  overflow: hidden;

  box-shadow: var(--shadow);

  display: grid;

  grid-template-columns: minmax(0, 1fr) 288px;

  grid-template-rows: 6px minmax(0, 1fr) auto;

  transform: none;
  margin-top: -50px;

}

.quiz-progress {
  grid-column: 1 / -1;
  grid-row: 1;
  background: color-mix(in srgb, var(--blue) 18%, #fff);
}

.quiz-stage {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  will-change: transform, opacity;
}

.quiz-side {
  grid-column: 2;
  grid-row: 2 / 4;
  background: #E8ECF3;
  padding: 1.45rem 1.15rem;
  border-left: 1px solid var(--line);
  min-height: 0;
  will-change: transform, opacity;
}

.quiz-nav {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.85rem clamp(1.2rem, 3vw, 2rem) 1.1rem;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 4;
}

.quiz-nav .step-label {
  margin-right: auto;
}

.quiz-nav .nav-actions {
  margin-left: 0;
}

.quiz-stage.is-leave,
.quiz-side.is-leave {
  animation: quizLeaveDown 0.46s ease-in forwards;
}

.quiz-stage.is-leave-back,
.quiz-side.is-leave-back {
  animation: quizLeaveUp 0.46s ease-in forwards;
}

.quiz-stage.is-enter,
.quiz-side.is-enter {
  animation: quizEnterUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quiz-stage.is-enter-back,
.quiz-side.is-enter-back {
  animation: quizEnterDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes quizLeaveDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(48px);
  }
}

@keyframes quizLeaveUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px);
  }
}

@keyframes quizEnterUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quizEnterDown {
  0% {
    opacity: 0;
    transform: translateY(-36px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-stage.is-leave,
  .quiz-stage.is-leave-back,
  .quiz-stage.is-enter,
  .quiz-stage.is-enter-back,
  .quiz-side.is-leave,
  .quiz-side.is-leave-back,
  .quiz-side.is-enter,
  .quiz-side.is-enter-back {
    animation: none;
  }
}

.quiz-close {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #1A1A1A;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.quiz-progress > i {

  display: block;

  height: 100%;

  width: 25%;

  background: var(--blue);

  transition: width 0.25s ease;

}

.quiz-main {

  display: flex;

  flex-direction: column;

  height: 100%;

  padding: clamp(1.2rem, 3vw, 2rem);

  gap: 1.25rem;

  min-height: 0;

  overflow: auto;

}

.quiz-side-box {

  background: #EEF1F6;

  border-radius: 10px;

  padding: 1.35rem 1.2rem;

  color: #374151;

  font-size: 1.11rem;

  line-height: 1.45;

  text-align: left;

  display: block;

  height: auto;

  align-self: start;

}

.quiz-side-box strong {
  display: block;
  color: var(--ink);
}

.quiz-q {

  font-size: clamp(1.25rem, 2.4vw, 1.7rem);

  font-weight: 800;

  letter-spacing: -0.03em;

  line-height: 1.25;

}

.quiz-q .hl { color: var(--blue); }

.quiz-step-form > .quiz-q {
  font-size: clamp(1.44rem, 2.76vw, 1.96rem);
}

#quizStep {

  display: flex;

  flex-direction: column;

  gap: 1.35rem;

  flex: 1;

  min-height: 0;

}

.quiz-sub {

  margin-top: -0.4rem;

  color: var(--muted);

  font-size: 0.95rem;

  font-weight: 600;

}

.quiz-options {

  display: grid;

  grid-template-columns: 1fr;

  gap: 0.75rem;

}

.quiz-options.is-stack { grid-template-columns: 1fr; }

.quiz-opt {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  min-height: 64px;

  padding: 0.9rem 1rem;

  border: 1.5px solid var(--line);

  border-radius: 16px;

  background: #fff;

  cursor: pointer;

  text-align: left;

  font-weight: 700;

  color: #374151;

  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;

}

.quiz-opt:hover { border-color: color-mix(in srgb, var(--blue) 45%, #C5CDD8); }

.quiz-opt.is-on {

  border-color: var(--blue);

  background: color-mix(in srgb, var(--blue) 8%, #fff);

  box-shadow: 0 0 0 3px rgba(14, 157, 110, 0.12);

}

.quiz-radio {

  width: 20px;

  height: 20px;

  border-radius: 50%;

  border: 2px solid color-mix(in srgb, var(--blue) 28%, #C5CDD8);

  flex: 0 0 auto;

  position: relative;

}

.quiz-opt.is-on .quiz-radio {

  border-color: var(--blue);

}

.quiz-opt.is-on .quiz-radio::after {

  content: "";

  position: absolute;

  inset: 3px;

  border-radius: 50%;

  background: var(--blue);

}

.step-label {

  color: var(--muted);

  font-size: 0.88rem;

  font-weight: 700;

}

.nav-actions { display: flex; gap: 0.55rem; margin-left: auto; }

.btn-back {

  width: 48px;

  height: 48px;

  border-radius: 12px;

  border: 1.5px solid var(--blue);

  background: #fff;

  color: var(--blue);

  font-size: 1.2rem;

  cursor: pointer;

}

.btn-next {

  position: relative;

  overflow: hidden;

  min-width: 140px;

  height: 48px;

  padding: 0 1.1rem;

  border: 0;

  border-radius: 12px;

  background: var(--blue);

  color: #fff;

  font-weight: 800;

  cursor: pointer;

  isolation: isolate;

}

.btn-next::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.18) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  animation: btnShine 3.12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.btn-next:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: var(--blue);
  color: #fff;
}

.btn-next:disabled::after {
  display: block;
}

@keyframes btnShine {
  0%, 25% {
    transform: translateX(-160%) skewX(-18deg);
  }
  55%, 100% {
    transform: translateX(280%) skewX(-18deg);
  }
}

.btn-back:hover, .btn-next:hover:not(:disabled) { filter: brightness(0.96); }



.fields { display: grid; gap: 0.75rem; max-width: 420px; }

.quiz-stage:has(.quiz-main.is-form) {
  overflow: visible;
}

#quizStep.quiz-step-form {
  overflow: visible;
}
.field-error {
  border-color: #E8442F !important;
  box-shadow: 0 0 0 3px rgba(232, 68, 47, 0.12) !important;
}
.form-error {
  display: none;
  color: #E8442F;
  font-size: 0.85rem;
  font-weight: 700;
}
.form-error.is-on { display: block; }
.quiz-step-form.is-done .fields,
.quiz-step-form.is-done .consents,
.quiz-step-form.is-done .quiz-sub,
.quiz-step-form.is-done .quiz-q {
  display: none;
}
.quiz-step-form.is-done .success.is-on {
  display: grid;
}

.field {

  width: 100%;

  min-height: 52px;

  padding: 0.85rem 1rem;

  border: 1.5px solid var(--line);

  border-radius: 12px;

  background: #fff;

  outline: none;

}

.field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 157, 110, 0.12); }

.phone-field {
  position: relative;
  width: 100%;
  max-width: 420px;
  z-index: 2;
}

.phone-field.is-open {
  z-index: 20;
}

.phone-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  max-height: min(260px, 42vh);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 22, 32, 0.08);
  box-shadow:
    0 18px 40px -22px rgba(20, 40, 30, 0.45),
    0 8px 20px -14px rgba(20, 40, 30, 0.2);
}

.phone-dropdown.is-portal {
  position: fixed;
  right: auto;
}

.phone-shell {
  position: relative;
  width: 100%;
}

.phone-prefix {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 28px;
  padding: 0.25rem 0.35rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.phone-prefix:hover {
  background: rgba(20, 40, 30, 0.05);
}

.phone-flag-img {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 40, 30, 0.12);
  flex: 0 0 auto;
  background: #eee;
}

.phone-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #8A968E;
  margin-top: 1px;
  transition: transform 0.18s ease;
}

.phone-field.is-open .phone-caret {
  transform: rotate(180deg);
}

.phone-input {
  padding-left: 3.45rem !important;
}

.phone-field.is-invalid .phone-input {
  border-color: #E8442F !important;
  box-shadow: 0 0 0 3px rgba(232, 68, 47, 0.12) !important;
}

.phone-dropdown[hidden] {
  display: none !important;
}

.phone-search {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.7rem 0.85rem;
  border: none;
  border-bottom: 1px solid rgba(26, 22, 32, 0.08);
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.phone-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  overflow: auto;
  max-height: 200px;
}

.phone-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.phone-option:hover,
.phone-option.is-active {
  background: rgba(14, 157, 110, 0.08);
}

.phone-option-name span {
  color: #6A766E;
  font-weight: 550;
}

.phone-option-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4A564E;
  white-space: nowrap;
}

.phone-empty {
  padding: 0.85rem;
  color: #6A766E;
  font-size: 0.85rem;
  text-align: center;
}

.phone-row {
  display: none;
}

.flag {
  display: none;
}

.consents { display: grid; gap: 0.65rem; max-width: 520px; }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.4;
  cursor: pointer;
}

.consent span {
  flex: 1;
  min-width: 0;
}

.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  margin: 0.12rem 0 0;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.consent input[type="checkbox"]:checked {
  background: var(--blue);
  border-color: var(--blue);
}

.consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.success {

  display: none;

  text-align: center;

  padding: 2rem 1rem;

  gap: 0.75rem;

}

.success.is-on { display: grid; place-items: center; }

.success-ico {

  width: 64px;

  height: 64px;

  border-radius: 50%;

  display: grid;

  place-items: center;

  background: #D7F5E5;

  color: #0B5E43;

  font-size: 1.6rem;

  font-weight: 800;

}



@media (max-width: 860px) {

  .hero-card { grid-template-columns: 1fr; }

  .hero-media { min-height: 300px; }

  .hero-overlay {
    align-items: flex-start;
    text-align: left;
  }

  .quiz-screen {
    position: fixed;
    inset: 0;
    z-index: 200;
    padding: 0;
    background: #fff;
    min-height: 100dvh;
    height: 100dvh;
    place-items: stretch;
  }

  .quiz-screen.is-on { display: block; }

  .quiz-modal {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    margin-top: 0;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    grid-template-columns: 1fr;
    grid-template-rows: 5px auto minmax(0, 1fr) auto;
  }

  .quiz-progress {
    grid-column: 1;
    grid-row: 1;
  }

  .quiz-side {
    grid-column: 1;
    grid-row: 2;
    background: transparent;
    border: 0;
    border-left: 0;
    padding: 1.6rem 1.35rem 0;
  }

  .quiz-side-box {
    min-height: 0;
    height: auto;
    background: #EDEFF3;
    border-radius: 12px;
    padding: 0.95rem 1rem;
    font-size: 1.09rem;
    text-align: left;
    color: #4B5563;
  }

  .quiz-stage {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    overflow: hidden;
  }

  .quiz-main {
    padding: 1.25rem 1.35rem 1rem;
    gap: 0;
    overflow: hidden;
  }

  #quizStep {
    gap: 1.5rem;
    overflow: auto;
    padding-bottom: 1rem;
  }

  .quiz-q {
    font-size: 1.45rem;
    margin-top: 0.35rem;
  }

  .quiz-step-form > .quiz-q {
    font-size: 1.67rem;
  }

  .quiz-options {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .quiz-opt {
    min-height: 58px;
    border-radius: 18px;
  }

  .step-label { display: none; }

  .quiz-nav {
    grid-column: 1;
    grid-row: 4;
    margin-top: 0;
    padding: 0.85rem 1.35rem calc(0.95rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }

  .nav-actions {
    width: 100%;
    margin-left: 0;
    gap: 0.65rem;
  }

  .btn-back {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex: 0 0 auto;
  }

  .btn-next {
    flex: 1;
    min-width: 0;
    height: 52px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .quiz-close {
    top: 16px;
    right: 14px;
  }

  .field, .flag {
    border-radius: 16px;
    min-height: 54px;
  }

  .quiz-main.is-form {
    max-height: none;
    overflow: visible;
  }

  .site-foot-inner { grid-template-columns: 1fr; gap: 1.1rem; }

  .site-foot-brand,
  .site-foot-phone,
  .site-foot-company,
  .site-foot-links {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

}

/* Mobile ~430×932 — layout like EasyCode funnel */
@media (max-width: 560px) {

  body { background: #fff; }

  .landing {
    padding: calc(2.55rem + 30px) calc(1.7rem + 10px) 2rem;
    place-items: start center;
    min-height: 100dvh;
    padding-bottom: 6rem;
  }

  .hero-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .hero-media {
    min-height: 250px;
    height: 250px;
    border-radius: 28px;
    overflow: hidden;
  }

  .hero-media::after {
    background: linear-gradient(180deg, transparent 38%, rgba(12, 24, 48, 0.5) 100%);
  }

  .hero-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.85rem;
    align-items: flex-start;
    text-align: left;
  }

  .hero-overlay-line {
    margin: 0.14rem 0;
    padding: 0.38rem 0.58rem;
    border-radius: 10px;
    font-size: clamp(0.84rem, 3.7vw, 0.98rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-copy {
    padding: 1.35rem 0.2rem 0.5rem;
    gap: 0;
  }

  .hero-copy .brand { display: none; }

  .hero-copy .hero-title {
    order: 1;
    margin: 0 0 1.75rem;
  }

  .hero-copy .bonus-label {
    order: 2;
    margin: 0 0 0.55rem;
  }

  .hero-copy .bonus-card {
    order: 3;
    margin: 0 0 2.1rem;
  }

  .hero-copy .cta {
    order: 4;
    width: 100%;
    max-width: none;
    height: 70px;
    min-height: 70px;
    margin: 0 0 1.85rem;
  }

  .hero-copy .legal {
    order: 5;
    margin: 0;
  }

  .hero-title {
    font-size: clamp(1.28rem, 5.6vw, 1.55rem);
    line-height: 1.32;
  }

  .bonus-card {
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
  }

  .bonus-ico {
    width: 48px;
    height: 48px;
  }

  .bonus-card p {
    font-size: 0.72rem;
  }

  .bonus-lock {
    width: 28px;
    height: 28px;
  }

  .legal {
    font-size: 0.64rem;
    line-height: 1.45;
  }

  .site-foot {
    margin-top: 0;
    border-top: 0;
    padding: 5.5rem calc(1.7rem + 10px) 2.5rem;
  }

  .site-foot-inner {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.15rem;
  }

  .site-foot-brand {
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
  }

  .site-foot-brand .brand-mark {
    width: 48px;
    height: 48px;
    margin: 0 auto;
  }

  .site-foot-brand .brand-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-foot-brand .brand-text strong {
    font-size: 1.35rem;
  }

  .site-foot-brand .brand-text small {
    max-width: 16rem;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--muted);
  }

  .site-foot-phone {
    font-size: 1.45rem !important;
    letter-spacing: -0.02em;
  }

  .site-foot-company {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .site-foot-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
  }

  .quiz-screen {
    position: fixed;
    inset: 0;
    z-index: 200;
    padding: 0;
    background: #fff;
    min-height: 100dvh;
    height: 100dvh;
    place-items: stretch;
  }

  .quiz-screen.is-on { display: block; }

  .quiz-modal {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    margin-top: 0;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    grid-template-columns: 1fr;
    grid-template-rows: 5px auto minmax(0, 1fr) auto;
  }

  .quiz-progress {
    grid-column: 1;
    grid-row: 1;
  }

  .quiz-side {
    grid-column: 1;
    grid-row: 2;
    background: transparent;
    border: 0;
    padding: 1.6rem 1.35rem 0;
  }

  .quiz-side-box {
    min-height: 0;
    height: auto;
    background: #EDEFF3;
    border-radius: 12px;
    padding: 0.95rem 1rem;
    font-size: 1.09rem;
    text-align: left;
    color: #4B5563;
  }

  .quiz-stage {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    overflow: hidden;
  }

  .quiz-main {
    padding: 1.25rem 1.35rem 1rem;
    gap: 0;
    overflow: hidden;
  }

  #quizStep {
    gap: 1.5rem;
    overflow: auto;
    padding-bottom: 1rem;
  }

  .quiz-q {
    font-size: 1.45rem;
    margin-top: 0.35rem;
  }

  .quiz-step-form > .quiz-q {
    font-size: 1.67rem;
  }

  .quiz-options { gap: 0.7rem; }

  .quiz-opt {
    min-height: 58px;
    border-radius: 18px;
  }

  .step-label { display: none; }

  .quiz-nav {
    grid-column: 1;
    grid-row: 4;
    margin-top: 0;
    padding: 0.85rem 1.35rem calc(0.95rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }

  .nav-actions {
    width: 100%;
    margin-left: 0;
    gap: 0.65rem;
  }

  .btn-back {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex: 0 0 auto;
  }

  .btn-next {
    flex: 1;
    min-width: 0;
    height: 52px;
    border-radius: 14px;
    font-size: 1rem;
  }

  .quiz-close {
    top: 16px;
    right: 14px;
  }

  .field, .flag {
    border-radius: 16px;
    min-height: 54px;
  }

  .quiz-main.is-form {
    max-height: none;
    overflow: visible;
  }

}

/* Narrow phones (~375): keep overlay line on one line without overflow */
@media (max-width: 400px) {
  .hero-overlay {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.7rem;
  }

  .hero-overlay-line {
    font-size: clamp(0.76rem, 3.45vw, 0.86rem);
    padding: 0.28rem 0.44rem;
    margin: 0.08rem 0;
    border-radius: 8px;
  }
}

/*
  Height ≤800: scale the 430×932 mobile layout by viewport height.
  Photo keeps base ratio, then grows by ~half of leftover viewport space.
  Footer stays on the next screen (landing = 100dvh).
*/
@media (max-width: 560px) and (max-height: 800px) {
  .landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    place-items: unset;
    padding-top: max(0.55rem, 5.8dvh);
    padding-left: calc(1.2rem + 6px);
    padding-right: calc(1.2rem + 6px);
    padding-bottom: 0.75rem;
    min-height: 100dvh;
    box-sizing: border-box;
  }

  .hero-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
  }

  /* Takes the other half of free space so bottom gap ~halves */
  .hero-card::after {
    content: "";
    flex: 1 1 0;
    min-height: 0;
    order: 3;
    pointer-events: none;
  }

  .hero-media {
    order: 1;
    flex: 1 1 28dvh;
    height: auto;
    min-height: 28dvh;
    max-height: 42dvh;
    border-radius: clamp(16px, 3dvh, 28px);
  }

  .hero-overlay {
    left: 0.6rem;
    right: 0.6rem;
    bottom: clamp(0.4rem, 1.15dvh, 0.85rem);
  }

  .hero-overlay-line {
    font-size: clamp(0.72rem, 1.5dvh + 0.35rem, 0.92rem);
    padding: clamp(0.22rem, 0.55dvh, 0.38rem) clamp(0.4rem, 0.85dvh, 0.58rem);
    margin: 0.06rem 0;
  }

  .hero-copy {
    order: 2;
    flex: 0 0 auto;
    padding: clamp(0.55rem, 2.3dvh, 1.35rem) 0.15rem 0.15rem;
  }

  .hero-copy .hero-title {
    margin: 0 0 clamp(0.65rem, 3.2dvh, 1.75rem);
  }

  .hero-title {
    font-size: clamp(1.02rem, 2.15dvh + 0.5rem, 1.42rem);
    line-height: 1.28;
  }

  .hero-copy .bonus-label {
    margin: 0 0 clamp(0.25rem, 1dvh, 0.55rem);
    font-size: clamp(0.68rem, 1.35dvh, 0.85rem);
  }

  .hero-copy .bonus-card {
    margin: 0 0 clamp(0.8rem, 3.7dvh, 2.1rem);
  }

  .bonus-card {
    padding: clamp(0.48rem, 1.35dvh, 0.85rem) clamp(0.55rem, 1.45dvh, 0.9rem);
    border-radius: clamp(12px, 2dvh, 18px);
  }

  .bonus-ico {
    width: clamp(34px, 5.15dvh, 48px);
    height: clamp(34px, 5.15dvh, 48px);
  }

  .bonus-lock {
    width: clamp(20px, 3dvh, 28px);
    height: clamp(20px, 3dvh, 28px);
  }

  .bonus-card p {
    font-size: clamp(0.58rem, 1.1dvh, 0.72rem);
  }

  .hero-copy .cta {
    height: clamp(46px, 7.5dvh, 70px);
    min-height: clamp(46px, 7.5dvh, 70px);
    margin: 0 0 clamp(0.6rem, 3.3dvh, 1.85rem);
    font-size: clamp(0.9rem, 1.85dvh, 1.1rem);
  }

  .legal {
    font-size: clamp(0.52rem, 1dvh, 0.64rem);
    line-height: 1.35;
  }

  .site-foot {
    padding-top: max(3.25rem, 9dvh);
    padding-bottom: 2rem;
  }
}

/* Short phones: compact quiz */
@media (max-width: 560px) and (max-height: 800px) {
  .quiz-side {
    padding: clamp(0.55rem, 1.8dvh, 1.2rem) clamp(0.75rem, 3.5vw, 1.15rem) 0;
  }

  .quiz-side-box {
    padding: clamp(0.5rem, 1.3dvh, 0.85rem) clamp(0.65rem, 1.5dvh, 0.95rem);
    font-size: clamp(0.85rem, 1.7dvh, 1.05rem);
    border-radius: 10px;
  }

  .quiz-main {
    padding: clamp(0.45rem, 1.4dvh, 1rem) clamp(0.75rem, 3.5vw, 1.15rem) 0.35rem;
  }

  #quizStep {
    gap: clamp(0.55rem, 1.6dvh, 1.2rem);
    padding-bottom: 0.4rem;
  }

  .quiz-q {
    font-size: clamp(1.05rem, 2.4dvh, 1.35rem);
    margin-top: 0.1rem;
  }

  .quiz-step-form > .quiz-q {
    font-size: clamp(1.12rem, 2.6dvh, 1.5rem);
  }

  .quiz-options {
    gap: clamp(0.35rem, 1dvh, 0.65rem);
  }

  .quiz-opt {
    min-height: clamp(42px, 6.5dvh, 56px);
    border-radius: 12px;
    padding: clamp(0.45rem, 1.1dvh, 0.75rem) 0.75rem;
    font-size: clamp(0.86rem, 1.7dvh, 1rem);
  }

  .quiz-nav {
    padding: clamp(0.4rem, 1.1dvh, 0.75rem) clamp(0.75rem, 3.5vw, 1.15rem) calc(0.5rem + env(safe-area-inset-bottom));
  }

  .btn-back {
    width: clamp(40px, 6dvh, 50px);
    height: clamp(40px, 6dvh, 50px);
    border-radius: 11px;
  }

  .btn-next {
    height: clamp(40px, 6dvh, 50px);
    border-radius: 11px;
    font-size: clamp(0.88rem, 1.7dvh, 1rem);
  }

  .quiz-close {
    top: 8px;
    right: 8px;
  }

  .field,
  .flag {
    min-height: clamp(44px, 6.2dvh, 52px);
    border-radius: 12px;
  }

  .consent {
    font-size: clamp(0.72rem, 1.4dvh, 0.85rem);
  }
}


