/* ============================================================
   VIDARA PROPIEDADES — Sitio público
   ============================================================ */
:root {
  /* Tema Premium — negro & dorado */
  --primary: #0A0A0A;
  --primary-2: #161616;
  --accent: #C9A24B;
  --accent-2: #E8C878;
  --gold: linear-gradient(135deg, #8A6624 0%, #D9B45E 38%, #F3DC94 52%, #C99B45 70%, #8F6B2A 100%);
  --bg: #080808;
  --surface: #111111;
  --surface-2: #181818;
  --surface-3: #202020;
  --ivory: #181818;
  --sand: #202020;
  --line: rgba(201, 162, 75, .18);
  --text: #E8E1D2;
  --heading: #F5ECD7;
  --muted: #9C968A;
  --white: #fff;
  --ok: #4FBF8A;
  --warn: #E0A84A;
  --danger: #E5584B;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5), 0 2px 10px rgba(0,0,0,.35);
  --shadow: 0 14px 34px -14px rgba(0,0,0,.8);
  --shadow-lg: 0 30px 70px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(201,162,75,.12);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--surface-2); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; color: var(--heading); }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: .01em; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-2); box-shadow: var(--shadow); }
.btn-gold { background: var(--accent); color: var(--heading); }
.btn-gold:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-light { background: var(--surface); color: var(--heading); border-color: var(--line); }
.btn-light:hover { border-color: var(--accent); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--surface); transition: .2s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: background .3s, box-shadow .3s, color .3s; color: var(--white); }
.site-header.solid, body:not(.has-hero) .site-header { background: rgba(248, 245, 239, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); color: var(--heading); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; height: 44px; }
.brand img { height: 44px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.solid .brand .logo-dark, body:not(.has-hero) .site-header .brand .logo-dark { display: block; }
.site-header.solid .brand .logo-light, body:not(.has-hero) .site-header .brand .logo-light { display: none; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; opacity: .92; transition: .2s; position: relative; }
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); border-radius: 2px; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { height: 44px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle .ic { width: 28px; height: 28px; }

/* ---------- Hero / Banners ---------- */
.hero { position: relative; min-height: min(92vh, 860px); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; background: var(--primary); }
.hero.compact { min-height: 460px; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.on img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, .55) 0%, rgba(5, 5, 5, .15) 35%, rgba(5, 5, 5, .78) 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 40px) 0 48px; }
.hero-copy { max-width: 760px; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 5rem); font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 56ch; margin: 18px 0 28px; }
.hero .eyebrow { color: var(--accent-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-text { display: none; }
.slide-text.on { display: block; animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-dots { display: flex; gap: 8px; margin-top: 28px; }
.hero-dots button { width: 34px; height: 3px; border: 0; border-radius: 3px; background: rgba(255,255,255,.35); padding: 0; transition: .3s; }
.hero-dots button.on { background: var(--accent); width: 54px; }
.hero-arrows { position: absolute; right: 0; bottom: 0; display: flex; gap: 8px; }
.hero-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.hero-arrows button:hover { background: rgba(255,255,255,.18); }

/* Pestañas de categoría + buscador */
.searchbox { margin-top: 36px; background: rgba(255,255,255,.97); color: var(--text); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 8px; max-width: 1040px; }
.cat-tabs { display: flex; gap: 4px; padding: 6px 6px 10px; }
.cat-tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: .2s; display: inline-flex; gap: 8px; align-items: center; }
.cat-tabs button[aria-selected="true"] { background: var(--primary); color: var(--white); }
.cat-tabs button:not([aria-selected="true"]):hover { color: var(--heading); background: var(--surface-3); }
.search-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; gap: 6px; }
.field { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; transition: .2s; min-width: 0; }
.field:focus-within { border-color: var(--accent); background: var(--surface); }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { border: 0; background: transparent; outline: none; padding: 2px 0; font-weight: 600; font-size: 15px; width: 100%; min-width: 0; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687384' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; background-size: 16px; padding-right: 20px; }
.search-grid .btn { height: auto; min-height: 58px; border-radius: 14px; padding: 0 28px; }

/* ---------- Secciones ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 12px; }
.bg-white { background: var(--surface); }
.bg-dark { background: var(--primary); color: rgba(255,255,255,.86); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark .lead { color: rgba(255,255,255,.7); }

.pill-tabs { display: inline-flex; padding: 4px; background: var(--surface-3); border-radius: 999px; gap: 2px; }
.pill-tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); }
.pill-tabs button[aria-selected="true"] { background: var(--surface); color: var(--heading); box-shadow: var(--shadow-sm); }

/* ---------- Tarjeta de propiedad ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(228, 220, 205, .7); transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column; position: relative; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .shade { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(5,5,5,.55)); pointer-events: none; }
.badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.94); color: var(--heading); backdrop-filter: blur(6px); }
.badge.dark { background: rgba(0, 0, 0, .86); color: var(--white); }
.badge.gold { background: var(--accent); color: var(--heading); }
.badge.ok { background: #E7F4EE; color: var(--ok); }
.badge.warn { background: #FDF3E1; color: var(--warn); }
.badge.muted { background: #ECEEF1; color: #4B5563; }
.fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--heading); transition: .2s; }
.fav:hover { transform: scale(1.08); }
.fav.on { color: #C0392B; }
.fav.on svg path { fill: currentColor; }
.photo-count { position: absolute; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.card-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.card-dots i.on { background: #fff; }
.card-media .nav { position: absolute; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; opacity: 0; transition: .2s; z-index: 2; }
.card-media .nav.prev { left: 10px; } .card-media .nav.next { right: 10px; }
.card:hover .card-media .nav { opacity: 1; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price strong { font-size: 1.5rem; font-weight: 800; color: var(--heading); letter-spacing: -.01em; }
.price .per { color: var(--muted); font-weight: 600; font-size: .95rem; }
.price .alt { color: var(--muted); font-size: .85rem; width: 100%; margin-top: -4px; }
.card h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.35; font-family: var(--sans); }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .92rem; }
.specs { display: flex; gap: 16px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--text); }
.specs span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.specs .ic { color: var(--accent); width: 18px; height: 18px; }
.amen { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); color: var(--heading); }
.chip .ic { width: 15px; height: 15px; color: var(--accent); }
.inv-row { display: flex; gap: 10px; flex-wrap: wrap; }
.inv-row .kpi { flex: 1; min-width: 110px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(135deg, #FBF7EE, #F3EBDA); border: 1px solid #EADFC8; }
.inv-row .kpi b { display: block; font-size: 1.05rem; color: var(--heading); }
.inv-row .kpi small { color: var(--muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 4px; font-size: .88rem; color: var(--muted); }
.card-foot .go { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--heading); }
.card.is-closed .card-media img { filter: grayscale(.6); opacity: .8; }

/* Skeleton */
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, #EEE8DD 25%, #F6F2EA 37%, #EEE8DD 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; height: 440px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card { position: relative; border-radius: 24px; overflow: hidden; min-height: 420px; color: #fff; display: flex; align-items: flex-end; padding: 32px; isolation: isolate; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,.88)); z-index: -1; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card h3 { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 2.2rem; }
.cat-card p { color: rgba(255,255,255,.82); margin: 8px 0 18px; }
.cat-card .cur { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); font-weight: 700; font-size: 12px; letter-spacing: .1em; border: 1px solid rgba(255,255,255,.3); }
.cat-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-2); }

/* ---------- Sectores ---------- */
.sectors { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sector { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; text-align: left; color: inherit; padding: 0; display: flex; flex-direction: column; transition: .35s var(--ease); }
.sector:hover { transform: translateY(-4px); border-color: var(--accent); background: rgba(255,255,255,.07); }
.sector .media { aspect-ratio: 16 / 10; overflow: hidden; }
.sector .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sector:hover .media img { transform: scale(1.05); }
.sector .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sector h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; }
.sector .comunas { font-size: .88rem; color: var(--accent-2); font-weight: 600; }
.sector .desc { font-size: .95rem; color: rgba(255,255,255,.72); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sector .more { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: #fff; }
.sector-detail .hl { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.sector-detail .hl li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; font-weight: 600; font-size: .95rem; }
.sector-detail .hl .ic { color: var(--accent); margin-top: 3px; }

/* ---------- Inversión ---------- */
.inv-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.inv-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lg); }
.inv-media img { width: 100%; height: 100%; object-fit: cover; }
.inv-float { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); padding: 20px; border-radius: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; }
.inv-float b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--heading); line-height: 1; }
.inv-float small { color: var(--muted); font-size: 12px; font-weight: 600; }
.benefits { display: grid; gap: 14px; margin: 28px 0; }
.benefit { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.benefit .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--primary); color: var(--accent-2); display: grid; place-items: center; flex: none; }
.benefit h4 { font-size: 1.02rem; margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); font-size: .94rem; }
.calc { background: var(--surface); border-radius: 22px; padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.calc .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc .out { margin-top: 14px; padding: 16px; border-radius: 14px; background: var(--primary); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc .out b { font-size: 1.6rem; color: var(--accent-2); }

/* ---------- Pasos / Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; counter-reset: s; }
.step { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 2.6rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stats div { padding: 18px; border-left: 2px solid var(--accent); }
.stats b { font-family: var(--serif); font-size: 2.6rem; color: var(--heading); display: block; line-height: 1; }
.stats small { color: var(--muted); font-weight: 600; }

/* ---------- Formularios ---------- */
.form-card { background: var(--surface); border-radius: 26px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.f { display: flex; flex-direction: column; gap: 6px; }
.f label { font-size: 13px; font-weight: 700; color: var(--heading); }
.f input, .f select, .f textarea { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); outline: none; transition: .2s; width: 100%; }
.f textarea { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px rgba(184, 151, 90, .15); }
.f .hint { font-size: 12px; color: var(--muted); }
.f.invalid input, .f.invalid select { border-color: var(--danger); background: #FFF6F5; }
.f .err { font-size: 12px; color: var(--danger); font-weight: 600; display: none; }
.f.invalid .err { display: block; }
.doc-group { display: grid; grid-template-columns: 140px 1fr; gap: 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); gap: 2px; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 8px 14px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--muted); transition: .2s; }
.seg input:checked + span { background: var(--primary); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--heading); margin-top: 2px; }
.reg-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.reg-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.reg-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.reg-points .ic { color: var(--accent); width: 22px; height: 22px; }
.flag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--surface-3); margin-left: 6px; color: var(--heading); }

/* ---------- Listado ---------- */
.list-hero { padding: calc(var(--header-h) + 36px) 0 0; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 24px 0; }
.filters { background: var(--surface); border-radius: 22px; padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; z-index: 3; margin-top: -60px; }
.hero.compact + .container .filters { margin-top: -70px; }
.filters-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.amen-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.amen-filter button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.amen-filter button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--heading); }
.amen-filter .ic { width: 15px; height: 15px; }
.result-count { font-weight: 700; color: var(--heading); }
.sort select { height: 44px; border-radius: 999px; border: 1px solid var(--line); padding: 0 40px 0 16px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23687384' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; appearance: none; font-weight: 600; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: 22px; background: var(--surface); }
.empty .ic { width: 42px; height: 42px; color: var(--accent); margin: 0 auto 12px; }

/* ---------- Detalle ---------- */
.detail { padding: calc(var(--header-h) + 24px) 0 80px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--heading); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 10px; border-radius: 24px; overflow: hidden; }
.gallery button { border: 0; padding: 0; background: var(--surface-3); overflow: hidden; position: relative; }
.gallery button:first-child { grid-row: span 2; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 480px; }
.gallery.n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 480px; }
.gallery.n2 button:first-child, .gallery.n1 button:first-child { grid-row: auto; }
.gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery.n4 button:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery .all { position: absolute; right: 14px; bottom: 14px; background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; }
.detail-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; margin-top: 36px; align-items: start; }
.detail h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.6vw, 3rem); }
.spec-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 26px 0; }
.spec-band div { padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.spec-band .ic { color: var(--accent); width: 22px; height: 22px; }
.spec-band b { display: block; font-size: 1.25rem; color: var(--heading); margin-top: 8px; }
.spec-band small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.amen-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 18px 0 30px; }
.amen-list div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.amen-list .ic { color: var(--accent); width: 22px; height: 22px; }
.detail h2 { font-size: 1.35rem; margin: 30px 0 10px; font-family: var(--sans); }
.desc { white-space: pre-line; color: #3A4352; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 8; background: var(--surface-3); }
.map iframe { width: 100%; height: 100%; border: 0; }
.aside { position: sticky; top: calc(var(--header-h) + 20px); }
.aside .form-card { padding: 28px; }
.aside .price strong { font-size: 2rem; }
.aside-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.wa-btn { background: #1F9D55; color: #fff; }
.wa-btn:hover { background: #18864A; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: .94rem; margin: 14px 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 700; color: var(--heading); text-align: right; }

/* ---------- Modal / Lightbox ---------- */
dialog { border: 0; padding: 0; border-radius: 26px; max-width: min(860px, 94vw); width: 100%; box-shadow: var(--shadow-lg); color: var(--text); }
dialog::backdrop { background: rgba(5, 5, 5, .62); backdrop-filter: blur(4px); }
dialog[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-body { padding: 24px; }
.modal-close { border: 0; background: var(--surface-2); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.lightbox { max-width: 100vw; width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; background: rgba(8, 12, 20, .97); color: #fff; }
.lightbox .lb-inner { position: relative; height: 100%; display: grid; place-items: center; }
.lightbox img { max-height: 86vh; max-width: 92vw; object-fit: contain; border-radius: 8px; }
.lightbox .lb-btn { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }
.lightbox .lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; font-weight: 700; color: rgba(255,255,255,.8); }

/* ---------- Footer ---------- */
.site-footer { background: #0A1320; color: rgba(255,255,255,.7); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer .brand img { height: 50px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.socials a:hover { border-color: var(--accent); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.contact-line { display: flex; gap: 10px; align-items: center; }
.contact-line .ic { color: var(--accent); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; background: #1F9D55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(31, 157, 85, .6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1F9D55; animation: ping 2.2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.demo-ribbon { position: fixed; left: 16px; bottom: 16px; z-index: 39; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.demo-ribbon a { color: var(--accent-2); text-decoration: underline; }

/* Toast */
#toast-host { position: fixed; top: 20px; left: 50%; translate: -50% 0; z-index: 1000; display: grid; gap: 8px; }
.toast { padding: 12px 20px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-10px); transition: .3s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast-err { background: var(--danger); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--surface-2); padding: 24px; display: none; flex-direction: column; gap: 6px; }
.drawer.open { display: flex; animation: rise .35s var(--ease); }
.drawer a { font-family: var(--serif); font-size: 2rem; color: var(--heading); padding: 8px 0; border-bottom: 1px solid var(--line); }
.drawer .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .btn { grid-column: 1 / -1; }
  .filters-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta .btn-reg { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .cats, .inv-grid, .about, .reg-wrap { grid-template-columns: 1fr; }
  .cat-card { min-height: 320px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery.n1, .gallery.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 140px; }
  .gallery.n1 button:first-child { grid-row: span 2; }
  .gallery.n4 button:nth-child(4) { grid-column: auto; }
  .gallery button:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }
  .container { width: min(var(--container), 100% - 28px); }
  .grid { grid-template-columns: 1fr; }
  .form-grid, .calc .row { grid-template-columns: 1fr; }
  .filters-grid { grid-template-columns: 1fr 1fr; }
  .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cat-tabs { overflow-x: auto; }
  .hero-arrows { display: none; }
  .doc-group { grid-template-columns: 1fr; }
  .inv-float b { font-size: 1.5rem; }
  .aside-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   TEMA PREMIUM NEGRO & DORADO — ajustes finos
   ============================================================ */
body { background: var(--bg); color: var(--text); }
::selection { background: rgba(201,162,75,.35); color: #fff; }
h1, h2, h3, h4 { color: var(--heading); }
.lead { color: var(--muted); }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head h2, .display, .cat-card h3, .sector h3, .detail h1 { background: linear-gradient(180deg, #F7EBCB 0%, #E2C27A 60%, #C49A47 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 { background: none; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.5); }

/* Botones dorados */
.btn-primary, .btn-gold { background: var(--gold); background-size: 160% 160%; background-position: 0% 50%; color: #0A0A0A; border: 0; box-shadow: 0 10px 26px -12px rgba(201,162,75,.65), inset 0 1px 0 rgba(255,255,255,.35); transition: background-position .6s var(--ease), transform .2s, box-shadow .3s; }
.btn-primary:hover, .btn-gold:hover { background: var(--gold); background-size: 160% 160%; background-position: 100% 50%; box-shadow: 0 14px 34px -12px rgba(201,162,75,.85), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-light { background: transparent; color: var(--accent-2); border: 1px solid rgba(201,162,75,.45); }
.btn-light:hover { background: rgba(201,162,75,.08); border-color: var(--accent); }
.btn-ghost { color: var(--heading); border-color: rgba(201,162,75,.55); }
.icon-btn { background: var(--surface-2); border-color: var(--line); color: var(--heading); }

/* Header */
.site-header { color: #fff; }
.site-header.solid, body:not(.has-hero) .site-header { background: rgba(8,8,8,.82); color: var(--heading); box-shadow: 0 1px 0 var(--line); }
.brand { height: 58px; }
.brand img { height: 58px; filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); }
.brand .logo-dark, .site-header.solid .brand .logo-light, body:not(.has-hero) .site-header .brand .logo-light { display: block !important; }
.brand .logo-dark { display: none !important; }
.main-nav a { color: #EDE5D2; }
.main-nav a:hover { color: var(--accent-2); }
.main-nav a.active { color: var(--accent-2); }
.drawer { background: #070707; }
.drawer a { color: var(--heading); border-color: var(--line); }

/* Hero */
.hero { background: #050505; }
.hero::after { background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 38%, rgba(0,0,0,.88) 100%); }
.hero .eyebrow { color: var(--accent-2); }
.searchbox { background: rgba(14,14,14,.86); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid rgba(201,162,75,.3); color: var(--text); }
.cat-tabs button { color: var(--muted); }
.cat-tabs button[aria-selected="true"] { background: var(--gold); color: #0A0A0A; }
.cat-tabs button:not([aria-selected="true"]):hover { background: rgba(201,162,75,.1); color: var(--accent-2); }
.field { background: rgba(255,255,255,.04); border-color: rgba(201,162,75,.14); }
.field:focus-within { background: rgba(255,255,255,.06); border-color: var(--accent); }
.field label { color: var(--accent); }
.field input, .field select { color: var(--heading); }
.field select option, .f select option, .sort select option { background: #141414; color: var(--heading); }
.field input::placeholder, .f input::placeholder, .f textarea::placeholder { color: #6E695F; }
.hero-arrows button { border-color: rgba(201,162,75,.5); }

/* Secciones */
.bg-white { background: #0E0E0E; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(201,162,75,.10), transparent 60%), #050505; }
.pill-tabs { background: var(--surface-2); border: 1px solid var(--line); }
.pill-tabs button[aria-selected="true"] { background: var(--gold); color: #0A0A0A; }
.eyebrow { color: var(--accent); }

/* Tarjetas */
.card { background: linear-gradient(180deg, #141414, #0F0F0F); border: 1px solid var(--line); }
.card:hover { border-color: rgba(201,162,75,.5); box-shadow: 0 30px 60px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(201,162,75,.25), 0 0 40px -10px rgba(201,162,75,.18); }
.card-media { background: #1A1A1A; }
.badge { background: rgba(10,10,10,.78); color: var(--heading); border: 1px solid rgba(201,162,75,.3); }
.badge.dark { background: rgba(0,0,0,.82); color: var(--accent-2); }
.badge.gold { background: var(--gold); color: #0A0A0A; border: 0; }
.badge.ok { background: rgba(20,60,40,.85); color: #8EE0B6; border-color: rgba(79,191,138,.35); }
.badge.warn { background: rgba(70,48,10,.85); color: #F3C77A; }
.badge.muted { background: rgba(40,40,40,.85); color: #C8C2B4; }
.fav { background: rgba(10,10,10,.75); color: var(--heading); border: 1px solid rgba(201,162,75,.3); }
.fav.on { color: #E5584B; }
.card-media .nav { background: rgba(10,10,10,.8); color: var(--accent-2); }
.price strong { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card h3 { color: var(--heading); }
.specs { border-color: var(--line); color: var(--text); }
.chip { background: rgba(201,162,75,.07); border-color: rgba(201,162,75,.2); color: #E3D8BF; }
.inv-row .kpi { background: linear-gradient(135deg, rgba(201,162,75,.14), rgba(201,162,75,.04)); border-color: rgba(201,162,75,.28); }
.inv-row .kpi b { color: var(--accent-2); }
.card-foot .go { color: var(--accent-2); }
.skeleton { background: linear-gradient(90deg, #141414 25%, #1D1D1D 37%, #141414 63%); background-size: 400% 100%; }

/* Categorías / sectores */
.cat-card { border: 1px solid var(--line); }
.cat-card::before { background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.92)); }
.cat-card .cur { border-color: rgba(201,162,75,.6); color: var(--accent-2); background: rgba(0,0,0,.45); }
.sector { background: linear-gradient(180deg, #121212, #0C0C0C); border-color: var(--line); }
.sector .comunas { color: var(--accent); }
.sector-detail .hl li { background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }

/* Inversión, pasos, stats */
.inv-media { border: 1px solid var(--line); }
.inv-float { background: rgba(8,8,8,.85); border: 1px solid rgba(201,162,75,.35); }
.inv-float b { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefit { background: var(--surface); border-color: var(--line); }
.benefit .ico { background: rgba(201,162,75,.1); border: 1px solid rgba(201,162,75,.35); color: var(--accent-2); }
.calc { background: var(--surface); border-color: var(--line); }
.calc .out { background: #050505; border: 1px solid rgba(201,162,75,.35); }
.step { background: var(--surface); border-color: var(--line); }
.stats b { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Formularios */
.form-card { background: linear-gradient(180deg, #131313, #0E0E0E); border-color: rgba(201,162,75,.25); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.f label { color: var(--heading); }
.f input, .f select, .f textarea { background: rgba(255,255,255,.035); border-color: rgba(201,162,75,.2); color: var(--heading); }
.f input:focus, .f select:focus, .f textarea:focus { background: rgba(255,255,255,.06); }
.f.invalid input, .f.invalid select { background: rgba(229,88,75,.08); }
.seg { background: rgba(255,255,255,.03); border-color: rgba(201,162,75,.2); }
.seg input:checked + span { background: var(--gold); color: #0A0A0A; }
.check input { accent-color: var(--accent); }
.flag { background: rgba(201,162,75,.15); color: var(--accent-2); }
.reg-points li { color: var(--text); }

/* Listado / detalle */
.filters { background: rgba(14,14,14,.92); backdrop-filter: blur(14px); border-color: rgba(201,162,75,.28); }
.amen-filter button { background: transparent; border-color: var(--line); color: var(--muted); }
.amen-filter button[aria-pressed="true"] { background: var(--gold); color: #0A0A0A; border-color: transparent; }
.sort select { background-color: var(--surface); border-color: var(--line); color: var(--heading); }
.empty { background: var(--surface); border-color: var(--line); }
.crumbs a:hover { color: var(--accent-2); }
.gallery { border: 1px solid var(--line); }
.gallery button { background: #151515; }
.gallery .all { background: rgba(0,0,0,.8); color: var(--accent-2); border: 1px solid rgba(201,162,75,.4); }
.spec-band div, .amen-list div { background: var(--surface); border-color: var(--line); color: var(--text); }
.spec-band b { color: var(--heading); }
.desc { color: #CFC8B8; }
.map { border-color: var(--line); background: #111; }
.map iframe { filter: grayscale(1) invert(.92) contrast(.9) sepia(.25); }
.kv dd { color: var(--heading); }

/* Modales */
dialog { background: #101010; color: var(--text); border: 1px solid rgba(201,162,75,.3); }
.modal-head { background: #101010; border-color: var(--line); }
.modal-close { background: var(--surface-3); color: var(--heading); }

/* Footer */
.site-footer { background: #030303; border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--accent); }
.site-footer .brand { height: auto; }
.site-footer .brand img { height: 130px; }
.socials a { border-color: rgba(201,162,75,.35); color: var(--accent-2); }
.socials a:hover { background: rgba(201,162,75,.1); }
.footer-bottom { border-color: var(--line); color: #7D776C; }
.linkfly { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(201,162,75,.45); color: var(--accent-2); font-weight: 700; font-size: 14px; }
.linkfly:hover { background: rgba(201,162,75,.1); }

.demo-ribbon { background: #111; border: 1px solid var(--line); }
.toast { background: #141414; border: 1px solid rgba(201,162,75,.4); color: var(--heading); }

/* Separador dorado decorativo */
.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,75,.7), transparent); border: 0; margin: 0; }

@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .brand, .brand img { height: 46px; }
  .site-footer .brand img { height: 110px; }
}

/* Idioma, precio rebajado, corredor */
.lang-btn { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(201,162,75,.45); background: rgba(0,0,0,.35); gap: 2px; }
.lang-btn span { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: #CFC6B2; }
.lang-btn span.on { background: var(--gold); color: #0A0A0A; }
.badge.drop { background: #7A1F1F; color: #FFD9D3; border-color: rgba(255,120,100,.4); }
.price .old { color: #8E877A; font-size: .95rem; font-weight: 600; width: 100%; margin-bottom: -4px; }
.broker-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid rgba(201,162,75,.3); background: rgba(201,162,75,.06); margin-bottom: 18px; }
.broker-card .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: #0A0A0A; display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: none; }
.broker-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.broker-card small { display: block; color: var(--accent); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.broker-card b { display: block; color: var(--heading); font-size: 1.05rem; }
.broker-card span { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .lang-btn { margin-right: 6px; } }

/* Videos */
.video-main { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #050505 radial-gradient(600px 300px at 50% 50%, rgba(201,162,75,.14), transparent); border: 1px solid rgba(201,162,75,.35); box-shadow: var(--shadow-lg); cursor: pointer; }
.video-main img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1s var(--ease), opacity .4s; }
.video-main:hover img { transform: scale(1.03); opacity: 1; }
.video-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75)); pointer-events: none; }
.video-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-main .play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 92px; height: 92px; border-radius: 50%; border: 0; background: var(--gold); color: #0A0A0A; display: grid; place-items: center; z-index: 2; box-shadow: 0 0 0 10px rgba(201,162,75,.18), 0 20px 50px -10px rgba(201,162,75,.6); transition: transform .3s var(--ease); }
.video-main .play .ic { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.video-main:hover .play { transform: scale(1.08); }
.video-main .vt { position: absolute; left: 28px; bottom: 22px; z-index: 2; color: #fff; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); }
.video-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.vthumb { text-align: left; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; overflow: hidden; color: var(--heading); transition: .25s; }
.vthumb img, .vthumb .ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: grid; place-items: center; background: #111; color: var(--accent); }
.vthumb span:last-child { display: block; padding: 10px 12px; font-weight: 700; font-size: 14px; }
.vthumb.on, .vthumb:hover { border-color: var(--accent); }
.contact-socials { margin-top: 22px; }

/* Conversor de monedas */
.conv-mini { border: 1px solid var(--line); border-radius: 12px; background: rgba(201,162,75,.04); position: relative; z-index: 2; }
.conv-mini summary { list-style: none; cursor: pointer; padding: 9px 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--accent-2); }
.conv-mini summary::-webkit-details-marker { display: none; }
.conv-mini summary .ic:last-child { margin-left: auto; transition: transform .2s; }
.conv-mini[open] summary .ic:last-child { transform: rotate(180deg); }
.conv-rows, .conv-all { display: grid; gap: 6px; padding: 0 12px 12px; }
.conv-rows div, .conv-all div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.conv-rows span, .conv-all span { color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.conv-rows b, .conv-all b { color: var(--heading); }
.converter { background: linear-gradient(180deg, #131313, #0E0E0E); border: 1px solid rgba(201,162,75,.3); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.converter.compact { padding: 14px 0 0; background: none; border: 0; box-shadow: none; }
.conv-title { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; margin-bottom: 14px; color: var(--accent-2); }
.conv-grid { display: grid; grid-template-columns: 1.2fr 1fr auto 1fr; gap: 10px; align-items: end; }
.converter.compact .conv-grid { grid-template-columns: 1fr 1fr; }
.converter.compact .conv-grid .f:first-child { grid-column: 1 / -1; }
.converter.compact .conv-swap { display: none; }
.conv-swap { height: 50px; width: 50px; border-radius: 50%; border: 1px solid rgba(201,162,75,.45); background: transparent; color: var(--accent-2); font-size: 20px; font-weight: 800; }
.conv-swap:hover { background: rgba(201,162,75,.12); }
.conv-out { margin: 16px 0 10px; padding: 16px; border-radius: 14px; background: #050505; border: 1px solid rgba(201,162,75,.3); font-size: 1rem; color: var(--muted); text-align: center; }
.conv-out b { display: block; font-size: 1.7rem; margin-top: 4px; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.converter .conv-all { padding: 0; }
.rate-note { font-size: 12px; color: #7D776C; margin: 12px 0 0; }
.conv-detail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0 4px; padding: 4px 0 12px; }
.conv-detail summary { list-style: none; cursor: pointer; padding: 10px 0 0; display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--accent-2); font-size: 14px; }
.conv-detail summary::-webkit-details-marker { display: none; }
.conv-detail summary .ic:last-child { margin-left: auto; }
.conv-band { max-width: 820px; margin: 0 auto; }
.card-broker { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.card-broker img, .card-broker i { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,162,75,.5); }
.card-broker i { display: grid; place-items: center; background: var(--gold); color: #0A0A0A; font-style: normal; font-weight: 800; font-size: 11px; }
@media (max-width: 600px) { .conv-grid { grid-template-columns: 1fr 1fr; } .conv-grid .f:first-child { grid-column: 1 / -1; } .conv-swap { display: none; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 8px; }
.testi { margin: 0; background: rgba(255,255,255,.04); border: 1px solid rgba(201,162,75,.28); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.testi .t-stars { display: flex; gap: 3px; color: #D9B45E; }
.testi .t-stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testi blockquote { margin: 0; font-size: .98rem; line-height: 1.65; color: rgba(255,255,255,.86); flex: 1; }
.testi figcaption { display: flex; flex-direction: column; gap: 3px; font-size: .92rem; color: #fff; }
.testi figcaption a { color: #D9B45E; font-size: .82rem; text-decoration: none; }
.testi figcaption a:hover { text-decoration: underline; }
