:root {
  --bg: #f7f1e8;
  --paper: #fffcf8;
  --ink: #1a1512;
  --text: #3b332c;
  --mute: #7a7168;
  --line: #eadfd3;
  --accent: #c0562a;
  --accent-soft: #f4e0d2;
  --accent-deep: #8f3512;
  --max: 1120px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow: 0 24px 60px rgba(60, 32, 18, 0.08);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 12% -8%, rgba(232, 168, 122, 0.28), transparent 60%),
    radial-gradient(700px 380px at 100% 8%, rgba(210, 186, 154, 0.22), transparent 55%),
    var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-deep);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 239, 230, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 223, 211, 0.7);
}

.top__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
}

.brand__name {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.top__phone {
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn--main {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(192, 86, 42, 0.28);
}

.btn--main:hover {
  background: var(--accent-deep);
}

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

.top__cta {
  display: none;
}

@media (min-width: 780px) {
  .top__cta {
    display: inline-flex;
  }
}

.hero {
  position: relative;
  padding: 2.6rem 0 3rem;
}

.glow {
  position: absolute;
  inset: 0 auto auto 8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 170, 0.55), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 1.8rem;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 2.8rem;
  }
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.rate {
  margin: 0.35rem 0 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  font-style: italic;
  font-weight: 560;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--accent-deep);
}

.rate-sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.hero h1 {
  margin: 1.05rem 0 0;
  max-width: 16ch;
  font-family: var(--font);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.lead {
  margin: 0.7rem 0 0;
  max-width: 32rem;
  color: var(--text);
  font-size: 1.05rem;
}

.flow {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.flow li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text);
}

.flow b {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.stage {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.quiz-card__n {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.fine {
  margin: 1.05rem 0 0;
  font-size: 0.8rem;
  color: var(--mute);
}

.quiz-card {
  background: var(--paper);
  border: 1px solid rgba(234, 223, 211, 0.9);
  border-radius: 28px;
  padding: 1.45rem 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.quiz-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.quiz-card > p {
  margin: 0 0 1.1rem;
  color: var(--mute);
  font-size: 0.92rem;
}

.quiz__bar-wrap {
  height: 5px;
  border-radius: 99px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.quiz__bar {
  width: 16%;
  height: 100%;
  background: linear-gradient(90deg, #e08a58, var(--accent));
  transition: width 0.25s ease;
}

.quiz__step-label {
  margin: 0 0 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

.quiz__step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.quiz__step legend {
  padding: 0;
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-size: 1.05rem;
}

.option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.82rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.option:hover {
  border-color: #ddc9b4;
}

.option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(192, 86, 42, 0.15);
}

.option input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
  border: 1.5px solid #cbb9a8;
  border-radius: 50%;
  background: #fff;
}

.option:has(input:checked) input {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 45%, #fff 48%);
}

.quiz__reject {
  margin: 0.4rem 0 0;
  color: #8a2a12;
  font-size: 0.88rem;
}

.quiz__note {
  margin: 0 0 0.8rem;
  color: var(--mute);
  font-size: 0.9rem;
}

.field {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}

.field__label {
  font-size: 0.82rem;
  color: var(--mute);
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  background: #fff;
}

.field__input:focus {
  outline: 2px solid rgba(192, 86, 42, 0.28);
  border-color: var(--accent);
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--mute);
}

.quiz__nav {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.05rem;
}

.quiz__nav .btn {
  flex: 1;
}

.quiz__success h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
}

.section {
  padding: 0.5rem 0 3rem;
}

.section h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.pays {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 860px) {
  .pays {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pays article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: 0 10px 28px rgba(60, 32, 18, 0.04);
}

.pays span,
.pays small {
  display: block;
  color: var(--mute);
  font-size: 0.82rem;
}

.pays strong {
  display: block;
  margin: 0.35rem 0 0.15rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
}

.fit {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .fit {
    grid-template-columns: 1fr 1fr;
  }
}

.fit li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 1.05rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.fit b {
  color: var(--accent-deep);
  font-family: var(--display);
  font-weight: 560;
}

.trio {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 760px) {
  .trio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trio article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem 1.15rem;
}

.trio h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.trio p {
  margin: 0;
  color: var(--mute);
}

.path {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 760px) {
  .path {
    grid-template-columns: repeat(4, 1fr);
  }
}

.path li {
  counter-increment: step;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.15rem;
}

.path li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--display);
  color: var(--accent-deep);
  font-size: 1.15rem;
}

.path h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.path p {
  margin: 0;
  color: var(--mute);
  font-size: 0.92rem;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.55rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0.55rem 0 0;
  color: var(--mute);
}

.foot {
  padding: 1.8rem 0 5.6rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.82rem;
}

.foot address {
  font-style: normal;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.bar {
  display: none;
}

@media (max-width: 779px) {
  body {
    padding-bottom: 4.6rem;
  }

  .hero {
    padding: 1.15rem 0 1.4rem;
  }

  .hero h1 {
    font-size: 1.4rem;
    max-width: none;
  }

  .rate {
    font-size: 3.35rem;
  }

  .lead {
    font-size: 0.98rem;
  }

  .quiz-card {
    scroll-margin-bottom: 5.5rem;
  }

  .quiz__nav {
    position: sticky;
    bottom: 4.7rem;
    z-index: 12;
    padding-top: 0.45rem;
    background: linear-gradient(180deg, transparent, var(--paper) 28%);
  }

  .bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(255, 252, 248, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }

  .bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
  }

  .bar__call {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
  }

  .bar__quiz {
    background: var(--accent);
    color: #fff;
  }
}
