/* Landing SEO — Precio de casas en Mendoza */

.homes-page {
  --homes-navy: #1f3575;
  --homes-steel: #19507a;
  --homes-mint: #2fa486;
  --homes-green-success: #2e9f7e;
  --homes-orange: #eb7300;
  --homes-text: #334155;
  --homes-muted: #64748b;
  --homes-border: #e2e8f0;
  --homes-soft: #f8fafc;
  color: var(--homes-text);
  font-family: Inter, -apple-system, sans-serif;
  background: #fff;
}

.homes-page main {
  padding-top: 0;
}

.homes-container {
  width: min(calc(100% - 2rem), 74rem);
  margin-inline: auto;
}

@media (min-width: 1440px) {
  .homes-container,
  .homes-page .faq-section__inner.homes-container {
    width: min(calc(100% - 3rem), 80rem);
  }
}

.homes-breadcrumbs { padding: 0 0 0.5rem; }

.homes-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--homes-muted);
}

.homes-breadcrumbs__list a {
  color: var(--homes-steel);
  font-weight: 600;
  text-decoration: none;
}

.homes-breadcrumbs__list a:hover,
.homes-breadcrumbs__list a:focus-visible {
  color: var(--homes-navy);
  text-decoration: underline;
}

.homes-breadcrumbs__sep { color: #94a3b8; }
.homes-breadcrumbs__current { color: var(--homes-text); }

/* Hero */
.homes-hero {
  padding: 1.35rem 0 2.75rem;
  background:
    linear-gradient(145deg, rgba(31, 53, 117, 0.055) 0%, transparent 45%),
    linear-gradient(300deg, rgba(47, 164, 134, 0.06) 0%, transparent 38%),
    linear-gradient(180deg, #f3f6fb 0%, #fff 100%);
}

@media (min-width: 1024px) {
  .homes-hero {
    padding-top: 1rem;
  }
}

.homes-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
}

.homes-hero__copy {
  min-width: 0;
  max-width: 42rem;
}

.homes-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--homes-steel);
}

.homes-hero__title {
  margin: 0 0 0.85rem;
  max-width: 16ch;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--homes-navy);
}

.homes-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--homes-muted);
}

.homes-hero__sublead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #7a8aa0;
}

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

.homes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.homes-btn:focus-visible {
  outline: 2px solid #69d1b7;
  outline-offset: 3px;
}

.homes-btn--primary {
  color: #fff;
  background: var(--homes-orange);
  box-shadow: 0 8px 20px rgba(235, 115, 0, 0.18);
}

.homes-btn--primary:hover { background: #d96800; }

.homes-btn--secondary {
  color: var(--homes-navy);
  background: #fff;
  border: 1px solid var(--homes-border);
}

.homes-btn--secondary:hover {
  border-color: rgba(31, 53, 117, 0.28);
  background: var(--homes-soft);
}

.homes-hero__note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--homes-muted);
}

/* Specialized houses panel */
.homes-panel {
  overflow: hidden;
  width: 100%;
  max-width: 26rem;
  justify-self: end;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(31, 53, 117, 0.14);
  border-radius: 1rem;
  box-shadow: 0 18px 48px rgba(31, 53, 117, 0.1);
}

.homes-panel__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: rgba(31, 53, 117, 0.045);
  border-bottom: 1px solid var(--homes-border);
}

.homes-panel__header-copy {
  flex: 1;
  min-width: 0;
}

.homes-panel__scope {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--homes-steel);
  white-space: nowrap;
}

.homes-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--homes-navy);
  background: rgba(31, 53, 117, 0.1);
  border-radius: 0.65rem;
}

.homes-panel__eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--homes-muted);
}

.homes-panel__heading {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  color: var(--homes-navy);
}

.homes-panel__value-row {
  display: grid;
  grid-template-columns: 1fr minmax(90px, 0.7fr);
  gap: 0.75rem;
  align-items: end;
  padding: 1.15rem 1.15rem 0.5rem;
}

.homes-panel__value {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.4rem;
  color: var(--homes-navy);
}

.homes-panel__currency,
.homes-panel__unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--homes-steel);
}

.homes-panel__value strong {
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.homes-panel__chart {
  min-height: 3.25rem;
}

.homes-mini-chart {
  display: block;
  width: 100%;
  height: 3.25rem;
}

.homes-panel__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.35rem 1.15rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--homes-muted);
}

.homes-panel__trend--up { color: #1f7a66; }
.homes-panel__trend--down { color: #b42318; }

.homes-panel__period {
  margin: 0.55rem 1.15rem 0;
  font-size: 0.8rem;
  color: var(--homes-muted);
}

.homes-panel__footer {
  margin-top: 1rem;
  padding: 0.75rem 1.15rem;
  border-top: 1px solid var(--homes-border);
  background: rgba(31, 53, 117, 0.035);
  font-size: 0.7rem;
  color: var(--homes-muted);
}

.homes-motion .homes-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.homes-motion .homes-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.homes-section {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.homes-section--compact {
  padding-block: clamp(2rem, 3.5vw, 3rem);
}

.homes-section--soft { background: var(--homes-soft); }
.homes-section--navy { background: var(--homes-navy); color: #fff; }

.homes-section__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--homes-steel);
}

.homes-section--navy .homes-section__eyebrow { color: #69d1b7; }

.homes-section__title {
  margin: 0;
  max-width: 26ch;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.5rem, 3.1vw, 2.1rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--homes-navy);
}

.homes-section--navy .homes-section__title { color: #fff; }

.homes-section__body {
  margin: 1rem 0 0;
  max-width: 68ch;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--homes-muted);
}

.homes-section--navy .homes-section__body { color: rgba(255, 255, 255, 0.78); }

.homes-section__body + .homes-section__body { margin-top: 0.85rem; }

.homes-section__body a {
  color: var(--homes-steel);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.homes-section__body a:hover,
.homes-section__body a:focus-visible { color: var(--homes-navy); }

.homes-answer__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.homes-answer__lead {
  margin: 1.15rem 0 0;
  max-width: 34ch;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--homes-navy);
}

.homes-callout {
  margin: 0;
  padding: 1.15rem 1.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--homes-navy);
  background: rgba(47, 164, 134, 0.1);
  border: 1px solid rgba(47, 164, 134, 0.22);
  border-radius: 0.85rem;
}

.homes-callout--soft {
  margin-top: 1.25rem;
  max-width: 56rem;
  background: rgba(31, 53, 117, 0.05);
  border-color: rgba(31, 53, 117, 0.12);
}

@media (max-width: 800px) {
  .homes-answer__layout { grid-template-columns: 1fr; }
}

/* Factors 3×2 */
.homes-factors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.75rem;
  border-top: 1px solid var(--homes-border);
}

.homes-factor {
  min-width: 0;
  padding: 1.25rem 1.1rem;
  border-bottom: 1px solid var(--homes-border);
}

.homes-factor:nth-child(3n + 2),
.homes-factor:nth-child(3n) {
  border-left: 1px solid var(--homes-border);
}

.homes-factor__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--homes-steel);
  background: rgba(25, 80, 122, 0.06);
  border-radius: 0.6rem;
}

.homes-factor__title {
  margin: 0.7rem 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--homes-navy);
}

.homes-factor__text {
  margin: 0;
  max-width: 34ch;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--homes-muted);
}

@media (max-width: 900px) {
  .homes-factors { grid-template-columns: 1fr 1fr; }

  .homes-factor:nth-child(3n + 2),
  .homes-factor:nth-child(3n) { border-left: none; }

  .homes-factor:nth-child(even) { border-left: 1px solid var(--homes-border); }
}

@media (max-width: 560px) {
  .homes-factors { grid-template-columns: 1fr; }
  .homes-factor:nth-child(even) { border-left: none; }
  .homes-factor__text { max-width: none; }
}

/* Split */
.homes-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.75rem;
  border-top: 1px solid var(--homes-border);
}

.homes-split__col { padding: 1.25rem 0; }

.homes-split__col:first-child {
  padding-right: 1.75rem;
  border-right: 1px solid var(--homes-border);
}

.homes-split__col:last-child { padding-left: 1.75rem; }

.homes-split__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--homes-navy);
}

.homes-split__text,
.homes-split__list {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--homes-muted);
}

.homes-split__list {
  padding-left: 1.1rem;
}

.homes-split__list li + li { margin-top: 0.3rem; }

@media (max-width: 767px) {
  .homes-split { grid-template-columns: 1fr; }

  .homes-split__col:first-child,
  .homes-split__col:last-child {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
  }

  .homes-split__col + .homes-split__col {
    border-top: 1px solid var(--homes-border);
  }
}

/* Example */
.homes-example {
  margin-top: 1.5rem;
  max-width: 36rem;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid var(--homes-border);
  border-left: 3px solid var(--homes-navy);
  border-radius: 0.85rem;
}

.homes-example__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.homes-example__list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--homes-muted);
}

.homes-example__list li + li {
  border-top: 1px solid var(--homes-border);
}

.homes-example__list strong {
  color: var(--homes-navy);
}

.homes-example__note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--homes-muted);
}

/* Comparables */
.homes-criteria {
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--homes-muted);
}

.homes-criteria li + li { margin-top: 0.3rem; }

.homes-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.homes-formula__item {
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--homes-navy);
  background: var(--homes-soft);
  border: 1px solid var(--homes-border);
  border-radius: 0.65rem;
}

.homes-formula__item--result {
  color: #1f7a66;
  background: rgba(47, 164, 134, 0.1);
  border-color: rgba(47, 164, 134, 0.22);
}

.homes-formula__op {
  font-family: Merriweather, Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--homes-steel);
}

/* Price states */
.homes-states {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid var(--homes-border);
  border-bottom: 1px solid var(--homes-border);
}

.homes-state {
  min-width: 0;
  padding: 1.2rem 1.05rem;
}

.homes-state + .homes-state {
  border-left: 1px solid var(--homes-border);
}

.homes-state__title {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--homes-navy);
}

.homes-state__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--homes-muted);
}

@media (max-width: 800px) {
  .homes-states { grid-template-columns: 1fr; }

  .homes-state + .homes-state {
    border-left: 0;
    border-top: 1px solid var(--homes-border);
  }
}

/* Uses */
.homes-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.35rem;
  border-top: 1px solid var(--homes-border);
  border-bottom: 1px solid var(--homes-border);
}

.homes-use {
  min-width: 0;
  padding: 1.1rem 1rem;
}

.homes-use + .homes-use {
  border-left: 1px solid var(--homes-border);
}

.homes-use__title {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--homes-navy);
}

.homes-use__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--homes-muted);
}

@media (max-width: 700px) {
  .homes-uses { grid-template-columns: 1fr; }

  .homes-use + .homes-use {
    border-left: 0;
    border-top: 1px solid var(--homes-border);
  }
}

/* Method */
.homes-method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: method-step;
}

.homes-method-step {
  counter-increment: method-step;
  padding: 1rem 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
}

.homes-method-step::before {
  content: counter(method-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  font-family: Merriweather, Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(105, 209, 183, 0.7);
}

.homes-method-step span {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.homes-link {
  display: inline-flex;
  margin-top: 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #69d1b7;
  text-decoration: none;
}

.homes-link:hover,
.homes-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .homes-method-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .homes-method-steps { grid-template-columns: 1fr; }
}

/* CTA */
.homes-cta {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
  background: var(--homes-soft);
}

.homes-cta__box {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 1.35rem;
  background: #fff;
  border: 1px solid var(--homes-border);
  border-radius: 1rem;
  box-shadow: 0 10px 32px rgba(31, 53, 117, 0.07);
}

@media (min-width: 900px) {
  .homes-cta__box {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
  }
}

.homes-cta__title {
  margin: 0;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--homes-navy);
}

.homes-cta__text {
  margin: 0.75rem 0 0;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--homes-muted);
}

.homes-cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--homes-steel);
}

.homes-cta__buy {
  min-width: 0;
}

.homes-cta__buy-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem 1.15rem;
  background: var(--homes-soft);
  border: 1px solid var(--homes-border);
  border-radius: 0.85rem;
}

.homes-cta__buy-card .homes-btn--primary {
  color: #fff;
  background: var(--homes-green-success);
  box-shadow: 0 8px 20px rgba(46, 159, 126, 0.2);
}

.homes-cta__buy-card .homes-btn--primary:hover {
  background: #268a6d;
}

.homes-cta__price-block {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.homes-cta__price {
  margin: 0;
  font-family: Merriweather, Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--homes-navy);
}

.homes-cta__price-note {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--homes-steel);
}

.homes-cta__delivery {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--homes-muted);
}

.homes-cta__mp {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--homes-muted);
}

.homes-cta__mp img {
  height: 2rem;
  width: auto;
}

.homes-faq.faq-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.homes-faq .faq-intro__title { max-width: 14ch; }

@media (max-width: 960px) {
  .homes-hero__layout { grid-template-columns: 1fr; }
  .homes-hero__title { max-width: none; }
  .homes-panel {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .homes-hero__actions { flex-direction: column; }
  .homes-cta__buy-card .homes-btn { width: 100%; }

  .homes-btn { width: 100%; }

  .homes-panel__value-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homes-motion .homes-reveal,
  .homes-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
