.mobile-market{display:none}
.catalog-note{max-width:620px;color:var(--muted);line-height:1.65}
.photo-count{position:absolute;right:15px;bottom:15px;z-index:1;padding:7px 9px;background:rgba(15,29,22,.78);color:#fff;font-size:8px;font-weight:700;letter-spacing:1px;backdrop-filter:blur(6px)}
.source-card-badge{position:absolute;left:15px;bottom:15px;padding:7px 9px;background:#203d30;color:#dcff6b;font-size:8px;font-weight:700;letter-spacing:1px}.card-source{display:block;margin-bottom:5px;color:#6f5b32;font-size:8px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.source-property{display:flex;gap:12px;align-items:center;margin-bottom:24px;padding:14px 16px;background:#f2ead9;border-left:3px solid #9f7c38;font-size:11px}.source-property b{color:#6f5b32;text-transform:uppercase;letter-spacing:.8px}.external-check{display:inline-block;margin-bottom:14px;padding:7px 9px;background:#203d30;color:#dcff6b;font-size:9px;font-weight:700;letter-spacing:1px}.external-check-copy{color:#667069;line-height:1.55}.external-source-id{margin:18px 0 14px;padding:13px 14px;border:1px solid #d7cfbd;background:#f6f2e8;color:#59645e;font-size:9px;font-weight:700;letter-spacing:.7px;text-align:center}

@media(max-width:600px){
  :root{--mobile-edge:16px}
  body{background:#f4f1e8}
  .topbar{background:rgba(248,246,239,.94);backdrop-filter:blur(18px);border-bottom-color:rgba(23,35,29,.08)}
  .hero{height:calc(100svh - 68px);min-height:660px;max-height:790px;background-image:linear-gradient(180deg,rgba(7,18,12,.2) 0%,rgba(7,18,12,.48) 46%,rgba(7,18,12,.91) 100%),url('/uploads/cdmx-condesa-mobile.webp');background-position:58% center}
  .hero-content{padding:54px var(--mobile-edge) 0}
  .hero .kicker{display:inline-flex;align-items:center;gap:9px;font-size:9px;letter-spacing:2.7px}
  .hero .kicker:before{content:"";width:24px;height:1px;background:var(--lime)}
  .hero h1{font-size:clamp(51px,15vw,64px);line-height:.91;letter-spacing:-2.8px;margin:22px 0 16px;max-width:355px}
  .hero-content>p{font-size:13px;line-height:1.65;color:rgba(255,255,255,.82);max-width:330px}
  .hero-search{bottom:18px;left:var(--mobile-edge);right:var(--mobile-edge);padding:10px;background:rgba(255,255,255,.96);border-radius:20px;gap:0;box-shadow:0 24px 60px rgba(0,0,0,.32)}
  .hero-search .switch{height:44px;background:#eceeea;border-radius:13px;padding:4px;margin-bottom:7px}
  .hero-search .switch span{border-radius:10px;background:transparent;font-size:13px;font-weight:700}
  .hero-search .switch input:checked+span{background:#183d2f;box-shadow:0 5px 14px rgba(24,61,47,.22)}
  .hero-search>label{display:none}
  .hero-search button{min-height:50px;border-radius:13px;font-size:13px;letter-spacing:.2px}
  .mobile-market{display:block;padding:32px var(--mobile-edge) 15px}
  .mobile-market-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:14px}
  .mobile-market-head span{font-size:8px;font-weight:700;letter-spacing:2px;color:#718078}
  .mobile-market-head strong{font:600 19px 'Playfair Display',serif}
  .mobile-market-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .mobile-market-grid a{min-height:174px;border-radius:20px;padding:17px;display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:0 12px 28px rgba(25,43,34,.1)}
  .mobile-market-grid a:after{content:"";position:absolute;width:105px;height:105px;border:1px solid rgba(255,255,255,.2);border-radius:50%;right:-38px;top:-33px}
  .mobile-market-grid small{font-size:9px;letter-spacing:.6px;opacity:.7}
  .mobile-market-grid b{font:600 25px/1.02 'Playfair Display',serif;margin-top:16px;max-width:110px}
  .mobile-market-grid span{font-size:10px;margin-top:auto;display:flex;align-items:center;justify-content:space-between}
  .mobile-market-grid i{font-style:normal;width:29px;height:29px;border-radius:50%;display:grid;place-items:center}
  .market-sale{background:#173d2f;color:#fff}
  .market-sale i{background:var(--lime);color:#173d2f}
  .market-rent{background:#dfff73;color:#173126}
  .market-rent i{background:#173d2f;color:#fff}
  .section{padding-top:48px}
  .section-heading{margin-bottom:22px}
  .section-heading h2{font-size:36px;line-height:1.02}
  .section-heading>a{border:0;background:#fff;border-radius:20px;padding:10px 12px;margin-top:20px;font-size:10px}
  .property-card{border-radius:22px;border:1px solid rgba(27,49,38,.06);box-shadow:0 14px 38px rgba(29,47,38,.1)}
  .card-image{height:76vw;min-height:282px;max-height:360px}
  .card-image:after{content:"";position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(transparent,rgba(5,15,10,.48));pointer-events:none}
  .status{z-index:1;top:16px;left:16px;border:0;border-radius:20px;padding:8px 11px;letter-spacing:1.1px}
  .property-sale .status{background:#173d2f;color:#fff}
  .property-rent .status{background:#dfff73;color:#173126}
  .vip-card-badge{z-index:1}
  .select-property{z-index:2;top:15px;right:15px;background:rgba(255,255,255,.92);backdrop-filter:blur(8px)}
  .card-body{padding:19px 18px 20px}
  .place{font-size:9px;letter-spacing:1.3px;color:#77827c}
  .card-body h3{font-size:27px;line-height:1.05;margin:9px 0 12px}
  .card-price{font-size:20px;margin:0 0 16px}
  .card-price small{font-size:11px;color:#606a64;margin-left:3px}
  .facts{padding-top:14px;color:#506158}
  .listing-page{padding:26px var(--mobile-edge) 75px}
  .page-intro{background:#173d2f;color:#fff;margin:-26px calc(var(--mobile-edge) * -1) 22px;padding:34px var(--mobile-edge) 20px;border-radius:0 0 28px 28px}
  .page-intro .kicker.dark{color:#b7c5bd}
  .page-intro h1{font-size:43px;line-height:.98;letter-spacing:-1.8px;margin:11px 0 12px;max-width:350px}
  .page-intro .catalog-note{font-size:12px;line-height:1.55;color:rgba(255,255,255,.68);margin:0 0 22px;max-width:330px}
  .mobile-operation-tabs{margin:0 0 18px;padding:4px;background:rgba(255,255,255,.09);border-radius:16px;gap:3px;overflow:visible}
  .mobile-operation-tabs a{flex:1;text-align:center;border:0;border-radius:12px;padding:12px 8px;color:#d8e0dc;font-size:11px}
  .mobile-operation-tabs a.active{background:#fff;color:#173d2f;box-shadow:0 7px 17px rgba(0,0,0,.14)}
  .catalog-rent .mobile-operation-tabs a.active{background:var(--lime)}
  .result-line{border-top:1px solid rgba(255,255,255,.12);border-bottom:0;padding:14px 0 0}
  .result-line p{color:#d6ded9;margin:0;font-size:11px}
  .result-line p strong{color:#fff;font-size:18px;margin-right:3px}
  .sort-form label{color:#fff}
  .sort-form select{color:#fff;background-color:transparent;border-color:rgba(255,255,255,.3)}
  .sort-form select option{color:#17231d}
  .filter-toggle{color:#fff;border-color:rgba(255,255,255,.45);border-radius:12px;min-height:40px;padding:0 12px;font-size:11px}
  .listing-layout{margin-top:0}
  .listing-cards{gap:22px}

  .listing-page{--lime:#c9b27f;background:#f2efe7;padding-left:18px;padding-right:18px}
  .listing-page .page-intro{background:#142d24;margin-left:-18px;margin-right:-18px;border-radius:0;padding-left:18px;padding-right:18px}
  .listing-page .page-intro .kicker.dark{color:#c9b27f}
  .listing-page .mobile-operation-tabs{border:1px solid rgba(201,178,127,.35);border-radius:0;padding:3px;background:transparent}
  .listing-page .mobile-operation-tabs a{border-radius:0;color:#d2d9d5}
  .listing-page .mobile-operation-tabs a.active,.listing-page.catalog-rent .mobile-operation-tabs a.active{background:#c9b27f;color:#142d24;box-shadow:none}
  .listing-page .filter-toggle{border-radius:0}
  .listing-page .listing-cards{gap:12px}
  .listing-page .property-card{border-radius:0;border:1px solid #d8d1c3;box-shadow:none;background:#faf8f2}
  .listing-page .card-image{height:68vw;min-height:255px;border-radius:0}
  .listing-page .status{border-radius:0}
  .listing-page .property-rent .status{background:#c9b27f}
  .listing-page .select-property{border-radius:0;box-shadow:0 4px 16px rgba(0,0,0,.12)}
  .detail-page .gallery.mobile-gallery{display:flex;position:relative;grid-template-columns:none;grid-template-rows:none;gap:7px;height:74vw;max-height:360px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 14px;margin-left:-14px;margin-right:-14px}
  .detail-page .gallery.mobile-gallery::-webkit-scrollbar{display:none}
  .mobile-gallery .mobile-gallery-item{display:block;flex:0 0 88%;height:100%;border:0;background-size:cover;background-position:center;scroll-snap-align:center}
  .mobile-gallery-count{position:sticky;right:25px;bottom:12px;align-self:flex-end;flex:0 0 auto;margin-left:-58px;margin-bottom:12px;padding:7px 10px;background:rgba(15,29,22,.82);color:#fff;font-size:9px;letter-spacing:1px;pointer-events:none}

  /* Mobile luxury direction: warm ivory, ink green and muted gold. */
  body:has(.hero){--lime:#c9b27f;background:#f2efe7}
  body:has(.hero) .topbar{height:64px;background:#f7f4ec;border-bottom:0}
  body:has(.hero) .logo b{border-color:#1b2d25}
  body:has(.hero) .hero{height:510px;min-height:510px;max-height:510px;background-image:linear-gradient(180deg,rgba(8,18,13,.12),rgba(8,18,13,.3) 48%,rgba(8,18,13,.84)),url('/uploads/cdmx-condesa-mobile.webp');background-position:56% center}
  body:has(.hero) .hero-content{padding:34px 18px 0}
  body:has(.hero) .hero .kicker{font-size:8px;letter-spacing:3px}
  body:has(.hero) .hero .kicker:before{background:#c9b27f}
  body:has(.hero) .hero h1{font-size:49px;line-height:.92;max-width:340px;margin:17px 0 11px}
  body:has(.hero) .hero h1 em{color:#e8d7ad}
  body:has(.hero) .hero-content>p{font-size:11px;line-height:1.5;max-width:285px;color:rgba(255,255,255,.74)}
  body:has(.hero) .hero-search{left:18px;right:18px;bottom:18px;padding:7px;background:rgba(248,246,239,.96);border:1px solid rgba(255,255,255,.55);border-radius:3px;box-shadow:0 18px 50px rgba(0,0,0,.28)}
  body:has(.hero) .hero-search .switch{height:39px;margin-bottom:6px;padding:0;background:transparent;border-bottom:1px solid #d8d2c4;border-radius:0}
  body:has(.hero) .hero-search .switch span{border-radius:0;background:transparent;color:#526159;font-size:11px;letter-spacing:.5px}
  body:has(.hero) .hero-search .switch input:checked+span{background:#1b382d;color:#fff;box-shadow:none}
  body:has(.hero) .hero-search button{min-height:43px;border-radius:0;background:#c9b27f;color:#15251e;font-size:11px;letter-spacing:.7px;text-transform:uppercase}

  body:has(.hero) .mobile-market{padding:22px 18px 18px;background:#f2efe7}
  body:has(.hero) .mobile-market-head{align-items:center;margin-bottom:12px}
  body:has(.hero) .mobile-market-head span{color:#655329;font-size:7px;letter-spacing:2.4px}
  body:has(.hero) .mobile-market-head strong{font-size:17px;font-weight:600}
  body:has(.hero) .mobile-market-grid{gap:1px;background:#cfc8b9;border:1px solid #cfc8b9}
  body:has(.hero) .mobile-market-grid a{min-height:106px;padding:13px 14px;border-radius:0;box-shadow:none}
  body:has(.hero) .mobile-market-grid a:after{display:none}
  body:has(.hero) .mobile-market-grid small{font-size:7px;letter-spacing:1px;text-transform:uppercase}
  body:has(.hero) .mobile-market-grid b{font-size:20px;line-height:1;margin-top:8px}
  body:has(.hero) .mobile-market-grid span{font-size:8px;letter-spacing:.2px}
  body:has(.hero) .mobile-market-grid i{width:23px;height:23px}
  body:has(.hero) .market-sale{background:#18362b}
  body:has(.hero) .market-sale i{background:#c9b27f}
  body:has(.hero) .market-rent{background:#faf8f2;color:#183027}
  body:has(.hero) .market-rent i{background:#18362b}

  body:has(.hero) .vip-strip{padding:25px 18px;gap:13px;background:#12281f;color:#f7f2e7;border-top:1px solid #56645d}
  body:has(.hero) .vip-strip>div>span{color:#c9b27f;font-size:8px;letter-spacing:2.4px}
  body:has(.hero) .vip-strip h2{font-size:29px;line-height:1.02;margin:8px 0}
  body:has(.hero) .vip-strip h2 em{color:#c9b27f}
  body:has(.hero) .vip-strip p{display:none}
  body:has(.hero) .vip-strip-price{border-color:#53645b;padding:12px 0 0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:3px 9px}
  body:has(.hero) .vip-strip-price small{grid-column:1;color:#aeb8b2}
  body:has(.hero) .vip-strip-price strong{grid-column:1 / 3;font-size:25px;margin:0;color:#f7f2e7}
  body:has(.hero) .vip-strip-price span{grid-column:3;grid-row:2;color:#aeb8b2}
  body:has(.hero) .vip-strip-price a{grid-column:1 / -1;margin-top:7px;padding:11px;border:1px solid #c9b27f;background:transparent;color:#e7d5aa;text-transform:uppercase;letter-spacing:1px}

  body:has(.hero) .section{padding:31px 18px;background:#f2efe7}
  body:has(.hero) .section-heading{margin-bottom:15px;align-items:end}
  body:has(.hero) .section-heading h2{font-size:30px;letter-spacing:-1px}
  body:has(.hero) .section-heading>a{margin:0;padding:0 0 3px;border-radius:0;background:transparent;border-bottom:1px solid #83765c;font-size:8px;letter-spacing:.8px;text-transform:uppercase}
  body:has(.hero) .cards{gap:1px;border-top:1px solid #d6d0c3}
  body:has(.hero) .property-card{display:grid;grid-template-columns:42% 58%;min-height:151px;border:0;border-bottom:1px solid #d6d0c3;border-radius:0;box-shadow:none;background:#f8f6f0}
  body:has(.hero) .card-image{height:100%;min-height:151px;max-height:166px;border-radius:0}
  body:has(.hero) .card-image:after{height:45%}
  body:has(.hero) .vip-card-badge{display:none}
  body:has(.hero) .photo-count{display:none}
  body:has(.hero) .status{top:9px;left:9px;padding:6px 7px;border-radius:0;font-size:6px;letter-spacing:1.2px}
  body:has(.hero) .property-rent .status{background:#c9b27f}
  body:has(.hero) .select-property{top:9px;right:9px;width:32px;height:32px;border:1px solid #d8d1c3;border-radius:0;box-shadow:none}
  body:has(.hero) .card-body{padding:15px 13px}
  body:has(.hero) .place{font-size:6px;letter-spacing:1.2px;color:#665f55}
  body:has(.hero) .card-body h3{font-size:19px;line-height:1.02;margin:7px 0 9px}
  body:has(.hero) .card-price{font-size:13px;margin-bottom:10px;letter-spacing:.2px}
  body:has(.hero) .facts{font-size:7px;padding-top:9px;gap:5px;color:#5f6761}
  body:has(.hero) .proof,body:has(.hero) .split-section,body:has(.hero) .contact-band{display:none}
  body:has(.hero) .business-paths{grid-template-columns:1fr 1fr;gap:1px;background:#cfc8b9}
  body:has(.hero) .business-paths a{padding:24px 15px;min-height:170px;background:#e7e1d4}
  body:has(.hero) .business-paths a+a{background:#d8dfd4}
  body:has(.hero) .business-paths span{font-size:6px;letter-spacing:1.4px}
  body:has(.hero) .business-paths h2{font-size:21px;line-height:1.04;margin:9px 0}
  body:has(.hero) .business-paths p{font-size:9px;line-height:1.4;margin:0 0 10px}
  body:has(.hero) .business-paths b{font-size:8px}
  body:has(.hero) footer{padding:24px 18px;gap:10px}
}

@media(max-width:360px){
  .mobile-market-grid a{min-height:158px;padding:14px}
  .mobile-market-grid b{font-size:22px}
  .page-intro h1{font-size:38px}
}
