:root {
  --ink: #0c2340;
  --blue: #1e4d8c;
  --ivory: #f6f4ef;
  --white: #ffffff;
  --charcoal: #1c2430;
  --slate: #5e6a78;
  --gold: #b8956a;
  --gold-deep: #8f7048;
  --green: #1f7a4d;
  --red: #b42318;
  --line: #e4e0d8;
  --line-strong: #d4cec3;
  --shadow: 0 16px 40px rgba(12, 35, 64, 0.08);
  --header: 4.75rem;
  --content: 70rem;
  --radius: 12px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

#inicio,
#quienes-somos,
#servicios,
#simulador,
#proceso,
#preguntas,
#contacto,
#contenido {
  scroll-margin-top: calc(var(--header) + 0.5rem);
}

section:focus,
main:focus {
  outline: none;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 20;
}

.skip:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--gold-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 650;
  cursor: pointer;
}

.button--gold {
  background: var(--gold);
  color: var(--ink);
}

.button--gold:hover {
  background: var(--gold-deep);
  color: var(--white);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button--line {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button--line:hover {
  background: var(--ink);
  color: var(--white);
}

.button--full {
  width: 100%;
}

.button:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.footer a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__bar {
  width: min(100% - 2.5rem, var(--content));
  min-height: var(--header);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__mark:has(img) {
  border: 0;
  background: transparent;
  border-radius: 10px;
}

.brand__mark:has(img) .brand__fallback {
  display: none;
}

.brand__fallback {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--ink);
}

.brand__name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.brand__name--light {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

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

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

.nav__cta {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white) !important;
}

.nav__cta:hover {
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__lines::before {
  top: -6px;
}

.nav-toggle__lines::after {
  top: 6px;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(184, 149, 106, 0.18), transparent 28%),
    var(--ink);
  color: var(--white);
  padding: 5.5rem 0 6.5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__lead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__panel {
  padding: 1.5rem;
  border: 1px solid rgba(184, 149, 106, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.hero__panel-label {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__points {
  display: grid;
  gap: 1rem;
  list-style: none;
}

.hero__points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.hero__points span {
  font-family: var(--display);
  color: var(--gold);
}

.principles {
  margin-top: -2.75rem;
}

.principles__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.principles__list li {
  padding: 1.5rem 1.4rem;
}

.principles__list li + li {
  border-left: 1px solid var(--line);
}

.principles h2,
.card h3,
.beliefs h3,
.wizard h3,
.form-success h3 {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.45rem;
  color: var(--ink);
}

.principles p,
.card p,
.steps p,
.section__header p,
.contact__intro p,
.footer p {
  color: var(--slate);
}

.principles p {
  margin-top: 0.35rem;
}

.section {
  padding: 5.5rem 0;
}

.section--tint {
  background: #efece6;
}

.section__header {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.word-finanzas {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15em;
  letter-spacing: 0;
  color: var(--gold-deep);
}

.brand__name--light .word-finanzas {
  color: var(--gold);
}

.section__header h2,
.contact__intro h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 560;
  line-height: 1.1;
  color: var(--ink);
}

.section__header p,
.contact__intro p {
  margin-top: 0.8rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.card,
.contact__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.75rem;
}

.card__index {
  margin-bottom: 1rem;
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 1.25rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card ul {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.card li {
  padding-left: 1rem;
  position: relative;
}

.card li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.note {
  margin-top: 1.25rem;
  color: var(--slate);
  font-size: 0.95rem;
}

.note.note--linea {
  text-align: left;
  text-align-last: left;
  hyphens: manual;
  text-wrap: balance;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.about p {
  color: var(--slate);
  font-size: 1.1rem;
}

.hero__lead,
.section__header p,
.contact__intro p,
.about p,
.beliefs p,
.card__for,
.note,
.faq p,
.wizard__panel > p,
.simulator__empty {
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  text-align: justify;
  text-align-last: left;
  text-wrap: pretty;
}

.card__for {
  margin-top: 0.35rem;
  color: var(--ink);
  font-weight: 650;
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.card__link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
}

.card__link:hover {
  color: var(--ink);
}

.simulator {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  align-items: start;
}

.simulator__panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.simulator h3,
.simulator__table-title {
  font-family: var(--display);
  font-weight: 560;
  font-size: 1.45rem;
  color: var(--ink);
}

.simulator__table-title {
  margin-top: 0.5rem;
  font-size: 1.3rem;
}

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

.simulator__metric {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: var(--ivory);
  color: var(--slate);
  font-size: 0.92rem;
}

.simulator__metric strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
}

.simulator__hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--slate);
  font-size: 0.85rem;
  line-height: 1.35;
}

.simulator__table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.simulator table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.simulator th,
.simulator td {
  padding: 0.65rem 0.45rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.simulator th {
  color: var(--ink);
  font-weight: 650;
  background: var(--white);
}

.simulator th:first-child,
.simulator td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: center;
}

.simulator tbody td {
  background: var(--white);
  transition: background 0.15s ease;
}

.simulator tbody tr:nth-child(odd) td {
  background: #efeae2;
}

@media (hover: hover) {
  .simulator tbody tr:hover td {
    background: #e6d5bc;
  }
}

.simulator__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.simulator__empty {
  color: var(--slate);
}

.stepper {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 3rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--ivory);
  overflow: hidden;
}

.stepper:has(input[aria-invalid="true"]) {
  border-color: var(--red);
}

.stepper__btn {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  min-height: 3rem;
  cursor: pointer;
}

.stepper__btn:hover:not(:disabled) {
  background: var(--line);
}

.stepper__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

.field .stepper__valor {
  width: 100%;
  border: 0;
  border-radius: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.field .stepper__valor[aria-invalid="true"] {
  border-left-color: var(--line);
  border-right-color: var(--line);
}

.simulator__panel,
.hero__grid > *,
.cards > *,
.contact > *,
.about > *,
.footer__grid > *,
.beliefs > * {
  min-width: 0;
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.print-only {
  display: none;
}

.beliefs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.beliefs article {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.beliefs p {
  margin-top: 0.45rem;
  color: var(--slate);
}

.requisitos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
  list-style: none;
}

.requisitos li {
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--slate);
}

.oferta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
}

.oferta li {
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.oferta span {
  display: block;
  color: var(--slate);
  font-size: 0.92rem;
}

.oferta strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
  font-weight: 650;
}

.oferta__nota {
  margin-top: 0.85rem;
}

.loan {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.loan .section__header {
  max-width: none;
  margin-bottom: 0;
}

.input-numero {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.wizard {
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wizard__progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.wizard__progress li {
  position: relative;
}

.wizard__progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(0.35rem + 1.125rem);
  left: 50%;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
}

.wizard__step {
  width: 100%;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.2rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.wizard__index {
  position: relative;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--ivory);
  color: var(--slate);
  font-family: var(--display);
  font-size: 1.05rem;
}

.wizard__label {
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
  line-height: 1.2;
}

.wizard__step[aria-current="step"] .wizard__index {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.wizard__step.is-done .wizard__index {
  border-color: var(--gold-deep);
  background: var(--gold);
  color: var(--ink);
}

.wizard__step:disabled {
  cursor: default;
}

.wizard__step:disabled .wizard__label {
  color: var(--slate);
  font-weight: 500;
}

.wizard__count {
  margin: -0.35rem 0 1rem;
  color: var(--slate);
  font-size: 0.92rem;
}

.wizard__panel {
  display: grid;
  gap: 1rem;
}

.wizard__panel[hidden],
.wizard__form[hidden],
.form-success[hidden] {
  display: none;
}

.wizard__panel p {
  color: var(--slate);
}

.wizard__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.proposal {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--ink);
}

.wizard__panel .proposal__kicker,
.wizard__panel .proposal__detail,
.wizard__panel .proposal__side {
  color: rgba(255, 255, 255, 0.78);
}

.proposal__kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wizard__panel .proposal__amount {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 560;
  line-height: 1.05;
  color: var(--white);
}

.wizard__panel .proposal__side strong {
  display: block;
  margin-top: 0.15rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
}

.proposal__side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice legend {
  margin-bottom: 0.35rem;
  font-weight: 650;
  color: var(--ink);
}

.choice label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--ivory);
  cursor: pointer;
}

.choice input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--ink);
}

.choice input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.choice label:has(input:checked) {
  border-color: var(--gold-deep);
  background: var(--white);
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq summary {
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.faq p {
  margin-top: 0.65rem;
  color: var(--slate);
}

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 0.7rem;
}

.field--check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  accent-color: var(--ink);
}

.field--check label {
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  font-size: 1rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  counter-reset: paso;
}

.steps li {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: paso;
  content: counter(paso, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-deep);
  font-family: var(--display);
  font-size: 1.35rem;
}

.steps h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__panel {
  padding: 1.5rem;
}

.form {
  display: grid;
  gap: 1rem;
}

.form[hidden],
.form-success[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 650;
  color: var(--ink);
}

.field label span {
  color: var(--slate);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--charcoal);
  padding: 0.75rem 0.85rem;
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--red);
}

.field--check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--ink);
}

.field--check .field__error {
  grid-column: 1 / -1;
}

.field__error {
  color: var(--red);
  font-size: 0.92rem;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  display: grid;
  gap: 0.9rem;
  min-height: 16rem;
  align-content: center;
}

.form-success p {
  color: var(--slate);
}

.form-success h3 {
  color: var(--green);
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: 10px;
}

.footer__label {
  margin-bottom: 0.35rem;
  color: var(--white);
  font-weight: 700;
}

.footer p + p {
  margin-top: 0.45rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.76);
}

.footer__links {
  display: grid;
  gap: 0.4rem;
  list-style: none;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover {
  color: var(--gold);
}

.footer .footer__credit {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 149, 106, 0.55);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer .footer__credit strong {
  color: var(--white);
  font-weight: 650;
}

@media (max-width: 1100px) {
  .nav__list {
    gap: 0.85rem;
  }

  .hero__grid,
  .simulator,
  .contact,
  .loan {
    grid-template-columns: 1fr;
  }

  .principles__list,
  .beliefs,
  .requisitos,
  .oferta {
    grid-template-columns: 1fr 1fr;
  }

  .principles__list li:nth-child(2n + 1) {
    border-left: 0;
  }

  .principles__list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: block;
    max-height: calc(100dvh - var(--header));
    overflow: auto;
  }

  .nav__list {
    display: grid;
    gap: 0.25rem;
  }

  .nav a,
  .nav__cta {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  .nav__cta {
    margin-top: 0.35rem;
    justify-content: center;
  }

  .hero {
    padding: 3.5rem 0 5rem;
  }

  .hero__grid,
  .cards,
  .steps,
  .contact,
  .about,
  .simulator,
  .simulator__metrics,
  .footer__grid,
  .principles__list,
  .beliefs,
  .requisitos,
  .oferta,
  .choice,
  .loan,
  .proposal__side {
    grid-template-columns: 1fr;
  }

  .principles__list li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero h1 {
    max-width: none;
  }

  .hero__actions,
  .wizard__actions,
  .simulator__actions {
    flex-direction: column;
  }

  .hero__actions .button,
  .wizard__actions .button,
  .simulator__actions .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .wrap,
  .header__bar {
    width: min(100% - 1.25rem, var(--content));
  }

  .brand {
    min-width: 0;
  }

  .brand__name {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .hero {
    padding: 2.5rem 0 4.25rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .wizard__label {
    font-size: 0.75rem;
  }

  .wizard__index {
    width: 2rem;
    height: 2rem;
  }

  .wizard,
  .card,
  .contact__panel,
  .simulator__panel {
    padding: 1.1rem;
  }
}

@media print {
  header,
  .skip,
  .hero,
  .principles,
  #quienes-somos,
  #servicios,
  #proceso,
  #preguntas,
  #contacto,
  .footer {
    display: none !important;
  }

  #simulador-form,
  .simulator__actions {
    display: none !important;
  }

  .print-only {
    display: block;
    margin-bottom: 1rem;
    color: #1c2430;
  }

  .simulator tbody td {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .simulator tbody td {
    transition: none;
  }
}
