/* inmobiliariajaga.com — hoja de estilos original (medianoche, menta y cobalto) */

:root {
  --bg: #080d1d;
  --bg-2: #0d1430;
  --panel: #111a3a;
  --panel-2: #172249;
  --line: #243063;
  --line-2: #33427f;
  --ink: #c9d2ee;
  --hi: #ffffff;
  --dim: #8c98bf;
  --mint: #35f0bd;
  --mint-2: #9bffe3;
  --cobalt: #3f6cff;
  --cobalt-2: #7399ff;
  --sky: #b3c7ff;
  --wrap: 1180px;
  --font: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.72;
  background:
    radial-gradient(820px 560px at 100% 0%, rgba(63,108,255,.22), rgba(63,108,255,0) 70%),
    radial-gradient(760px 560px at -6% 38%, rgba(53,240,189,.08), rgba(53,240,189,0) 70%),
    radial-gradient(760px 560px at 100% 76%, rgba(63,108,255,.14), rgba(63,108,255,0) 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--mint); color: #04241b; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 60; background: #060a17; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.bar { position: relative; z-index: 62; display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { flex: none; display: inline-flex; align-items: center; color: #fff; }
.mark { font-size: 1.85rem; font-weight: 800; font-style: italic; letter-spacing: -.05em; line-height: 1; }
.menu { flex: 1; }
.menu ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-block; padding: 9px 15px; border-radius: 10px; color: var(--sky); font-weight: 600; font-size: .95rem; transition: background .15s ease, color .15s ease; }
.menu a:hover { background: var(--panel-2); color: #fff; }
.menu a[aria-current="true"] { color: var(--mint); background: rgba(53,240,189,.1); }
.bar-cta { margin-left: auto; }

.chipbar { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chipbar-in { display: flex; align-items: center; gap: 14px; min-height: 54px; }
.chipbar-label { flex: none; color: var(--dim); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.chipbar ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 8px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; position: relative; flex: 1; }
.chipbar ul::-webkit-scrollbar { display: none; }
.chipbar li { flex: none; }
.chipbar a { display: inline-block; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--sky); font-weight: 600; font-size: .9rem; line-height: 1.5; white-space: nowrap; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chipbar a:hover { border-color: var(--mint); color: #fff; }
.chipbar a[aria-current="true"] { background: var(--mint); border-color: var(--mint); color: #04241b; }

.hamburger { display: none; margin-left: auto; width: 46px; height: 46px; flex-direction: column; justify-content: center; gap: 5px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; padding: 0; }
.hamburger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { display: none; position: fixed; inset: 0; z-index: 61; background: #060a17; overflow-y: auto; padding: 96px 20px 40px; }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.drawer ul a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: #fff; font-weight: 600; font-size: 1.08rem; }
.drawer ul a[aria-current="true"] { border-color: var(--mint); color: var(--mint); }
.drawer .d-cta { display: grid; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 26px; border-radius: 999px; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease, background .15s ease; text-align: center;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, .hamburger:focus-visible { outline: 3px solid var(--mint-2); outline-offset: 2px; }
.btn-mint { background: linear-gradient(135deg, var(--mint), var(--mint-2)); color: #04241b; box-shadow: 0 8px 26px rgba(53,240,189,.32); }
.btn-mint:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-cobalt { background: linear-gradient(135deg, var(--cobalt), var(--cobalt-2)); color: #fff; box-shadow: 0 8px 26px rgba(63,108,255,.42); }
.btn-cobalt:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--line-2); }
.btn-ghost:hover { background: var(--panel-2); border-color: var(--sky); }
.btn-sm { padding: 10px 22px; font-size: .94rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero { padding: 54px 0 30px; scroll-margin-top: 130px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.hero-copy h1 { margin: 0 0 22px; color: #fff; font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.hero-copy h1::before { content: ""; display: block; width: 72px; height: 5px; margin-bottom: 20px; border-radius: 3px; background: linear-gradient(90deg, var(--mint), var(--cobalt)); }
.hero-text p { color: var(--ink); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.promo { border-radius: 26px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line-2); padding: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 80px rgba(63,108,255,.22); }
.shot { margin: 0; border-radius: 18px; overflow: hidden; background: #cfd8e4; }
.shot img { width: 100%; height: auto; aspect-ratio: 1380 / 752; }
.promo-info { padding: 20px 10px 8px; }
.promo-tag { margin: 0 0 4px; color: var(--mint); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.promo-big { margin: 0 0 6px; color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.promo-sub { margin: 0 0 16px; color: var(--dim); font-size: .97rem; line-height: 1.55; }

/* ============ SECTIONS ============ */
.sec { padding: 46px 0; border-top: 1px solid var(--line); scroll-margin-top: 130px; }
.sec-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 46px; }
.sec-side { position: sticky; top: 150px; align-self: start; }
.no { display: block; margin-bottom: 8px; color: transparent; -webkit-text-stroke: 1.5px var(--mint); font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.sec-side h2 { margin: 0; color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.18; font-weight: 800; letter-spacing: -.02em; }
.sec-main { min-width: 0; }
.sec-main > :last-child { margin-bottom: 0; }
.sec-main p { font-size: 1.04rem; line-height: 1.78; }
.sec-main h3 { scroll-margin-top: 140px; margin: 34px 0 12px; display: flex; align-items: center; gap: 12px; color: var(--mint); font-size: 1.22rem; line-height: 1.3; font-weight: 700; }
.sec-main h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--mint); transform: rotate(45deg); }
.sec-main h3:first-child { margin-top: 0; }
.sec-main strong { color: #fff; font-weight: 700; }

.sec-main ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; }
.sec-main ul li { position: relative; padding: 13px 16px 13px 48px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.sec-main ul li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: rgba(53,240,189,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.2 10.4l3.1 3.1 6.5-6.9' fill='none' stroke='%2335f0bd' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.sec-main ul.cards { grid-template-columns: 1fr 1fr; }

.sec-main ol { list-style: none; counter-reset: s; margin: 16px 0 22px; padding: 0; display: grid; gap: 10px; }
.sec-main ol li { position: relative; counter-increment: s; padding: 14px 16px 14px 64px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: 1rem; line-height: 1.6; min-height: 56px; }
.sec-main ol li::before { content: counter(s); position: absolute; left: 14px; top: 11px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint), var(--mint-2)); color: #04241b; font-weight: 800; font-size: 1rem; line-height: 1; }

.table-wrap { margin: 22px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line-2); background: #0b1230; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-wrap.wide table { min-width: 540px; }
.table-wrap th { text-align: left; padding: 14px 18px; background: #16255a; color: var(--mint); font-weight: 700; font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; }
.table-wrap td { padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tbody tr:first-child td { border-top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: rgba(255,255,255,.035); }
.table-wrap td:first-child { color: #fff; font-weight: 600; }

.cta { margin: 28px 0 6px; padding: 26px 20px; border-radius: 20px; display: flex; justify-content: center; background: linear-gradient(120deg, rgba(53,240,189,.14), rgba(63,108,255,.26)); border: 1px solid var(--line-2); }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { border-color: var(--mint); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 62px 18px 22px; color: #fff; font-weight: 700; font-size: 1.04rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font-size: 1.4rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: var(--mint); color: #04241b; }
.faq .ans { padding: 0 22px 20px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 30px; padding: 46px 0 26px; background: #060a17; color: #b8c3e6; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--mint), var(--cobalt)); }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.f-brand p { margin: 14px 0 0; color: var(--dim); font-size: .96rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .97rem; color: #e1e8ff; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-bottom { padding-top: 20px; border-top: 1px solid var(--line); }
.f-bottom p { margin: 0; font-size: .88rem; color: var(--dim); }

/* ============ PÁGINA 404 ============ */
.nf { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.nf-card { max-width: 520px; width: 100%; padding: 44px 32px; text-align: center; border-radius: 26px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.nf-code { margin: 0 0 6px; color: var(--mint); font-size: 4rem; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.nf-card h1 { margin: 0 0 12px; color: #fff; font-size: 1.7rem; line-height: 1.2; }
.nf-card p { color: var(--ink); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .menu, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .sec-grid { grid-template-columns: 1fr; gap: 22px; }
  .sec-side { position: static; display: flex; align-items: center; gap: 16px; }
  .no { margin: 0; font-size: 2.4rem; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .hero { padding-top: 30px; scroll-margin-top: 110px; }
  .sec { padding: 36px 0; scroll-margin-top: 110px; }
  .sec-main h3 { scroll-margin-top: 120px; }
  .chipbar-label { display: none; }
  .hero-actions .btn { width: 100%; }
  .promo { padding: 10px; border-radius: 22px; }
  .shot { border-radius: 14px; }
  .sec-main ul.cards { grid-template-columns: 1fr; }
  .sec-main h3 { font-size: 1.1rem; }
  .btn { white-space: normal; }
  .cta .btn { width: 100%; }
  .f-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
