/*
 * «Valoración gratis» (src/site/valuation-page.ts, 2026-11-16): the page of the valuator, in the type and colours of
 * Jose's approved home (Atkinson Hyperlegible Next; #1B3D14 text, #4A5D43 secondary text, #3A7A26 and #4C9D33
 * greens, #EEF6EA soft green). The facade is a big button-card; at the first click it becomes the valuator's iframe
 * (public/assets/js/valorador.js), tall enough for its steps. Only the .vg-* classes.
 */
.vg-main {
  background: #eef6ea;
  color: #1b3d14;
}

.vg-dentro {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px clamp(20px, 4vw, 48px) 80px;
}

.vg-migas {
  font-size: 15px;
  color: #4a5d43;
}

.vg-migas a {
  color: #3a7a26;
}

.vg-kicker {
  margin: 28px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #3a7a26;
}

.vg-titulo {
  margin: 12px 0 0;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  font-weight: 700;
  text-wrap: balance;
}

.vg-entradilla {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: #4a5d43;
}

.vg-marco {
  margin-top: 32px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(10, 30, 8, 0.12);
  overflow: hidden;
}

.vg-fachada {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px);
  color: #1b3d14;
  text-align: center;
  text-decoration: none;
}

.vg-fachada__titulo {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 700;
}

.vg-fachada__texto {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
  color: #4a5d43;
}

.vg-fachada__boton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  margin-top: 8px;
  padding: 0 34px;
  border-radius: 999px;
  background: #4c9d33;
  color: #10260c;
  font-size: 19px;
  font-weight: 700;
}

.vg-fachada:hover .vg-fachada__boton,
.vg-fachada:focus-visible .vg-fachada__boton {
  background: #3a7a26;
  color: #ffffff;
}

.vg-fachada:focus-visible {
  outline: 3px solid #4c9d33;
  outline-offset: -6px;
}

.vg-fachada__nota {
  font-size: 14px;
  color: #4a5d43;
}

/* The valuator: tall enough for its steps, which scroll inside it. */
.vg-iframe {
  display: block;
  width: 100%;
  height: min(1100px, calc(100vh - 120px));
  min-height: 640px;
  border: 0;
}

.vg-respaldo {
  margin: 14px 0 0;
  font-size: 15px;
  text-align: center;
}

.vg-respaldo a {
  color: #3a7a26;
}

.vg-despues {
  margin-top: 56px;
}

.vg-despues h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 700;
}

.vg-despues p {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.vg-despues a {
  color: #3a7a26;
  font-weight: 700;
}

.vg-boton {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid #1b3d14;
  border-radius: 999px;
  color: #1b3d14;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.vg-despues .vg-boton {
  color: #1b3d14;
}

.vg-boton:focus-visible,
.vg-respaldo a:focus-visible,
.vg-despues a:focus-visible {
  outline: 3px solid #4c9d33;
  outline-offset: 3px;
}
