/*
##################################
CALCULADORA
##################################
*/

:root {
  --ink: #121212;
  --muted: #3a3a3a;
  --navy: #15203f;
  --sand: #d2b083;
  --sand-dark: #a77232;
  --line: #d8d8d8;
  --soft: #f4f4f4;
  --metric: #d3d3d3;
  --warning: #d9b9b8;
  --shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
  --color-azul: #18223C;
  --color-dorado: #AE7B39;
  --color-blanco: #ffffff;
  --color-negro: #000;
  --color-gris: #374151;
  --color-cielo: #A4D1E4;
  --color-azul-hover: #166077;
  --color-dorado-hover: #c18a47;
  --color-blanco-hover: #F3F3F4;
  --color-gris-claro: #F3F3F4;
  --color-gris-hover: #d1d5db;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  min-height: 100vh;
  margin: 0;
  padding-top: 84.95px;
  background: #ffffff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

/* ==============================
   NAVBAR - copiado de propiedad_de_inversion
   ============================== */

.barraNegra,
.barraNegra * {
  font-family: 'Inter', Arial, sans-serif;
}

.barraNegra {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84.95px;
  z-index: 1000;
  background: #18223C;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  height: 84.95px;
  padding: 0 4.1rem;
  max-width: 1920px;
  margin: 0 auto;
  background: #18223C;
}

.nav-izquierda {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-derecha {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.navbar .logo {
  flex: 0 0 auto;
}

.navbar .logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-blanco);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.navbar .logo img {
  height: 64px;
  margin: 0;
  padding: 0rem;
  width: auto;
  object-fit: contain;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 84.95px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--color-blanco);
}

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 1.35rem;
  border: 2px solid var(--color-blanco);
  border-radius: 999px;
  background: var(--color-azul);
  color: var(--color-blanco);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.btn-whatsapp-nav svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.btn-whatsapp-nav:hover,
.btn-whatsapp-nav:focus-visible {
  background: var(--color-blanco);
  color: var(--color-azul);
}

.btn-whatsapp-nav:active {
  transform: translateY(1px);
}

.menu-movil-cerrar {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  margin-right: 2.8rem;
}

.menu-movil-cerrar:hover {
  background: rgba(255, 255, 255, 0.22);
}

.menu-movil-cerrar span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--color-blanco);
  border-radius: 2px;
}

.menu-movil-cerrar span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-movil-cerrar span:nth-child(2) {
  transform: rotate(-45deg);
}

.menu-movil {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 1010;
  background: rgba(14, 22, 34, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.menu-movil.abierto {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.menu-movil ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.menu-movil li {
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-movil.abierto li {
  opacity: 1;
  transform: translateY(0);
}

.menu-movil.abierto li:nth-child(1) {
  transition-delay: 0.08s;
}

.menu-movil.abierto li:nth-child(2) {
  transition-delay: 0.14s;
}

.menu-movil.abierto li:nth-child(3) {
  transition-delay: 0.20s;
}

.menu-movil.abierto li:nth-child(4) {
  transition-delay: 0.26s;
}

.menu-movil.abierto li:nth-child(5) {
  transition-delay: 0.32s;
}

.menu-movil a {
  display: block;
  padding: 1rem 2rem;
  text-decoration: none;
  color: var(--color-blanco);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.menu-movil a:hover,
.menu-movil a:active {
  color: var(--color-dorado);
}

.menu-movil li+li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==============================
   FOOTER - copiado de propiedad_de_inversion
   ============================== */

.site-footer,
.site-footer * {
  box-sizing: border-box;
  font-family: 'Inter', Arial, sans-serif;
}

.site-footer {
  background: var(--color-azul);
  padding: 3.5rem 0 0;
  margin: 0rem auto;
  max-width: 100%;
}

.site-footer-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 5rem 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
}

.site-footer-brand .logo img {
  height: 4rem;
  margin-bottom: 2rem;
}

.site-footer-socials {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.site-footer-socials a {
  transition: opacity 0.25s;
}

.site-footer-socials a:hover {
  opacity: 0.7;
}

.site-footer-socials img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
}

.site-footer-cta {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--color-blanco);
  line-height: 1.4;
  margin: 0 0 1.5rem;
}

.site-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--color-blanco);
  color: var(--color-azul);
  background: var(--color-blanco);
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  align-self: flex-start;
}

.site-footer-btn svg {
  width: 1.6rem;
  height: 1.6rem;
}

.site-footer-btn:hover {
  background: transparent;
  color: var(--color-blanco);
}

.site-footer .site-footer-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2rem 3rem !important;
}

.site-footer-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-blanco);
  margin: 0 0 1.2rem;
}

.site-footer-col {
  min-width: 0;
  grid-column: auto;
  grid-row: auto;
  order: initial;
}

.site-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-col ul li {
  margin-bottom: 0.7rem;
}

.site-footer-col ul li a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-col ul li a:hover {
  color: var(--color-blanco);
}
.site-footer-col.col5 a {
  line-height: 1.35;
}

.col1 {
  order: 1;
}

.col2 {
  order: 2;
}

.col3 {
  order: 3;
}

.col4 {
  order: 4;
}

.col5 {
  order: 5;
}

.site-footer-bottom {
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.5rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

.site-footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  transition: color 0.2s;
}

.site-footer-bottom a:hover {
  color: var(--color-blanco);
}

.abajoFoot {
  margin-top: 0.8rem !important;
}

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px) clamp(14px, 3vw, 28px) 38px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
}

.brand-mark img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  margin: 0;
  color: #1f1f1f;
  font-size: 1.03rem;
}

.calculator-panel {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 30px);
  padding: clamp(14px, 2.6vw, 22px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 18, 18, 0.08);
}

.controls-card,
.metrics-card,
.breakdown-card {
  background: #fff;
  min-width: 0;
}

.controls-card {
  padding: 8px 0 4px;
}

h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 22px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.price-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 25px;
  font-size: 0.9rem;
}

.amount-input {
  display: grid;
  grid-template-columns: 24px 1fr 54px;
  align-items: center;
  height: 28px;
  overflow: hidden;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  color: #333;
}

.amount-input span {
  display: grid;
  place-items: center;
  height: 100%;
  background: #fafafa;
  font-size: 0.85rem;
}

.amount-input span:last-child {
  border-left: 1px solid #d5d5d5;
}

.amount-input input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  border-left: 1px solid #d5d5d5;
  padding: 0 11px;
  font: inherit;
  color: #222;
}

.amount-input input:focus {
  outline: 2px solid rgba(21, 32, 63, 0.2);
  outline-offset: -2px;
}

.slider-group {
  margin: 0 0 19px;
}

.slider-heading label {
  display: inline-flex;
  gap: 4px;
  font-weight: 800;
  font-size: 0.91rem;
}

.slider-group p {
  margin: 9px 0 0;
  color: #222;
  font-size: 0.91rem;
}

.slider {
  --progress: 0%;
  width: 100%;
  height: 23px;
  margin: 9px 0 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sand-dark) 0 var(--progress), var(--navy) var(--progress) 100%);
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 23px;
  height: 23px;
  margin-top: -8px;
  border: 3px solid #111;
  border-radius: 50%;
  background: #fff;
}

.slider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: var(--navy);
}

.slider::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--sand-dark);
}

.slider::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border: 3px solid #111;
  border-radius: 50%;
  background: #fff;
}

.pdf-button {
  width: 100%;
  height: 42px;
  margin-top: 15px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease, outline-color 0.35s ease, transform 0.18s ease;
}

.pdf-button:hover {
  background: #fff;
  color: var(--navy);
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

.pdf-button:active {
  transform: translateY(1px);
}

.results-column {
  display: grid;
  gap: 17px;
  min-width: 0;
}

.metrics-card,
.breakdown-card {
  border: 1px solid var(--line);
  border-radius: 10px;
}

.metrics-card {
  padding: 14px;
}

.tiny-logo,
.breakdown-logo {
  display: block;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  object-fit: contain;
}

.metrics-card h2,
.breakdown-card h2 {
  margin-bottom: 14px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-box {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 18px 8px;
  border-radius: 8px;
  background: var(--metric);
  text-align: center;
}

.metric-box strong {
  font-size: 1.38rem;
  line-height: 1.1;
}

.metric-box span {
  font-size: 0.79rem;
}

.breakdown-card {
  padding: 16px 14px 14px;
  overflow: hidden;
}

.finance-list {
  display: grid;
  gap: 16px;
  margin: 14px 4px 18px;
}

.finance-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  font-size: 0.91rem;
}

.finance-list dt,
.finance-list dd {
  margin: 0;
}

.finance-list dd {
  font-weight: 600;
}

.finance-list .negative {
  color: var(--sand-dark);
}

.finance-list #initial-investment,
.finance-list #total-appreciation,
.finance-list #rental-income {
  font-weight: 400;
}

.finance-list .total-row {
  font-weight: 800;
}

.finance-list .total-row dd {
  color: #111;
  font-size: 1rem;
}

.future-value {
  display: grid;
  place-items: center;
  min-height: 74px;
  padding: 15px 10px;
  border-radius: 9px;
  background: var(--sand);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
  text-align: center;
}

.future-value strong {
  font-size: 1.05rem;
}

.future-value span {
  margin-top: 7px;
  font-size: 0.88rem;
}

.notice {
  margin: 0;
  padding: 17px 17px 14px;
  border-radius: 9px;
  background: var(--warning);
  font-size: 0.89rem;
  line-height: 1.28;
}

/*
##################################
BUSCAS INVERTIR
##################################
*/

.investment-projects {
  margin: 82px 8px 0;
}

.projects-header {
  margin-bottom: 62px;
  text-align: center;
}

.projects-header h2 {
  display: block;
  margin: 0 0 17px;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.projects-header p {
  margin: 0;
  color: #2e2e2e;
  font-size: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.24);
}

.project-media {
  position: relative;
  min-height: 212px;
  border-radius: 13px 13px 0 0;
  background:
    linear-gradient(0deg, rgba(17, 22, 36, 0.34), rgba(17, 22, 36, 0.02) 58%),
    url("../img/assets/5.png") center / cover no-repeat;
  overflow: hidden;
}

.project-media-saint {
  background-position: center;
}

.project-media-brand {
  background-position: center;
}

.status-pill {
  position: absolute;
  top: 11px;
  left: 14px;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #303030;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 16px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.copy-button img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.86);
}

.copy-button.copied {
  background: var(--sand);
}

.copy-tooltip {
  position: absolute;
  top: 61px;
  right: 16px;
  z-index: 1;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff;
  color: #2a2a2a;
  font-size: 0.72rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc((100% - 50px) / 2)) translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  transition-delay: 0s;
}

.copy-button:hover + .copy-tooltip,
.copy-button:focus-visible + .copy-tooltip {
  opacity: 1;
  transform: translateX(calc((100% - 50px) / 2)) translateY(0);
  transition-delay: 0.55s;
}

.project-body {
  padding: 8px 12px 20px;
}

.project-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 6px;
}

.project-title-row h3,
.project-title-row p {
  margin: 0;
}

.project-title-row h3 {
  font-size: 1.18rem;
  line-height: 1.15;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: #555;
  font-size: 0.75rem;
}

.project-location::before {
  content: "◎ ";
}

.project-price {
  display: grid;
  justify-items: end;
  gap: 5px;
  white-space: nowrap;
}

.project-location::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: url("../PNG/ubicacion.png") center / contain no-repeat;
}

.project-price strong {
  font-size: 1.15rem;
}

.project-price span {
  font-size: 0.75rem;
}

.project-divider {
  height: 2px;
  margin: 17px 0 16px;
  background: #8f8f8f;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 11px;
  padding: 0 6px;
}

.mini-progress {
  height: 18px;
  border-radius: 999px;
  background: var(--navy);
  overflow: hidden;
}

.mini-progress span {
  display: block;
  width: var(--sold);
  height: 100%;
  border-radius: 999px;
  background: var(--sand-dark);
}

.trust-row strong {
  font-size: 0.78rem;
}

.trust-row p {
  margin: 0;
  text-align: right;
  font-size: 0.78rem;
  line-height: 1.1;
}

.project-note {
  margin: 12px 6px 18px;
  color: #333;
  font-size: 0.72rem;
}

.project-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 22px;
  margin: 0 6px 22px;
}

.project-features div {
  position: relative;
  min-height: 34px;
  padding-left: 24px;
}

.project-features div::before {
  content: "▦";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--navy);
  font-size: 1rem;
}

.project-features div:nth-child(even)::before {
  content: "▥";
}

.project-features dt,
.project-features dd {
  margin: 0;
}

.project-features div:nth-child(2)::before {
  content: "";
  width: 15px;
  height: 15px;
  background: url("../PNG/inversion.png") center / contain no-repeat;
}

.project-features dt {
  font-size: 0.78rem;
  font-weight: 650;
}

.project-features dd {
  margin-top: 3px;
  font-size: 0.76rem;
}

.project-features div:nth-child(1)::before,
.project-features div:nth-child(4)::before {
  content: "";
  width: 15px;
  height: 15px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.project-features div:nth-child(1)::before {
  background-image: url("../PNG/agenda.png");
}

.project-features div:nth-child(3) {
  padding-left: 0;
}

.project-features div:nth-child(3)::before {
  content: none;
}

.project-features div:nth-child(4)::before {
  background-image: url("../PNG/proteccion.png");
}

.reserve-button {
  display: block;
  width: calc(100% - 44px);
  height: 32px;
  margin: 0 auto;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease, outline-color 0.35s ease, transform 0.18s ease;
}

.reserve-button:hover {
  background: #fff;
  color: var(--navy);
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

.reserve-button:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .page-shell {
    padding: 28px 12px;
  }

  .hero {
    align-items: flex-start;
    gap: 14px;
    margin: 0 2px 26px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .calculator-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .controls-card {
    padding-bottom: 8px;
  }

  .investment-projects {
    margin-top: 58px;
  }

  .projects-header {
    margin-bottom: 34px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .price-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 1.82rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-mark img {
    width: 28px;
    height: 28px;
  }

  .hero p {
    font-size: 0.92rem;
  }

  h2 {
    font-size: 1.05rem;
  }

  .amount-input {
    grid-template-columns: 24px minmax(0, 1fr) 48px;
  }

  .metrics-card {
    padding: 14px;
  }

  .metrics-card h2 {
    gap: 8px;
    margin-bottom: 14px;
    font-size: 1.08rem;
  }

  .metrics-card .tiny-logo,
  .breakdown-card .breakdown-logo {
    flex-basis: 20px;
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }

  .metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-box {
    min-width: 0;
    min-height: 92px;
    padding: 16px 8px;
    border-radius: 8px;
  }

  .metric-box strong {
    font-size: 1.42rem;
  }

  .metric-box span {
    max-width: 110px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .finance-list {
    margin-inline: 7px;
  }

  .finance-list div {
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .project-media {
    min-height: 188px;
  }

  .project-title-row,
  .trust-row {
    gap: 10px;
  }

  .project-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 18px;
    margin-inline: 0;
  }

  .project-features div {
    min-height: 44px;
    padding-left: 26px;
  }

  .project-features div::before,
  .project-features div:nth-child(1)::before,
  .project-features div:nth-child(2)::before,
  .project-features div:nth-child(4)::before {
    top: 2px;
    width: 18px;
    height: 18px;
  }

  .project-features div:nth-child(3) {
    padding-left: 0;
  }

  .project-features dt {
    font-size: 0.98rem;
    line-height: 1.1;
  }

  .project-features dd {
    margin-top: 5px;
    font-size: 0.94rem;
  }
}

@media (max-width: 1024px) {
  .navbar {
    height: 84.95px;
    padding: 0 2rem;
    gap: 2rem;
  }

  .nav-izquierda,
  .nav-derecha {
    gap: 1.5rem;
  }

  .menu {
    gap: 1.8rem;
  }

  .navbar .logo img {
    height: 64px;
  }

  .menu-movil-cerrar {
    top: 0.8rem;
    margin-right: 0.5rem;
  }

  .site-footer-inner {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .site-footer-bottom {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .site-footer-links {
    display: grid;
    gap: 2rem 3rem;
  }

  .site-footer .site-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .navbar {
    height: 84.95px;
    padding: 0 1rem;
    gap: 1rem;
  }

  .nav-izquierda {
    gap: 1rem;
  }

  .navbar .logo img {
    height: 48px;
  }

  .menu {
    gap: 1rem;
  }

  .menu a {
    min-height: 84.95px;
    font-size: 0.88rem;
  }

  .btn-whatsapp-nav {
    min-height: 36px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
  }

  .btn-whatsapp-nav svg {
    width: 18px;
    height: 18px;
  }

  .menu-movil a {
    font-size: 1.2rem;
    padding: 0.9rem 1.5rem;
    line-height: 1.3;
  }

  .menu-movil a:hover {
    color: var(--color-dorado);
    cursor: pointer;
  }

  .menu-movil ul {
    gap: 0.2rem;
  }

  .menu-movil-cerrar {
    width: 3rem;
    height: 3rem;
    top: 0.8rem;
    right: 1rem;
    margin-right: 0.8rem;
  }

  .site-footer {
    padding: 2.5rem 0 0;
  }

  .site-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 24px 0;
  }

  .site-footer-brand {
    display: flex;
    flex-direction: column;
    order: 1;
    padding-bottom: 1.8rem;
  }

  .site-footer-brand .logo {
    order: 1;
    margin-bottom: 0;
  }

  .site-footer-brand .logo img {
    height: 3rem;
  }

  .site-footer-cta {
    order: 2;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
  }

  .site-footer-btn {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
  }

  .site-footer-socials {
    order: 4;
    justify-content: center;
    padding: 1.5rem 0 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  .site-footer-links {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-footer .site-footer-links {
    grid-template-columns: 1fr !important;
  }

  .site-footer-col {
    padding: 1.5rem 0 0;
  }

  .site-footer-col:nth-child(1) {
    order: 1;
  }

  .site-footer-col:nth-child(4) {
    order: 2;
  }

  .site-footer-col:nth-child(2) {
    order: 3;
  }

  .site-footer-col:nth-child(3) {
    order: 4;
  }

  .site-footer-title {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
  }

  .site-footer-col ul li {
    margin-bottom: 0.75rem;
  }

  .site-footer-col ul li a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
  }

  .site-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 20px 1.75rem;
    gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-footer-bottom p,
  .site-footer-bottom a {
    font-size: 0.75rem;
  }

  .site-footer-socials img {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media print {
  @page {
    size: letter landscape;
    margin: 8mm 10mm 11mm;
  }

  body {
    background: #fff;
  }

  .page-shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero {
    justify-content: center;
    margin: 0 0 14px;
  }

  .hero h1 {
    font-size: 2.25rem;
    text-align: center;
  }

  .hero p {
    text-align: center;
  }

  .calculator-panel {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 14px;
  }

  .slider-group {
    margin-bottom: 11px;
  }

  .finance-list {
    gap: 18px;
  }

  .pdf-button {
    display: none;
  }

  .calculator-panel,
  .metrics-card,
  .breakdown-card {
    break-inside: avoid;
  }
}
