.age-step > h3 {
  margin-bottom: 8px;
}

.step-copy {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.age-holder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .72fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 26px;
}

.age-holder label,
.age-business label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.age-total-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  padding: 0 16px;
  border: 1px solid #d8e2e7;
  border-radius: 13px;
  background: #f9fbfc;
  color: var(--muted);
  font-size: 13px;
}

.age-total-card strong {
  color: var(--navy);
  font-size: 18px;
}

.age-section-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 10px;
}

.age-section-title strong {
  color: var(--ink);
  font-size: 15px;
}

.age-section-title span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.age-brackets {
  max-height: 266px;
  overflow-y: auto;
  border: 1px solid #dce5e9;
  border-radius: 16px;
  background: #fff;
  scrollbar-color: rgba(3, 46, 73, .3) transparent;
  scrollbar-width: thin;
}

.age-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 58px;
  padding: 10px 14px 10px 18px;
  border-bottom: 1px solid #e5ecef;
}

.age-row:last-child {
  border-bottom: 0;
}

.age-row strong {
  color: var(--ink);
  font-size: 13px;
}

.age-counter {
  display: grid;
  grid-template-columns: 34px 28px 34px;
  gap: 5px;
  align-items: center;
}

.age-counter button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #9eb3c0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  transition: border-color .2s, background .2s, color .2s;
}

.age-counter button:hover:not(:disabled),
.age-counter button:focus-visible {
  border-color: var(--gold);
  background: var(--navy);
  color: #fff;
}

.age-counter button:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.age-count {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.age-business {
  margin-top: 20px;
}

.age-error {
  min-height: 18px;
  margin: 7px 0 0;
  color: #a32929;
  font-size: 12px;
  font-weight: 700;
}

.age-brackets.has-error {
  border-color: #c75656;
  box-shadow: 0 0 0 3px rgba(199, 86, 86, .1);
}

.adaptive-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.adaptive-fields .age-business {
  margin-top: 0;
}

.conditional-field label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.conditional-field.full {
  grid-column: 1 / -1;
}

.age-holder[hidden],
.age-holder label[hidden],
.age-total-card[hidden],
.age-section-title[hidden],
.age-brackets[hidden],
.conditional-field[hidden] {
  display: none !important;
}

.form-status {
  min-height: 20px;
  margin-bottom: 0;
  line-height: 1.45;
}

.form-status a {
  color: var(--navy);
  font-weight: 800;
}

.cep-status {
  display: block;
  min-height: 17px;
  margin-top: -2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.cep-status.is-loading {
  color: #496878;
}

.cep-status.is-success {
  color: #16804a;
}

.cep-status.is-error {
  color: #a32929;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.footer-address {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #aabec8;
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.footer-address strong {
  min-width: 74px;
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer > small {
  border-top: 0;
  padding-top: 4px;
}

@media (max-width: 560px) {
  .age-holder {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .adaptive-fields {
    grid-template-columns: 1fr;
  }

  .conditional-field.full {
    grid-column: auto;
  }

  .age-section-title {
    display: block;
  }

  .age-section-title span {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

  .age-brackets {
    max-height: 242px;
  }

  .age-row {
    min-height: 55px;
    padding-left: 14px;
  }

  .form-actions .submit {
    padding: 14px 16px;
    font-size: 12px;
  }

  .footer-address {
    display: block;
  }

  .footer-address strong {
    display: block;
    margin-bottom: 7px;
  }
}
