:root { --navy:#2d3954; --turq:#00e3e1; --orange:#f95d02; --text:#6e7c90; --bg:#f7f7f7; --line:#dadada; --dark:#2a2a2a; }
* { box-sizing:border-box; }
body { margin:0; font:15px/1.65 Mulish,Muli,Helvetica,Arial,sans-serif; color:var(--text); background:var(--bg); }
h1,h2,h3,.price { font-family:"Work Sans",Arial,sans-serif; color:var(--navy); }
a { color:var(--navy); }
.top { background:var(--dark); text-align:center; padding:18px 12px; }
.top img { height:56px; max-width:70%; }
.wrap { max-width:1180px; margin:0 auto; padding:0 20px; }
.btn { display:inline-block; background:var(--turq); color:#fff; border:0; border-radius:4px; padding:11px 22px; font:600 15px "Work Sans",sans-serif; text-decoration:none; cursor:pointer; }
.btn.dark { background:var(--navy); }
.btn:hover { filter:brightness(.93); }
.price { color:var(--orange); font-weight:600; }
.old { color:var(--text); text-decoration:line-through; font-size:.6em; margin-left:8px; font-weight:400; }
/* listado */
.hero { padding:32px 0 8px; text-align:center; } .hero h1 { margin:0 0 4px; font-size:28px; }
.filters { display:flex; flex-wrap:wrap; gap:10px; padding:16px 0 20px; }
.filters input,.filters select { padding:11px 12px; border:1px solid var(--line); border-radius:4px; background:#fff; font:inherit; color:var(--navy); }
.filters input { flex:1; min-width:200px; }
.count { margin-bottom:14px; font-size:14px; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(290px,1fr)); gap:22px; padding-bottom:60px; }
.card { background:#fff; border:1px solid var(--line); border-radius:6px; overflow:hidden; text-decoration:none; color:inherit; display:block; transition:box-shadow .15s,transform .15s; }
.card:hover { box-shadow:0 8px 24px rgba(45,57,84,.14); transform:translateY(-2px); }
.card .ph { aspect-ratio:4/3; background:#e4e4e4 center/cover no-repeat; position:relative; }
.status { position:absolute; top:12px; left:12px; background:var(--turq); color:#fff; font:600 12px "Work Sans",sans-serif; padding:3px 10px; border-radius:3px; text-transform:uppercase; }
.card .b { padding:14px 16px 16px; }
.card h3 { margin:2px 0 6px; font-size:16px; line-height:1.3; }
.card .price { font-size:20px; }
.card .ref { margin-top:10px; font-size:11px; letter-spacing:.04em; color:#9aa0ab; text-align:right; }
.meta { display:flex; gap:14px; flex-wrap:wrap; font-size:13px; border-top:1px solid var(--line); margin-top:10px; padding-top:10px; }
.loc { font-size:13px; }
.empty { grid-column:1/-1; text-align:center; padding:60px 0; }
/* ficha */
.head { background:#fff; text-align:center; padding:22px 12px 18px; border-bottom:1px solid var(--line); }
.head .price { font-size:25px; } .head h1 { font-size:22px; font-weight:600; margin:2px auto 6px; max-width:900px; }
.head .loc a { text-decoration:none; color:var(--text); }
.tabs { text-align:center; margin:22px 0 16px; display:flex; gap:8px; justify-content:center; }
.tabs button { border:0; border-radius:4px; padding:9px 18px; font:600 14px "Work Sans",sans-serif; cursor:pointer; background:var(--turq); color:#fff; }
.tabs button.off { background:var(--navy); }
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.gallery .g { aspect-ratio:4/3; background:#e4e4e4 center/cover no-repeat; border-radius:4px; border:0; padding:0; cursor:pointer; position:relative; }
.gallery .g.big { grid-column:span 1; }
.gallery .more { position:absolute; inset:0; background:rgba(45,57,84,.55); color:#fff; font:600 28px "Work Sans",sans-serif; display:flex; align-items:center; justify-content:center; border-radius:4px; }
#mapView { display:none; } #mapView iframe { width:100%; height:420px; border:0; border-radius:4px; }
.layout { display:grid; grid-template-columns:1fr; gap:24px; padding:24px 0 40px; }
@media (min-width:992px){ .layout { grid-template-columns:minmax(0,1fr) 330px; } }
.box { background:#fff; border:1px solid var(--line); border-radius:4px; padding:22px 24px; margin-bottom:24px; }
.box > h3 { margin:0 0 16px; padding-bottom:12px; border-bottom:1px solid var(--line); font-size:19px; }
.dl { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px 24px; }
.dl .v { color:var(--navy); font-size:16px; font-weight:600; } .dl .t { font-size:13px; }
.desc p { margin:0 0 14px; } .desc p:last-child { margin-bottom:0; } .desc strong { color:var(--navy); }
.energy { display:flex; } .energy div { flex:1; text-align:center; color:#fff; font:600 13px "Work Sans",sans-serif; padding:8px 0; position:relative; }
.e-aplus{background:#00a550}.e-a{background:#4cb848}.e-b{background:#8dc63f}.e-c{background:#d7df23}.e-d{background:#fff200;color:#555!important}.e-e{background:#fdb913}.e-f{background:#f58220}.e-g{background:#ee3124}.e-h{background:#b5121b}
.energy .on { outline:3px solid var(--navy); outline-offset:-3px; }
.energy-note { margin-top:12px; font-size:14px; color:var(--navy); }
.extras { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:10px 20px; }
.extras li::before { content:"✓"; color:var(--turq); font-weight:700; margin-right:8px; }
#map iframe { width:100%; height:360px; border:0; border-radius:4px; }
.sim { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:18px; }
label { display:block; font-size:13px; margin:10px 0 4px; } 
.side input { width:100%; padding:10px; border:1px solid var(--line); border-radius:4px; font:inherit; }
.side .res { margin-top:14px; font:600 22px "Work Sans",sans-serif; color:var(--orange); }
.cta { text-align:center; padding:36px 12px; background:#fff; border-top:1px solid var(--line); } .cta h2 { margin:0 0 12px; }
.lb { position:fixed; inset:0; background:rgba(15,20,28,.92); display:none; align-items:center; justify-content:center; z-index:50; }
.lb.on { display:flex; } .lb img { max-width:92vw; max-height:88vh; }
.lb button { position:absolute; border:0; background:#fff; width:42px; height:42px; border-radius:50%; font-size:22px; cursor:pointer; }
.lb .p{left:16px}.lb .n{right:16px}.lb .x{top:16px;right:16px}
.back { display:inline-block; margin:16px 0 0; font-size:14px; }
@media (max-width:600px){ .gallery { grid-template-columns:repeat(2,1fr); } .box { padding:18px 16px; } }
.agent { text-align:center; } .agent img { border-radius:50%; object-fit:cover; margin-bottom:8px; }
.agent h4 { margin:0 0 6px; font:600 17px "Work Sans",sans-serif; color:var(--navy); }
.agent .contact-line { display:block; text-decoration:none; margin-bottom:4px; } .agent .btn { margin-top:12px; }
