/* Grup Aurora — estilos de la web pública */
:root {
  --ink: #141414;
  --text: #1a1a1a;
  --muted: #5b564e;
  --cream: #F5F1EA;
  --linen: #ECE6DB;
  --white: #ffffff;
  --gold: #856A42;
  --gold-dark: #6B4F2A;
  --line: #D9CFBE;
  --line-soft: #E6DECF;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 96px;
  --maxw: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.muted { color: #9a958c; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 1000; background: #fff; padding: 8px 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ic { flex-shrink: 0; }

/* Tipografía */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 18px; }
.h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.1; color: var(--ink); }
.h2-xl { font-size: clamp(38px, 5vw, 64px); }
.lead { font-size: 18px; color: #3d3a35; max-width: 640px; margin: 22px auto 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border: 1px solid transparent; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: #2b2b2b; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-static { cursor: default; }
.btn-static:hover { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-normalcase { text-transform: none; letter-spacing: .06em; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); font-weight: 500; border-bottom: 1px solid transparent; }
.link-arrow:hover { border-color: var(--gold); }
.ibox { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); color: var(--gold); background: rgba(255,255,255,.4); }

/* Logo tipográfico */
.logo-type { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: #fff; font-family: var(--serif); }
.logo-grup { font-family: var(--sans); font-size: 11px; letter-spacing: .5em; padding-left: .5em; font-weight: 400; }
.logo-aurora { font-size: 40px; letter-spacing: .14em; padding-left: .14em; font-weight: 500; margin-top: 2px; }
.logo-img { height: 58px; width: auto; filter: brightness(0) invert(1); }
.logo-lg .logo-aurora { font-size: 46px; }
.foot-logo .logo-img { height: 70px; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: var(--ink); height: var(--nav-h); transition: height .25s; }
.nav.is-compact { height: 80px; }
.nav-in { max-width: 1440px; margin: 0 auto; padding: 0 32px; height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #bdb7ad; padding: 8px 0; white-space: nowrap; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: #fff; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-phone, .nav-client { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #bdb7ad; white-space: nowrap; }
.nav-phone .ic { color: var(--gold); }
.nav-client:hover { color: #fff; }
.nav-cta { min-height: 46px; padding: 0 26px; }
.cta-short { display: none; }
.nav-lang { display: flex; gap: 8px; font-size: 12px; letter-spacing: .1em; color: #8d877d; }
.nav-lang a { color: #bdb7ad; font-weight: 500; }
.nav-lang a.on { color: #fff; font-weight: 600; }
.nav-burger { display: none; background: none; border: 0; color: var(--cream); width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; }

.mmenu { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--cream); padding: 20px 24px 32px; display: flex; flex-direction: column; overflow-y: auto; }
.mmenu[hidden] { display: none; }
.mmenu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mmenu-close { background: none; border: 0; color: var(--cream); width: 44px; height: 44px; }
.mmenu-links { display: flex; flex-direction: column; margin-bottom: 28px; }
.mmenu-links a { font-size: 20px; padding: 13px 0; color: var(--cream); display: flex; align-items: center; gap: 10px; }
.mmenu-links a.is-active { color: #c9a874; }
.mmenu-links hr { border: 0; border-top: 1px solid #333; width: 100%; margin: 12px 0; }
.mmenu-lang { justify-content: center; margin-top: 24px; font-size: 15px; }
body.no-scroll { overflow: hidden; }

.flash { background: #e8efe2; border-bottom: 1px solid #c8d7bb; padding: 14px 0; color: #2f4a22; }
.flash-error { background: #f6e3df; border-color: #e5bdb5; color: #7a2b1d; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; color: var(--ink); margin-bottom: 30px; letter-spacing: -.01em; }
.hero-title em { color: var(--gold); font-style: italic; font-weight: 500; }
.hero-lead { font-size: 18px; color: #2c2a26; max-width: 520px; margin-bottom: 36px; }
.hero-frame { position: relative; }
.hero-frame::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--gold); z-index: 0; }
.hero-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5/4; object-fit: cover; }

/* Buscador */
.search { position: relative; z-index: 5; margin-top: 64px; background: #fff; border: 1px solid var(--line-soft); box-shadow: 0 18px 50px rgba(40, 30, 10, .08); padding: 28px; display: grid; grid-template-columns: 1.1fr 1fr 2fr .9fr; gap: 18px; align-items: end; }
.search-loc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lbl { display: block; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.req { color: #b23b2b; }
.inp { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--gold); background: #fff; font: inherit; font-size: 16px; color: var(--ink); border-radius: 0; outline: none; transition: box-shadow .15s; -webkit-appearance: none; appearance: none; }
.inp:focus { box-shadow: inset 0 0 0 1px var(--gold); }
.inp::placeholder { color: #8a847a; }
.inp:disabled { background: #f3efe8; color: #9a958c; border-color: var(--line); cursor: not-allowed; }
textarea.inp { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel .inp { padding-right: 44px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; height: 52px; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s; }
.tab + .tab { border-left: 0; }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (hover: hover) { .tab:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); } }

/* Autocompletado */
.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.12); max-height: 352px; overflow-y: auto; }
.ac-list li { padding: 11px 16px; font-size: 15px; cursor: pointer; border-bottom: 1px solid #f1ece3; color: var(--ink); line-height: 1.35; }
.ac-list li:last-child { border-bottom: 0; }
.ac-list li small { color: var(--gold-dark); font-size: 13px; }
.ac-list li.on, .ac-list li:hover { background: var(--cream); }
.ac-list li.ac-empty { color: #8a847a; cursor: default; }
.ac-list li.ac-empty:hover { background: #fff; }

/* Franja Comprar / Alquilar / Vender */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--cream); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { padding: 48px 32px; border-left: 1px solid var(--line-soft); transition: background .2s; }
.strip-item:first-child { border-left: 0; }
.strip-item:hover { background: rgba(255,255,255,.5); }
.strip-item h3 { font-family: var(--serif); font-size: 30px; margin: 22px 0 10px; color: var(--ink); }
.strip-item p { color: #3d3a35; margin-bottom: 18px; }
.strip-arrow { color: var(--gold); display: inline-flex; transition: transform .2s; }
.strip-item:hover .strip-arrow { transform: translateX(6px); }

/* Secciones */
.sec { padding: 110px 0; }
.sec-linen { background: var(--linen); }
.sec-border { border-top: 1px solid var(--line-soft); }
.sec-head { margin-bottom: 60px; }
.sec-head .h2 { margin-top: 0; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.area { background: #fff; border: 1px solid var(--line-soft); padding: 44px 36px; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.area:hover { box-shadow: 0 18px 44px rgba(40,30,10,.08); transform: translateY(-2px); }
.area-name { font-family: var(--serif); font-size: 28px; letter-spacing: .16em; color: var(--ink); margin: 26px 0 8px; font-weight: 600; }
.area-name span { color: var(--gold); letter-spacing: .04em; font-style: italic; font-weight: 500; }
.area-sub { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.area-desc { color: #33302b; flex: 1; margin-bottom: 26px; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.why-num { display: block; font-family: var(--serif); font-size: 34px; color: var(--gold); font-weight: 500; margin-bottom: 26px; }
.why-item h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin-bottom: 14px; font-weight: 600; }
.why-item p { color: #33302b; }

.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 50px; }
.divider span { width: 80px; height: 1px; background: var(--gold); opacity: .6; }
.divider i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.checks { list-style: none; padding: 0; margin: 34px 0 40px; display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.checks li { display: flex; align-items: center; gap: 8px; color: #3d3a35; }
.checks .ic { color: var(--gold); }

/* Carrusel y tarjetas */
.carousel { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; }
.car-btn { position: absolute; top: 38%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.car-prev { left: -22px; } .car-next { right: -22px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); transition: box-shadow .25s; height: 100%; }
.pcard:hover { box-shadow: 0 18px 44px rgba(40,30,10,.1); }
.pcard-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--linen); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold); }
.pcard-badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--cream); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; }
.pcard-badge.is-res { background: var(--gold); }
.pcard-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-price { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--ink); }
.pcard-title { font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.pcard-loc { color: var(--gold-dark); font-size: 14px; margin-bottom: 12px; }
.pcard-meta { display: flex; gap: 18px; flex-wrap: wrap; color: #4a463f; font-size: 14px; margin-top: auto; padding-top: 14px; border-top: 1px solid #f1ece3; }
.pcard-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pcard-meta .ic { color: var(--gold); }

/* Cabeceras de páginas interiores */
.phead { padding: 90px 0 70px; border-bottom: 1px solid var(--line-soft); }
.phead-title { font-family: var(--serif); font-size: clamp(42px, 6vw, 72px); font-weight: 600; line-height: 1.05; color: var(--ink); }
.phead-lead { font-size: 18px; color: #3d3a35; max-width: 640px; margin: 24px auto 0; }
.phead .btn-row { margin-top: 40px; }
.phead.center .eyebrow { margin-bottom: 20px; }

/* Listado de viviendas */
.lhead { padding: 70px 0 44px; }
.lbar { background: var(--linen); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 20px 0; }
.lbar form { display: grid; grid-template-columns: 220px 1fr 1fr 150px 150px; gap: 12px; align-items: center; }
.lbar .locfield .lbl { display: none; }
.lbar .tabs { height: 46px; }
.lbar .inp { height: 46px; }
.lbar .btn { min-height: 46px; }
.lfilters { background: #fff; border-bottom: 1px solid var(--line-soft); padding: 30px 0; }
.lfilters[hidden] { display: none; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fchecks { display: flex; gap: 26px; flex-wrap: wrap; margin: 24px 0; }
.chk { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.chk input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--gold); background: #fff; display: inline-grid; place-content: center; margin: 0; flex-shrink: 0; cursor: pointer; }
.chk input:checked { background: var(--gold); }
.chk input:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.fbtns { display: flex; gap: 12px; }
.lres { padding: 34px 0 110px; }
.lres-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.empty { text-align: center; padding: 70px 0; }
.empty h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 10px; }
.empty .btn { margin-top: 18px; }

/* Ficha de vivienda */
.pd { padding: 40px 0 110px; }
.pd-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gold-dark); margin-bottom: 26px; }
.gal { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 44px; }
.gal-main { aspect-ratio: 16/10; background: var(--linen); overflow: hidden; position: relative; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.gal-side div { background: var(--linen); overflow: hidden; }
.gal-side img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumbs { display: flex; gap: 8px; overflow-x: auto; margin: -34px 0 40px; }
.gal-thumbs button { border: 2px solid transparent; padding: 0; background: none; width: 96px; height: 70px; flex-shrink: 0; }
.gal-thumbs button.on { border-color: var(--gold); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal-count { position: absolute; right: 14px; bottom: 14px; background: rgba(20,20,20,.8); color: #fff; font-size: 13px; padding: 5px 10px; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; }
.gal-nav.prev { left: 14px; } .gal-nav.next { right: 14px; }
.pd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.pd-title { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); line-height: 1.1; margin-bottom: 10px; color: var(--ink); }
.pd-loc { color: var(--gold-dark); margin-bottom: 26px; }
.pd-price { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--ink); margin-bottom: 28px; }
.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 40px; }
.pd-stats div { padding: 20px 0; text-align: center; }
.pd-stats div + div { border-left: 1px solid var(--line-soft); }
.pd-stats strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--ink); }
.pd-stats span { font-size: 13px; color: var(--muted); }
.pd h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 18px; color: var(--ink); }
.pd-desc { margin-bottom: 44px; color: #2c2a26; }
.feat { list-style: none; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.feat li { display: flex; align-items: center; gap: 10px; }
.feat .ic { color: var(--gold); }
.pd-aside { position: sticky; top: 120px; background: #fff; border: 1px solid var(--line-soft); padding: 32px; }
.pd-aside h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 18px; }
.pd-aside .btn { width: 100%; margin-bottom: 12px; }
.pd-ref { font-size: 13px; color: var(--muted); margin-top: 8px; }
.pd-mbar { display: none; }

/* Formularios */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.fld { display: flex; flex-direction: column; }
.fld .lbl2 { font-size: 15px; font-weight: 500; color: #3a3630; margin-bottom: 8px; }
.err { color: #b23b2b; font-size: 13px; margin-top: 6px; }
.fld.has-err .inp { border-color: #b23b2b; }
.privacy { font-size: 15px; }
.privacy a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding: 80px 0 110px; }
.card { background: #fff; border: 1px solid var(--line-soft); padding: 44px; }
.card h2 { font-family: var(--serif); font-size: 32px; margin-bottom: 28px; color: var(--ink); }
.cinfo { list-style: none; padding: 0; margin: 0; }
.cinfo li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #f1ece3; }
.cinfo li:last-child { border-bottom: 0; }
.cinfo .ic { color: var(--gold); margin-top: 3px; }
.cinfo small { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
a.ulink { border-bottom: 1px solid transparent; transition: border-color .2s; }
a.ulink:hover { border-color: var(--gold); }

/* Vender */
.steps { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
.step { background: #fff; border: 1px solid var(--line-soft); padding: 30px 40px; display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: start; }
.step-num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); font-weight: 500; }
.step h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 6px; color: var(--ink); }
.step p { margin: 0; color: #33302b; }
.whylist { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; max-width: 760px; }
.whylist li { display: flex; gap: 12px; align-items: center; font-size: 17px; }
.whylist .ic { color: var(--gold); }

/* Quiénes somos */
.story { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.story h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); line-height: 1.1; margin-bottom: 28px; color: var(--ink); }
.story p { color: #2c2a26; font-size: 17px; }
.facts { background: #fff; border: 1px solid var(--line-soft); padding: 12px 34px; }
.facts div { padding: 20px 0; border-bottom: 1px solid #f1ece3; }
.facts div:last-child { border-bottom: 0; }
.facts small { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.facts strong { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value { background: #fff; border: 1px solid var(--line-soft); padding: 34px 28px; }
.value h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 10px; color: var(--ink); }
.value p { margin: 0; color: #33302b; }
.vband { position: relative; height: 60vh; min-height: 380px; overflow: hidden; background: var(--ink); }
.vband video, .vband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vband::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.45); }
.vband-text { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--cream); padding: 0 24px; }
.vband-text h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 56px); font-weight: 500; }
.vband-text p { letter-spacing: .3em; font-size: 13px; text-transform: uppercase; margin-top: 16px; }
.where { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: stretch; }
.where-map { min-height: 340px; border: 1px solid var(--line-soft); background: var(--linen); }
.where-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(.4) sepia(.15); }

/* Blog */
.cats { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.cats a { padding: 10px 22px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; background: #fff; }
.cats a.on, .cats a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.bcard { background: #fff; border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.bcard-img { aspect-ratio: 16/10; background: var(--linen); position: relative; overflow: hidden; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; }
.bcard-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.bcard-play span { width: 60px; height: 60px; border-radius: 50%; background: rgba(20,20,20,.7); display: flex; align-items: center; justify-content: center; }
.bcard-body { padding: 26px; }
.bcard-meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 10px; }
.bcard h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-bottom: 10px; color: var(--ink); }
.article { max-width: 780px; margin: 0 auto; padding: 60px 32px 110px; }
.article h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin-bottom: 18px; color: var(--ink); }
.article-cover { margin: 30px 0; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.video { position: relative; aspect-ratio: 16/9; margin: 30px 0; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose { font-size: 18px; color: #2c2a26; }
.prose h2 { font-family: var(--serif); font-size: 30px; margin: 40px 0 14px; color: var(--ink); }
.prose h3 { font-family: var(--serif); font-size: 24px; margin: 30px 0 10px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--linen); font-weight: 600; }

/* Valorador */
.vz { padding: 70px 0 110px; }
.vz-head { text-align: center; margin-bottom: 50px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 16px; margin-bottom: 30px; }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: #a8895c; }
.vz-title { font-family: var(--serif); font-size: clamp(42px, 6vw, 72px); line-height: 1.05; color: var(--ink); margin-bottom: 14px; }
.vz-sub { font-size: 19px; color: #3d3a35; }
.vz-wrap { max-width: 780px; margin: 0 auto; }
.vz-steps { display: flex; justify-content: space-between; position: relative; margin-bottom: 18px; }
.vz-step { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); z-index: 1; }
.vz-step b { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e4ddd0; color: #6d675d; border: 1px solid #d6cdbd; font-weight: 600; transition: background .3s, color .3s; }
.vz-step.on b, .vz-step.done b { background: #a8895c; color: #fff; border-color: #a8895c; }
.vz-step.on { color: var(--ink); font-weight: 500; }
.vz-bar { height: 6px; background: #e4ddd0; border-radius: 6px; margin-bottom: 40px; overflow: hidden; }
.vz-bar span { display: block; height: 100%; width: 25%; background: #a8895c; transition: width .4s; }
.vz-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 44px; }
.vz-card-head { display: flex; gap: 18px; align-items: center; margin-bottom: 32px; }
.vz-card-head .ibox { width: 56px; height: 56px; border-radius: 50%; background: #f3eee6; border: 0; }
.vz-card-head h2 { font-family: var(--serif); font-size: 30px; color: var(--ink); line-height: 1.1; }
.vz-card-head p { margin: 4px 0 0; color: var(--muted); font-size: 17px; }
.vz-panel[hidden] { display: none; }
.vz-panel .form-grid { gap: 22px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: #fff; font-size: 15px; cursor: pointer; transition: all .15s; }
.opt input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.energy .opt span { min-width: 46px; justify-content: center; font-weight: 600; }
.vz-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 34px; }
.vz-actions .btn { min-width: 160px; }
.vz-note { font-size: 14px; color: var(--muted); background: #f8f5ef; padding: 14px 18px; border-left: 2px solid var(--gold); margin-bottom: 24px; }
.vz-loading { text-align: center; padding: 60px 20px; }
.vz-loading .spin { width: 54px; height: 54px; border: 3px solid #e4ddd0; border-top-color: var(--gold); border-radius: 50%; margin: 0 auto 26px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.vz-loading h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.vz-result .res-range { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; margin: 26px 0 30px; }
.res-box { background: #f8f5ef; border: 1px solid var(--line-soft); padding: 22px 14px; text-align: center; }
.res-box small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.res-box strong { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.res-box.main { background: var(--ink); border-color: var(--ink); }
.res-box.main small { color: #c9a874; }
.res-box.main strong { color: #fff; font-size: 34px; }
.res-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.res-meta div { border: 1px solid var(--line-soft); padding: 16px; }
.res-meta small { display: block; color: var(--muted); font-size: 13px; }
.res-meta strong { font-size: 18px; color: var(--ink); }
.res-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.res-factors h4 { font-family: var(--serif); font-size: 21px; margin-bottom: 10px; }
.res-factors ul { margin: 0; padding-left: 18px; color: #33302b; }
.res-disc { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 18px; }

/* Pie */
.foot { background: var(--ink); color: #cfc9be; padding: 90px 0 0; padding-bottom: 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1.1fr; gap: 50px; padding-bottom: 60px; align-items: start; }
.foot-brand .foot-logo { display: inline-block; margin-bottom: 26px; }
.foot-brand p { max-width: 330px; color: #cfc9be; }
.foot-h { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; color: #fff; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #2c2c2c; }
.foot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.foot-list a { color: #e8e3da; transition: color .2s; }
.foot-list a:hover { color: #c9a874; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; color: #e8e3da; }
.foot-contact .ic { color: #a8895c; margin-top: 3px; }
.foot-bottom { border-top: 1px solid #2c2c2c; padding: 26px 32px 30px; font-size: 14px; color: #8d877d; }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #c9a874; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.25); border: 1px solid #3a3a3a; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }

.cookies { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 90; max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.15); padding: 22px 26px; display: flex; gap: 24px; align-items: center; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; font-size: 14px; color: #3d3a35; }
.cookies p a { text-decoration: underline; }
.cookies-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookies .btn { min-height: 44px; padding: 0 18px; font-size: 12px; }

/* Animación de entrada (siempre visible si no hay JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1560px) {
  .nav-phone { display: none; }
  .nav-in { gap: 22px; }
  .nav-links { gap: 20px; margin-left: 4px; }
  .nav-right { gap: 16px; }
}
@media (max-width: 1360px) {
  .nav-links a { font-size: 12px; }
  .nav-links { gap: 16px; }
  .logo-aurora { font-size: 34px; }
  .nav-cta { padding: 0 18px; }
}
@media (max-width: 1100px) {
  .nav-links, .nav-client, .nav-right > .nav-lang { display: none; }
  .nav-burger { display: inline-flex; }
  .search { grid-template-columns: 1fr 1fr; }
  .search-loc { grid-column: 1 / -1; }
  .search-btn { grid-column: 1 / -1; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .lbar form { grid-template-columns: 1fr 1fr; }
  .lbar .tabs { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .pd-grid, .contact-grid, .story, .where { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .areas, .pgrid { grid-template-columns: 1fr 1fr; }
  .car-track { grid-auto-columns: calc((100% - 28px) / 2); }
  .pd-aside { position: static; }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --nav-h: 72px; }
  .nav.is-compact { height: 72px; }
  .container { padding: 0 20px; }
  .nav-in { padding: 0 16px; gap: 10px; }
  .logo-aurora { font-size: 27px; }
  .logo-grup { font-size: 9px; }
  .logo-img { height: 42px; }
  .nav-right { gap: 8px; }
  .nav-cta { min-height: 36px; padding: 0 12px; font-size: 11px; letter-spacing: .08em; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 34px; }
  .hero { padding: 40px 0 56px; }
  .hero-title { font-size: 40px; }
  .hero-lead, .lead, .phead-lead { font-size: 16px; }
  .hero-text .btn { width: 100%; }
  .hero-frame::after { display: none; }
  .hero-frame img { aspect-ratio: 4/3; }
  .search { grid-template-columns: 1fr; padding: 20px; margin-top: 40px; gap: 16px; }
  .search-loc { grid-template-columns: 1fr; gap: 16px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-left: 0; border-top: 1px solid var(--line-soft); padding: 32px 0; }
  .strip-item:first-child { border-top: 0; }
  .areas, .pgrid, .values, .why { grid-template-columns: 1fr; }
  .why { gap: 30px; }
  .car-track { grid-auto-columns: 86%; gap: 16px; }
  .car-btn { display: none; }
  .checks { flex-direction: column; align-items: center; gap: 12px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .h2-xl { font-size: 38px; }
  .phead { padding: 50px 0 44px; }
  .phead-title { font-size: 40px; }
  .phead .btn-row .btn { width: 100%; }
  .lbar form { grid-template-columns: 1fr 1fr; }
  .lbar form .locfield { grid-column: 1 / -1; }
  .lfilters { position: fixed; inset: 0; z-index: 95; overflow-y: auto; padding: 24px 20px 120px; }
  .fgrid { grid-template-columns: 1fr; }
  .fchecks { flex-direction: column; gap: 16px; }
  .fbtns { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; padding: 14px 20px; border-top: 1px solid var(--line-soft); }
  .fbtns .btn { flex: 1; }
  .lres-top .view-toggle { display: none; }
  .gal { grid-template-columns: 1fr; }
  .gal-side { display: none; }
  .gal-thumbs { margin-top: -30px; }
  .pd-stats { grid-template-columns: repeat(2, 1fr); }
  .pd-stats div:nth-child(3) { border-left: 0; }
  .pd-stats div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .feat { grid-template-columns: 1fr; }
  .pd-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line-soft); padding: 10px 16px; gap: 10px; }
  .pd-mbar .btn { flex: 1; min-height: 48px; padding: 0 10px; }
  body.has-mbar { padding-bottom: 72px; }
  body.has-mbar .wa-float { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .card { padding: 28px 22px; }
  .contact-grid { padding: 40px 0 70px; gap: 30px; }
  .step { grid-template-columns: 1fr; padding: 26px 22px; gap: 8px; }
  .whylist { grid-template-columns: 1fr; }
  .vz { padding: 40px 0 70px; }
  .vz-card { padding: 26px 20px; border-radius: 10px; }
  .vz-step span { display: none; }
  .vz-actions { flex-direction: column-reverse; }
  .vz-actions .btn { width: 100%; }
  .vz-result .res-range, .res-meta, .res-factors { grid-template-columns: 1fr; }
  .foot { padding-top: 56px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 90px; }
  .foot-bottom { padding: 22px 20px 90px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  body.is-typing .wa-float { display: none; }
  .cookies { left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; padding: 20px; gap: 14px; }
  .cookies-btns { flex-direction: column; }
  .cookies .btn { width: 100%; }
  .vband { height: 50vh; min-height: 300px; }
  .article { padding: 40px 20px 70px; }
  .prose { font-size: 16px; }
}
@media (max-width: 380px) {
  .logo-aurora { font-size: 23px; }
  .nav-cta { padding: 0 9px; font-size: 10px; }
}
/* En formularios, las etiquetas de población/barrio igual que el resto */
.vz-card .locfield .lbl, .card .locfield .lbl { font-size: 15px; font-weight: 500; color: #3a3630; letter-spacing: 0; text-transform: none; margin-bottom: 8px; }
.vz-card .locfield[data-loc="barrio"] .lbl::after { content: " (opcional)"; font-weight: 400; color: var(--muted); }
.lang-ca .vz-card .locfield[data-loc="barrio"] .lbl::after { content: " (opcional)"; }

.res-summary { font-size: 17px; line-height: 1.6; color: #2c2a26; background: #f8f5ef; border-left: 2px solid var(--gold); padding: 18px 22px; margin-bottom: 30px; }
.res-tips { margin: 0 0 30px; padding-left: 18px; color: #33302b; }
.res-tips li { margin-bottom: 6px; }
[data-r="zonebox"] p { color: #33302b; margin-bottom: 30px; }
.res-pdf { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 6px 0 26px; padding: 22px; border: 1px solid var(--line-soft); background: #fff; }
@media (max-width: 767px) { .res-pdf .btn { width: 100%; } }

/* ===================== Toque innovador ===================== */
/* Brillo "aurora" animado de fondo */
.hero, .sec-dark, .vz { position: relative; overflow: hidden; }
.hero > .container, .sec-dark > .container, .vz > .container { position: relative; z-index: 1; }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none; z-index: 0; filter: blur(70px); opacity: .55; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -8%; background: radial-gradient(circle, rgba(201,168,116,.55), transparent 65%); }
.aurora span:nth-child(2) { width: 38vw; height: 38vw; left: 66%; top: 28%; background: radial-gradient(circle, rgba(222,186,170,.45), transparent 65%); animation-duration: 28s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 34vw; height: 34vw; left: 2%; top: 46%; background: radial-gradient(circle, rgba(214,201,172,.5), transparent 65%); animation-duration: 32s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6vw, 4vw) scale(1.12); } 100% { transform: translate(4vw, -3vw) scale(.94); } }
.aurora-dark { opacity: .7; inset: -30% -10%; height: 160%; }
.aurora-dark span { mix-blend-mode: screen; }
.aurora-dark span:nth-child(1) { background: radial-gradient(circle, rgba(168,137,92,.55), transparent 62%); left: 55%; top: 0; }
.aurora-dark span:nth-child(2) { background: radial-gradient(circle, rgba(120,96,140,.35), transparent 62%); left: 5%; top: 20%; }
.aurora-dark span:nth-child(3) { background: radial-gradient(circle, rgba(201,168,116,.3), transparent 62%); left: 35%; top: 50%; }

/* Entrada del titular línea a línea */
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > * { display: inline-block; }
.js .hero-title .ln > *, .js .rise { opacity: 0; transform: translateY(105%); animation: rise .95s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: var(--d, 0s); }
.js .rise { transform: translateY(18px); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Foto con zoom lento y tarjeta flotante de valoración con IA */
.hero-img { position: relative; z-index: 1; overflow: hidden; }
.hero-img img { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-media { position: relative; }
.ai-card { position: absolute; z-index: 3; left: -44px; bottom: -36px; width: min(340px, 86%); padding: 20px 20px 16px; background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 24px 60px rgba(40,30,10,.18); border-radius: 18px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); padding: 6px 12px; border-radius: 999px; background: linear-gradient(90deg, rgba(201,168,116,.18), rgba(222,186,170,.25)); border: 1px solid rgba(168,137,92,.3); }
.ai-badge i { width: 7px; height: 7px; border-radius: 50%; background: #a8895c; box-shadow: 0 0 0 0 rgba(168,137,92,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(168,137,92,0); } 100% { box-shadow: 0 0 0 0 rgba(168,137,92,0); } }
.ai-q { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); margin: 12px 0 12px; line-height: 1.1; }
.ai-row { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; }
.ai-in { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; color: var(--ink); }
.ai-go { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.ai-go:hover { transform: translateX(2px); background: #2b2b2b; }
.ai-card small { display: block; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* Cinta de municipios */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line-soft); padding: 26px 0; background: var(--cream); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 48s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3vw, 40px); color: var(--ink); white-space: nowrap; }
.marquee span:nth-child(4n+1) { color: var(--gold); }
.marquee i { font-style: normal; color: var(--gold); font-size: 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sección oscura de valoración */
.sec-dark { background: #141414; color: var(--cream); }
.sec-dark .h2 { color: #fff; margin-top: 26px; }
.sec-dark .h2 em { color: #c9a874; font-style: italic; font-weight: 500; }
.sec-dark .lead, .sec-dark .checks li { color: #d8d2c7; }
.sec-dark .checks .ic { color: #c9a874; }
.ai-badge-dark { color: #e7d3b0; background: rgba(201,168,116,.12); border-color: rgba(201,168,116,.35); }
.btn-glow { position: relative; box-shadow: 0 0 0 0 rgba(201,168,116,.5); animation: glow 2.8s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 34px 2px rgba(201,168,116,.45); } }

/* Brillo dorado al pasar por las tarjetas */
.pcard, .area, .value { position: relative; overflow: hidden; }
.pcard::after, .area::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); pointer-events: none; transition: left .9s ease; }
.pcard:hover::after, .area:hover::after { left: 130%; }

/* Barra de progreso de lectura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #856A42, #c9a874, #deb9a9); }

/* Valorador: análisis con IA en directo */
.vz-loading .ai-ring { position: relative; width: 92px; height: 92px; margin: 0 auto 26px; }
.vz-loading .ai-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #856A42, #deb9a9, #c9a874, #856A42); animation: spin 2.2s linear infinite; }
.vz-loading .ai-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.vz-loading .ai-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; color: var(--gold); }
.ai-steps { list-style: none; padding: 0; margin: 26px auto 0; max-width: 360px; text-align: left; }
.ai-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: #b5aea3; transition: color .3s; }
.ai-steps li i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #ddd3c2; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; transition: all .3s; }
.ai-steps li.on { color: var(--ink); }
.ai-steps li.on i { border-color: var(--gold); border-top-color: transparent; animation: spin .9s linear infinite; }
.ai-steps li.done { color: var(--ink); }
.ai-steps li.done i { background: var(--gold); border-color: var(--gold); color: #fff; animation: none; }
.ai-steps li.done i::before { content: "✓"; }
.res-range { position: relative; }
.res-gauge { margin: -6px 0 30px; }
.res-gauge-bar { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, #ece6db, #c9a874 50%, #ece6db); }
.res-gauge-dot { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--ink); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: left 1.4s cubic-bezier(.2,.75,.2,1); }
.res-gauge-lbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: .06em; text-transform: uppercase; }
.vz-result .ai-badge { margin-bottom: 18px; }
.vz-result.is-ai .vz-card-head .ibox { background: linear-gradient(135deg, #c9a874, #deb9a9); color: #fff; }

@media (max-width: 900px) {
  .ai-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -40px; margin-left: 0; }
}
@media (max-width: 767px) {
  .aurora { filter: blur(50px); opacity: .45; }
  .aurora span:nth-child(1) { width: 90vw; height: 90vw; left: 20%; }
  .ai-card { margin-top: -30px; border-radius: 14px; animation: none; }
  .marquee { padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora span, .hero-img img, .ai-card, .marquee-track, .btn-glow, .ai-badge i { animation: none !important; }
  .js .hero-title .ln > *, .js .rise { animation: none; opacity: 1; transform: none; }
}
[hidden] { display: none !important; }

/* =========================================================
   Efectos v5 — intro, cursor, brillo dorado, tarjetas 3D,
   botones magnéticos, revelado de imágenes y textura
   ========================================================= */

/* Intro (solo la primera visita de la sesión) */
.intro { position: fixed; inset: 0; z-index: 2000; background: var(--ink); display: flex; align-items: center; justify-content: center; pointer-events: none;
  animation: introOut .7s cubic-bezier(.7,0,.2,1) 1.05s forwards; }
.intro-logo { font-family: var(--serif); color: var(--cream); text-align: center; line-height: 1; }
.intro-logo small { display: block; font-size: 12px; letter-spacing: .5em; color: var(--gold); margin-bottom: 10px; opacity: 0; animation: introIn .6s ease .1s forwards; }
.intro-logo b { display: block; font-weight: 500; font-size: clamp(40px, 7vw, 72px); letter-spacing: .28em; padding-left: .28em; opacity: 0; filter: blur(8px); animation: introIn .8s ease .2s forwards; }
.intro-line { display: block; height: 1px; width: 0; margin: 18px auto 0; background: var(--gold); animation: introLine .8s cubic-bezier(.6,0,.2,1) .35s forwards; }
@keyframes introIn { to { opacity: 1; filter: none; } }
@keyframes introLine { to { width: 120px; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); } }
.intro { clip-path: inset(0 0 0 0); }
.has-intro .hero-title .ln > *, .has-intro .rise { animation-delay: calc(var(--d, 0s) + 1.1s) !important; }

/* Textura de grano muy sutil (aspecto editorial) */
body::after { content: ""; position: fixed; inset: -50%; z-index: 1500; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(0,0); } }

/* Brillo dorado que recorre los textos en cursiva */
.hero-title em, .h2 em, .area-name span { background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 38%, #e9d3a6 50%, var(--gold) 62%, var(--gold) 100%);
  background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: goldShine 6s ease-in-out infinite; }
@keyframes goldShine { 0%, 15% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }

/* Línea dorada que se dibuja bajo los títulos de sección */
.sec-head .h2 { position: relative; }
.sec-head .h2::after { content: ""; display: block; height: 2px; width: 64px; margin-top: 18px; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1) .2s; }
.sec-head.center .h2::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.sec-head.fx-in .h2::after { transform: scaleX(1); }

/* Cursor personalizado (solo ratón) */
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; z-index: 2100; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); }
.cur-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(133,106,66,.55); transition: opacity .3s, width .25s, height .25s, margin .25s, background .25s, border-color .25s; }
.cur-on .cur-dot, .cur-on .cur-ring { opacity: 1; }
.cur-hover .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201,168,116,.12); border-color: rgba(133,106,66,.25); }
.cur-down .cur-ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }

/* Tarjetas con inclinación 3D y foco de luz que sigue al ratón */
.fx-tilt { transform-style: preserve-3d; will-change: transform; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.fx-tilt:not(.ai-card) { position: relative; }
.fx-tilt.is-tilting { transition: transform .08s linear, box-shadow .25s; }
.fx-tilt::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,236,200,.28), transparent 45%); }
.fx-tilt:hover::before { opacity: 1; }

/* Botones magnéticos */
.fx-mag { transition: transform .35s cubic-bezier(.2,.7,.2,1), background .2s, color .2s, border-color .2s; will-change: transform; }

/* Imágenes que se revelan con cortina al aparecer */
.js .fx-wipe { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.js .fx-wipe.fx-in { clip-path: inset(0 0 0 0); }
.js .fx-wipe img { transform: scale(1.15); transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.js .fx-wipe.fx-in img { transform: scale(1); }

/* Aparición escalonada de los elementos de una cuadrícula */
.js .fx-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 110ms); }
.js .fx-stagger.fx-in > * { opacity: 1; transform: none; }

/* Parallax suave en la foto de portada */
.hero-img { overflow: hidden; }
.hero-img img { will-change: transform; }

@media (hover: none), (pointer: coarse) { .cur-dot, .cur-ring { display: none; } .fx-tilt::before { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; } .has-intro .hero-title .ln > *, .has-intro .rise { animation-delay: var(--d, 0s) !important; }
  body::after { animation: none; } .hero-title em, .h2 em, .area-name span { animation: none; }
  .js .fx-wipe, .js .fx-wipe img, .js .fx-stagger > * { clip-path: none; transform: none; opacity: 1; transition: none; }
  .sec-head .h2::after { transform: none; transition: none; } .cur-dot, .cur-ring { display: none; }
}

/* =========================================================
   Ficha de inmueble v2 — galería grande + miniaturas
   ========================================================= */
.pdx { padding: 34px 0 90px; }
.pdx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 26px; }
.pdx-title { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.05; color: var(--ink); margin: 0 0 10px; font-weight: 600; }
.pdx-loc { color: var(--gold-dark); display: flex; align-items: center; gap: 6px; margin: 0; }
.pdx-pricebox { text-align: right; flex-shrink: 0; }
.pdx-price { font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 600; color: var(--ink); line-height: 1; }
.pdx-m2 { margin-top: 8px; font-size: 13px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* Galería */
.pgal { margin-bottom: 34px; }
.pgal-stage { position: relative; aspect-ratio: 16/9; max-height: 680px; width: 100%; background: var(--ink); overflow: hidden; }
.pgal-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .45s ease; cursor: zoom-in; }
.pgal-img.on { opacity: 1; }
.pgal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(20,20,20,.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.pgal-nav:hover { background: var(--gold); border-color: var(--gold); }
.pgal-nav.prev { left: 18px; } .pgal-nav.next { right: 18px; }
.pgal-count { position: absolute; left: 18px; bottom: 16px; z-index: 2; background: rgba(20,20,20,.7); color: var(--cream); font-size: 13px; letter-spacing: .12em; padding: 7px 14px; }
.pgal-count b { color: #fff; font-weight: 600; }
.pgal-full { position: absolute; right: 18px; bottom: 16px; z-index: 2; width: 40px; height: 40px; border: 0; background: rgba(20,20,20,.7); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pgal-full:hover { background: var(--gold); }
.pgal-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 6px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.pgal-thumbs button { flex: 0 0 auto; width: 128px; height: 86px; padding: 0; border: 0; background: var(--linen); cursor: pointer; position: relative; opacity: .55; transition: opacity .2s; scroll-snap-align: center; }
.pgal-thumbs button::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color .2s; }
.pgal-thumbs button:hover { opacity: .9; }
.pgal-thumbs button.on { opacity: 1; }
.pgal-thumbs button.on::after { border-color: var(--gold); }
.pgal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pantalla completa */
.pbox { position: fixed; inset: 0; z-index: 3000; background: rgba(12,12,12,.96); display: flex; align-items: center; justify-content: center; }
.pbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.pbox-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; cursor: pointer; }
.pbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 20px; }
.pbox-nav.prev { left: 10px; } .pbox-nav.next { right: 10px; }
.pbox-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--cream); font-size: 13px; letter-spacing: .2em; }

/* Datos clave */
.pdx-stats { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line-soft); margin-bottom: 56px; }
.pdx-stats div { padding: 24px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pdx-stats div + div { border-left: 1px solid var(--line-soft); }
.pdx-stats svg { color: var(--gold); }
.pdx-stats strong { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.pdx-stats span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.pdx-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 64px; align-items: start; }
.pdx-grid > * { min-width: 0; }
.pdx-sec { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.pdx-sec:last-child { border-bottom: 0; }
.pdx-h { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); margin: 0 0 20px; display: flex; align-items: center; gap: 14px; }
.pdx-h::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.pdx-desc { color: #2c2a26; font-size: 16.5px; line-height: 1.8; position: relative; }
.pdx-desc.is-long { max-height: 300px; overflow: hidden; }
.pdx-desc.is-long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(transparent, var(--cream)); }
.pdx-more { margin-top: 14px; background: none; border: 0; padding: 0; color: var(--gold-dark); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.pdx-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pdx-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; background: #fff; border: 1px solid var(--line-soft); font-size: 15px; }
.pdx-chips svg { color: var(--gold); }
.pdx-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.pdx-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.pdx-dl dt { color: var(--muted); font-size: 14px; }
.pdx-dl dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; }
.pdx-energy { display: flex; flex-direction: column; gap: 5px; max-width: 360px; }
.pdx-energy span { width: var(--w); color: #fff; font-weight: 600; font-size: 13px; padding: 5px 12px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); opacity: .35; transition: opacity .2s; }
.pdx-energy span.on { opacity: 1; transform: translateX(6px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.e-a { background: #0b8a3e; } .e-b { background: #3aa935; } .e-c { background: #a6c636; } .e-d { background: #f2d31b; color: #333 !important; } .e-e { background: #f0a420; } .e-f { background: #e5621f; } .e-g { background: #d32128; }
.pdx-loc2 { display: flex; align-items: center; gap: 6px; color: var(--gold-dark); margin: -6px 0 14px; }
.pdx-map { aspect-ratio: 16/8; background: var(--linen); border: 1px solid var(--line-soft); margin-bottom: 10px; }
.pdx-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.15); }
.small { font-size: 13px; }
.pdx-calc .calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 26px; }
.pdx-calc label { display: flex; flex-direction: column; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdx-calc label b { font-family: var(--serif); font-size: 24px; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
.pdx-calc input[type=range] { accent-color: var(--gold); width: 100%; }
.calc-out { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; background: var(--ink); color: var(--cream); padding: 24px 28px; margin-bottom: 12px; }
.calc-out div { display: flex; flex-direction: column; gap: 4px; }
.calc-out span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light, #c9a874); }
.calc-out strong { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.calc-out .btn { margin-left: auto; border-color: var(--cream); color: var(--cream); }
.calc-out .btn:hover { background: var(--cream); color: var(--ink); }
.pdx-aside { top: 110px; padding: 34px 32px; box-shadow: 0 24px 60px rgba(40,30,10,.08); }
.pdx-aside-price { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--ink); padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.btn-gold-solid { background: var(--gold); color: #fff; border-color: var(--gold); width: 100%; }
.btn-gold-solid:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.pdx-trust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.pdx-trust svg { color: var(--gold); }
.pdx-similar { margin-top: 70px; padding-top: 60px; border-top: 1px solid var(--line-soft); }
@media (max-width: 980px) {
  .pdx-grid { grid-template-columns: 1fr; gap: 20px; }
  .pdx-aside { position: static; }
  .pdx-stats { grid-template-columns: repeat(3, 1fr); }
  .pdx-stats div:nth-child(4) { border-left: 0; }
  .pdx-stats div:nth-child(n+4) { border-top: 1px solid var(--line-soft); }
}
@media (max-width: 640px) {
  .pdx-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pdx-pricebox { text-align: left; }
  .pgal { margin-left: -20px; margin-right: -20px; }
  .pgal-stage { aspect-ratio: 4/3; }
  .pgal-nav { width: 42px; height: 42px; }
  .pgal-nav.prev { left: 10px; } .pgal-nav.next { right: 10px; }
  .pgal-thumbs { padding-left: 20px; padding-right: 20px; }
  .pgal-thumbs button { width: 92px; height: 64px; }
  .pdx-stats { grid-template-columns: repeat(2, 1fr); }
  .pdx-stats div:nth-child(n) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .pdx-stats div:nth-child(even) { border-left: 1px solid var(--line-soft); }
  .pdx-stats div:nth-child(-n+2) { border-top: 0; }
  .pdx-dl { grid-template-columns: 1fr; }
  .pdx-calc .calc-grid { grid-template-columns: 1fr; }
  .calc-out .btn { margin-left: 0; width: 100%; }
}

/* =========================================================
   Calculadora de hipoteca (Aurora Capital) + arreglos v7
   ========================================================= */
.mc { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); padding: 44px 44px 30px !important; border-bottom: 0 !important; isolation: isolate; }
.mc-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(60px); opacity: .55; }
.mc-glow span { position: absolute; border-radius: 50%; animation: drift 18s ease-in-out infinite alternate; }
.mc-glow span:nth-child(1) { width: 380px; height: 380px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(201,168,116,.55), transparent 65%); }
.mc-glow span:nth-child(2) { width: 320px; height: 320px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(120,96,140,.4), transparent 65%); animation-duration: 24s; }
.mc-eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #c9a874; margin: 0 0 8px; }
.mc-title { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 40px); font-weight: 500; margin: 0 0 30px; color: var(--cream); }
.mc-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.mc-body > * { min-width: 0; }
.mc-controls { display: flex; flex-direction: column; gap: 24px; }
.mc-field { display: flex; flex-direction: column; gap: 10px; }
.mc-lbl { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245,241,234,.65); }
.mc-lbl b { font-family: var(--serif); font-size: 22px; letter-spacing: 0; text-transform: none; color: #fff; font-weight: 600; }
.mc-sub { color: #c9a874; font-size: 13px; margin-top: -4px; }
.mc-money { display: flex; align-items: baseline; gap: 8px; border-bottom: 1px solid rgba(245,241,234,.25); padding-bottom: 6px; font-family: var(--serif); font-size: 30px; color: #fff; }
.mc-money input { flex: 1; min-width: 0; width: 100%; background: none; border: 0; color: #fff; font: inherit; padding: 0; outline: none; }
.mc-money:focus-within { border-color: #c9a874; }
.mc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #c9a874 0, #e9d3a6 var(--p, 30%), rgba(245,241,234,.18) var(--p, 30%)); }
.mc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid #c9a874; box-shadow: 0 0 0 6px rgba(201,168,116,.18); transition: transform .15s; }
.mc-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.mc-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid #c9a874; }
.mc-pills { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.mc-pills button { min-width: 48px; height: 40px; border: 1px solid rgba(245,241,234,.25); background: transparent; color: var(--cream); font-family: var(--serif); font-size: 18px; cursor: pointer; transition: all .2s; }
.mc-pills button:hover { border-color: #c9a874; }
.mc-pills button.on { background: #c9a874; border-color: #c9a874; color: var(--ink); font-weight: 600; }
.mc-unit { margin-left: 6px; font-size: 13px; color: rgba(245,241,234,.6); }
.mc-result { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mc-ring { position: relative; width: min(260px, 100%); aspect-ratio: 1; }
.mc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mc-ring circle { fill: none; stroke-width: 14; transition: stroke-dasharray .6s cubic-bezier(.2,.7,.2,1), stroke-dashoffset .6s cubic-bezier(.2,.7,.2,1); }
.mc-track { stroke: rgba(245,241,234,.08); }
.mc-cap { stroke: #c9a874; stroke-linecap: round; }
.mc-int { stroke: #7d6a9a; stroke-linecap: round; }
.mc-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.mc-center span { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgba(245,241,234,.6); }
.mc-center strong { font-family: var(--serif); font-size: 52px; line-height: 1; font-weight: 600; color: #fff; margin: 6px 0 2px; }
.mc-center em { font-style: normal; font-size: 13px; color: #c9a874; letter-spacing: .1em; }
.mc-legend { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 320px; }
.mc-legend li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(245,241,234,.1); font-size: 14px; color: rgba(245,241,234,.8); }
.mc-legend li b { margin-left: auto; color: #fff; font-weight: 500; white-space: nowrap; }
.mc-legend li.tot { border-bottom: 0; color: #fff; }
.mc-legend li.tot b { font-family: var(--serif); font-size: 20px; }
.mc-legend i { width: 10px; height: 10px; border-radius: 50%; }
.c-cap { background: #c9a874; } .c-int { background: #7d6a9a; }
.mc-insights { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 34px; align-items: stretch; }
.mc-insights > div { border: 1px solid rgba(245,241,234,.14); background: rgba(255,255,255,.04); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; backdrop-filter: blur(4px); }
.mc-insights span { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #c9a874; }
.mc-insights strong { font-family: var(--serif); font-size: 26px; font-weight: 600; color: #fff; white-space: nowrap; }
.mc-insights small { font-size: 12px; color: rgba(245,241,234,.55); line-height: 1.4; }
.mc-cta { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; background: var(--cream); color: var(--ink); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-align: center; transition: background .2s, gap .2s; }
.mc-cta:hover { background: #e9d3a6; gap: 16px; }
.mc-note { font-size: 12px; color: rgba(245,241,234,.45); margin: 18px 0 0; }
@media (max-width: 760px) {
  .mc { padding: 32px 22px 24px !important; margin-left: -20px; margin-right: -20px; }
  .mc-body { grid-template-columns: 1fr; gap: 34px; }
  .mc-insights { grid-template-columns: 1fr; }
  .mc-cta { min-height: 54px; }
  .mc-center strong { font-size: 44px; }
}

/* El desplegable del buscador de la portada ya no se corta */
.hero { overflow: visible; z-index: 3; }
.hero > .aurora { inset: 0; height: 100%; overflow: hidden; }

/* =========================================================
   Página Hipotecas (Aurora Capital) v8
   ========================================================= */
.btn-ghost-light { border: 1px solid rgba(245,241,234,.4); color: var(--cream); background: transparent; }
.btn-ghost-light:hover { border-color: #c9a874; color: #fff; }
.hip-hero { padding: 110px 0 100px; }
.hip-hero-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; }
.hip-title { font-family: var(--serif); font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; font-weight: 600; color: #fff; margin: 0 0 24px; }
.hip-title em { display: block; color: #c9a874; font-style: italic; font-weight: 500; }
.hip-lead { font-size: 18px; color: rgba(245,241,234,.78); max-width: 560px; margin-bottom: 34px; }
.hip-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hip-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hip-badges li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border: 1px solid rgba(245,241,234,.14); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.hip-badges svg { color: #c9a874; flex-shrink: 0; margin-top: 3px; }
.hip-badges span { display: flex; flex-direction: column; gap: 3px; color: rgba(245,241,234,.65); font-size: 14px; }
.hip-badges strong { font-family: var(--serif); font-size: 21px; color: #fff; font-weight: 600; }
.hip-calc-sec { padding-top: 90px; }
.hip-tabs { display: flex; justify-content: center; gap: 0; margin: 0 auto 26px; width: fit-content; border: 1px solid var(--line-soft); background: #fff; }
.hip-tabs button { border: 0; background: transparent; padding: 16px 28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all .2s; }
.hip-tabs button.on { background: var(--ink); color: var(--cream); }
.hip-mc { max-width: 1080px; margin: 0 auto; }
.mc-seg { display: flex; border: 1px solid rgba(245,241,234,.25); width: fit-content; max-width: 100%; }
.mc-seg button { border: 0; background: transparent; color: var(--cream); padding: 10px 18px; font-size: 14px; cursor: pointer; transition: all .2s; }
.mc-seg button + button { border-left: 1px solid rgba(245,241,234,.25); }
.mc-seg button.on { background: #c9a874; color: var(--ink); font-weight: 600; }
.mc-seg + .mc-range { margin-top: 10px; }
.mc-own { stroke: rgba(245,241,234,.55); stroke-linecap: round; }
.c-own { background: rgba(245,241,234,.55); }
.mc-ring .mc-own { fill: none; stroke-width: 14; transition: stroke-dasharray .6s cubic-bezier(.2,.7,.2,1), stroke-dashoffset .6s cubic-bezier(.2,.7,.2,1); }
.mc-alert { max-width: 320px; margin: 0; padding: 12px 14px; border-left: 3px solid #e5a24a; background: rgba(229,162,74,.1); color: #f3d6a8; font-size: 13px; line-height: 1.5; }
.hip-big { text-align: center; }
.hip-big span { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(245,241,234,.6); margin-bottom: 10px; }
.hip-big strong { font-family: var(--serif); font-size: clamp(44px, 5vw, 66px); color: #fff; font-weight: 600; line-height: 1; background: linear-gradient(100deg, #fff 20%, #e9d3a6 50%, #fff 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: goldShine 6s ease-in-out infinite; }
.hip-costs { margin-top: 30px; padding-top: 28px; border-top: 1px solid rgba(245,241,234,.12); }
.hip-costs h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: #fff; margin: 0 0 14px; }
.hip-costs table { width: 100%; border-collapse: collapse; }
.hip-costs td { padding: 11px 0; border-bottom: 1px solid rgba(245,241,234,.1); color: rgba(245,241,234,.8); font-size: 15px; }
.hip-costs td:last-child { text-align: right; color: #fff; white-space: nowrap; }
.hip-costs tfoot td { border-bottom: 0; padding-top: 16px; color: #c9a874; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.hip-costs tfoot td:last-child { font-family: var(--serif); font-size: 26px; letter-spacing: 0; text-transform: none; color: #fff; }
.hip-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.hip-steps li { background: #fff; border: 1px solid var(--line-soft); padding: 34px 28px; position: relative; }
.hip-steps li::after { content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 1px; background: var(--gold); }
.hip-steps li:last-child::after { display: none; }
.hip-n { font-family: var(--serif); font-size: 40px; color: var(--gold); display: block; margin-bottom: 14px; line-height: 1; }
.hip-steps h3 { font-family: var(--serif); font-size: 23px; color: var(--ink); margin: 0 0 10px; }
.hip-steps p { color: #3d3a35; margin: 0; font-size: 15px; }
.hip-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hip-types article { border: 1px solid var(--line-soft); background: #fff; padding: 36px 32px; }
.hip-types article.is-mid { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-10px); }
.hip-types h3 { font-family: var(--serif); font-size: 32px; margin: 0 0 12px; color: inherit; }
.hip-types article:not(.is-mid) h3 { color: var(--ink); }
.hip-types p { font-size: 15px; opacity: .85; }
.hip-types ul { list-style: none; padding: 0; margin: 18px 0 0; }
.hip-types li { padding: 8px 0 8px 22px; position: relative; font-size: 14px; border-top: 1px solid rgba(133,106,66,.2); }
.hip-types li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.hip-two { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.hip-docs { list-style: none; padding: 0; margin: 26px 0 0; }
.hip-docs li { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.hip-docs svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.hip-faq { margin-top: 26px; }
.hip-faq details { border-bottom: 1px solid var(--line-soft); }
.hip-faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.hip-faq summary::-webkit-details-marker { display: none; }
.hip-faq summary svg { flex-shrink: 0; color: var(--gold); transition: transform .25s; }
.hip-faq details[open] summary svg { transform: rotate(180deg); }
.hip-faq details p { margin: 0 0 18px; color: #3d3a35; }
.hip-lead-sec { padding: 110px 0; }
.hip-sum { color: #e9d3a6; font-size: 15px; border-left: 2px solid #c9a874; padding-left: 14px; margin: 22px 0 26px; }
.hip-form { background: #fff; padding: 34px; color: var(--ink); }
@media (max-width: 980px) {
  .hip-hero-in, .hip-two { grid-template-columns: 1fr; gap: 40px; }
  .hip-steps { grid-template-columns: 1fr 1fr; }
  .hip-steps li::after { display: none; }
  .hip-types { grid-template-columns: 1fr; }
  .hip-types article.is-mid { transform: none; }
}
@media (max-width: 640px) {
  .hip-hero { padding: 64px 0 60px; }
  .hip-steps { grid-template-columns: 1fr; }
  .hip-tabs { width: 100%; }
  .hip-tabs button { flex: 1; padding: 14px 10px; font-size: 11px; }
  .hip-form { padding: 24px 20px; }
  .hip-form .form-grid { grid-template-columns: 1fr !important; }
  .mc-seg button { padding: 10px 12px; }
}
.mc-more { display: inline-flex; align-items: center; gap: 8px; color: #c9a874; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.mc-pills button { min-width: 42px; } .hip-mc .mc-result .mc-cta { min-height: 52px; padding: 0 30px; }

.mc-money-sm { font-size: 24px; margin-bottom: 4px; }

/* ---------- Tres puertas (Comprar · Alquilar · Vender) ---------- */
.doors { background: var(--cream); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 64px 0 72px; }
.doors-eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 40px; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.doors-eyebrow span { height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.doors-eyebrow span:last-child { transform: scaleX(-1); }
.doors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.door { --mx: 50%; --my: 30%; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 480px; padding: 0 34px 34px; text-align: center; border-radius: 999px 999px 22px 22px / 260px 260px 22px 22px; background: linear-gradient(180deg, #fff 0%, #FBF8F3 100%); border: 1px solid var(--line); overflow: hidden; color: var(--ink); box-shadow: 0 1px 0 rgba(20,20,20,.02); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .5s; }
.door.reveal { transition-delay: calc(var(--i) * .12s); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 70% at 50% 0%, #2a2520 0%, var(--ink) 60%); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .65s cubic-bezier(.7,0,.2,1); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(201,168,118,.35), transparent 65%); transition: opacity .4s; }
.door-frame { position: absolute; inset: 12px; border-radius: inherit; border: 1px solid rgba(133,106,66,.28); pointer-events: none; transition: border-color .5s, inset .5s; }
.door-num { position: absolute; top: 38px; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 120px; line-height: 1; font-weight: 600; color: transparent; -webkit-text-stroke: 1px rgba(133,106,66,.45); letter-spacing: -.02em; transition: transform .6s cubic-bezier(.2,.7,.2,1), -webkit-text-stroke-color .5s; }
.door-icon { margin: 0 auto 18px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--gold); background: var(--cream); border: 1px solid var(--line); transition: background .5s, color .5s, border-color .5s, transform .6s cubic-bezier(.2,.7,.2,1); }
.door-body { display: flex; flex-direction: column; align-items: center; }
.door h3 { font-family: var(--serif); font-size: 40px; margin: 0 0 10px; color: inherit; transition: color .5s; }
.door p { margin: 0 auto 22px; max-width: 26ch; color: #3d3a35; font-size: 15px; transition: color .5s; }
.door-cta { display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,.6); transition: background .5s, color .5s, border-color .5s; }
.door-cta i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); font-style: normal; transition: transform .4s, background .5s, color .5s; }
.door:hover, .door:focus-visible { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(20,20,20,.45); border-color: var(--ink); outline: none; }
.door:hover::before, .door:focus-visible::before { transform: scaleY(1); }
.door:hover::after { opacity: 1; }
.door:hover .door-frame, .door:focus-visible .door-frame { border-color: rgba(201,168,118,.55); inset: 9px; }
.door:hover .door-num, .door:focus-visible .door-num { -webkit-text-stroke-color: rgba(201,168,118,.8); transform: translateX(-50%) translateY(-6px); }
.door:hover .door-icon, .door:focus-visible .door-icon { background: transparent; color: #C9A876; border-color: rgba(201,168,118,.6); transform: rotate(-8deg) scale(1.06); }
.door:hover h3, .door:focus-visible h3 { color: var(--cream); }
.door:hover p, .door:focus-visible p { color: rgba(245,241,234,.72); }
.door:hover .door-cta, .door:focus-visible .door-cta { background: transparent; color: var(--cream); border-color: rgba(201,168,118,.5); }
.door:hover .door-cta i, .door:focus-visible .door-cta i { background: #C9A876; color: var(--ink); transform: translateX(4px); }
@media (max-width: 980px) {
  .doors { padding: 48px 0 56px; }
  .doors-grid { grid-template-columns: 1fr; gap: 18px; max-width: 460px; margin: 0 auto; }
  .door { min-height: 0; padding: 120px 22px 28px; border-radius: 999px 999px 18px 18px / 180px 180px 18px 18px; }
  .door-num { top: 26px; font-size: 84px; }
  .door-icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .door-cta { letter-spacing: .08em; font-size: 11px; }
  .door h3 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { .door, .door::before, .door-num, .door-icon { transition: none; } .door:hover { transform: none; } }

/* ---------- Comparativa de bancos (hipotecas) ---------- */
.hip-banks { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(245,241,234,.12); }
.hb-head { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 18px; }
.hb-head h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; color: #fff; margin: 0 0 8px; }
.hb-head h3 span { color: #c9a874; font-style: italic; }
.hb-sub { font-size: 13px; color: rgba(245,241,234,.55); margin: 0; max-width: 560px; }
.hb-best { text-align: right; padding: 14px 20px; border: 1px solid rgba(201,168,116,.45); background: rgba(201,168,116,.08); flex-shrink: 0; }
.hb-best span { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #c9a874; }
.hb-best strong { display: block; font-family: var(--serif); font-size: 32px; color: #fff; font-weight: 600; line-height: 1.15; }
.hb-best small { color: rgba(245,241,234,.7); font-size: 13px; }
.hb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hb-row { position: relative; display: grid; grid-template-columns: 34px 1.2fr 1fr 1.1fr 1.5fr 96px; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid rgba(245,241,234,.1); background: rgba(255,255,255,.025); isolation: isolate; overflow: hidden; transition: border-color .25s, transform .25s; animation: hbIn .45s both; }
.hb-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); z-index: -1; background: linear-gradient(90deg, rgba(201,168,116,.0), rgba(201,168,116,.10)); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.hb-row:hover { border-color: rgba(201,168,116,.5); transform: translateX(3px); }
.hb-row.top { border-color: #c9a874; background: rgba(201,168,116,.1); }
.hb-row.top .hb-n { color: #1b1712; background: #c9a874; }
.hb-row.off { opacity: .42; }
.hb-row.off:hover { transform: none; border-color: rgba(245,241,234,.1); }
.hb-n { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(201,168,116,.5); color: #c9a874; font-size: 12px; letter-spacing: .05em; }
.hb-bank b { display: block; color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.hb-bank small, .hb-fee small { display: block; color: rgba(245,241,234,.55); font-size: 12px; }
.hb-rate { color: rgba(245,241,234,.9); font-size: 14px; }
.hb-rate span, .hb-rate em { display: block; font-style: normal; font-size: 12px; color: rgba(245,241,234,.55); }
.hb-fee b { color: #fff; font-size: 17px; white-space: nowrap; }
.hb-row.off .hb-fee b { font-size: 13px; white-space: normal; }
.hb-links { font-size: 12px; color: rgba(245,241,234,.6); line-height: 1.4; }
.hb-pick { border: 1px solid #c9a874; background: transparent; color: #c9a874; padding: 9px 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.hb-pick:hover, .hb-row.top .hb-pick { background: #c9a874; color: #1b1712; }
.hb-empty { padding: 18px; color: rgba(245,241,234,.6); border: 1px dashed rgba(245,241,234,.2); }
.hb-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 22px; padding: 22px 24px; background: linear-gradient(110deg, rgba(201,168,116,.16), rgba(201,168,116,.04)); border: 1px solid rgba(201,168,116,.3); }
.hb-cta p { margin: 0; color: rgba(245,241,234,.85); font-size: 15px; max-width: 560px; }
.hb-cta .btn { flex-shrink: 0; white-space: normal; text-align: center; line-height: 1.4; }
@keyframes hbIn { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 900px) {
  .hb-head, .hb-cta { flex-direction: column; align-items: stretch; }
  .hb-best { text-align: left; }
  .hb-row { grid-template-columns: 30px 1fr auto; gap: 8px 12px; }
  .hb-rate, .hb-links { grid-column: 2 / -1; }
  .hb-fee { grid-column: 3; grid-row: 1; text-align: right; }
  .hb-row > span:last-child, .hb-pick { grid-column: 1 / -1; }
}
