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

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

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

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

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

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

.apt-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(--apt-muted);
}

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

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

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

/* Hero */
.apt-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) {
  .apt-hero {
    padding-top: 1rem;
  }
}

.apt-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);
}

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

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

.apt-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(--apt-navy);
}

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

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

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

.apt-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;
}

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

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

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

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

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

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

/* Specialized apartments panel — vertical unit/building fiche */
.apt-panel {
  overflow: hidden;
  width: 100%;
  max-width: 22.5rem;
  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);
}

.apt-panel__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(180deg, rgba(31, 53, 117, 0.07), rgba(31, 53, 117, 0.03));
  border-bottom: 1px solid var(--apt-border);
}

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

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

.apt-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--apt-navy);
  background: #fff;
  border: 1px solid rgba(31, 53, 117, 0.12);
  border-radius: 0.65rem;
}

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

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

.apt-panel__modules {
  display: grid;
  gap: 0;
}

.apt-panel__module {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--apt-border);
}

.apt-panel__module--value {
  background: rgba(25, 80, 122, 0.03);
}

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

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

.apt-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;
}

.apt-panel__chart {
  margin-top: 0.65rem;
  min-height: 2.85rem;
}

.apt-mini-chart {
  display: block;
  width: 100%;
  height: 2.85rem;
}

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

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

.apt-panel__period {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--apt-muted);
}

.apt-panel__disclaimer {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--apt-muted);
}

.apt-panel__footer {
  padding: 0.7rem 1.1rem;
  background: rgba(31, 53, 117, 0.035);
  font-size: 0.7rem;
  color: var(--apt-muted);
}

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

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

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

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

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

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

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

.apt-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(--apt-navy);
}

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

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

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

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

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

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

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

.apt-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(--apt-navy);
}

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

.apt-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) {
  .apt-answer__layout { grid-template-columns: 1fr; }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Method */
.apt-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;
}

.apt-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;
}

.apt-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);
}

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

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

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

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

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

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

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

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

.apt-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(--apt-navy);
}

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

.apt-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(--apt-steel);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.apt-surface {
  min-width: 0;
  padding: 1.2rem 1.05rem;
}

.apt-surface + .apt-surface {
  border-left: 1px solid var(--apt-border);
}

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

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

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

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

/* Floor / orientation signals — compact chips row */
.apt-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.apt-signals li {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--apt-steel);
  background: var(--apt-soft);
  border: 1px solid var(--apt-border);
  border-radius: 999px;
}

/* Costs */
.apt-costs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.apt-costs li {
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--apt-navy);
  background: #fff;
  border: 1px solid var(--apt-border);
  border-radius: 0.55rem;
}

/* Bridge to houses */
.apt-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

@media (max-width: 760px) {
  .apt-bridge { grid-template-columns: 1fr; }
}

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

  .apt-btn { width: 100%; }
}

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