/* ══════════════════════════════════════════
   MiPropiedad — Landing Home
   Extiende portal.css (requiere sus tokens)
══════════════════════════════════════════ */

/* ── Top strip ── */
.h-strip {
  background: var(--ink); color: #e5e5dc;
  font-size: 11.5px; letter-spacing: 0.4px;
  padding: 6px 48px; display: flex; justify-content: space-between;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ── Nav header ── */
.h-nav {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 40px;
  position: sticky; top: 0; z-index: 50;
}
.h-nav-brand { display: flex; align-items: center; gap: 12px; }
.h-nav-mark {
  width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--green);
  display: grid; place-items: center; color: var(--leaf);
}
.h-nav-name {
  font-size: 17px; color: var(--ink); font-weight: 600;
  letter-spacing: -0.1px;
}
.h-nav-name b { font-weight: 700; }
.h-nav-name .light { color: var(--leaf); font-weight: 400; }
.h-nav-links { display: flex; gap: 4px; align-items: center; justify-content: center; }
.h-nav-links a {
  padding: 8px 14px; font-size: 13.5px; border-radius: 3px;
  color: var(--mut-str);
}
.h-nav-links a:hover { background: var(--surf-alt); color: var(--ink); }
.h-nav-cta { display: flex; gap: 10px; align-items: center; }

/* ── Shared button ── */
.h-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; font-family: inherit;
  transition: background .15s, color .15s;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
}
.h-btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.h-btn-primary:hover { background: var(--green-hv); color: #fff; }
.h-btn-ghost { background: transparent; color: var(--ink); border-color: var(--bdr-str); }
.h-btn-ghost:hover { background: var(--surf-alt); color: var(--ink); }
.h-btn-lg { padding: 14px 24px; font-size: 14.5px; }
.h-btn svg { transition: transform .2s; }
.h-btn:hover svg { transform: translateX(3px); }

/* ── Hero ── */
.h-hero {
  max-width: 1280px; margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
}
.h-hero-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: 1.5px;
  color: var(--green); text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.h-hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--green);
}
.h-hero h1 {
  margin: 0 0 22px;
  font-size: 64px; font-weight: 400; color: var(--ink);
  line-height: 1.02; letter-spacing: -1.2px;
}
.h-hero h1 b { font-weight: 700; }
.h-hero h1 em {
  font-style: normal; font-weight: 400;
  background: linear-gradient(180deg, transparent 65%, var(--leaf) 65%);
  padding: 0 4px;
}
.h-hero-sub {
  font-size: 17px; color: var(--mut-str);
  max-width: 520px; line-height: 1.55; margin-bottom: 30px;
  font-weight: 400;
}
.h-hero-ctas {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-bottom: 30px;
}
.h-hero-meta {
  display: flex; gap: 26px; padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
}
.h-hero-meta b {
  display: block; font-size: 18px;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  color: var(--ink); margin-bottom: 2px;
  letter-spacing: -0.2px;
}

/* Hero visual */
.h-hero-visual {
  position: relative;
  background: #f0eee9;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 38px;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
}
.h-hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}
.h-hero-visual img {
  max-width: 100%; max-height: 100%;
  position: relative; z-index: 1;
}
.h-hero-visual .corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--ink);
}
.h-hero-visual .corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.h-hero-visual .corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.h-hero-visual .corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.h-hero-visual .corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }
.h-hero-visual-tag {
  position: absolute; top: 18px; right: 18px;
  background: var(--surface); padding: 4px 10px; border-radius: 999px;
  font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.5px; color: var(--green); border: 1px solid var(--border);
  z-index: 2;
}

/* ── Section shell ── */
.h-band {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 48px;
}
.h-band-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.h-band-alt .h-band { max-width: 1280px; margin: 0 auto; }
.h-sec-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: 1.5px; color: var(--green);
  text-transform: uppercase; font-weight: 600;
  margin-bottom: 14px;
}
.h-sec-title {
  margin: 0 0 14px;
  font-size: 38px; font-weight: 400; color: var(--ink);
  letter-spacing: -0.6px; line-height: 1.1; max-width: 760px;
}
.h-sec-title b { font-weight: 600; }
.h-sec-sub {
  font-size: 15.5px; color: var(--mut-str);
  max-width: 680px; line-height: 1.55;
}
.h-sec-head { margin-bottom: 48px; }

/* ── Capabilities ── */
.h-caps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 4px;
  overflow: hidden;
}
.h-cap {
  background: var(--surface); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 280px;
}
.h-cap-num {
  font-family: ui-monospace, monospace; font-size: 11px;
  letter-spacing: 2px; color: var(--muted);
}
.h-cap-icon {
  width: 44px; height: 44px; border-radius: 4px;
  background: var(--leaf-mist); color: var(--green);
  display: grid; place-items: center;
}
.h-cap-title {
  font-size: 19px; color: var(--ink); font-weight: 600;
  letter-spacing: -0.2px; line-height: 1.2;
}
.h-cap-desc {
  font-size: 14px; color: var(--mut-str); line-height: 1.55;
}

/* ── Steps ── */
.h-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.h-step {
  padding-top: 26px;
  border-top: 2px solid var(--ink);
}
.h-step-num {
  font-family: ui-monospace, monospace; font-size: 11px;
  letter-spacing: 2px; color: var(--green); font-weight: 700;
  margin-bottom: 8px;
}
.h-step-title {
  font-size: 17px; color: var(--ink); font-weight: 600;
  letter-spacing: -0.1px; margin-bottom: 8px; line-height: 1.3;
}
.h-step-desc {
  font-size: 13.5px; color: var(--mut-str); line-height: 1.55;
}

/* ── Audience ── */
.h-audience {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.h-aud-card {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 36px 38px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
}
.h-aud-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; height: 4px; width: 80px;
  background: var(--green);
}
.h-aud-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 11px; letter-spacing: 1.8px; color: var(--green);
  text-transform: uppercase; font-weight: 700;
}
.h-aud-title {
  font-size: 26px; color: var(--ink); font-weight: 400;
  letter-spacing: -0.4px; line-height: 1.15; margin: 4px 0 8px;
}
.h-aud-desc {
  font-size: 14.5px; color: var(--mut-str); line-height: 1.55;
}
.h-aud-list {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.h-aud-list li {
  font-size: 13.5px; color: var(--text);
  display: grid; grid-template-columns: 16px 1fr; gap: 10px;
  align-items: flex-start;
}
.h-aud-list li svg { color: var(--green); margin-top: 4px; }

/* ── Dark band ── */
.h-dark-band {
  background: var(--ink); color: #e8e7dc;
  padding: 88px 48px;
}
.h-dark-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
}
.h-dark-band h2 {
  margin: 0 0 18px;
  font-size: 38px; font-weight: 400; color: #fff;
  letter-spacing: -0.6px; line-height: 1.1;
}
.h-dark-band h2 b { color: var(--leaf); font-weight: 600; }
.h-dark-band p { color: #c6c5b9; font-size: 15px; max-width: 460px; line-height: 1.55; }
.h-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.h-stat {
  background: var(--ink); padding: 26px 28px;
  display: flex; flex-direction: column; gap: 4px;
}
.h-stat-num {
  font-size: 38px; font-weight: 400; color: var(--leaf);
  letter-spacing: -1px; line-height: 1;
}
.h-stat-label {
  font-size: 12px; color: #a9a89b; line-height: 1.4;
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-top: 6px;
}
.h-stat-note {
  font-family: ui-monospace, monospace; font-size: 10.5px;
  color: #6f6e62; letter-spacing: 0.4px; margin-top: 4px;
}

/* ── CTA final ── */
.h-cta-final {
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px;
  padding: 56px;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: center;
}
.h-cta-final h3 {
  margin: 0 0 12px; font-size: 32px; color: var(--ink);
  font-weight: 400; letter-spacing: -0.4px; line-height: 1.15;
}
.h-cta-final h3 b { font-weight: 600; }
.h-cta-final p {
  margin: 0; color: var(--mut-str); font-size: 15px;
  max-width: 460px; line-height: 1.55;
}
.h-doors { display: grid; grid-template-columns: 1fr; gap: 12px; }
.h-door {
  background: var(--leaf-mist); border: 1px solid var(--leaf-soft);
  border-radius: 3px; padding: 18px 22px;
  display: grid; grid-template-columns: 36px 1fr auto;
  gap: 16px; align-items: center;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.h-door:hover { background: var(--leaf-soft); border-color: var(--leaf); }
.h-door-icon {
  width: 36px; height: 36px; border-radius: 3px;
  background: var(--surface); color: var(--green);
  display: grid; place-items: center;
}
.h-door-title { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.h-door-sub { font-size: 12.5px; color: var(--mut-str); margin-top: 2px; }
.h-door-arrow { color: var(--green); }

/* ── Footer ── */
footer.h-foot {
  background: var(--ink); color: #c6c5b9;
  padding: 56px 48px 24px;
}
.h-foot-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.h-foot-brand-name { font-size: 20px; color: #fff; font-weight: 600; margin-bottom: 8px; }
.h-foot-brand-name b { font-weight: 700; }
.h-foot-brand-claim { font-size: 13px; color: #a9a89b; max-width: 280px; line-height: 1.5; margin: 0; }
.h-foot-col-title {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--leaf); font-weight: 700; margin-bottom: 14px;
}
.h-foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.h-foot-col a { color: #c6c5b9; font-size: 13px; }
.h-foot-col a:hover { color: #fff; }

.h-foot-projects {
  max-width: 1280px; margin: 36px auto 0;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px;
  align-items: center;
}
.h-foot-projects-col { display: flex; flex-direction: column; gap: 14px; }
.h-foot-projects-label {
  font-family: ui-monospace, monospace;
  font-size: 10.5px; letter-spacing: 1.4px; color: var(--leaf);
  text-transform: uppercase; font-weight: 600;
}
.h-foot-funding {
  background: #fff; padding: 18px 22px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.h-foot-funding img { max-width: 100%; height: auto; max-height: 44px; display: block; }
.h-foot-developed {
  background: #fff; padding: 18px 22px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
}
.h-foot-developed img { max-width: 200px; height: auto; display: block; }

.h-foot-base {
  max-width: 1280px; margin: 40px auto 0;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items: center;
  font-size: 11.5px; color: #6f6e62; letter-spacing: 0.4px;
  font-family: ui-monospace, monospace;
}
.h-foot-base-mid { text-align: center; }
.h-foot-tech-link {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 8px;
  color: #6f6e62; font-size: 11.5px;
  font-family: ui-monospace, monospace; letter-spacing: 0.4px;
  padding: 6px 12px; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 3px; transition: color .15s, border-color .15s, background .15s;
  text-decoration: none;
}
.h-foot-tech-link:hover {
  color: var(--leaf); border-color: rgba(191,217,149,0.3);
  background: rgba(255,255,255,0.03);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .h-hero { grid-template-columns: 1fr; padding: 48px 32px; }
  .h-hero h1 { font-size: 44px; }
  .h-caps, .h-steps { grid-template-columns: repeat(2, 1fr); }
  .h-audience { grid-template-columns: 1fr; }
  .h-dark-inner { grid-template-columns: 1fr; }
  .h-cta-final { grid-template-columns: 1fr; padding: 40px 32px; }
  .h-foot-inner { grid-template-columns: 1fr 1fr; }
  .h-foot-base { grid-template-columns: 1fr; text-align: left; }
  .h-foot-tech-link { justify-self: start; }
  .h-foot-projects { grid-template-columns: 1fr; gap: 28px; }
  .h-strip, .h-nav { padding-left: 24px; padding-right: 24px; }
  .h-band { padding-left: 32px; padding-right: 32px; }
  .h-dark-band { padding-left: 32px; padding-right: 32px; }
  footer.h-foot { padding-left: 32px; padding-right: 32px; }
}
