:root{
  --accent:#2c8f6b;
  --accent-deep:#1f7457;
  --ink:#15231d;
  --muted:#6c7a74;
  --bg:#f7faf8;
  --surface:#ffffff;
  --soft:#eef5f1;
  --ice:#edf8fb;
  --line:#e1e9e5;
  --radius:24px;
  --shadow:0 18px 55px rgba(31,67,53,.08);
  --content:min(1180px,calc(100vw - 36px));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
button{color:inherit}
img{max-width:100%;display:block}

/* Header */
.public-header{
  width:var(--content);margin:14px auto 0;padding:11px 14px;
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.94);
  backdrop-filter:blur(16px);position:relative;z-index:20;box-shadow:0 8px 32px rgba(33,62,51,.035)
}
.public-brand{display:flex;gap:10px;align-items:center;min-width:0}
.public-brand>span:last-child{display:grid;min-width:0}
.public-brand strong{font-size:.93rem;line-height:1.2}
.public-brand small{color:var(--muted);font-size:.69rem;margin-top:2px;white-space:nowrap}
.brand-symbol{
  flex:0 0 auto;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(145deg,#e0f4fb,#ddf1e7);color:var(--accent);font-size:1.28rem
}
.public-header nav{display:flex;gap:22px;color:#5c6d65;font-size:.87rem}
.public-header nav a{transition:.18s color}
.public-header nav a.active,.public-header nav a:hover{color:var(--ink)}
.header-cta{padding:10px 15px;border-radius:999px;background:var(--ink);color:#fff;font-size:.82rem;font-weight:800}

/* Shared typography */
.eyebrow{margin:0 0 10px;text-transform:uppercase;letter-spacing:.16em;font-weight:900;color:var(--accent);font-size:.67rem}
.btn.public{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;border:1px solid #ccd9d3;background:#fff;color:var(--ink);font-weight:800;cursor:pointer}
.btn.public.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.public:hover{transform:translateY(-1px)}
.text-link{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:.9rem;color:var(--ink)}
.text-link span{color:var(--accent)}
.button-link{border:0;background:none;padding:0;cursor:pointer}

/* Home hero 0.1.1 */
.home-hero-v2{
  width:var(--content);margin:14px auto 0;min-height:405px;padding:38px 40px;
  display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center;
  position:relative;overflow:hidden;border-radius:32px;border:1px solid #dfe9e4;
  background:
    radial-gradient(circle at 83% 20%,rgba(185,231,245,.55),transparent 30%),
    radial-gradient(circle at 55% 85%,rgba(193,224,205,.35),transparent 28%),
    linear-gradient(130deg,#fff 0%,#fbfdfc 45%,#eef7f4 100%);
  box-shadow:var(--shadow)
}
.home-hero-v2::after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-100px;bottom:-115px;background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.9)}
.hero-content{position:relative;z-index:2;max-width:660px}
.home-hero-v2 h1{font-size:clamp(2.8rem,5vw,4.8rem);letter-spacing:-.055em;line-height:.94;margin:0;max-width:9.8ch}
.home-hero-v2 h1 span{color:#4a826a}
.home-hero-v2 .hero-content>p:not(.eyebrow){font-size:1rem;line-height:1.65;color:var(--muted);max-width:600px;margin:16px 0 0}
.hero-search{margin-top:24px;display:flex;gap:7px;max-width:560px;padding:6px;border:1px solid #d7e3dd;border-radius:16px;background:#fff;box-shadow:0 10px 35px rgba(41,78,63,.06)}
.hero-search input{flex:1;min-width:0;border:0;background:transparent;padding:9px 11px;outline:none;color:var(--ink)}
.hero-search button{border:0;border-radius:11px;background:var(--ink);color:#fff;padding:10px 18px;font-weight:800;cursor:pointer}
.hero-actions-compact{display:flex;gap:24px;align-items:center;margin-top:18px;flex-wrap:wrap}

.hero-showcase{position:relative;z-index:2;min-height:300px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;transform:rotate(-1deg)}
.showcase-card{position:relative;overflow:hidden;border-radius:22px;padding:18px;border:1px solid rgba(255,255,255,.8);box-shadow:0 18px 42px rgba(38,72,58,.1);display:flex;flex-direction:column;justify-content:flex-end;min-height:138px}
.showcase-card span{position:relative;z-index:2;font-size:.67rem;text-transform:uppercase;letter-spacing:.13em;font-weight:900;opacity:.72;margin-bottom:4px}
.showcase-card strong{position:relative;z-index:2;font-size:1rem;max-width:14ch;line-height:1.25}
.showcase-card i{position:absolute;display:block;pointer-events:none}
.showcase-property{grid-row:1/3;background:linear-gradient(150deg,#f6fbf8,#dcebe3)}
.showcase-property i{width:150px;height:115px;right:-18px;top:18px;border-radius:70px 70px 20px 20px;background:linear-gradient(140deg,#fff,#c8ded2);box-shadow:-26px 35px 0 -5px rgba(69,126,97,.18)}
.showcase-project{background:linear-gradient(145deg,#eefaff,#dff1f5)}
.showcase-project i{width:120px;height:80px;right:-12px;top:16px;clip-path:polygon(50% 0,100% 72%,77% 62%,62% 78%,43% 54%,25% 70%,0 61%);background:linear-gradient(180deg,#fff 0 35%,#a9d0c0 36% 100%)}
.showcase-commerce{background:linear-gradient(145deg,#fffaf0,#f0e6cd)}
.showcase-commerce i{width:88px;height:88px;border-radius:22px;right:14px;top:12px;background:rgba(255,255,255,.55);transform:rotate(12deg);box-shadow:-30px 35px 0 -10px rgba(174,133,69,.16)}

/* Home sections */
.public-section{width:var(--content);margin:44px auto}
.home-categories{margin-top:34px;margin-bottom:36px}
.home-featured{margin-top:34px;margin-bottom:38px}
.section-head{display:flex;justify-content:space-between;gap:22px;align-items:end;margin-bottom:17px}
.section-head h2,.final-cta h2,.snow-feature h2{font-size:clamp(1.9rem,3.6vw,3rem);letter-spacing:-.045em;line-height:1;margin:0 0 6px}
.section-head p:not(.eyebrow){color:var(--muted);max-width:720px;line-height:1.65;margin:0}
.section-head>a{color:var(--accent);font-weight:800;font-size:.87rem}
.simple-head h2{margin-bottom:0}

.category-strip-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.category-tile{padding:15px 16px;border:1px solid var(--line);border-radius:18px;background:#fff;display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;box-shadow:0 10px 30px rgba(39,72,58,.035);transition:.18s transform,.18s border-color}
.category-tile:hover{transform:translateY(-2px);border-color:#c9dcd3}
.category-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#edf6f1;color:var(--accent);font-weight:900;font-size:1.15rem}
.category-copy{display:grid;min-width:0}
.category-copy strong{font-size:.92rem}
.category-copy small{margin-top:3px;color:var(--muted);font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-tile>b{font-size:.88rem;color:#789086}
.kind-project .category-icon{background:#eaf7fb;color:#4c8593}
.kind-rental .category-icon{background:#f7f2e7;color:#8b7443}
.kind-product .category-icon{background:#f3eef9;color:#755c8f}
.kind-service .category-icon{background:#f7eeee;color:#9b6464}
.kind-land .category-icon{background:#eef4e7;color:#63804e}

/* Universal item cards */
.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.catalog-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr))}
.item-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:21px;overflow:hidden;box-shadow:var(--shadow);transition:.2s transform,.2s box-shadow;display:flex;flex-direction:column}
.item-card:hover{transform:translateY(-3px);box-shadow:0 22px 62px rgba(31,67,53,.12)}
.item-media{aspect-ratio:16/10;position:relative;overflow:hidden;background:linear-gradient(135deg,#e7f2ee,#eaf4f7);display:grid;place-items:center}
.item-media img{width:100%;height:100%;object-fit:cover}
.item-media.placeholder{background:linear-gradient(145deg,#f2f7f4,#e7f0eb)}
.kind-placeholder-icon{font-size:3.2rem;font-weight:700;color:#789588;opacity:.75}
.item-kind-product .item-media.placeholder{background:linear-gradient(145deg,#f6f2f8,#ece5f1)}
.item-kind-service .item-media.placeholder{background:linear-gradient(145deg,#faf3f0,#f1e7e2)}
.item-kind-rental .item-media.placeholder{background:linear-gradient(145deg,#fbf7ef,#eee5d3)}
.item-kind-project .item-media.placeholder{background:linear-gradient(145deg,#eff9fc,#dfedf2)}
.item-tags{position:absolute;left:11px;top:11px;display:flex;gap:6px;flex-wrap:wrap}
.item-tags span{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.9);font-size:.63rem;font-weight:900;box-shadow:0 6px 18px rgba(25,48,40,.08)}
.item-body{padding:15px 16px 16px;display:flex;flex-direction:column;flex:1}
.item-title-row{display:flex;gap:10px;align-items:start;justify-content:space-between}
.item-title-row h3{margin:0;font-size:1.04rem;line-height:1.25}
.item-kind-icon{flex:0 0 auto;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#f2f6f4;color:#71897f;font-size:.8rem}
.item-body>p{color:var(--muted);line-height:1.52;font-size:.82rem;margin:8px 0 11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.item-bits{display:flex;gap:6px;flex-wrap:wrap;margin:1px 0 13px}
.item-bits span{padding:6px 8px;border-radius:9px;background:#f4f7f5;color:#62736b;font-size:.68rem}
.item-meta{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-top:auto;padding-top:4px}
.item-meta strong{font-size:1rem;line-height:1.2}
.card-action{color:var(--accent)!important;font-size:.72rem!important;text-align:right;font-weight:800;white-space:nowrap}
.item-grid-featured{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.item-grid-featured .item-card:only-child{display:grid;grid-template-columns:minmax(300px,.92fr) 1.08fr;max-width:none}
.item-grid-featured .item-card:only-child .item-media{aspect-ratio:auto;min-height:270px}
.item-grid-featured .item-card:only-child .item-body{padding:28px;justify-content:center}
.item-grid-featured .item-card:only-child .item-title-row h3{font-size:1.65rem;letter-spacing:-.03em}
.item-grid-featured .item-card:only-child .item-body>p{font-size:.94rem;-webkit-line-clamp:3;max-width:620px}
.item-grid-featured .item-card:only-child .item-meta strong{font-size:1.2rem}

/* Compact final CTA */
.final-cta{width:var(--content);margin:40px auto 26px;padding:28px 30px;border-radius:24px;display:flex;justify-content:space-between;gap:22px;align-items:center}
.final-cta-light{background:linear-gradient(120deg,#edf6f1,#f7faf8 62%,#eaf6f8);border:1px solid #dce9e3;color:var(--ink)}
.final-cta-light h2{font-size:clamp(1.8rem,3.4vw,2.8rem)}
.final-cta-light p:not(.eyebrow){margin:7px 0 0;color:var(--muted);line-height:1.55;max-width:680px;font-size:.88rem}

.public-footer{width:var(--content);margin:0 auto 24px;padding:22px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:.84rem}
.public-footer strong{color:var(--ink)}
.public-footer p{margin:4px 0 0}
.public-footer>div:last-child{display:flex;gap:18px;align-items:center}

/* Catalog */
.catalog-hero{width:var(--content);margin:20px auto 0;padding:42px 0 15px}
.catalog-hero-v2 h1{font-size:clamp(2.7rem,5vw,4.8rem);letter-spacing:-.055em;line-height:.96;margin:0;max-width:850px}
.catalog-hero>p:last-child{color:var(--muted);font-size:1rem;line-height:1.6;max-width:720px}
.catalog-section{margin-top:16px}
.kind-shortcuts{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.kind-shortcuts a{padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#5e7068;font-size:.76rem;font-weight:800}
.kind-shortcuts a.active,.kind-shortcuts a:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.catalog-filters{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:8px;padding:9px;border:1px solid var(--line);background:#fff;border-radius:17px;box-shadow:0 12px 38px rgba(40,70,58,.05)}
.catalog-filters input,.catalog-filters select{border:0;background:#f5f8f6;padding:12px 13px;border-radius:11px;outline:none;color:var(--ink)}
.catalog-filters button{border:0;border-radius:11px;background:var(--ink);color:#fff;padding:0 18px;font-weight:800;cursor:pointer}
.result-line{margin:15px 0;color:var(--muted);font-size:.83rem}

/* Detail pages */
.detail-shell{width:var(--content);margin:24px auto 0;display:grid;grid-template-columns:1.04fr .96fr;gap:30px;align-items:start}
.detail-visual{position:sticky;top:20px;border-radius:28px;overflow:hidden;min-height:500px;background:#edf3f0;box-shadow:var(--shadow)}
.detail-visual img{width:100%;height:100%;min-height:500px;object-fit:cover}
.detail-badge{position:absolute;top:16px;left:16px;background:rgba(255,255,255,.92);padding:8px 11px;border-radius:999px;font-size:.7rem;font-weight:900}
.detail-copy{padding:30px 12px 20px}
.detail-copy h1{font-size:clamp(2.5rem,5vw,4.5rem);letter-spacing:-.055em;line-height:.95;margin:0}
.detail-lead,.long-copy{color:var(--muted);line-height:1.72}
.detail-price{font-size:1.9rem;font-weight:900;margin:20px 0}
.facts{display:flex;gap:9px;flex-wrap:wrap}
.facts>div{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 14px;min-width:145px}
.facts span,.facts strong{display:block}.facts span{font-size:.7rem;color:var(--muted);margin-bottom:5px}
.long-copy{margin-top:20px}.detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
.theme-snow{background:linear-gradient(#f7fcfd,#fff 480px)}.theme-snow .public-header{border-color:#dbecef}
.children-section{margin-top:42px}
.children-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.children-list a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 15px;border:1px solid var(--line);border-radius:15px;background:#fff}
.children-list div{display:grid}.children-list span{font-size:.76rem;color:var(--muted);margin-top:4px}

/* About */
.about-hero{width:var(--content);margin:26px auto 0;min-height:400px;border-radius:30px;background:linear-gradient(120deg,#f0f8f4,#edf8fb);border:1px solid var(--line);padding:45px;display:grid;grid-template-columns:1fr 280px;align-items:center;gap:30px}
.about-hero h1{font-size:clamp(2.6rem,5vw,4.8rem);letter-spacing:-.055em;line-height:.96;margin:0}
.about-hero>div:first-child p:last-child{font-size:1rem;color:var(--muted);line-height:1.7;max-width:750px}
.friendly-orb{width:220px;height:220px;border-radius:48% 52% 44% 56%;background:linear-gradient(145deg,#fff,#dff3f7);box-shadow:inset -20px -20px 45px rgba(71,138,155,.08),0 25px 70px rgba(65,109,95,.1);display:grid;place-items:center;justify-self:end;position:relative}
.orb-face{font-size:3rem;color:#4c7e6a}.friendly-orb span{position:absolute;bottom:27px;font-weight:800;color:#5d756a}
.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.about-grid article{padding:21px;background:#fff;border:1px solid var(--line);border-radius:19px}
.about-grid article>span{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#e8f4ef;color:var(--accent);font-weight:900}
.about-grid h3{margin:15px 0 8px}.about-grid p{color:var(--muted);line-height:1.62;font-size:.9rem}

/* Chat */
.chat-widget{position:fixed;right:22px;bottom:22px;z-index:50}
.chat-launch{width:54px;height:54px;border:0;border-radius:50%;background:var(--accent);color:#fff;font-size:1.3rem;box-shadow:0 15px 38px rgba(34,105,80,.28);cursor:pointer;border:3px solid rgba(255,255,255,.9)}
.chat-panel{width:min(370px,calc(100vw - 28px));height:510px;background:#fff;border:1px solid var(--line);border-radius:21px;box-shadow:0 28px 90px rgba(25,55,44,.22);overflow:hidden}
.chat-panel header{padding:14px 15px;background:#173228;color:#fff;display:flex;justify-content:space-between}.chat-panel header div{display:grid}.chat-panel header small{color:#bcd3c9}.chat-close{border:0;background:none;color:#fff;font-size:1.5rem;cursor:pointer}
.chat-messages{height:280px;overflow:auto;padding:14px;background:#f6f9f7;display:grid;gap:8px;align-content:start}
.bubble{padding:10px 12px;border-radius:14px;max-width:86%;line-height:1.45;font-size:.86rem}.bubble.agent{background:#fff;border:1px solid var(--line)}.bubble.user{background:#daf0e6;margin-left:auto}.bubble small{display:block;color:var(--muted);font-size:.6rem;margin-bottom:3px}
.chat-form{padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.chat-form textarea{grid-column:1/-1}.chat-form input,.chat-form textarea{border:1px solid var(--line);border-radius:10px;padding:9px;outline:none}.chat-form button{grid-column:1/-1;border:0;border-radius:10px;background:var(--accent);color:#fff;padding:10px;font-weight:800;cursor:pointer}

/* Loading / empty */
.skeleton{min-height:245px;border-radius:20px;background:linear-gradient(90deg,#eef2f0,#fafcfa,#eef2f0);background-size:200% 100%;animation:shimmer 1.5s infinite}.detail-skeleton{grid-column:1/-1;min-height:480px}.empty-public,.api-warning{grid-column:1/-1;padding:28px;border:1px dashed #c8d7d0;border-radius:18px;color:var(--muted);display:grid;gap:7px}@keyframes shimmer{to{background-position:-200% 0}}

@media(max-width:1050px){
  .home-hero-v2{grid-template-columns:1fr .8fr;padding:34px 32px}
  .category-strip-v2{grid-template-columns:repeat(2,1fr)}
  .item-grid,.catalog-grid-v2{grid-template-columns:repeat(2,1fr)}
  .detail-shell{grid-template-columns:1fr}.detail-visual{position:relative;min-height:380px}.detail-visual img{min-height:380px}
  .about-hero{grid-template-columns:1fr}.friendly-orb{justify-self:start}
}
@media(max-width:760px){
  :root{--content:calc(100vw - 20px)}
  .public-header{border-radius:18px;align-items:center}.public-header nav{display:none}.header-cta{font-size:.73rem}.public-brand small{display:none}
  .home-hero-v2{min-height:auto;padding:30px 22px;grid-template-columns:1fr;gap:24px;border-radius:26px}
  .home-hero-v2 h1{font-size:clamp(2.55rem,12vw,4rem);max-width:none}
  .hero-search{max-width:none}.hero-showcase{min-height:210px;grid-template-columns:1.1fr .9fr}.showcase-card{min-height:98px;padding:13px;border-radius:18px}.showcase-card strong{font-size:.84rem}.showcase-card span{font-size:.59rem}.showcase-property i{width:105px;height:82px}.showcase-project i{width:90px;height:62px}.showcase-commerce i{width:62px;height:62px}
  .public-section{margin:34px auto}.category-strip-v2,.item-grid,.catalog-grid-v2,.about-grid{grid-template-columns:1fr}.category-copy small{white-space:normal;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}
  .item-grid-featured .item-card:only-child{display:flex;grid-template-columns:none}.item-grid-featured .item-card:only-child .item-media{aspect-ratio:16/10;min-height:0}.item-grid-featured .item-card:only-child .item-body{padding:17px}.item-grid-featured .item-card:only-child .item-title-row h3{font-size:1.18rem}.item-grid-featured .item-card:only-child .item-body>p{font-size:.84rem}
  .final-cta,.public-footer,.section-head{align-items:flex-start;flex-direction:column}.final-cta{padding:24px;margin-top:34px}.final-cta .btn{width:100%}
  .catalog-hero{padding:34px 0 10px}.catalog-hero-v2 h1{font-size:clamp(2.45rem,11vw,4rem)}.catalog-filters{grid-template-columns:1fr}.catalog-filters button{padding:12px}.kind-shortcuts{overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.kind-shortcuts a{white-space:nowrap}
  .detail-copy{padding:22px 4px}.children-list{grid-template-columns:1fr}.about-hero{padding:28px}.friendly-orb{width:180px;height:180px}.public-footer>div:last-child{flex-wrap:wrap}.chat-panel{height:500px}.chat-messages{height:265px}
}
@media(max-width:470px){
  .hero-search{display:grid;grid-template-columns:1fr}.hero-search button{padding:11px}.hero-actions-compact{gap:16px}.hero-showcase{grid-template-columns:1fr 1fr}.showcase-property{grid-row:1/3}.category-tile{padding:13px}.item-meta{align-items:flex-start;flex-direction:column}.card-action{text-align:left}
}

/* =========================================================
   0.1.2 — pulido visual + colaboración privada
   ========================================================= */
.home-categories{margin-top:30px;margin-bottom:30px}
.category-strip-v2{gap:8px}
.category-tile{padding:12px 14px;border-radius:16px;min-height:68px}
.category-icon{width:34px;height:34px;border-radius:11px;font-size:1.02rem}
.category-copy strong{font-size:.88rem}
.category-copy small{font-size:.69rem}

/* Un solo destacado debe usar TODO el ancho disponible, incluso bajo 1050px. */
.item-grid.item-grid-featured{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.item-grid.item-grid-featured:has(> .item-card:only-child){display:block}
.item-grid.item-grid-featured>.item-card:only-child{
  width:100%;
  display:grid;
  grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);
}
.item-grid.item-grid-featured>.item-card:only-child .item-media{aspect-ratio:auto;min-height:310px}
.item-grid.item-grid-featured>.item-card:only-child .item-body{padding:34px;justify-content:center}
.item-grid.item-grid-featured>.item-card:only-child .item-title-row h3{font-size:clamp(1.55rem,3vw,2.25rem)}
.item-grid.item-grid-featured>.item-card:only-child .item-body>p{font-size:.95rem;line-height:1.62;max-width:680px;-webkit-line-clamp:4}
.item-grid.item-grid-featured>.item-card:only-child .item-meta strong{font-size:1.28rem}

/* Chat más discreto y fuera del flujo visual de los títulos. */
.chat-widget{right:18px;bottom:18px}
.chat-launch{width:auto;min-width:48px;height:48px;padding:0 14px;border-radius:999px;font-size:0}
.chat-launch::before{content:"✦";font-size:1rem}
.chat-launch::after{content:" Ayuda";font-size:.76rem;font-weight:800;margin-left:7px}

/* Mejor comportamiento en pantallas medianas y móviles. */
@media(max-width:1050px){
  .item-grid.item-grid-featured:has(> .item-card:only-child){display:block}
  .item-grid.item-grid-featured>.item-card:only-child{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr)}
}
@media(max-width:760px){
  .category-tile{min-height:62px;padding:11px 12px}
  .item-grid.item-grid-featured>.item-card:only-child{display:flex;width:100%}
  .item-grid.item-grid-featured>.item-card:only-child .item-media{aspect-ratio:16/10;min-height:0}
  .item-grid.item-grid-featured>.item-card:only-child .item-body{padding:18px}
  .chat-widget{right:12px;bottom:12px}
  .chat-launch{width:46px;min-width:46px;height:46px;padding:0;border-radius:50%}
  .chat-launch::after{display:none}
}

/* 0.1.3 · Visita interactiva 360 Nevado de Lolén */
.interactive-tour-section{margin-top:26px}
.tour-section-head{align-items:flex-end;gap:24px}
.tour-section-head .section-intro{max-width:760px;margin:.65rem 0 0;color:var(--muted);line-height:1.7}
.tour-legend{display:flex;flex-wrap:wrap;gap:8px 14px;justify-content:flex-end;color:var(--muted);font-size:.78rem}
.tour-legend span{display:inline-flex;align-items:center;gap:6px}.tour-legend .dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.dot.available,.tour-status.available{background:#dff5e8;color:#176c45}.dot.available{background:#2c9a66}
.dot.reserved,.tour-status.reserved{background:#fff0ca;color:#8a5b00}.dot.reserved{background:#e5a629}
.dot.sold,.tour-status.sold{background:#fde1e1;color:#9b2d2d}.dot.sold{background:#d95a5a}
.dot.pending,.tour-status.pending{background:#e8eff5;color:#4e6475}.dot.pending{background:#8095a5}
.tour-sector-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0 12px}
.tour-sector-tab{appearance:none;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:10px 15px;font-weight:800;cursor:pointer}
.tour-sector-tab:hover{border-color:#b8d6c8}.tour-sector-tab.active{background:var(--ink);border-color:var(--ink);color:#fff}
.tour-workspace{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.72fr);gap:14px;align-items:stretch}
.tour-viewer-shell{position:relative;min-height:620px;border-radius:26px;overflow:hidden;background:#cbded5;border:1px solid var(--line);box-shadow:var(--shadow)}
.tour-panorama{width:100%;height:620px;background:#cbded5}
.tour-loading,.tour-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center;gap:7px;padding:28px;background:linear-gradient(140deg,rgba(238,249,250,.96),rgba(232,244,237,.96));z-index:4}
.tour-loading span,.tour-fallback p{color:var(--muted);margin:0}.tour-fallback[hidden],.tour-loading[hidden]{display:none}
.tour-help{display:flex;gap:8px 18px;flex-wrap:wrap;padding:10px 4px 0;color:var(--muted);font-size:.76rem}
.tour-unit-panel{border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:var(--shadow);min-height:620px;overflow:hidden;display:flex;align-items:stretch}
.tour-empty-selection{padding:32px;display:flex;flex-direction:column;justify-content:center}.tour-empty-selection h3{font-size:1.65rem;margin:.25rem 0 .75rem;line-height:1.05}.tour-empty-selection p:last-child{color:var(--muted);line-height:1.7;margin:0}
.tour-selection-icon{width:54px;height:54px;border-radius:18px;background:var(--ice);display:grid;place-items:center;color:var(--accent);font-size:1.45rem;margin-bottom:24px}
.tour-selected-card{padding:28px;display:flex;flex-direction:column;width:100%}.tour-selected-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.tour-selected-top h3{font-size:1.8rem;line-height:1.05;margin:.25rem 0}.tour-status{padding:7px 10px;border-radius:999px;font-size:.72rem;font-weight:900;white-space:nowrap}
.tour-selected-price{font-size:2rem;font-weight:900;letter-spacing:-.04em;margin:18px 0}.tour-selected-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:16px}.tour-selected-facts div{padding:13px;border-radius:16px;background:var(--soft)}.tour-selected-facts span{display:block;color:var(--muted);font-size:.72rem;margin-bottom:5px}.tour-selected-facts strong{font-size:.98rem}
.tour-selected-summary{color:var(--muted);line-height:1.65}.tour-selected-actions{display:grid;gap:9px;margin-top:auto;padding-top:20px}.tour-selected-actions .btn{width:100%;justify-content:center}.tour-selected-note{display:block;color:var(--muted);line-height:1.5;margin-top:14px}
.tour-disclaimer{color:var(--muted);font-size:.72rem;line-height:1.55;margin:12px 4px 0}
.unit-hotspot-wrap{width:0;height:0;cursor:pointer}
.unit-hotspot{position:relative;display:flex;align-items:center;gap:6px;transform:translate(-50%,-50%);filter:drop-shadow(0 5px 10px rgba(0,0,0,.22))}
.unit-hotspot-marker{min-width:38px;height:38px;padding:0 8px;border-radius:999px;border:3px solid #fff;background:#8095a5;color:#fff;display:grid;place-items:center;font-size:.72rem;font-weight:900;white-space:nowrap;box-shadow:0 0 0 2px rgba(18,35,29,.12)}
.unit-hotspot-label{position:absolute;left:50%;top:44px;transform:translateX(-50%);opacity:0;pointer-events:none;background:rgba(17,34,28,.92);color:#fff;border-radius:9px;padding:6px 8px;white-space:nowrap;font-size:.68rem;font-weight:800;transition:.15s ease}
.unit-hotspot:hover .unit-hotspot-label,.unit-hotspot:focus-within .unit-hotspot-label{opacity:1}
.unit-hotspot.state-available .unit-hotspot-marker{background:#2c9a66}.unit-hotspot.state-reserved .unit-hotspot-marker{background:#e5a629}.unit-hotspot.state-sold .unit-hotspot-marker{background:#d95a5a}.unit-hotspot.state-pending .unit-hotspot-marker{background:#8095a5}
.pnlm-container{font-family:inherit}.pnlm-controls-container .pnlm-control{border-radius:10px;background-color:rgba(255,255,255,.9)}
.chat-context{padding:9px 12px;background:var(--ice);border-bottom:1px solid var(--line)}.chat-context span{display:block;color:var(--muted);font-size:.68rem}.chat-context strong{font-size:.8rem}
@media(max-width:950px){.tour-workspace{grid-template-columns:1fr}.tour-viewer-shell,.tour-panorama{height:540px;min-height:540px}.tour-unit-panel{min-height:0}.tour-empty-selection{min-height:250px}.tour-selected-actions{margin-top:10px}.tour-legend{justify-content:flex-start}}
@media(max-width:620px){.tour-section-head{display:block}.tour-sector-tabs{display:grid;grid-template-columns:1fr}.tour-sector-tab{width:100%}.tour-viewer-shell,.tour-panorama{height:62vh;min-height:430px;border-radius:20px}.tour-unit-panel{border-radius:20px}.tour-selected-card{padding:20px}.tour-selected-top{display:block}.tour-status{display:inline-flex;margin-top:7px}.tour-selected-facts{grid-template-columns:1fr 1fr}.unit-hotspot-marker{min-width:34px;height:34px;border-width:2px;font-size:.67rem}.tour-help{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px}}

/* 0.1.4 · visor 360 nativo autocontenido */
.tour-panorama{position:relative;overflow:hidden;touch-action:none;background:#cbded5}
.native-pano-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;touch-action:none}
.native-pano-canvas.is-dragging{cursor:grabbing}
.native-pano-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.native-hotspot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;border:0;background:transparent;padding:0;cursor:pointer;filter:drop-shadow(0 5px 10px rgba(0,0,0,.25));z-index:3}
.native-hotspot>span{min-width:39px;height:39px;padding:0 8px;border-radius:999px;border:3px solid #fff;background:#8095a5;color:#fff;display:grid;place-items:center;font-size:.72rem;font-weight:900;box-shadow:0 0 0 2px rgba(18,35,29,.15);transition:transform .14s ease, box-shadow .14s ease, background .14s ease}
.native-hotspot>small{position:absolute;left:50%;top:46px;transform:translateX(-50%);opacity:0;background:rgba(17,34,28,.94);color:#fff;border-radius:9px;padding:7px 9px;white-space:nowrap;font-size:.68rem;font-weight:800;transition:.15s ease}
.native-hotspot:hover>small,.native-hotspot:focus>small{opacity:1}
.native-hotspot:hover>span,.native-hotspot:focus>span{transform:scale(1.05)}
.native-hotspot.is-selected>span{transform:scale(1.08);box-shadow:0 0 0 4px rgba(44,154,102,.20),0 0 0 2px rgba(18,35,29,.15)}
.native-hotspot.state-available>span{background:#2c9a66}.native-hotspot.state-reserved>span{background:#e5a629}.native-hotspot.state-sold>span{background:#d95a5a}.native-hotspot.state-pending>span{background:#8095a5}
.native-pano-controls{position:absolute;right:14px;top:14px;display:grid;grid-template-columns:repeat(4,38px);gap:6px;z-index:5}
.native-pano-controls button{width:38px;height:38px;border-radius:11px;border:1px solid rgba(20,45,36,.16);background:rgba(255,255,255,.92);color:#12231d;font-weight:900;font-size:1rem;box-shadow:0 4px 14px rgba(0,0,0,.14);cursor:pointer}
.native-pano-controls button:hover{background:#fff;transform:translateY(-1px)}
.tour-panorama:fullscreen{width:100vw;height:100vh;background:#0d1713}.tour-panorama:fullscreen .native-pano-canvas{width:100%;height:100%}
@media(max-width:620px){.native-pano-controls{grid-template-columns:repeat(2,38px)}.native-hotspot>span{min-width:34px;height:34px;border-width:2px;font-size:.66rem}.native-hotspot>small{display:none}}
