:root {
  --ink: #172A2A;
  --teal: #356A6A;
  --teal-light: #4C8C98;
  --sand: #E0D8C8;
  --sand-dark: #d3c9b3;
  --stone: #DAD7D0;
  --line: #b9b3a6;
  --body: #3d4748;
  --muted: #4a5455;

  --maxw: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
  --section-y: clamp(56px, 8vw, 96px);

  --sans: 'Open Sans', Helvetica, Arial, sans-serif;
  --display: 'Abril Fatface', Georgia, serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: #fff; }

body {
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }

:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 24px; }

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.12;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.display--xl { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.1; margin-bottom: 22px; text-wrap: balance; }
.display--xxl { font-size: clamp(36px, 4vw, 52px); line-height: 1.1; margin-bottom: 18px; text-wrap: balance; }

.h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.2; margin: 0; }

.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  margin: 0 0 36px;
  max-width: 58ch;
}
.section-lead--tight { margin-bottom: 0; }

.strong-link { font-weight: 700; }

.band { background: #fff; }
.band--stone { background: var(--stone); }
.band > * {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.band--narrow > * { max-width: 1160px; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 20px 32px;
  border: 0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--primary:active { transform: translateY(1px); }
.btn--primary[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn--block { display: block; width: 100%; }
.btn--sm { font-size: 13px; padding: 18px 24px; white-space: normal; }
.btn--lg { padding: 20px; }

.topbar { background: #fff; border-bottom: 1px solid var(--stone); }
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__logo { height: 46px; width: auto; max-width: 45vw; object-fit: contain; object-position: left; display: block; }
.topbar__phone {
  display: flex; flex-direction: column; align-items: flex-end;
  line-height: 1.3; white-space: nowrap; color: var(--ink);
}
.topbar__phone:hover { color: var(--ink); }
.topbar__phone-label { font-size: 12px; color: var(--muted); }
.topbar__phone-number { font-size: 17px; font-weight: 800; }

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
  align-items: center;
}
.band > .hero { padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(48px, 7vw, 72px); }
.hero__copy { flex: 1.5 1 380px; min-width: 0; }
.hero__lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 32px;
  max-width: 520px;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 32px; }

.hero__media {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 480px;
  position: relative;
  padding-left: clamp(12px, 2vw, 24px);
}
.hero__media-block {
  position: absolute;
  top: clamp(16px, 3vw, 32px); left: 0; right: clamp(16px, 3vw, 32px); bottom: 36px;
  background: var(--sand);
}
.hero__portrait {
  position: relative;
  margin-bottom: clamp(16px, 3vw, 32px);
  margin-left: clamp(12px, 2vw, 24px);
  aspect-ratio: 4 / 5;
  max-height: 560px;
  overflow: hidden;
  background: var(--stone);
}
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.hero__caption {
  position: relative;
  font-size: 14px; color: var(--body);
  margin: 0;
  padding-left: clamp(12px, 2vw, 24px);
}
.hero__caption strong { color: var(--ink); }

.score {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.score:hover { color: var(--ink); opacity: .8; }
.score--center { margin-bottom: 40px; text-align: left; }
.score--xl { gap: 18px; }
.score__number { font-family: var(--display); font-size: 34px; line-height: 1; }
.score__number--lg { font-size: 40px; }
.score__number--xl { font-size: 56px; }
.score__stars { display: block; color: var(--teal-light); font-size: 16px; letter-spacing: 2px; line-height: 1.2; }
.score__stars--teal { color: var(--teal); }
.score__stars--lg { font-size: 18px; }
.score__label { display: block; font-size: 13px; color: var(--body); }
.score--xl .score__label { font-size: 14px; }

.usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 28px 40px;
}
.band > .usps { padding-top: 40px; padding-bottom: 40px; }
.usp { border-left: 2px solid var(--teal); padding-left: 18px; }
.usp__title { font-size: 16px; font-weight: 800; margin: 0 0 4px; }
.usp__text { font-size: 14px; line-height: 1.5; color: var(--body); margin: 0; }

.split { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.split--form { gap: 40px 48px; }
.split__media {
  flex: 1 1 400px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  overflow: hidden;
  background: var(--stone);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__copy { flex: 1 1 480px; min-width: 0; }
.split--form .split__copy { flex: 1 1 380px; }

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 28px 36px;
}
.point__title { font-size: 17px; font-weight: 800; color: var(--teal); margin: 0 0 6px; }
.point__text { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; }

.calc-wrap { max-width: 1040px; }
.band > .calc-wrap { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.calc-wrap .display { margin-bottom: 12px; }
.calc-wrap .section-lead { font-size: 17px; line-height: 1.6; margin-bottom: 36px; }

.calc { background: #fff; display: flex; flex-wrap: wrap; }
.calc__inputs {
  flex: 1 1 380px;
  min-width: 0;
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.calc__result {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--sand);
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}
.calc__result-label { font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.calc__amount { font-family: var(--display); font-size: clamp(40px, 5vw, 52px); line-height: 1.05; margin: 0 0 6px; }
.calc__years { font-size: 14px; color: var(--body); margin: 0; }
.calc__note { font-size: 13px; color: var(--body); margin: 14px 0 0; }
.calc__note-link { color: var(--ink); text-decoration: underline; }

.field__label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.field__input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(76,140,152,0.2); }
textarea.field__input { resize: vertical; }

.field__money { display: flex; align-items: center; border: 1px solid var(--line); background: #fff; }
.field__money:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(76,140,152,0.2); }
.field__prefix { padding: 0 0 0 14px; font-size: 18px; color: var(--muted); }
.field__money input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 16px 14px 16px 8px;
  font-family: var(--sans);
  font-size: 18px; font-weight: 600;
  color: var(--ink);
  outline: none;
}

.stepper { display: flex; align-items: stretch; border: 1px solid var(--line); background: #fff; height: 58px; }
.stepper:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(76,140,152,0.2); }
.stepper__btn {
  width: 56px; flex: 0 0 auto;
  border: 0; background: var(--sand);
  font-family: var(--sans); font-size: 24px; font-weight: 600;
  color: var(--ink); cursor: pointer;
}
.stepper__btn:hover { background: var(--sand-dark); }
.stepper input {
  flex: 1; min-width: 0;
  border: 0; text-align: center; background: transparent;
  font-family: var(--sans); font-size: 20px; font-weight: 700;
  color: var(--ink); outline: none;
}

.checkline { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: var(--body); }
.checkline input { width: 20px; height: 20px; accent-color: var(--teal); }

.checks { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.checks__intro { flex: 1 1 340px; min-width: 0; }
.checks__intro .section-lead { max-width: none; }
.checks__list {
  flex: 2 1 520px; min-width: 0;
  columns: 2 240px; column-gap: 40px;
  list-style: none; margin: 0; padding: 0;
}
.checks__list li {
  display: flex; gap: 12px; align-items: baseline;
  font-size: 16px; line-height: 1.5;
  break-inside: avoid;
  padding-bottom: 14px;
}
.checks__mark { color: var(--teal); font-weight: 800; flex: 0 0 auto; }

.reviews {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.band > .reviews { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.quote { width: 100%; background: #fff; padding: clamp(28px, 5vw, 56px); margin: 0; }
.quote__text {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--ink);
  margin: 0 auto 26px;
  max-width: 60ch;
  min-height: 5em;
  text-wrap: pretty;
}
.quote__name { display: block; font-size: 15px; font-weight: 800; }
.quote__meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.pager { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.pager__btn {
  width: 48px; height: 48px;
  border: 1px solid var(--line); background: #fff;
  font-size: 18px; color: var(--ink); cursor: pointer;
}
.pager__btn:hover { border-color: var(--teal); color: var(--teal); }
.pager__counter { font-size: 14px; color: var(--body); min-width: 48px; }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 460px; }
.split--form .team { gap: 20px; }
.team__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.team__photo--34 { aspect-ratio: 3 / 4; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.team__name { font-size: 15px; font-weight: 800; margin: 12px 0 2px; }
.team__role { font-size: 13px; color: var(--muted); margin: 0; }

.formcard {
  flex: 1 1 340px;
  min-width: 0;
  max-width: 520px;
  background: var(--sand);
  padding: clamp(24px, 3vw, 40px);
}
.formcard__title { font-size: 22px; font-weight: 800; margin: 0 0 24px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form--lg { gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field-row--wide { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.form-note { font-size: 12px; line-height: 1.5; color: var(--body); margin: 0; }
.form--lg .form-note { font-size: 13px; line-height: 1.55; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  margin: 0;
  background: #fdf1f1;
  border-left: 3px solid #b3261e;
  padding: 12px 14px;
  font-size: 14px;
  color: #7a1d17;
}

.choice { border: 0; margin: 0; padding: 0; }
.choice legend { padding: 0; }
.choice__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice__option { position: relative; display: block; }
.choice__option input {
  position: absolute; opacity: 0;
  width: 100%; height: 100%; margin: 0;
  cursor: pointer;
}
.choice__option span {
  display: block;
  padding: 14px;
  text-align: center;
  font-size: 15px; font-weight: 700;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.choice__option input:checked + span {
  border: 2px solid var(--teal);
  background: var(--teal);
  color: #fff;
}
.choice__option input:focus-visible + span { outline: 3px solid var(--teal-light); outline-offset: 2px; }

.faq { max-width: 820px; display: flex; flex-direction: column; gap: 36px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: #fff; }
.faq__item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  text-align: left;
  background: transparent; border: 0;
  padding: 20px 24px;
  font-family: var(--sans); font-size: 17px; font-weight: 700;
  color: var(--ink); cursor: pointer;
}
.faq__sign { font-size: 22px; font-weight: 400; color: var(--teal); flex: 0 0 auto; }
.faq__a p { font-size: 16px; line-height: 1.7; color: var(--body); margin: 0; padding: 0 24px 22px; max-width: 70ch; }

.footer { background: #fff; border-top: 1px solid var(--stone); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 14px 32px;
  font-size: 13px; color: var(--muted);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--ink); }

.mobilebar { display: none; }

.page-contact .contact { min-height: 100dvh; display: flex; flex-wrap: wrap; background: #fff; }
.contact__form-col { flex: 1 1 460px; min-width: 0; display: flex; justify-content: center; background: #fff; }
.contact__form-inner {
  width: 100%; max-width: 640px;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 64px) 40px;
  display: flex; flex-direction: column;
}
.contact__logo { display: inline-block; align-self: flex-start; margin-bottom: clamp(36px, 6vh, 64px); }
.contact__logo img { height: 46px; width: auto; max-width: 45vw; object-fit: contain; object-position: left; display: block; }
.contact__lead { font-size: 18px; line-height: 1.6; color: var(--body); margin: 0 0 36px; max-width: 46ch; }
.contact__copyright { font-size: 12px; color: var(--muted); margin: auto 0 0; padding-top: 48px; }

.contact__trust-col { flex: 1 1 380px; min-width: 0; background: var(--sand); display: flex; justify-content: center; }
.contact__trust-inner {
  width: 100%; max-width: 620px;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 64px);
  display: flex; flex-direction: column; gap: 40px;
}
.contact__trust-inner .team { max-width: none; }
.contact__trust-inner .team__role { color: var(--body); }

.minireviews { display: flex; flex-direction: column; gap: 16px; }
.minireview { background: #fff; padding: 26px 28px; margin: 0; }
.minireview blockquote { font-size: 16px; line-height: 1.65; margin: 0 0 14px; text-wrap: pretty; }
.minireview figcaption { font-size: 13px; color: var(--body); }
.minireview figcaption strong { color: var(--ink); }

.trust__title { font-size: 17px; font-weight: 800; margin: 0 0 16px; }
.steps { display: flex; flex-direction: column; gap: 14px; border-left: 2px solid var(--teal); padding-left: 20px; }
.steps__item { font-size: 15px; line-height: 1.55; color: var(--body); margin: 0; }
.steps__item strong { color: var(--ink); }

.thanks { display: block; }
.band > .thanks { padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.thanks__logo { display: inline-block; margin-bottom: clamp(40px, 7vh, 72px); }
.thanks__logo img { height: 46px; width: auto; max-width: 45vw; object-fit: contain; object-position: left; display: block; }
.thanks__grid { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.thanks__copy { flex: 1.3 1 420px; min-width: 0; }
.thanks__lead { font-size: 19px; line-height: 1.6; color: var(--body); margin: 0 0 40px; max-width: 46ch; }
.thanks .steps { gap: 18px; padding-left: 22px; }
.steps__head { font-size: 16px; font-weight: 800; margin: 0 0 3px; }
.steps__text { font-size: 15px; line-height: 1.6; color: var(--body); margin: 0; }

.team--offset { flex: 1 1 340px; align-items: end; max-width: none; }
.team__member--down { margin-bottom: 40px; }

.thanks-reviews { display: block; }
.band > .thanks-reviews { padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 48px); }
.thanks-reviews__head {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 20px 40px; margin-bottom: 36px;
}
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card {
  background: #fff;
  padding: 26px 28px;
  margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.card blockquote { font-size: 16px; line-height: 1.65; margin: 0; text-wrap: pretty; }
.card figcaption { font-size: 13px; color: var(--body); }
.card figcaption strong { color: var(--ink); }

.swipe-hint {
  display: none;
  margin: 16px 0 0;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--teal);
}

.thanks-footer { background: #fff; }
.thanks-footer__inner {
  max-width: 1160px; margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 48px);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 10px 32px;
  font-size: 13px; color: var(--muted);
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1);
  animation: reveal-failsafe 0s linear 2.5s forwards;
}
.reveal-group.is-visible > * { opacity: 1; transform: none; }

.js-reveal .reveal-group > * { animation: none; }

@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .mobilebar {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: #fff;
    border-top: 1px solid var(--stone);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    display: flex; gap: 10px;
  }
  .mobilebar__cta, .mobilebar__call {
    display: flex; align-items: center; justify-content: center;
    height: 52px;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    white-space: nowrap;
  }
  .mobilebar__cta { flex: 1; background: var(--teal); color: #fff; }
  .mobilebar__cta:hover { color: #fff; }
  .mobilebar__call { flex: 0 0 auto; border: 2px solid var(--ink); color: var(--ink); padding: 0 16px; }
  .mobilebar__call:hover { color: var(--ink); }
  body:has(.mobilebar) .footer { padding-bottom: 76px; }

  .cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: clamp(20px, 4vw, 48px);
    margin: 0 calc(clamp(20px, 4vw, 48px) * -1);
    padding: 2px clamp(20px, 4vw, 48px) 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards > * { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe-hint { display: block; }

  .team--offset { align-items: start; }
  .team__member--down { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .pager__btn { transition: none !important; }
}
