/* ===== Negocios en Web — estilos ===== */
:root {
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --ink: #0E1A2B;
  --ink-2: #44506A;
  --line: #D9DFEA;
  --cobalt: #2346E8;
  --cobalt-dk: #1733B8;
  --cobalt-soft: #E4E9FD;
  --signal: #12B886;
  --dark: #0E1A2B;
  --dark-2: #182740;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 24px;
  font: 600 1rem/1 var(--body); text-decoration: none;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--cobalt); color: #fff; }
.btn--solid:hover { background: var(--cobalt-dk); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ===== Promo bar (editable desde /admin) ===== */
.promo { background: var(--cobalt); color: #fff; }
.promo[data-color="verde"] { background: #0E8F68; }
.promo[data-color="oscuro"] { background: var(--ink); }
.promo[hidden] { display: none; }
.promo__in { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding-block: 10px; padding-right: 52px; position: relative; min-height: 44px; }
.promo__text { font-weight: 500; font-size: .98rem; text-align: center; }
.promo__link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo__link:hover { text-decoration-thickness: 2px; }
.promo__close { position: absolute; right: calc(var(--gutter) - 10px); top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.promo__close:hover { background: rgba(255,255,255,.15); }
.promo__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.promo :focus-visible { outline-color: #fff; }

/* ===== Header ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 250, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 1.15rem/1 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.brand b { font-weight: 800; }
.brand__mark { width: 32px; height: 32px; color: var(--cobalt); }
.brand--light { color: #fff; }
.brand--light .brand__mark { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--ink); }

.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.menu span:first-child { top: 17px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; color: var(--ink-2); background: var(--white); border: 1px solid var(--line); padding: 7px 14px 7px 12px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(18, 184, 134, .18); flex: none; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 22px 0 22px;
  max-width: 13ch;
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.assure { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { width: 18px; height: 18px; fill: none; stroke: var(--cobalt); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* The building browser */
.build { position: relative; padding: 28px 8px 36px; }
.browser {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -30px rgba(14, 26, 43, .35), 0 2px 0 rgba(14,26,43,.03);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FAFBFD; }
.browser__bar > i { width: 10px; height: 10px; border-radius: 50%; background: #DCE1EA; }
.url { margin-left: 12px; flex: 1; display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: 6px 12px; }
.url svg { width: 13px; height: 13px; fill: none; stroke: var(--signal); stroke-width: 1.6; }

.site { padding: 18px 20px 22px; }
.site__nav { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.site__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; margin-bottom: 20px; }
.site__text { display: grid; gap: 8px; }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* skeleton pieces -> become "real" */
.s { display: block; border-radius: 6px; background: #E8ECF3; transition: background-color .5s ease, transform .5s ease; }
.s--logo { width: 26px; height: 26px; border-radius: 7px; }
.s--link { width: 40px; height: 8px; }
.s--link:first-of-type { margin-left: auto; }
.s--btn { width: 62px; height: 22px; border-radius: 999px; }
.s--h1 { height: 16px; width: 100%; }
.s--h1.s--short { width: 70%; }
.s--p { height: 7px; width: 92%; margin-top: 4px; }
.s--p.s--short { width: 60%; margin-top: 0; }
.s--cta { width: 84px; height: 24px; border-radius: 999px; margin-top: 8px; }
.s--img { aspect-ratio: 4 / 3.2; border-radius: 10px; position: relative; overflow: hidden; }
.s--card { height: 64px; border-radius: 9px; }

.is-built .s--logo { background: var(--cobalt); }
.is-built .s--link { background: #C9D1E0; }
.is-built .s--btn, .is-built .s--cta { background: var(--cobalt); }
.is-built .s--h1 { background: var(--ink); }
.is-built .s--p { background: #B9C2D3; }
.is-built .s--img {
  background:
    radial-gradient(circle at 72% 30%, #FFD166 0 13%, transparent 14%),
    linear-gradient(160deg, transparent 52%, #1E3BC9 52% 72%, #142C9E 72%),
    linear-gradient(200deg, #7FA0FF 0 60%, #5B7FF5 60%);
}
.is-built .s--card { background: var(--cobalt-soft); }

/* staggered build */
.is-built .s { transition-delay: calc(var(--i, 0) * 90ms); }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; font-size: .88rem; font-weight: 600;
  box-shadow: 0 14px 30px -16px rgba(14, 26, 43, .35);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.is-built .chip { opacity: 1; transform: none; }
.chip--a { top: 4px; right: 4%; transition-delay: 1.2s; }
.chip--b { left: -10px; bottom: 54px; transition-delay: 1.45s; }
.chip--b svg { width: 36px; height: 36px; transform: rotate(-90deg); }
.chip--b span { display: grid; line-height: 1.2; }
.chip--b small { font-weight: 500; color: var(--ink-2); font-size: .8rem; }
.ring-bg, .ring { fill: none; stroke-width: 4; }
.ring-bg { stroke: #E3F7EF; }
.ring { stroke: var(--signal); stroke-linecap: round; stroke-dasharray: 94.2; stroke-dashoffset: 94.2; transition: stroke-dashoffset 1.1s ease 1.6s; }
.is-built .ring { stroke-dashoffset: 6; }
.chip--c { right: 0; bottom: 0; transition-delay: 1.9s; }
.chip--c svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; background: var(--signal); border-radius: 50%; padding: 3px; box-sizing: content-box; }

/* ===== Strip ===== */
.strip { background: var(--ink); color: #C8D1E2; }
.strip__in { padding-block: 22px; }
.strip p { font-size: 1.02rem; text-align: center; }
.strip strong { color: #fff; font-weight: 600; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--white); border-block: 1px solid var(--line); }
.section--dark { background: var(--dark); color: #fff; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.head p { color: var(--ink-2); max-width: 44ch; justify-self: end; font-size: 1.08rem; }
.section--dark .head p { color: #A9B4C9; }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.svc { background: var(--paper); padding: 30px 28px 32px; }
.svc__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cobalt-soft); display: grid; place-items: center; margin-bottom: 22px; }
.svc__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cobalt); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.32rem; font-weight: 700; margin-bottom: 10px; }
.svc p { color: var(--ink-2); font-size: 1rem; }
.svc--feature { grid-row: span 3; background: var(--cobalt); color: #fff; display: flex; flex-direction: column; }
.svc--feature .svc__icon { background: rgba(255,255,255,.14); }
.svc--feature .svc__icon svg { stroke: #fff; }
.svc--feature h3 { font-size: 1.7rem; }
.svc--feature p { color: #DCE3FF; font-size: 1.05rem; }
.svc--feature ul { list-style: none; padding: 0; margin: auto 0 0; padding-top: 28px; display: grid; gap: 12px; }
.svc--feature li { display: flex; gap: 10px; align-items: center; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); font-weight: 500; }
.svc--feature li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; }

/* ===== Inmobiliarias ===== */
a.status { text-decoration: none; transition: border-color .2s; }
a.status:hover { border-color: var(--cobalt); color: var(--ink); }
.section--inmo { background: var(--cobalt-soft); }
.inmo__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.inmo__badge { display: inline-block; background: var(--cobalt); color: #fff; font-weight: 600; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.inmo__head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.inmo__head p:last-child { color: var(--ink-2); font-size: 1.08rem; }
.inmo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.inmo-card { position: relative; background: var(--white); border: 1px solid #CBD5F5; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.inmo-card--pick { border: 2px solid var(--cobalt); box-shadow: 0 30px 60px -34px rgba(35, 70, 232, .55); }
.inmo-card .plan__tag { z-index: 2; left: 20px; }
.inmo-card__shot { display: block; margin: 10px 10px 0; border-radius: 12px; overflow: hidden; aspect-ratio: 788 / 600; background: var(--paper); border: 1px solid var(--line); }
.inmo-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s ease; }
.inmo-card__shot:hover img { transform: scale(1.03); }
.inmo-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.inmo-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.inmo-card h2, .inmo-card h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.inmo-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; font-size: .98rem; }
.inmo-card li { display: flex; gap: 10px; align-items: flex-start; }
.inmo-card li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%232346E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.inmo-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inmo-card__actions .btn { padding: 0 12px; }
.inmo-card .btn--ghost { background: var(--white); }
.inmo__more { text-align: center; margin-top: 32px; color: var(--ink-2); }
.inmo__more a { color: var(--cobalt); font-weight: 600; }


/* Precios con promo */
.pricebox { display: grid; justify-items: end; gap: 2px; text-align: right; }
.price-old { color: var(--ink-2); font-size: .92rem; }
.price-now { font: 800 1.45rem/1 var(--display); letter-spacing: -0.02em; color: var(--cobalt); white-space: nowrap; }
.price-off { background: var(--signal); color: #fff; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-top: 4px; }
.inmo__deal { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 0 0 16px 10px; font-weight: 600; color: var(--ink); }
.inmo__deal [data-inmo-off] { background: var(--signal); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: .85rem; }
.inmo__deal [data-inmo-countdown] { color: var(--ink-2); font-weight: 500; }
.inmo-card__op { color: var(--ink-2); font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
.inmo-card__for { color: var(--ink-2); margin: -4px 0 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Página /inmobiliarias ===== */
.ihero { padding: clamp(36px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); background: var(--cobalt-soft); }
.crumbs { font-size: .95rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--cobalt); font-weight: 500; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.ihero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.03; max-width: 17ch; margin-bottom: 20px; }
.ihero .lead { max-width: 60ch; }
.ipromo { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; background: var(--white); border: 1px solid #CBD5F5; border-radius: 14px; padding: 12px 18px; }
.ipromo[hidden] { display: none; }
.ipromo__off { background: var(--signal); color: #fff; font: 800 1.1rem/1 var(--display); padding: 8px 12px; border-radius: 10px; }
.ipromo p { font-size: 1.02rem; }
.ipromo__count { color: var(--cobalt); font-weight: 600; white-space: nowrap; }
.ilist { padding-top: 0; }
.ilist .inmo { margin-top: 0; }

.ctable { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.ctable table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1rem; }
.ctable th, .ctable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctable tbody tr:last-child > * { border-bottom: 0; }
.ctable thead th { font: 700 1.15rem/1.2 var(--display); background: var(--paper); }
.ctable thead th:nth-child(3) { color: var(--cobalt); }
.ctable tbody th { font-weight: 600; width: 28%; }
.ctable td.no { color: #8A94A8; }
.ctable td.yes { color: var(--ink); }
.ctable td.yes::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); margin-right: 8px; vertical-align: middle; }
.ctable td b { font: 800 1.1rem/1 var(--display); color: var(--cobalt); margin-right: 6px; }
.ctable .price-old { font-size: .85rem; }

.guide { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.guide h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.guide__copy > p { color: var(--ink-2); font-size: 1.06rem; }
.guide__facts { margin: 24px 0 0; display: grid; }
.guide__facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.guide__facts dt { font-weight: 700; }
.guide__facts dd { margin: 2px 0 0; color: var(--ink-2); }
.guide__video video { width: 100%; display: block; border-radius: var(--r-lg); background: var(--ink); border: 1px solid var(--line); aspect-ratio: 16 / 9; }

.icta__in { text-align: center; display: grid; justify-items: center; gap: 14px; }
.icta h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.icta p { color: var(--ink-2); font-size: 1.08rem; max-width: 50ch; }
.icta__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

@media (max-width: 860px) {
  .guide { grid-template-columns: 1fr; }
}

/* ===== Plans ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; font-weight: 700; }
.plan__for { color: var(--ink-2); margin-top: 8px; min-height: 3.2em; }
.plan__price { margin: 22px 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 8px; }
.plan__price span { color: var(--ink-2); font-size: .95rem; }
.plan__price b { font: 800 2rem/1 var(--display); letter-spacing: -0.03em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%232346E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan--pick { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 60px -32px rgba(14, 26, 43, .6); }
.plan--pick .plan__for, .plan--pick .plan__price span { color: #A9B4C9; }
.plan--pick .plan__price { border-bottom-color: rgba(255,255,255,.14); }
.plan--pick li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%2312B886' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan__tag { position: absolute; top: -13px; left: 28px; background: var(--signal); color: #fff; font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.plans__note { text-align: center; margin-top: 32px; color: var(--ink-2); }

/* ===== Steps (real sequence) ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; position: relative;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 22px;
  background: var(--white); border: 2px solid var(--cobalt); color: var(--cobalt);
  font: 700 1.1rem/1 var(--display);
}
.steps li:last-child::before { background: var(--cobalt); color: #fff; }
.steps h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--ink-2); }

/* ===== Work ===== */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.case__shot { aspect-ratio: 16 / 9; padding: 26px 30px; display: grid; align-content: start; gap: 14px; }
.case__shot--a { background: linear-gradient(140deg, #F6E7D8, #EBC9A9); }
.case__shot--b { background: linear-gradient(140deg, #DDE6FF, #A9BDFB); }
.m { display: block; border-radius: 6px; }
.m--nav { height: 12px; width: 100%; background: rgba(14,26,43,.14); }
.m--title { height: 22px; width: 55%; background: rgba(14,26,43,.75); margin-top: 6px; }
.m--grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; }
.m--grid i { aspect-ratio: 1; border-radius: 8px; background: rgba(255,255,255,.75); }
.m--list { display: grid; gap: 9px; margin-top: 6px; }
.m--list i { height: 26px; border-radius: 7px; background: rgba(255,255,255,.8); }
.case__body { padding: 26px 28px 30px; }
.case h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.case p { color: #B6C0D3; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { font-size: .85rem; font-weight: 500; color: #DCE3FF; border: 1px solid rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; }

/* ===== Promise ===== */
.promise { display: grid; grid-template-columns: 0.8fr 2fr; gap: 48px; align-items: start; }
.promise h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.promise__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.promise__list div { padding: 22px 0; border-top: 1px solid var(--line); }
.promise__list dt { font: 700 1.2rem/1.2 var(--display); margin-bottom: 6px; }
.promise__list dd { margin: 0; color: var(--ink-2); }

/* ===== FAQ ===== */
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font: 600 1.1rem/1.35 var(--body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 5v12M5 11h12' stroke='%232346E8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 40px 24px 0; max-width: 60ch; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; }
.contact__copy > p { color: var(--ink-2); font-size: 1.1rem; max-width: 42ch; }
.contact__ways { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.way { display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color .2s; }
.way:hover { border-color: var(--cobalt); }
.way svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--cobalt); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.way span { display: grid; line-height: 1.3; min-width: 0; }
.way b { font-weight: 600; overflow-wrap: anywhere; }
.way small { color: var(--ink-2); font-size: .9rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .96rem; }
.opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: var(--white); }
.field [aria-invalid="true"] { border-color: #D93A3A; }
.form__error { color: #B42318; font-weight: 500; font-size: .95rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__actions .btn { flex: 1 1 200px; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #A9B4C9; padding: 56px 0 36px; }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.footer__in > p:first-of-type { max-width: 36ch; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__nav a { text-decoration: none; color: #DCE3FF; font-weight: 500; }
.footer__nav a:hover { color: #fff; }
.footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 28px -10px rgba(16, 120, 60, .55);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .services { grid-template-columns: 1fr 1fr; }
  .svc--feature { grid-row: auto; grid-column: 1 / -1; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan__for { min-height: 0; }
  .inmo { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .steps::before { display: none; }
  .promise { grid-template-columns: 1fr; gap: 24px; }
}

.nav a { white-space: nowrap; }
@media (max-width: 1080px) {
  .menu { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav__cta { margin-top: 16px; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .build { max-width: 520px; width: 100%; margin-inline: auto; }
  .head { grid-template-columns: 1fr; }
  .head p { justify-self: start; }
  .work { grid-template-columns: 1fr; }
  .faq__list { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero__actions .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .promise__list { grid-template-columns: 1fr; }
  .chip { font-size: .8rem; padding: 8px 11px; }
  .chip--b { left: 0; }
  .chip--c { display: none; }
  .site { padding: 14px 14px 16px; }
  .s--link { width: 26px; }
  .strip p { text-align: left; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* ===== Panel en la página de inmobiliarias ===== */
.inmo-card__for b { color: var(--ink); }
.pdemo { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.pdemo h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.pdemo__copy > p { color: var(--ink-2); font-size: 1.06rem; }
.pdemo__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.pdemo__list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.pdemo__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cobalt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%232346E8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.pdemo__list b { color: var(--ink); font-weight: 600; }
.pdemo__actions { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; margin-top: 28px; }
.pdemo__actions p { color: var(--ink-2); font-size: .95rem; max-width: 30ch; }
.pmock { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(14,26,43,.35); transform: rotate(1deg); }
.pmock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #FAFBFD; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pmock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCE1EA; }
.pmock__bar span { margin-left: 8px; }
.pmock__body { padding: 16px; display: grid; gap: 10px; background: var(--paper); }
.pmock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pmock__stats span { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .78rem; color: var(--ink-2); display: grid; }
.pmock__stats b { font-size: 1.2rem; color: var(--ink); }
.pmock__row { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.pmock__img { width: 56px; height: 42px; border-radius: 8px; }
.pmock__img.a { background: linear-gradient(135deg, #C9D6F5, #8FA6EC); }
.pmock__img.b { background: linear-gradient(135deg, #CDEBDD, #7CC4A2); }
.pmock__img.c { background: linear-gradient(135deg, #F1E1CF, #D7B48C); }
.pmock__txt { display: grid; line-height: 1.3; min-width: 0; }
.pmock__txt b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmock__txt small { color: var(--ink-2); font-size: .78rem; }
.pmock__chip { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pmock__chip.ok { color: #0E8F68; border-color: #B6E5D3; background: #F0FAF6; }
.pmock__chip.warn { color: #B7791F; border-color: #F0D58A; background: #FFF8E6; }
.pmock__chip.done { color: #3F3F46; border-color: #DADAE0; background: #F1F1F3; }
.pmock__new { justify-self: end; background: var(--cobalt); color: #fff; font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: 999px; }
.guide__copy a { color: var(--cobalt); font-weight: 600; }
@media (max-width: 860px) { .pdemo { grid-template-columns: 1fr; } .pmock { transform: none; } }

/* ===== Trabajos con captura real ===== */
.case__shot { display: block; aspect-ratio: auto; padding: 14px 14px 0; background: linear-gradient(160deg, #24365A, #182740); text-decoration: none; overflow: hidden; }
.case__bar { display: flex; align-items: center; gap: 6px; background: #F4F6FA; border-radius: 10px 10px 0 0; padding: 8px 12px; }
.case__bar i { width: 8px; height: 8px; border-radius: 50%; background: #CBD2DE; }
.case__bar span { margin-left: 8px; font-size: .78rem; font-weight: 500; color: #44506A; background: #fff; border-radius: 999px; padding: 3px 10px; }
.case__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .4s ease; }
.case__shot:hover img { transform: scale(1.02); }
.case__logo { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 16px; }
.case__logo img { height: 40px; width: auto; display: block; }
.case__link { display: inline-block; margin-top: 18px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.case__link:hover { color: #DCE3FF; }

/* Mantenimiento mensual en cada plan */
.plan__mant { margin: 14px 0 0; text-align: center; color: var(--ink-2); font-size: .86rem; line-height: 1.45; }
.plan__mant b { color: var(--ink); white-space: nowrap; }
.plan--pick .plan__mant { color: #A9B4C9; }
.plan--pick .plan__mant b { color: #fff; }

/* Precio anterior tachado en los planes cuando hay promo */
.plan__was { margin: 20px 0 -16px; display: flex; align-items: center; gap: 8px; }
.plan__was .price-off { margin-top: 0; }
.plan--pick .plan__was .price-old { color: #A9B4C9; }

.form__ok { color: #0B6B4E; background: #E3F7EF; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
