/* ==========================================================
   home.css — página de inicio (index.html)
   Clases propias hm-* para no chocar con styles.css
   ========================================================== */
:root {
  --ns-dark: #0c3a21; --ns-dark-2: #124a2c; --ns-lime: #6cc24a; --ns-soft: #eaf4ec;
  --ns-ink: #13261b; --ns-muted: #5d6b63; --ns-line: rgba(12, 58, 33, .1);
  --hm-cream: #f6f3ec; --hm-r: 28px;
  --hm-ease: cubic-bezier(.22, 1, .36, 1);
}
.hm-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
main#inicio *, main#inicio *::before, main#inicio *::after { box-sizing: border-box; }
main#inicio svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hm-sec { padding-top: 110px; }
.hm-script { font-family: "Caveat", cursive; font-weight: 700; color: var(--ns-lime); letter-spacing: 0; display: inline-block; transform: rotate(-2deg); }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #2f7d3f; }
.hm-eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--ns-lime); }
.hm-eyebrow.light { color: #a8e08f; }
main#inicio h2 { margin: 12px 0 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; color: var(--ns-ink); }

/* ---------- botones ---------- */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15.5px/1 "Outfit", sans-serif; text-decoration: none; white-space: nowrap;
  color: #fff; background: linear-gradient(180deg, #45a843, #2f8530);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 28px -14px rgba(47, 133, 48, .8);
  transition: transform .45s cubic-bezier(.34, 1.36, .5, 1), box-shadow .4s ease, background .3s ease;
}
.hm-btn:hover { transform: translateY(-2px); background: linear-gradient(180deg, #4db44a, #348f35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 34px -14px rgba(47, 133, 48, .85); }
.hm-btn svg.i { transition: transform .4s var(--hm-ease); }
.hm-btn:hover svg.i:last-child { transform: translateX(3px); }
.hm-btn.glass {
  color: var(--ns-dark); background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(255, 255, 255, .6), 0 12px 28px -16px rgba(12, 58, 33, .45);
}
.hm-btn.glass:hover { background: rgba(255, 255, 255, .8); }
.hm-btn.lime { color: #0b2e1a; background: linear-gradient(180deg, #8ad866, #5cb33d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 28px -14px rgba(92, 179, 61, .9); }
.hm-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- HERO ---------- */
.hm-hero { position: relative; min-height: min(860px, 100vh); display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 130px 0 150px; }
.hm-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero.webp") 70% center / cover no-repeat;
  transform: scale(1.08); animation: hm-zoom 20s var(--hm-ease) forwards;
}
.hm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(250, 248, 243, .97) 0%, rgba(250, 248, 243, .9) 30%, rgba(250, 248, 243, .35) 55%, rgba(250, 248, 243, 0) 72%),
    linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 26%);
}
@keyframes hm-zoom { to { transform: scale(1); } }
.hm-hero-in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hm-hero-copy { max-width: 600px; }
.hm-hero h1 { margin: 18px 0 20px; font-size: clamp(44px, 6vw, 80px); line-height: .98; font-weight: 600; letter-spacing: -.04em; color: var(--ns-ink); }
.hm-hero h1 .hm-script { display: block; margin-top: 10px; font-size: .78em; line-height: 1; color: #3c9a3a; }
.hm-hero p { margin: 0 0 32px; max-width: 470px; font-size: 18px; line-height: 1.6; color: #3f5146; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hm-hero-chips { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.hm-gchip {
  display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; border-radius: 22px; color: #fff;
  background: linear-gradient(180deg, rgba(74, 170, 70, .42), rgba(30, 100, 35, .38));
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 0 0 1px rgba(255, 255, 255, .22), 0 18px 40px -20px rgba(0, 0, 0, .55);
  animation: hm-float 7s ease-in-out infinite;
}
.hm-gchip:nth-child(2) { animation-delay: -3.5s; margin-left: 34px; }
.hm-gchip b { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1; min-width: 44px; text-align: center; }
.hm-gchip span { font-size: 13.5px; line-height: 1.25; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(0, 0, 0, .25); }
@keyframes hm-float { 50% { transform: translateY(-8px); } }

/* ---------- BUSCADOR ---------- */
.hm-search-wrap { position: relative; z-index: 5; margin-top: -92px; }
.hm-search {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center;
  padding: 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 30px 70px -30px rgba(12, 58, 33, .45), 0 4px 14px rgba(12, 58, 33, .06), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.hm-sf { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 20px; cursor: pointer; border-radius: 999px; transition: background .3s ease; }
.hm-sf + .hm-sf::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--ns-line); }
.hm-sf:hover { background: rgba(234, 244, 236, .8); }
.hm-sf > svg.i { width: 22px !important; height: 22px !important; color: var(--ns-dark); }
.hm-sf > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hm-sf small { font-size: 12px; font-weight: 600; color: var(--ns-ink); }
.hm-sf select {
  width: 100%; margin: 2px 0 0; padding: 0 18px 0 0; border: 0; outline: 0; background: transparent; cursor: pointer;
  font: 400 14px "Outfit", sans-serif; color: var(--ns-muted); -webkit-appearance: none; appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235d6b63' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right center no-repeat;
}
.hm-go { height: 60px; padding: 0 28px; }
.hm-go b { font-weight: 700; }
.hm-hint { margin: 14px 0 0 30px; font-size: 13.5px; color: var(--ns-muted); }

/* ---------- VALORES ---------- */
.hm-values { margin-top: 70px; padding: 54px 0; background: var(--hm-cream); }
.hm-values-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-val { padding: 0 26px; text-align: center; }
.hm-val + .hm-val { border-left: 1px solid rgba(12, 58, 33, .12); }
.hm-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--ns-dark); box-shadow: 0 10px 24px -14px rgba(12, 58, 33, .45), inset 0 0 0 1px rgba(12, 58, 33, .06); transition: transform .6s cubic-bezier(.34, 1.5, .5, 1); }
.hm-ic svg.i { width: 24px !important; height: 24px !important; }
.hm-val:hover .hm-ic { transform: translateY(-4px) rotate(-6deg); }
.hm-val h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 600; color: var(--ns-ink); }
.hm-val p { margin: 0 auto; max-width: 230px; font-size: 14.5px; line-height: 1.55; color: var(--ns-muted); }

/* ---------- TASACIÓN ---------- */
.hm-sell {
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; overflow: hidden;
  padding: 64px; border-radius: 36px; color: #fff;
  background:
    radial-gradient(700px 420px at 0% 0%, rgba(108, 194, 74, .26), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(108, 194, 74, .14), transparent 60%),
    linear-gradient(160deg, #124a2c 0%, #0a3019 100%);
  box-shadow: 0 40px 80px -40px rgba(12, 58, 33, .6);
}
.hm-sell::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -180px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 60px rgba(255, 255, 255, .02), 0 0 0 120px rgba(255, 255, 255, .015); pointer-events: none; }
.hm-sell h2 { color: #fff !important; }
.hm-sell h2 .hm-script { color: #8fdc6a; font-size: 1.12em; }
.hm-sell-copy > p { margin: 18px 0 30px; max-width: 470px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .74); }
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hm-steps li {
  display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .5s var(--hm-ease), background .3s ease;
}
.hm-steps li:hover { transform: translateX(6px); background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06)); }
.hm-steps b { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ns-lime); color: #0b2e1a; font-weight: 700; }
.hm-steps strong { display: block; font-size: 16px; font-weight: 600; }
.hm-steps span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .66); }
.hm-sell-side { position: relative; min-height: 520px; }
.hm-sell-img { position: absolute; inset: 0 0 90px 60px; border-radius: 28px; overflow: hidden; }
.hm-sell-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.1); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .1s; }
.ns-sr .hm-sell.is-in .hm-sell-img img, .hm-sell:not(.reveal) .hm-sell-img img { transform: none; }
.hm-chip {
  position: absolute; z-index: 2; top: 26px; right: 22px; display: flex; gap: 12px; align-items: center;
  padding: 12px 18px 12px 12px; border-radius: 20px; color: var(--ns-ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .45), inset 0 1px 0 #fff;
  animation: hm-float 6s ease-in-out infinite;
}
.hm-ic.sm { width: 42px; height: 42px; background: var(--ns-dark); color: #fff; box-shadow: none; }
.hm-ic.sm svg.i { width: 20px !important; height: 20px !important; }
.hm-chip small { display: block; font-size: 11.5px; color: var(--ns-muted); }
.hm-chip strong { display: block; font-size: 15px; font-weight: 600; }
.hm-chip .ok { display: flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 12px; font-weight: 600; color: #2f8a3c; }
.hm-chip .ok svg.i { width: 14px !important; height: 14px !important; stroke-width: 2.4; }
.hm-tasar {
  position: absolute; z-index: 3; left: 0; right: 40px; bottom: 0; padding: 26px; border-radius: 26px; color: var(--ns-ink);
  background: #fff;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6), inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.hm-tasar h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.hm-tasar > p { margin: 4px 0 16px; font-size: 14px; color: var(--ns-muted); }
.hm-tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.hm-tf { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border-radius: 16px; background: #f2f5f2; cursor: pointer; transition: box-shadow .25s ease, background .25s ease; }
.hm-tf:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--ns-lime) inset; }
.hm-tf small { font-size: 11.5px; font-weight: 600; color: var(--ns-muted); }
.hm-tf select, .hm-tf input { width: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; font: 500 15px "Outfit", sans-serif; color: var(--ns-ink); -webkit-appearance: none; appearance: none; }
.hm-tf select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235d6b63' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right center no-repeat; padding-right: 16px; cursor: pointer; }
.hm-tasar .hm-btn { width: 100%; }

/* ---------- encabezado de sección ---------- */
.hm-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.hm-more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ns-dark); text-decoration: none; white-space: nowrap; }
.hm-more svg.i { transition: transform .4s var(--hm-ease); }
.hm-more:hover svg.i { transform: translateX(4px); }

/* ---------- tarjetas de propiedades ---------- */
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.hm-loading { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 80px 0; color: var(--ns-muted); }
.hm-loading span { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--ns-soft); border-top-color: var(--ns-dark); animation: hm-spin .8s linear infinite; }
@keyframes hm-spin { to { transform: rotate(360deg); } }
.hm-card, .hm-post {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; color: inherit; text-decoration: none;
  border: 1px solid var(--ns-line);
  transition: transform .55s var(--hm-ease), box-shadow .5s ease, border-color .4s ease;
}
.hm-card:hover, .hm-post:hover { transform: translateY(-6px); border-color: rgba(12, 58, 33, .16); box-shadow: 0 30px 60px -30px rgba(12, 58, 33, .45); }
.hm-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ns-soft); }
.hm-card-img img, .hm-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--hm-ease); }
.hm-card:hover .hm-card-img img, .hm-post:hover .hm-post-img img { transform: scale(1.06); }
.hm-badge {
  position: absolute; top: 14px; left: 14px; padding: 7px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #fff; background: rgba(12, 58, 33, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.hm-badge.lime { background: rgba(108, 194, 74, .92); color: #0b2e1a; }
.hm-badge.red { background: rgba(200, 40, 40, .9); }
.hm-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 20px; }
.hm-card h3 { margin: 0; font-size: 17.5px; line-height: 1.32; font-weight: 600; color: var(--ns-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-loc { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--ns-muted); }
.hm-loc svg.i { width: 16px !important; height: 16px !important; }
.hm-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: #44564b; }
.hm-specs span { display: inline-flex; align-items: center; gap: 6px; }
.hm-specs svg.i { width: 16px !important; height: 16px !important; color: var(--ns-dark); }
.hm-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ns-line); }
.hm-card-foot b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ns-dark); }
.hm-go-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ns-soft); color: var(--ns-dark); transition: background .3s ease, color .3s ease, transform .5s cubic-bezier(.34, 1.4, .5, 1); }
.hm-card:hover .hm-go-ic { background: var(--ns-dark); color: #fff; transform: rotate(-35deg); }

/* ---------- EMPRENDIMIENTOS ---------- */
.hm-emp { display: grid; grid-template-columns: .9fr 1.4fr; gap: 40px; align-items: center; padding: 46px; border-radius: 36px; background: var(--ns-soft); }
.hm-emp-copy p { margin: 16px 0 26px; font-size: 16.5px; line-height: 1.6; color: var(--ns-muted); }
.hm-emp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hm-emp-list .hm-card { border-color: transparent; }

/* ---------- NOSOTROS ---------- */
.hm-about { margin-top: 110px; padding: 100px 0; background: var(--hm-cream); }
.hm-about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.hm-about-img { position: relative; }
.hm-about-photo {
  aspect-ratio: 5 / 4.4; border-radius: 32px; box-shadow: 0 40px 70px -40px rgba(12, 58, 33, .55);
  background: url("../img/nosotros.webp") center / cover no-repeat, url("../img/barracas.webp") center / cover no-repeat, var(--ns-soft);
}
.hm-about-quote {
  position: absolute; left: -18px; bottom: 34px; padding: 18px 26px; border-radius: 22px;
  font-family: "Caveat", cursive; font-size: 30px; line-height: 1.02; font-weight: 700; color: var(--ns-dark);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 24px 44px -22px rgba(12, 58, 33, .5), inset 0 1px 0 #fff; transform: rotate(-3deg);
}
.hm-about-copy > p { margin: 18px 0 30px; font-size: 17px; line-height: 1.65; color: var(--ns-muted); }
.hm-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 30px; }
.hm-stats div { padding: 0 18px; }
.hm-stats div:first-child { padding-left: 0; }
.hm-stats div + div { border-left: 1px solid rgba(12, 58, 33, .14); }
.hm-stats b { display: block; font-size: 38px; font-weight: 600; letter-spacing: -.03em; color: var(--ns-dark); }
.hm-stats span { font-size: 13.5px; color: var(--ns-muted); }
.hm-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.hm-why li { display: flex; gap: 12px; }
.hm-why svg.i { width: 38px !important; height: 38px !important; padding: 9px; border-radius: 12px; background: #fff; color: var(--ns-dark); box-shadow: inset 0 0 0 1px rgba(12, 58, 33, .08); }
.hm-why strong { display: block; font-size: 15.5px; font-weight: 600; color: var(--ns-ink); }
.hm-why span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ns-muted); }

/* ---------- BLOG ---------- */
.hm-post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ns-soft); }
.hm-post-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.hm-post small { font-size: 13px; color: var(--ns-muted); }
.hm-post h3 { margin: 0; font-size: 18px; line-height: 1.32; font-weight: 600; color: var(--ns-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-post .hm-more { margin-top: auto; font-size: 14.5px; }

/* ---------- CONTACTO ---------- */
.hm-sec#contacto { padding-bottom: 110px; }
.hm-cta {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 36px; color: #fff;
  background: linear-gradient(120deg, #0f4126 0%, #0a3019 55%, #0a3019 100%);
  box-shadow: 0 40px 80px -40px rgba(12, 58, 33, .6);
}
.hm-cta-copy { position: relative; z-index: 2; padding: 60px 0 60px 60px; }
.hm-cta h2 { color: #fff !important; }
.hm-cta h2 .hm-script { color: #8fdc6a; }
.hm-cta-copy > p { margin: 16px 0 26px; max-width: 470px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.hm-ask { display: flex; gap: 8px; max-width: 560px; padding: 7px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.hm-ask input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: 0; background: transparent; font: 400 15px "Outfit", sans-serif; color: #fff; }
.hm-ask input::placeholder { color: rgba(255, 255, 255, .55); }
.hm-ask .hm-btn { height: 48px; }
.hm-offices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hm-offices a { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 18px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background .3s ease, transform .4s var(--hm-ease); font-weight: 600; font-size: 15px; }
.hm-offices a:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.hm-offices svg.i { color: #8fdc6a; }
.hm-offices small { display: block; font-size: 11.5px; font-weight: 400; color: rgba(255, 255, 255, .6); }
.hm-cta-img {
  position: relative;
  background: url("../img/contacto.webp") center / cover no-repeat, url("../img/hero.webp") 80% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 30%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 30%, #000 60%);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hm-sell { grid-template-columns: 1fr; padding: 48px; }
  .hm-sell-side { min-height: 560px; }
  .hm-emp { grid-template-columns: 1fr; }
  .hm-about-in { gap: 44px; }
  .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-posts .hm-post:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
  .hm-search { grid-template-columns: 1fr 1fr; border-radius: 30px; gap: 4px; }
  .hm-sf { border-radius: 20px; background: rgba(242, 245, 242, .8); }
  .hm-sf + .hm-sf::before { display: none; }
  .hm-go { grid-column: 1 / -1; border-radius: 22px; }
  .hm-values-in { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .hm-val:nth-child(3) { border-left: 0; }
  .hm-about-in { grid-template-columns: 1fr; }
  .hm-about-img { max-width: 560px; }
  .hm-cta { grid-template-columns: 1fr; }
  .hm-cta-copy { padding: 48px 32px 10px; }
  .hm-cta-img { height: 220px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%); mask-image: linear-gradient(180deg, transparent 0%, #000 50%); }
  .hm-hero-chips { display: none; }
}
@media (max-width: 640px) {
  .hm-wrap { padding: 0 16px; }
  .hm-sec { padding-top: 76px; }
  .hm-hero { min-height: 0; padding: 120px 0 130px; align-items: flex-start; }
  .hm-hero-bg { background-position: 62% center; }
  .hm-hero::before { background: linear-gradient(180deg, rgba(250, 248, 243, .96) 0%, rgba(250, 248, 243, .88) 45%, rgba(250, 248, 243, .35) 75%, #fff 100%); }
  .hm-hero h1 { font-size: 44px; }
  .hm-hero p { font-size: 16.5px; margin-bottom: 26px; }
  .hm-actions .hm-btn { flex: 1 1 auto; height: 52px; padding: 0 20px; }
  .hm-search-wrap { margin-top: -80px; }
  .hm-search { grid-template-columns: 1fr 1fr; padding: 8px; border-radius: 26px; }
  .hm-sf { padding: 10px 14px; }
  .hm-sf > svg.i { display: none; }
  .hm-hero::before { background: linear-gradient(180deg, rgba(250, 248, 243, .95) 0%, rgba(250, 248, 243, .82) 48%, rgba(250, 248, 243, .15) 78%, #fff 100%) !important; }
  .hm-hint { margin-left: 12px; }
  .hm-values { margin-top: 50px; padding: 40px 0; }
  .hm-val { padding: 0 12px; }
  .hm-val p { font-size: 13.5px; }
  .hm-val h3 { font-size: 15.5px; margin-top: 14px; }
  .hm-ic { width: 52px; height: 52px; }
  #h-emp-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: none; }
  #h-emp-list::-webkit-scrollbar { display: none; }
  #h-emp-list .hm-card { flex: 0 0 84%; scroll-snap-align: center; }
  .hm-sell { padding: 34px 20px 20px; border-radius: 28px; gap: 30px; }
  .hm-sell-side { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
  .hm-sell-img { position: relative; inset: auto; height: 220px; border-radius: 22px; }
  .hm-chip { top: 14px; right: 14px; left: auto; }
  .hm-tasar { position: relative; left: auto; right: auto; bottom: auto; padding: 20px; }
  .hm-tgrid { grid-template-columns: 1fr; }
  .hm-head { flex-direction: column; align-items: flex-start; }
  /* destacadas: carrusel horizontal */
  #rail.hm-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 4px 16px 22px; scrollbar-width: none; }
  #rail.hm-grid::-webkit-scrollbar { display: none; }
  #rail .hm-card { flex: 0 0 84%; scroll-snap-align: center; }
  .hm-grid { grid-template-columns: 1fr; }
  .hm-posts .hm-post:nth-child(3) { display: flex; }
  .hm-emp { padding: 30px 20px; border-radius: 28px; }
  .hm-emp-list { grid-template-columns: 1fr; }
  .hm-about { margin-top: 76px; padding: 70px 0; }
  .hm-about-quote { left: 12px; bottom: 16px; font-size: 24px; padding: 14px 18px; }
  .hm-stats b { font-size: 30px; }
  .hm-stats div { padding: 0 12px; }
  .hm-why { grid-template-columns: 1fr; }
  .hm-cta { border-radius: 28px; }
  .hm-cta-copy { padding: 36px 20px 6px; }
  .hm-ask { flex-direction: column; border-radius: 22px; }
  .hm-ask input { height: 48px; }
  .hm-ask .hm-btn { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-hero-bg, .hm-gchip, .hm-chip { animation: none !important; transform: none !important; }
}

/* ---- título en caligrafía ---- */
.hm-hero h1 .hm-script.hm-prop { display: block; margin-top: 4px; font-size: 1.22em; line-height: .9; color: #2f8530; transform: none; rotate: -2deg; transform-origin: left center; }
.hm-eyebrow.reveal { letter-spacing: .16em; }

/* ---- chips flotantes del hero ---- */
.hm-gchip b i { font-style: normal; font-size: .62em; color: #ffd257; margin-left: 2px; vertical-align: .25em; }
.hm-gchip b { min-width: 64px; }
.hm-stats b i { font-style: normal; font-size: .6em; color: #f2b632; vertical-align: .3em; }

/* ---- botón "Tasá tu propiedad" ---- */
.hm-tasar-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 62px; padding: 0 10px 0 8px; border-radius: 999px;
  text-decoration: none; color: var(--ns-ink); background: #fff;
  box-shadow: 0 0 0 1.5px rgba(60, 154, 58, .45), 0 18px 34px -16px rgba(47, 133, 48, .55), inset 0 -2px 0 rgba(12, 58, 33, .05);
  transition: transform .45s cubic-bezier(.34, 1.36, .5, 1), box-shadow .4s ease;
  position: relative;
}
.hm-tasar-btn::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(108, 194, 74, .45); opacity: 0; animation: hm-ring 2.8s ease-out infinite; pointer-events: none; }
@keyframes hm-ring { 0% { opacity: .9; transform: scale(.96); } 70%, 100% { opacity: 0; transform: scale(1.08); } }
.hm-tasar-btn .tb-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #8ad866, #3c9a3a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.hm-tasar-btn .tb-ic svg.i { width: 21px !important; height: 21px !important; stroke-width: 2.1; }
.hm-tasar-btn .tb-txt { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; line-height: 1.1; }
.hm-tasar-btn .tb-txt small { margin-top: 3px; font-size: 12px; font-weight: 500; color: #2f8530; }
.hm-tasar-btn .tb-go { display: grid; place-items: center; width: 40px; height: 40px; margin-left: 6px; border-radius: 50%; background: var(--ns-soft); color: #2f8530; transition: transform .5s cubic-bezier(.34, 1.4, .5, 1), background .3s ease, color .3s ease; }
.hm-tasar-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(60, 154, 58, .7), 0 24px 40px -16px rgba(47, 133, 48, .65); }
.hm-tasar-btn:hover .tb-go { background: #2f8530; color: #fff; transform: rotate(90deg); }
.hm-actions { align-items: center; }
.hm-actions .hm-btn { height: 62px; }
@media (max-width: 640px) {
  .hm-actions .hm-btn, .hm-tasar-btn { flex: 1 1 100%; }
  .hm-tasar-btn { justify-content: flex-start; }
  .hm-tasar-btn .tb-go { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .hm-tasar-btn::after { animation: none; } }

@media (max-width: 900px) {
  .hm-hero-in { flex-direction: column; align-items: flex-start; }
  .hm-hero-chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
  .hm-gchip:nth-child(2) { margin-left: 0; }
  .hm-gchip { padding: 10px 16px 10px 12px; border-radius: 18px; }
  .hm-gchip b { font-size: 26px; min-width: 0; }
  .hm-gchip span { font-size: 12px; }
}

#h-posts:empty { min-height: 430px; }
@media (max-width: 640px) { #h-posts:empty { min-height: 1100px; } }

/* ---------- rendimiento al scrollear ---------- */
/* las animaciones en loop se pausan cuando no están en pantalla (home.js pone .hm-off) */
.hm-off .hm-gchip, .hm-off .hm-chip, .hm-off .hm-tasar-btn::after, .hm-off .hm-hero-bg { animation-play-state: paused !important; }
.hm-card-img, .hm-post-img, .hm-sell-img { transform: translateZ(0); }
/* las entradas al scrollear: solo opacidad y desplazamiento corto (sin escala) */
.ns-sr main#inicio .reveal { transform: translate3d(0, 16px, 0); transition: opacity .4s ease, transform .5s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
/* scroll rápido: lo que entra en pantalla aparece al instante, sin animación */
.ns-sr main#inicio .reveal.hm-now, .ns-sr main#inicio .reveal.hm-now * { transition: none !important; transition-delay: 0s !important; }

/* ---------- banner de contacto: mapa de oficinas ---------- */
.hm-cta-map { position: relative; min-height: 100%; container-type: size; }
.hm-map-box { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: min(100cqw, 100cqh * 1.15); aspect-ratio: 600 / 520; }
.hm-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-map-tag {
  position: absolute; transform: translate(20px, -50%); padding: 7px 14px 8px; border-radius: 13px; background: #fff; color: #0a3019;
  font-weight: 700; font-size: 14px; line-height: 1.15; white-space: nowrap; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55);
}
.hm-map-tag small { display: block; font-size: 11px; font-weight: 500; color: #5b6b60; }
.hm-map-tag.is-l { transform: translate(calc(-100% - 18px), -50%); }
/* pulso de los pines: HTML + transform/opacity (lo anima la placa de video, no el procesador) */
.hm-pulse { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 2px solid #8fdc6a; pointer-events: none; animation: hmPin 2.4s ease-out infinite; will-change: transform, opacity; }
@keyframes hmPin { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.hm-off .hm-pulse { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hm-pulse { animation: none; opacity: 0; } }
.hm-map-card {
  position: absolute; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 18px; color: #fff;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.hm-map-card b { display: block; font-size: 14.5px; }
.hm-map-card small { display: block; font-size: 12px; color: rgba(255, 255, 255, .62); }
.hm-map-dot { width: 10px; height: 10px; border-radius: 50%; background: #8fdc6a; box-shadow: 0 0 0 4px rgba(143, 220, 106, .2); flex: none; }
@media (max-width: 900px) {
  .hm-cta-map { min-height: 0; container-type: normal; padding: 0 20px 24px; }
  .hm-map-box { position: relative; left: auto; top: auto; transform: none; width: 100%; max-width: 480px; margin: 0 auto; }
  .hm-map-card { position: relative; right: auto; bottom: auto; width: fit-content; margin: -6px auto 0; }
}
@media (max-width: 640px) { .hm-cta-map { padding: 0 0 24px; } .hm-map-tag { font-size: 12.5px; padding: 6px 11px 7px; } .hm-map-tag small { font-size: 10px; } .hm-map-card small { font-size: 11px; } }

/* mientras se scrollea se pausan las animaciones decorativas que se repiten */
.is-scrolling .hm-gchip, .is-scrolling .hm-chip, .is-scrolling .hm-tasar-btn::after, .is-scrolling .hm-pulse, .is-scrolling .hm-hero-bg { animation-play-state: paused !important; }

/* =========================================================
   Animaciones al bajar (scroll-driven): las calcula la placa de video
   según la posición del scroll — no usan JavaScript ni frenan el scroll.
   Navegadores sin soporte muestran todo normal (con el reveal de siempre).
   ========================================================= */
@keyframes hmUp { from { opacity: 0; transform: translate3d(0, 56px, 0) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hmUpS { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
@keyframes hmLeft { from { opacity: 0; transform: translate3d(-48px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes hmRight { from { opacity: 0; transform: translate3d(48px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes hmPar { from { transform: translate3d(0, -7%, 0) scale(1.16); } to { transform: translate3d(0, 7%, 0) scale(1.16); } }
@keyframes hmGrow { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* el reveal por JS queda apagado en la home: lo reemplaza esto */
    .ns-sr main#inicio .reveal:not(.hm-hero *) { opacity: 1 !important; transform: none !important; transition: none !important; }

    main#inicio :is(.hm-head, .hm-values .hm-val, .hm-sell, .hm-emp, .hm-cta, .hm-post, .hm-card, .hm-about-copy, .hm-about-img) {
      animation: hmUpS linear both; animation-timeline: view(); animation-range: cover 0% cover 26%;
    }
    main#inicio :is(.hm-sell, .hm-emp, .hm-cta) { animation-name: hmUp; }
    main#inicio .hm-about-img { animation-name: hmLeft; }
    main#inicio .hm-about-copy { animation-name: hmRight; }
    /* las tarjetas entran escalonadas */
    main#inicio :is(.hm-card, .hm-post, .hm-val):nth-child(3n+2) { animation-range: cover 3% cover 29%; }
    main#inicio :is(.hm-card, .hm-post, .hm-val):nth-child(3n+3) { animation-range: cover 6% cover 32%; }
    main#inicio .hm-val:nth-child(4) { animation-range: cover 9% cover 35%; }
    /* fotos con parallax suave dentro de su marco */
    main#inicio .hm-sell-img img { animation: hmPar linear both; animation-timeline: view(); transition: none; }
    /* chip de la tasación y stats "aparecen" */
    main#inicio :is(.hm-stats > *, .hm-map-card) { animation: hmGrow linear both; animation-timeline: view(); animation-range: cover 4% cover 24%; }
    /* en celular los carruseles se deslizan de costado: animamos el carrusel entero, no cada tarjeta */
    @media (max-width: 900px) {
      main#inicio :is(#rail, #h-emp-list) .hm-card { animation: none; }
      main#inicio :is(#rail, #h-emp-list) { animation: hmUpS linear both; animation-timeline: view(); animation-range: cover 0% cover 24%; }
    }
  }
}

