
:root{--blue:#0b4f9c;--blue2:#0a67c7;--ink:#102033;--muted:#65758b;--line:#dfe7f0;--bg:#f5f8fc;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:#fff}a{color:inherit}img{max-width:100%;display:block}
.container{width:min(1180px,92%);margin:auto}.btn,.detailsBtn,.waBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:11px 16px;font-weight:700;text-decoration:none;background:#fff;color:var(--ink);cursor:pointer}.btn.blue,.waBtn{background:var(--blue);border-color:var(--blue);color:#fff}.btn:hover,.detailsBtn:hover,.waBtn:hover{filter:brightness(.97)}
header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.topbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;color:var(--blue)}.brand img{width:54px;height:54px;object-fit:contain}.nav{display:flex;align-items:center;gap:22px}.nav a{text-decoration:none;font-weight:650}.menuBtn{display:none}
.hero{padding:78px 0;background:linear-gradient(135deg,#eef5ff,#fff)}.heroGrid{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center}.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.02;margin:0 0 20px}.hero p{font-size:18px;color:var(--muted);line-height:1.65}.eyebrow{color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.08em}
section{padding:64px 0}.sectionTitle{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.sectionTitle h2{font-size:34px;margin:0}.muted{color:var(--muted)}
.filters{display:grid;grid-template-columns:2fr repeat(4,1fr) auto;gap:10px;margin:18px 0 26px}.filters input,.filters select,.adminForm input,.adminForm select,.adminForm textarea,.formCard input,.formCard select,.formCard textarea{width:100%;padding:12px 13px;border:1px solid #ccd8e6;border-radius:9px;background:#fff;font:inherit}
.propertyGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.property{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(21,48,80,.07)}.photo{height:230px;background:#eaf0f7;position:relative;display:flex;align-items:center;justify-content:center;color:var(--muted)}.photo img{width:100%;height:100%;object-fit:cover}.badges{position:absolute;left:12px;top:12px;display:flex;gap:7px;flex-wrap:wrap}.badge{background:#fff;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800;box-shadow:0 2px 8px #0001}.propertyBody{padding:18px}.propertyBody h3{margin:0 0 7px;font-size:21px}.location{color:var(--muted)}.price{font-size:24px;font-weight:900;color:var(--blue);margin:13px 0}.specs{display:flex;gap:12px;flex-wrap:wrap;color:#4c5d72;font-size:14px}.cardActions{display:flex;gap:9px;margin-top:17px}.empty{padding:30px;text-align:center;border:1px dashed var(--line);border-radius:12px;color:var(--muted)}
.formCard{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.formCard label,.adminForm label{display:grid;gap:6px;font-weight:650}.formCard .full{grid-column:1/-1}
.services{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.service{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff}
.cta{background:var(--blue);color:#fff}.cta .btn{border-color:#fff}footer{padding:30px 0;background:#071c33;color:#d8e4f1}
dialog{border:0;border-radius:16px;padding:0;width:min(760px,92vw);box-shadow:0 24px 70px #0005}dialog::backdrop{background:#071c3388}.modalBody{padding:22px}.closeModal{position:sticky;float:right;top:10px;margin:10px;border:0;border-radius:50%;width:38px;height:38px;font-size:22px;cursor:pointer}
.adminBody{background:var(--bg)}.adminShell{width:min(1180px,94%);margin:34px auto}.adminTop{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.adminTop h1,.adminTop h2{margin:0}.adminNotice{padding:12px 14px;border-radius:10px;background:#eaf3ff;color:#25496f}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.stat,.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 7px 22px rgba(21,48,80,.05)}.stat strong{font-size:30px;display:block;color:var(--blue)}.stat span{color:var(--muted)}.adminGrid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.adminForm{display:grid;grid-template-columns:1fr 1fr;gap:13px}.adminForm .full{grid-column:1/-1}.adminList{display:grid;gap:10px}.adminItem{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:10px}.miniActions{display:flex;gap:7px}.miniActions button{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.miniActions .danger{color:#a91d2a}.leadTable{width:100%;border-collapse:collapse}.leadTable th,.leadTable td{text-align:left;border-bottom:1px solid var(--line);padding:10px;font-size:14px}
@media(max-width:850px){.nav{display:none}.nav.open{display:flex;position:absolute;top:76px;left:0;right:0;padding:18px;background:#fff;flex-direction:column;border-bottom:1px solid var(--line)}.menuBtn{display:block}.heroGrid,.adminGrid{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.propertyGrid{grid-template-columns:1fr 1fr}.services{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.propertyGrid,.services,.stats,.adminForm,.formCard,.filters{grid-template-columns:1fr}.adminForm .full,.formCard .full{grid-column:auto}.adminTop{align-items:flex-start;flex-direction:column}.photo{height:210px}}
/* v6 finalización puntos 1-5 */
.header{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.header nav{display:flex;align-items:center;gap:18px}.header nav a{text-decoration:none;font-weight:650}.menu{display:none}.pill{display:inline-block;color:var(--blue);font-weight:900;letter-spacing:.06em}.actions{display:flex;gap:10px;flex-wrap:wrap}.heroCard{padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 32px #1232;display:grid;gap:14px}.filterSection{padding:28px 0;background:#f7faff}.filterSection .filters{display:block}.filterTitle,.sectionHead,.ctaBox,.ownerGrid,.footer{display:flex;justify-content:space-between;gap:28px;align-items:flex-start}.filterGrid{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:10px}.linkBtn,.footerLink{border:0;background:transparent;color:var(--blue);text-decoration:underline;cursor:pointer;padding:8px 0}.section{padding:64px 0}.alt{background:#f7faff}.ownerGrid{display:grid;grid-template-columns:.9fr 1.1fr}.checklist{display:grid;gap:9px;margin-top:20px}.services article{padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff}.services article b{font-size:18px}.services article p{color:var(--muted);line-height:1.55}.zoneChips{display:flex;gap:10px;flex-wrap:wrap}.zoneChips span{padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:700}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:8px}.gallery img{width:100%;height:260px;object-fit:cover;border-radius:12px}.gallery img:first-child:nth-last-child(1){grid-column:1/-1;height:390px}.detailSpecs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.detailSpecs span{padding:12px;background:#f5f8fc;border-radius:10px}.detailSpecs b{display:block;color:var(--blue);font-size:18px}.modalActions{display:flex;gap:10px;flex-wrap:wrap}.interestForm{margin-top:18px;display:grid;gap:10px}.interestForm[hidden]{display:none}.interestForm input,.interestForm textarea{width:100%;padding:12px;border:1px solid #ccd8e6;border-radius:9px;font:inherit}.floatingWa{position:fixed;right:22px;bottom:22px;z-index:40;background:#118c4f;color:#fff;text-decoration:none;font-weight:900;padding:14px 18px;border-radius:999px;box-shadow:0 8px 28px #0003}.formMsg{font-weight:700}.footer{display:grid;grid-template-columns:repeat(3,1fr)}.footerLink{color:#d8e4f1}.whatsapp{background:var(--blue);color:#fff;padding:10px 13px;border-radius:9px}
@media(max-width:850px){.header nav{display:none}.header nav.open{display:flex;position:absolute;top:76px;left:0;right:0;padding:18px;background:#fff;flex-direction:column;border-bottom:1px solid var(--line)}.menu{display:block}.ownerGrid{grid-template-columns:1fr}.filterGrid{grid-template-columns:1fr 1fr}.detailSpecs{grid-template-columns:1fr 1fr}.footer{grid-template-columns:1fr}.sectionHead,.filterTitle,.ctaBox{flex-direction:column}.gallery img{height:220px}}
@media(max-width:560px){.filterGrid,.detailSpecs{grid-template-columns:1fr}.gallery{grid-template-columns:1fr}.gallery img,.gallery img:first-child:nth-last-child(1){height:240px}.floatingWa{right:12px;bottom:12px}.brand span{font-size:14px}}
/* Hero visual v7 */
.brand img{width:76px;height:64px;object-fit:contain}.brand{gap:14px}.brand span{font-size:18px}
.hero{position:relative;min-height:640px;padding:86px 0;display:flex;align-items:center;background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 31%,rgba(255,255,255,.38) 58%,rgba(255,255,255,.05) 100%),url('hero-inmobiliaria-valles.png');background-size:cover;background-position:center center;background-repeat:no-repeat;overflow:hidden}
.heroGrid{display:block;width:100%}.heroCopy{max-width:650px}.hero h1{font-size:clamp(48px,6vw,78px);line-height:.98;letter-spacing:-.045em;margin:10px 0 22px;color:#0c1c33}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{max-width:610px;font-size:19px;color:#506985;line-height:1.6}.heroBenefits{display:flex;gap:14px;flex-wrap:wrap;margin:28px 0 30px}.heroBenefits span{display:flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid rgba(21,87,168,.18);background:rgba(255,255,255,.88);border-radius:12px;color:#173250;box-shadow:0 8px 24px rgba(11,45,87,.08)}.heroBenefits span::first-letter{color:var(--blue)}.hero .actions .btn{padding:14px 20px}.hero .btn.light{background:rgba(255,255,255,.94);border:1px solid #b9cbe0;color:#0d3768}
@media(max-width:850px){.brand img{width:66px;height:56px}.brand span{font-size:15px}.hero{min-height:600px;padding:68px 0;background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.86) 58%,rgba(255,255,255,.35)),url('hero-inmobiliaria-valles.png');background-position:60% center}.heroCopy{max-width:580px}.heroBenefits{max-width:520px}}
@media(max-width:560px){.brand img{width:58px;height:50px}.brand span{font-size:13px}.hero{min-height:650px;padding:58px 0;background-image:linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,.82)),url('hero-inmobiliaria-valles.png');background-position:68% center}.hero h1{font-size:48px}.hero p{font-size:17px}.heroBenefits{display:grid}.hero .actions{display:grid}.hero .actions .btn{text-align:center}}
/* v8 hero corregido: imagen limpia sin texto/UI incrustados */
.hero{min-height:620px;padding:76px 0;background-image:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.96) 35%,rgba(255,255,255,.76) 52%,rgba(255,255,255,.12) 78%,rgba(255,255,255,.04) 100%),url('hero-background-clean.jpg');background-size:cover;background-position:center 52%;}
.heroCopy{max-width:660px;position:relative;z-index:2}.hero .pill{font-size:16px}.hero h1{font-size:clamp(48px,5.7vw,76px);max-width:650px}.hero p{max-width:600px}.heroBenefits{max-width:650px}.heroBenefits span{background:rgba(255,255,255,.95)}
.brand img{width:92px;height:68px}.brand span{font-size:19px}
@media(max-width:850px){.hero{min-height:590px;padding:64px 0;background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.88) 62%,rgba(255,255,255,.34)),url('hero-background-clean.jpg');background-position:58% center}.brand img{width:78px;height:60px}}
@media(max-width:560px){.hero{min-height:640px;background-image:linear-gradient(rgba(255,255,255,.96),rgba(255,255,255,.84)),url('hero-background-clean.jpg');background-position:60% center}.brand img{width:68px;height:54px}.hero h1{font-size:46px}}
/* v9 - portada fiel al diseño aprobado */
header{background:rgba(255,255,255,.97);position:relative;z-index:20}.header{min-height:124px}.brand{display:flex;align-items:center;text-decoration:none;gap:12px;min-width:470px}.brand img{width:112px!important;height:100px!important;object-fit:contain}.brandWords{display:flex;flex-direction:column;line-height:1}.brandWords strong{font-size:38px;font-weight:800;letter-spacing:-.04em;color:#101b2b;white-space:nowrap}.brandWords strong i{font-style:normal;font-weight:300}.brandWords small{margin-top:10px;font-size:11px;letter-spacing:.28em;font-weight:700;color:#17263a;white-space:nowrap}.header nav{gap:28px}.header nav a{font-size:16px}.header nav a:first-child{color:#0b55bd;border-bottom:2px solid #0b55bd;padding-bottom:7px}.header nav .whatsapp{font-size:17px;padding:15px 22px;border-radius:14px;border-bottom:0;color:#fff}
.hero{min-height:680px;padding:50px 0 30px;background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.97) 28%,rgba(255,255,255,.70) 47%,rgba(255,255,255,.08) 72%),url('hero-background-clean.jpg');background-position:center 50%;background-size:cover}.hero .container{width:min(1480px,90%)}.heroCopy{max-width:690px}.hero .pill{font-size:18px;letter-spacing:.06em}.hero h1{font-size:clamp(62px,5.5vw,88px);line-height:.94;max-width:690px;margin:15px 0 20px}.hero p{font-size:20px;line-height:1.5;max-width:590px;margin-bottom:18px}.heroBenefits{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;max-width:690px;margin:22px 0 28px}.heroBenefits span{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0;font-size:14px;line-height:1.2}.benefitIcon{width:48px;height:48px;border:2px solid #d6e3f5;border-radius:50%;display:grid;place-items:center;color:#0b55bd;font-size:22px}.hero .actions{gap:20px}.hero .actions .btn{font-size:17px;font-weight:800;padding:18px 28px;border-radius:12px}.hero .actions .blue{min-width:270px}.hero .actions .light{min-width:330px;border:2px solid #0b55bd;color:#0b3e85;background:#fff}.heroFeatureBar{background:#fff;border-top:1px solid #e4eaf2;border-bottom:1px solid #e4eaf2;box-shadow:0 -8px 25px rgba(17,48,88,.04)}.heroFeatureGrid{display:grid;grid-template-columns:repeat(4,1fr);min-height:112px;align-items:center}.heroFeatureGrid>div{display:flex;align-items:center;gap:18px;padding:10px 28px;border-right:1px solid #dce4ef}.heroFeatureGrid>div:last-child{border-right:0}.hfIcon{font-size:38px;color:#0b55bd}.heroFeatureGrid span{display:grid;gap:4px}.heroFeatureGrid strong{font-size:16px}.heroFeatureGrid small{font-size:14px;color:#687b93}.floatingWa{width:64px;height:64px;padding:0;display:grid;place-items:center;font-size:0;border:4px solid #fff;background:#17b85d}.floatingWa:after{content:'☎';font-size:28px;color:#fff}
@media(max-width:1100px){.brand{min-width:330px}.brand img{width:86px!important;height:78px!important}.brandWords strong{font-size:27px}.brandWords small{font-size:8px}.header nav{gap:14px}.header nav a{font-size:14px}.hero h1{font-size:64px}.heroFeatureGrid>div{padding:10px 14px}}
@media(max-width:850px){.header{min-height:86px}.brand{min-width:0}.brand img{width:68px!important;height:62px!important}.brandWords strong{font-size:22px}.brandWords small{display:none}.hero{min-height:650px;padding:52px 0;background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.88) 66%,rgba(255,255,255,.28)),url('hero-background-clean.jpg')}.hero h1{font-size:58px}.heroBenefits{grid-template-columns:repeat(2,1fr)}.heroFeatureGrid{grid-template-columns:1fr 1fr}.heroFeatureGrid>div:nth-child(2){border-right:0}.heroFeatureGrid>div{min-height:90px;border-bottom:1px solid #e5ebf3}}
@media(max-width:560px){.brandWords strong{font-size:18px}.hero{padding:44px 0;min-height:690px}.hero h1{font-size:48px}.hero p{font-size:17px}.heroBenefits{gap:16px}.hero .actions{grid-template-columns:1fr}.hero .actions .btn{min-width:0}.heroFeatureGrid{grid-template-columns:1fr}.heroFeatureGrid>div{border-right:0}.hfIcon{font-size:30px}}

/* v10 - ajuste exacto de proporciones del diseño aprobado */
@media (min-width:1101px){
  .container{width:min(1480px,90%)}
  .header{min-height:100px;height:100px}
  .brand{min-width:460px;gap:12px}
  .brand img{width:92px!important;height:84px!important}
  .brandWords strong{font-size:32px;line-height:.95}
  .brandWords small{margin-top:8px;font-size:9px;letter-spacing:.27em}
  .header nav{gap:27px}
  .header nav a{font-size:15px}
  .header nav .whatsapp{font-size:16px;padding:14px 22px;border-radius:13px}

  .hero{height:557px;min-height:557px;padding:42px 0 22px;align-items:flex-start;
    background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 25%,rgba(255,255,255,.84) 37%,rgba(255,255,255,.35) 52%,rgba(255,255,255,.02) 72%),url('hero-v10.jpg');
    background-size:cover;background-position:center center}
  .hero .container{width:min(1480px,90%)}
  .heroCopy{max-width:590px}
  .hero .pill{font-size:16px;letter-spacing:.055em}
  .hero h1{font-size:64px;line-height:.94;letter-spacing:-.045em;max-width:580px;margin:11px 0 15px}
  .hero p{font-size:17px;line-height:1.45;max-width:525px;margin:0 0 14px}
  .heroBenefits{grid-template-columns:repeat(4,1fr);gap:20px;max-width:590px;margin:15px 0 19px}
  .heroBenefits span{font-size:12px;line-height:1.15;gap:5px}
  .benefitIcon{width:42px;height:42px;font-size:19px}
  .hero .actions{gap:16px;flex-wrap:nowrap}
  .hero .actions .btn{font-size:15px;padding:14px 20px;border-radius:10px;white-space:nowrap}
  .hero .actions .blue{min-width:235px}.hero .actions .light{min-width:280px}

  .heroFeatureGrid{min-height:90px;height:90px}
  .heroFeatureGrid>div{gap:14px;padding:8px 22px}
  .hfIcon{font-size:32px}.heroFeatureGrid strong{font-size:14px}.heroFeatureGrid small{font-size:12px}
  .floatingWa{width:62px;height:62px;right:28px;bottom:24px}
}
/* v11 - ajuste final para viewport 1366x768 y composición aprobada */
@media (min-width:1101px){
  .container{width:min(1228px,90%)}
  .header{height:96px;min-height:96px}
  .brand{min-width:430px;gap:10px}
  .brand img{width:88px!important;height:80px!important}
  .brandWords strong{font-size:31px;line-height:.96}
  .brandWords small{font-size:8.5px;margin-top:7px;letter-spacing:.25em}
  .header nav{gap:26px}
  .header nav a{font-size:14px}
  .header nav .whatsapp{font-size:15px;padding:13px 20px;border-radius:12px}

  .hero{height:468px;min-height:468px;padding:34px 0 18px;align-items:flex-start;
    background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 31%,rgba(255,255,255,.88) 43%,rgba(255,255,255,.36) 57%,rgba(255,255,255,.02) 76%),url('hero-v11-clean.jpg');
    background-size:auto 100%, auto 100%;background-position:left top,right center;background-repeat:no-repeat}
  .hero .container{width:min(1228px,90%)}
  .heroCopy{max-width:555px}
  .hero .pill{font-size:15px;letter-spacing:.055em}
  .hero h1{font-size:56px;line-height:.93;letter-spacing:-.045em;max-width:540px;margin:10px 0 13px}
  .hero p{font-size:15.5px;line-height:1.42;max-width:500px;margin:0 0 13px}
  .heroBenefits{grid-template-columns:repeat(4,1fr);gap:18px;max-width:555px;margin:13px 0 16px}
  .heroBenefits span{font-size:11px;line-height:1.12;gap:4px}
  .benefitIcon{width:39px;height:39px;font-size:18px}
  .hero .actions{gap:14px;flex-wrap:nowrap}
  .hero .actions .btn{font-size:14px;padding:13px 18px;border-radius:10px}
  .hero .actions .blue{min-width:220px}.hero .actions .light{min-width:265px}

  .heroFeatureGrid{height:72px;min-height:72px}
  .heroFeatureGrid>div{gap:11px;padding:6px 18px}
  .hfIcon{font-size:28px}.heroFeatureGrid strong{font-size:13px}.heroFeatureGrid small{font-size:11px}
  .floatingWa{width:58px;height:58px;right:28px;bottom:18px}
}
\n/* v12 - correcciones finales de iconos y primera pantalla */
.benefitIcon svg,.hfIcon svg,.waIcon svg{width:100%;height:100%;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.waIcon{width:23px;height:23px;display:inline-grid;place-items:center;flex:0 0 auto}.whatsapp{display:inline-flex!important;align-items:center;gap:9px}.whatsapp .waIcon svg{stroke-width:1.8}
.floatingWa:after{content:none!important}.floatingWa .waIcon{width:34px;height:34px}.floatingWa .waIcon svg{stroke:#fff;stroke-width:1.8}
@media (min-width:1101px){
  .header{height:92px;min-height:92px}
  .brand img{width:94px!important;height:82px!important}.brandWords strong{font-size:32px}
  .hero{height:444px;min-height:444px;padding:30px 0 14px;background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 31%,rgba(255,255,255,.88) 43%,rgba(255,255,255,.36) 57%,rgba(255,255,255,.02) 76%),url('hero-v11-clean.jpg');background-size:auto 100%,auto 100%;background-position:left top,right center}
  .hero h1{font-size:55px;margin:9px 0 11px}.hero p{margin-bottom:10px}.heroBenefits{margin:10px 0 13px}.benefitIcon{width:40px;height:40px;padding:8px}.hero .actions .btn{padding:12px 18px}
  .heroFeatureBar{display:block!important;height:78px;overflow:hidden}.heroFeatureGrid{height:78px!important;min-height:78px!important}.hfIcon{width:34px;height:34px;display:grid;place-items:center}.hfIcon svg{stroke-width:1.8}
  .floatingWa{bottom:20px}
}

/* v13 - fondo fotográfico limpio existente + WhatsApp perfectamente centrado */
.floatingWa{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  line-height:0!important;
}
.floatingWa .waIcon{
  width:32px!important;
  height:32px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
}
.floatingWa .waIcon svg{
  width:32px!important;
  height:32px!important;
  display:block!important;
  margin:0!important;
  transform:none!important;
}

/* Fotografía real limpia de Unsplash; sin texto ni elementos incrustados. */
.hero{
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 30%,rgba(255,255,255,.88) 43%,rgba(255,255,255,.36) 58%,rgba(255,255,255,.04) 78%),
    url('https://images.unsplash.com/photo-1768765170694-9df20303257f?auto=format&fit=crop&fm=jpg&q=82&w=2400')!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
@media(max-width:850px){
  .hero{background-position:58% center!important}
}
@media(max-width:560px){
  .hero{background-position:62% center!important}
}

/* v14 - fotografía limpia con casa moderna a la derecha y montaña a la izquierda */
.hero{
  background-image:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.99) 29%,rgba(255,255,255,.90) 40%,rgba(255,255,255,.46) 53%,rgba(255,255,255,.08) 69%,rgba(255,255,255,.01) 100%),
    url('https://framerusercontent.com/images/RzBOpbFyAywEXNkFbMTKVhq44.jpg')!important;
  background-size:cover!important;
  background-position:center 54%!important;
  background-repeat:no-repeat!important;
}
@media (min-width:1101px){
  .hero{background-position:center 52%!important}
}
@media(max-width:850px){
  .hero{background-position:62% center!important}
}
@media(max-width:560px){
  .hero{background-position:68% center!important}
}

/* v15 - barra inferior completa dentro de la primera pantalla (desktop) */
@media (min-width:1101px) and (max-height:850px){
  .hero{
    height:414px!important;
    min-height:414px!important;
    padding:25px 0 10px!important;
    background-position:center 52%!important;
  }
  .hero .pill{font-size:15px!important}
  .hero h1{font-size:54px!important;line-height:.93!important;margin:8px 0 10px!important}
  .hero p{font-size:15px!important;line-height:1.4!important;margin:0 0 9px!important}
  .heroBenefits{margin:9px 0 11px!important}
  .benefitIcon{width:39px!important;height:39px!important;padding:8px!important}
  .hero .actions .btn{padding:11px 18px!important}

  .heroFeatureBar{
    height:72px!important;
    min-height:72px!important;
    overflow:visible!important;
  }
  .heroFeatureGrid{
    height:72px!important;
    min-height:72px!important;
  }
  .heroFeatureGrid>div{height:72px!important;padding:5px 17px!important;gap:11px!important}
  .hfIcon{width:32px!important;height:32px!important;flex:0 0 32px!important}
  .heroFeatureGrid strong{font-size:13px!important;line-height:1.15!important}
  .heroFeatureGrid small{font-size:11px!important;line-height:1.15!important}
}

/* v16 - catálogo y buscador con acabado visual premium */
.filterSection{padding:42px 0 34px!important;background:linear-gradient(180deg,#f7faff 0%,#fff 100%)!important;border-top:1px solid #e7eef7}
.filterSection .filters{background:#fff;border:1px solid #e1e9f3;border-radius:20px;padding:24px 26px 20px;box-shadow:0 14px 38px rgba(19,58,101,.08)}
.filterTitle{align-items:flex-end!important;margin-bottom:18px}.filterTitle small,.sectionHead small{display:block;color:var(--blue);font-size:12px;font-weight:900;letter-spacing:.11em;margin-bottom:5px}.filterTitle h2,.sectionHead h2{margin:0;font-size:34px;line-height:1.08;letter-spacing:-.025em;color:#10233a}.filterTitle #resultCount{background:#edf5ff;color:var(--blue);font-weight:800;font-size:13px;padding:8px 13px;border-radius:999px;white-space:nowrap}
.filterGrid{gap:12px!important}.filterGrid input,.filterGrid select{height:48px!important;border:1px solid #d5e0ec!important;border-radius:11px!important;padding:0 14px!important;background:#fff!important;color:#1a2d43!important;outline:none;transition:border-color .2s,box-shadow .2s}.filterGrid input:focus,.filterGrid select:focus{border-color:#1769c2!important;box-shadow:0 0 0 3px rgba(23,105,194,.10)}.filterGrid input::placeholder{color:#7c8999}.linkBtn{margin-top:10px!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important}
#propiedades.section{padding:54px 0 72px!important}.sectionHead{align-items:flex-end!important;margin-bottom:28px}.sectionHead>p{max-width:440px;margin:0;color:#65758b;line-height:1.55;text-align:right}
.propertyGrid{gap:24px!important}.property{border:1px solid #e0e8f1!important;border-radius:18px!important;box-shadow:0 10px 30px rgba(19,52,88,.08)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.property:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(19,52,88,.13)!important;border-color:#cad8e8!important}.photo{height:245px!important;background:#eef3f8!important;overflow:hidden}.photo img{transition:transform .35s ease}.property:hover .photo img{transform:scale(1.025)}.badges{left:14px!important;top:14px!important;gap:6px!important}.badge{padding:6px 10px!important;font-size:11px!important;border:1px solid rgba(214,224,235,.85);box-shadow:0 4px 12px rgba(15,39,67,.08)!important}.badge.status{background:#0b4f9c!important;color:#fff!important;border-color:#0b4f9c!important}.propertyBody{padding:20px 20px 21px!important}.propertyBody h3{font-size:21px!important;line-height:1.2!important;color:#10233a;margin-bottom:6px!important}.location{font-size:14px;color:#697b90!important}.price{font-size:25px!important;letter-spacing:-.02em;margin:14px 0 12px!important}.specs{padding:11px 0;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5;gap:15px!important;font-size:13px!important}.cardActions{margin-top:16px!important}.cardActions>*{flex:1;min-height:42px}.detailsBtn{border-color:#0b5fbb!important;color:#0b5fbb!important;background:#fff!important}.waBtn{background:#0b5fbb!important;border-color:#0b5fbb!important}.empty{margin-top:10px;background:#f8fbff;border-color:#d5e2ef!important}
@media(max-width:850px){.filterSection .filters{padding:20px}.filterTitle,.sectionHead{align-items:flex-start!important}.sectionHead>p{text-align:left}.propertyGrid{gap:18px!important}}
@media(max-width:560px){.filterSection{padding:28px 0 22px!important}.filterSection .filters{padding:18px 16px;border-radius:16px}.filterTitle h2,.sectionHead h2{font-size:29px}.filterGrid{grid-template-columns:1fr!important}.propertyGrid{grid-template-columns:1fr!important}.photo{height:235px!important}#propiedades.section{padding:40px 0 56px!important}}

/* v17 - catálogo más compacto: elimina espacio excesivo entre filtros e inventario */
.filterSection{padding-bottom:24px!important}
#propiedades.section{padding-top:26px!important}
#propiedades .sectionHead{margin-bottom:24px!important;align-items:flex-end!important}
#propiedades .sectionHead>p{align-self:flex-end!important;margin-bottom:2px!important}
@media(max-width:850px){
  .filterSection{padding-bottom:20px!important}
  #propiedades.section{padding-top:24px!important}
  #propiedades .sectionHead>p{align-self:auto!important;margin-top:8px!important}
}
@media(max-width:560px){
  .filterSection{padding-bottom:16px!important}
  #propiedades.section{padding-top:22px!important}
}

/* v18 - catálogo final: menos espacio y tarjetas con mejor aprovechamiento del ancho */
.filterSection{padding-bottom:12px!important}
#propiedades.section{padding-top:16px!important;padding-bottom:64px!important}
#propiedades .sectionHead{margin-bottom:18px!important}
.propertyGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
.propertyGrid .property{width:100%;max-width:none!important}
@media (min-width:1101px){
  #propiedades .container{width:min(1230px,90%)!important}
  .propertyGrid:has(.property:only-child){grid-template-columns:minmax(0,520px)!important}
  .propertyGrid:has(.property:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,520px))!important}
  .photo{height:270px!important}
}
@media(max-width:850px){
  .filterSection{padding-bottom:10px!important}
  #propiedades.section{padding-top:16px!important}
  .propertyGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .filterSection{padding-bottom:8px!important}
  #propiedades.section{padding-top:14px!important}
  #propiedades .sectionHead{margin-bottom:16px!important}
  .propertyGrid{grid-template-columns:1fr!important}
}

/* v19 - Captación de propietarios */
.ownerCapture{padding:72px 0;background:linear-gradient(135deg,#f4f8fd 0%,#fff 52%,#eef5ff 100%);position:relative;overflow:hidden}
.ownerCapture:before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;background:rgba(11,79,156,.055);right:-180px;top:-210px;pointer-events:none}
.ownerCaptureGrid{display:grid;grid-template-columns:.92fr 1.08fr;gap:68px;align-items:center;position:relative}
.ownerPitch{max-width:535px}.ownerEyebrow{display:inline-block;color:var(--blue);font-size:13px;font-weight:900;letter-spacing:.12em;margin-bottom:12px}.ownerPitch h2{font-size:44px;line-height:1.05;letter-spacing:-.035em;margin:0 0 16px;color:#0b203b}.ownerPitch h2 em{font-style:normal;color:#1264bd}.ownerLead{font-size:17px;line-height:1.62;color:#566b83;margin:0 0 22px}
.valuationCard{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid #cfe0f4;border-radius:15px;background:#fff;box-shadow:0 10px 28px rgba(17,69,125,.08);margin-bottom:18px}.valuationIcon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#eaf3ff;color:#0b5db5}.valuationIcon svg,.ownerBenefitIcon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.valuationCard strong{display:block;font-size:17px;color:#0c315c}.valuationCard small{display:block;color:#64778d;font-size:13px;line-height:1.4;margin-top:3px}
.ownerBenefits{display:grid;gap:10px}.ownerBenefits>div{display:flex;align-items:center;gap:12px;padding:10px 4px}.ownerBenefitIcon{width:39px;height:39px;flex:0 0 39px;border-radius:11px;display:grid;place-items:center;background:#eaf3ff;color:#0b5db5}.ownerBenefitIcon svg{width:22px;height:22px}.ownerBenefits b{display:block;font-size:14px;color:#102a47}.ownerBenefits small{display:block;font-size:12.5px;line-height:1.35;color:#6a7b8f;margin-top:2px}.ownerTrust{font-size:12px;color:#708196;border-top:1px solid #dbe5f0;padding-top:15px;margin:12px 0 0}
.ownerFormShell{background:#fff;border:1px solid #dbe6f2;border-radius:22px;padding:30px;box-shadow:0 20px 50px rgba(15,55,98,.11)}.ownerFormHead{margin-bottom:20px}.ownerFormHead span{font-size:11px;font-weight:900;letter-spacing:.12em;color:#0b5db5}.ownerFormHead h3{font-size:27px;line-height:1.1;margin:7px 0 8px;color:#0b203b}.ownerFormHead p{margin:0;color:#687a8e;line-height:1.5;font-size:14px}.ownerForm{gap:13px 14px}.ownerForm label{font-size:13px;color:#263c55}.ownerForm input,.ownerForm select,.ownerForm textarea{border-color:#d5e1ed;background:#fbfdff;padding:12px 13px;transition:border-color .2s,box-shadow .2s}.ownerForm input:focus,.ownerForm select:focus,.ownerForm textarea:focus{outline:none;border-color:#0b67c8;box-shadow:0 0 0 3px rgba(11,103,200,.1);background:#fff}.optional{font-weight:500;color:#8b99a8}.ownerSubmit{grid-column:1/-1;min-height:49px;font-size:14px;border-radius:11px;margin-top:2px}.ownerSubmit span{font-size:18px}.ownerPrivacy{grid-column:1/-1;text-align:center;margin:0;color:#8290a0;font-size:11px}.ownerForm .formMsg{margin:0;text-align:center}
@media(max-width:850px){.ownerCapture{padding:52px 0}.ownerCaptureGrid{grid-template-columns:1fr;gap:32px}.ownerPitch{max-width:none}.ownerPitch h2{font-size:38px}.ownerFormShell{padding:24px}}
@media(max-width:560px){.ownerCapture{padding:42px 0}.ownerPitch h2{font-size:33px}.ownerLead{font-size:15px}.ownerFormShell{padding:20px 16px;border-radius:17px}.ownerFormHead h3{font-size:24px}.ownerForm .full,.ownerSubmit,.ownerPrivacy{grid-column:auto}}


/* v20 - refinamiento final de captación de propietarios */
.ownerCapture{padding:54px 0!important}
.ownerCaptureGrid{gap:58px!important}
.ownerPitch h2{font-size:42px!important;margin-bottom:12px!important}
.ownerLead{font-size:16px!important;line-height:1.5!important;color:#435d78!important;margin-bottom:16px!important}
.valuationCard{padding:13px 16px!important;margin-bottom:12px!important}
.valuationIcon{width:44px!important;height:44px!important;flex-basis:44px!important}
.valuationCard small{color:#526b84!important}
.ownerBenefits{gap:5px!important}
.ownerBenefits>div{padding:7px 4px!important}
.ownerBenefits small{color:#536d87!important}
.ownerTrust{color:#586f88!important;padding-top:11px!important;margin-top:8px!important}
.ownerFormShell{padding:24px 30px 20px!important}
.ownerFormHead{margin-bottom:14px!important}
.ownerFormHead h3{font-size:26px!important;margin:5px 0 6px!important}
.ownerFormHead p{color:#536b84!important;line-height:1.42!important}
.ownerForm{gap:10px 14px!important}
.ownerForm input,.ownerForm select{min-height:43px!important;padding:10px 13px!important}
.ownerForm textarea{min-height:72px!important;padding:10px 13px!important}
.ownerSubmit{min-height:47px!important;margin-top:0!important}
.ownerPrivacy{color:#637990!important}
@media(max-width:850px){.ownerCapture{padding:46px 0!important}.ownerCaptureGrid{gap:28px!important}.ownerPitch h2{font-size:38px!important}.ownerFormShell{padding:22px!important}}
@media(max-width:560px){.ownerCapture{padding:38px 0!important}.ownerPitch h2{font-size:33px!important}.ownerFormShell{padding:18px 16px!important}}

/* v21 - Servicios / Nosotros */
.servicesPro{padding:66px 0 70px!important;background:#fff}
.servicesIntro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.65fr);gap:70px;align-items:end;margin-bottom:34px}
.servicesIntro small{display:block;color:#0759ad;font-weight:900;letter-spacing:.12em;font-size:12px;margin-bottom:8px}
.servicesIntro h2{margin:0;max-width:720px;font-size:clamp(32px,3.2vw,46px);line-height:1.06;letter-spacing:-.035em;color:#0b2038}
.servicesIntro p{margin:0 0 4px;color:#526a84;font-size:16px;line-height:1.65}
.servicesProGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.servicesProGrid article{display:flex;gap:15px;align-items:flex-start;min-height:166px;padding:23px 21px;border:1px solid #dce7f2;border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(16,50,86,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.servicesProGrid article:hover{transform:translateY(-3px);border-color:#bfd5ec;box-shadow:0 15px 32px rgba(16,50,86,.10)}
.serviceProIcon{width:48px;height:48px;min-width:48px;border-radius:14px;background:#eef6ff;display:grid;place-items:center}
.serviceProIcon svg{width:25px;height:25px;fill:none;stroke:#0766c8;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.servicesProGrid b{display:block;color:#0b2038;font-size:17px;line-height:1.2;margin:2px 0 7px}
.servicesProGrid p{margin:0;color:#5d7289;font-size:13px;line-height:1.55}
.servicesExperience{margin-top:22px;padding:18px 22px;border-radius:15px;background:#f2f7fd;border:1px solid #d8e6f5;display:flex;align-items:center;gap:12px;color:#536b84}
.servicesExperience strong{color:#0759ad;font-size:17px}.servicesExperience span{font-size:14px}.servicesExperience a{margin-left:auto;color:#0759ad;text-decoration:none;font-weight:800;font-size:14px}
@media(max-width:900px){.servicesIntro{grid-template-columns:1fr;gap:14px}.servicesProGrid{grid-template-columns:repeat(2,1fr)}.servicesExperience{align-items:flex-start;flex-wrap:wrap}.servicesExperience a{margin-left:0;width:100%}}
@media(max-width:560px){.servicesPro{padding:48px 0 52px!important}.servicesIntro{margin-bottom:24px}.servicesIntro h2{font-size:31px}.servicesProGrid{grid-template-columns:1fr}.servicesProGrid article{min-height:0;padding:19px}.servicesExperience{padding:17px 18px}}

/* v23 - ¿Por qué Inmobiliaria Valles? */
.trustPro{padding:68px 0 72px;background:linear-gradient(180deg,#f7faff 0%,#fff 100%)}
.trustIntro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.65fr);gap:70px;align-items:end;margin-bottom:30px}
.trustIntro small{display:block;color:#0759ad;font-weight:900;letter-spacing:.12em;font-size:12px;margin-bottom:8px}
.trustIntro h2{margin:0;max-width:760px;font-size:clamp(32px,3.15vw,45px);line-height:1.06;letter-spacing:-.035em;color:#0b2038}
.trustIntro p{margin:0 0 4px;color:#536c85;font-size:16px;line-height:1.65}
.trustGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.trustGrid article{min-height:240px;padding:24px 22px;border:1px solid #d8e5f2;border-radius:18px;background:#fff;box-shadow:0 9px 25px rgba(16,50,86,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.trustGrid article:hover{transform:translateY(-3px);border-color:#bfd5ec;box-shadow:0 15px 34px rgba(16,50,86,.10)}
.trustIcon{width:52px;height:52px;border-radius:15px;background:#eaf4ff;color:#0766c8;display:grid;place-items:center;margin-bottom:18px}
.trustIcon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.trustGrid b{display:block;color:#0b2038;font-size:17px;line-height:1.25;margin-bottom:9px}
.trustGrid p{margin:0;color:#5b7189;font-size:13px;line-height:1.58}
.trustClosing{margin-top:20px;padding:17px 21px;border:1px solid #d4e3f3;border-radius:15px;background:#edf5fe;display:flex;align-items:center;justify-content:space-between;gap:22px}
.trustClosing span{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.trustClosing strong{color:#0759ad;font-size:16px}.trustClosing small{color:#536b84;font-size:13px}.trustClosing a{color:#0759ad;text-decoration:none;font-weight:850;font-size:14px;white-space:nowrap}.trustClosing a b{font-size:17px;margin-left:5px}
@media(max-width:1000px){.trustGrid{grid-template-columns:repeat(2,1fr)}.trustGrid article{min-height:205px}}
@media(max-width:850px){.trustIntro{grid-template-columns:1fr;gap:14px}.trustClosing{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.trustPro{padding:48px 0 52px}.trustIntro{margin-bottom:23px}.trustIntro h2{font-size:31px}.trustGrid{grid-template-columns:1fr}.trustGrid article{min-height:0;padding:20px}.trustClosing{padding:16px 18px}}

/* v25 - cobertura profesional */
.coveragePro{padding:66px 0 62px;background:linear-gradient(180deg,#f7faff 0%,#fff 100%);border-top:1px solid #e9f0f7;border-bottom:1px solid #e9f0f7}
.coverageIntro{display:grid;grid-template-columns:1.55fr .85fr;gap:70px;align-items:end;margin-bottom:28px}
.coverageIntro small{display:block;color:#075fb8;font-weight:900;font-size:12px;letter-spacing:.12em;margin-bottom:10px}
.coverageIntro h2{margin:0;color:#0a203a;font-size:40px;line-height:1.08;letter-spacing:-.035em;max-width:760px}
.coverageIntro p{margin:0 0 3px;color:#55708c;font-size:15px;line-height:1.7;max-width:430px}
.coverageLayout{display:grid;grid-template-columns:.9fr 1.55fr;gap:18px;align-items:stretch}
.coverageMapCard{min-height:205px;border-radius:20px;padding:30px;background:linear-gradient(135deg,#075fb8,#0b79d0);display:flex;gap:20px;align-items:flex-start;color:#fff;box-shadow:0 14px 32px rgba(7,95,184,.16)}
.coveragePin{width:58px;height:58px;min-width:58px;border-radius:17px;background:rgba(255,255,255,.14);display:grid;place-items:center;border:1px solid rgba(255,255,255,.24)}
.coveragePin svg{width:31px;height:31px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.coverageState{font-size:11px;letter-spacing:.14em;font-weight:900;opacity:.82}.coverageMapCard h3{font-size:25px;line-height:1.12;margin:9px 0 10px}.coverageMapCard p{font-size:14px;line-height:1.55;margin:0;opacity:.88}
.coverageZones{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.coverageZones span{min-height:57px;border:1px solid #d9e6f3;border-radius:14px;background:#fff;display:flex;align-items:center;padding:0 18px;color:#17324e;font-size:14px;font-weight:750;box-shadow:0 6px 18px rgba(16,50,86,.04)}
.coverageZones span:before{content:'✓';width:27px;height:27px;border-radius:50%;display:grid;place-items:center;margin-right:11px;background:#edf6ff;color:#0766c8;font-weight:900;font-size:13px}
.coverageCta{margin-top:20px;border:1px solid #d5e5f5;background:#fff;border-radius:17px;padding:18px 20px;display:flex;align-items:center;gap:22px;box-shadow:0 8px 24px rgba(16,50,86,.045)}
.coverageCta div{display:flex;flex-direction:column;gap:4px}.coverageCta strong{color:#0a203a;font-size:16px}.coverageCta small{color:#60778f;font-size:13px;line-height:1.45}.coverageCta .btn{margin-left:auto;white-space:nowrap;padding:13px 20px}
@media(max-width:900px){.coveragePro{padding:48px 0}.coverageIntro{grid-template-columns:1fr;gap:12px}.coverageIntro h2{font-size:32px}.coverageLayout{grid-template-columns:1fr}.coverageZones{grid-template-columns:1fr 1fr}.coverageCta{align-items:flex-start;flex-direction:column}.coverageCta .btn{margin-left:0;width:100%}}
@media(max-width:560px){.coverageIntro h2{font-size:29px}.coverageMapCard{min-height:0;padding:23px}.coverageZones{grid-template-columns:1fr}.coverageZones span{min-height:52px}.coverageCta{padding:17px}}

/* v26 - captación profesional de compradores */
.buyerCapture{padding:62px 0 66px;background:linear-gradient(135deg,#f7faff 0%,#eef6ff 100%)}
.buyerCaptureGrid{display:grid;grid-template-columns:.92fr 1.08fr;gap:58px;align-items:center}
.buyerEyebrow{display:block;color:#075fb8;font-size:12px;font-weight:900;letter-spacing:.13em;margin-bottom:12px}
.buyerPitch h2{margin:0 0 14px;color:#0a203a;font-size:43px;line-height:1.04;letter-spacing:-.04em;max-width:560px}.buyerPitch h2 em{font-style:normal;color:#0b63bd}
.buyerLead{margin:0 0 22px;max-width:570px;color:#4f6a85;font-size:16px;line-height:1.6}
.buyerBenefits{display:grid;gap:9px}.buyerBenefits>div{display:flex;gap:13px;align-items:flex-start;padding:10px 5px}
.buyerBenefitIcon{width:42px;height:42px;min-width:42px;border-radius:13px;background:#e8f3ff;display:grid;place-items:center;color:#0766c8}.buyerBenefitIcon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.buyerBenefits b{display:block;color:#0b2038;font-size:15px;margin:1px 0 4px}.buyerBenefits small{display:block;color:#5b728b;font-size:13px;line-height:1.45}
.buyerTrust{margin-top:17px;padding:16px 18px;border:1px solid #cfe1f3;border-radius:15px;background:#fff;display:flex;flex-direction:column;gap:4px}.buyerTrust strong{color:#075fb8;font-size:15px}.buyerTrust span{color:#526d87;font-size:13px;line-height:1.5}
.buyerFormShell{background:#fff;border:1px solid #d7e5f3;border-radius:22px;padding:26px 30px 22px;box-shadow:0 16px 38px rgba(16,50,86,.08)}
.buyerFormHead{margin-bottom:15px}.buyerFormHead>span{color:#075fb8;font-size:11px;font-weight:900;letter-spacing:.13em}.buyerFormHead h3{margin:5px 0 6px;color:#0a203a;font-size:27px;line-height:1.15}.buyerFormHead p{margin:0;color:#58718a;font-size:13.5px;line-height:1.5}
.buyerForm{display:grid;grid-template-columns:1fr 1fr;gap:11px 14px}.buyerForm label{display:flex;flex-direction:column;gap:6px;color:#102a44;font-size:13px;font-weight:800}.buyerForm .full{grid-column:1/-1}.buyerForm .optional{font-weight:500;color:#72869a}
.buyerForm input,.buyerForm select,.buyerForm textarea{width:100%;box-sizing:border-box;border:1px solid #cfddec;border-radius:10px;background:#fff;color:#102a44;font:inherit;font-weight:500;outline:none}.buyerForm input,.buyerForm select{min-height:43px;padding:10px 13px}.buyerForm textarea{min-height:68px;padding:10px 13px;resize:vertical}.buyerForm input:focus,.buyerForm select:focus,.buyerForm textarea:focus{border-color:#0b69c7;box-shadow:0 0 0 3px rgba(11,105,199,.08)}
.buyerSubmit{grid-column:1/-1;min-height:47px;border:0;font-weight:850;display:flex;justify-content:center;gap:12px;align-items:center}.buyerPrivacy{grid-column:1/-1;margin:0;text-align:center;color:#687f96;font-size:11px}.buyerForm .formMsg{margin:0;text-align:center;font-size:13px}
@media(max-width:900px){.buyerCapture{padding:48px 0}.buyerCaptureGrid{grid-template-columns:1fr;gap:30px}.buyerPitch h2{font-size:36px}.buyerFormShell{padding:24px}}
@media(max-width:560px){.buyerCapture{padding:40px 0}.buyerPitch h2{font-size:32px}.buyerFormShell{padding:20px 16px}.buyerForm{grid-template-columns:1fr}.buyerForm .full{grid-column:auto}.buyerSubmit,.buyerPrivacy{grid-column:auto}}

/* v27 - ajuste final de captación de compradores */
@media (min-width:901px){
  .buyerCapture{padding:48px 0 50px!important}
  .buyerCaptureGrid{gap:54px!important}
  .buyerPitch h2{font-size:41px!important;margin-bottom:11px!important}
  .buyerLead{margin-bottom:16px!important;line-height:1.5!important}
  .buyerBenefits{gap:4px!important}
  .buyerBenefits>div{padding:7px 5px!important}
  .buyerTrust{margin-top:11px!important;padding:13px 16px!important}
  .buyerFormShell{padding:22px 30px 17px!important}
  .buyerFormHead{margin-bottom:11px!important}
  .buyerFormHead h3{font-size:26px!important;margin:4px 0 4px!important}
  .buyerFormHead p{line-height:1.4!important}
  .buyerForm{gap:8px 14px!important}
  .buyerForm label{gap:4px!important}
  .buyerForm input,.buyerForm select{min-height:41px!important;padding:9px 13px!important}
  .buyerForm textarea{min-height:54px!important;height:54px!important;padding:8px 13px!important;resize:vertical}
  .buyerSubmit{min-height:45px!important}
  .buyerPrivacy{font-size:10.5px!important;line-height:1.25!important}
}

/* v28 - compradores inspirado en diseño aprobado */
.buyerCapture{position:relative;overflow:hidden;background:linear-gradient(135deg,#f8fbff 0%,#eef7ff 100%)}
.buyerCaptureGrid{align-items:stretch}
.buyerPitch{position:relative;padding-bottom:116px}
.buyerPitch h2{max-width:600px}
.buyerTrust{display:grid!important;grid-template-columns:54px 1fr;align-items:center;gap:14px!important;background:linear-gradient(135deg,#f5faff,#eaf5ff)!important}
.buyerTrustIcon{width:50px;height:50px;border-radius:15px;background:#e1f1ff;color:#0869c9;display:grid;place-items:center}.buyerTrustIcon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.buyerTrust strong{display:block}.buyerTrust small{display:block;color:#526d87;font-size:13px;line-height:1.5}
.buyerHomeVisual{position:absolute;left:0;right:0;bottom:-49px;height:148px;pointer-events:none}.buyerMountains{position:absolute;left:105px;right:0;bottom:0;height:76px;background:linear-gradient(145deg,transparent 0 18%,#cbd9e8 18.5% 32%,transparent 32.5%),linear-gradient(215deg,transparent 0 34%,#b8ccdf 34.5% 55%,transparent 55.5%);opacity:.8}.buyerHouse{position:absolute;left:-6px;bottom:0;width:172px;height:88px;background:#e5edf4;border:1px solid #c6d5e3;box-shadow:0 10px 24px rgba(23,58,91,.08);z-index:2}.buyerHouse:before{content:"";position:absolute;left:0;top:-28px;width:102px;height:28px;background:#d7e2eb;clip-path:polygon(0 100%,40% 0,100% 100%)}.buyerHouse span{position:absolute;background:#b7d0e4;border:3px solid #f7fbff}.buyerHouse span:nth-child(1){left:18px;top:25px;width:38px;height:34px}.buyerHouse span:nth-child(2){left:70px;top:18px;width:42px;height:42px}.buyerHouse span:nth-child(3){right:12px;top:35px;width:30px;height:53px}.buyerHomeVisual>strong{position:absolute;right:0;bottom:31px;z-index:3;color:#0870d1;font-size:22px;line-height:1.12;font-style:italic;font-weight:700;transform:rotate(-3deg);text-align:center}
.buyerFormShell{box-shadow:0 18px 42px rgba(16,50,86,.1)!important}
.buyerForm label{position:relative}.buyerForm .required{color:#e33434;margin-left:2px}.phoneField{position:relative}.phoneField input{padding-left:42px!important}.miniWa{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:50%;background:#16c65b;color:#fff;font-size:0;z-index:2}.miniWa:after{content:"☎";font-size:11px;position:absolute;inset:0;display:grid;place-items:center;transform:rotate(-20deg)}
.buyerSubmit{font-size:14px}.submitHomeIcon{width:22px;height:22px;display:inline-grid;place-items:center}.submitHomeIcon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.privacyLock{color:#075fb8;font-weight:900}
.buyerAssurances{grid-column:1/-1;margin-top:3px;padding:12px 14px;border-radius:13px;background:#edf6ff;display:grid;grid-template-columns:repeat(3,1fr)}.buyerAssurances>span{display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px;border-right:1px solid #cbdff2;color:#153452;font-size:11.5px}.buyerAssurances>span:last-child{border-right:0}.assuranceIcon{width:34px;height:34px;border-radius:50%;background:#e0f0ff;color:#0869c9;display:grid;place-items:center;font-size:18px}.assuranceIcon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.clockIcon{font-size:24px;font-weight:500}
@media (min-width:901px){.buyerCapture{padding:43px 0 46px!important}.buyerCaptureGrid{grid-template-columns:.95fr 1.05fr!important;gap:48px!important}.buyerPitch{padding-bottom:108px}.buyerPitch h2{font-size:43px!important}.buyerFormShell{padding:20px 28px 16px!important}.buyerFormHead h3{font-size:27px!important}.buyerForm{gap:7px 14px!important}.buyerForm textarea{height:50px!important;min-height:50px!important}.buyerAssurances{padding:9px 10px}.buyerAssurances>span{min-height:38px}}
@media(max-width:900px){.buyerPitch{padding-bottom:0}.buyerHomeVisual{display:none}.buyerAssurances{grid-template-columns:1fr}.buyerAssurances>span{border-right:0;border-bottom:1px solid #cbdff2;padding:8px}.buyerAssurances>span:last-child{border-bottom:0}}


/* v29 - ajuste fiel al diseño aprobado del bloque compradores */
.buyerForm .fieldLabel{display:block;line-height:1.15;color:#102a44;font-weight:800}
.buyerForm .fieldLabel .required{display:inline!important;color:#e33434!important;margin-left:2px!important;vertical-align:baseline}
.phoneField{display:block!important;width:100%;position:relative}.phoneField input{width:100%}
.miniWa{display:grid!important;place-items:center!important}.miniWa:after{content:""!important;width:9px;height:9px;border:1.7px solid #fff;border-radius:50% 50% 50% 20%;transform:rotate(-25deg)!important}

@media (min-width:901px){
  .buyerCapture{padding:27px 0 30px!important;min-height:600px}
  .buyerCaptureGrid{gap:42px!important;align-items:start!important}
  .buyerPitch{padding-bottom:112px!important}
  .buyerEyebrow{margin-bottom:8px!important}
  .buyerPitch h2{font-size:41px!important;margin-bottom:8px!important;line-height:1.02!important}
  .buyerLead{font-size:15px!important;line-height:1.45!important;margin-bottom:10px!important}
  .buyerBenefits{gap:1px!important}
  .buyerBenefits>div{padding:5px 5px!important;gap:11px!important}
  .buyerBenefitIcon{width:39px!important;height:39px!important;min-width:39px!important}
  .buyerBenefits b{font-size:14px!important;margin-bottom:2px!important}
  .buyerBenefits small{font-size:12px!important;line-height:1.35!important}
  .buyerTrust{margin-top:7px!important;padding:10px 14px!important;grid-template-columns:45px 1fr!important;gap:11px!important}
  .buyerTrustIcon{width:42px!important;height:42px!important;border-radius:12px!important}
  .buyerTrustIcon svg{width:24px!important;height:24px!important}
  .buyerTrust strong{font-size:14px!important}.buyerTrust small{font-size:12px!important;line-height:1.35!important}
  .buyerHomeVisual{display:block!important;bottom:-18px!important;height:116px!important;opacity:1!important}
  .buyerHouse{width:152px!important;height:76px!important;bottom:0!important}
  .buyerMountains{left:88px!important;height:66px!important;bottom:0!important}
  .buyerHomeVisual>strong{right:6px!important;bottom:22px!important;font-size:18px!important}

  .buyerFormShell{padding:15px 26px 13px!important;border-radius:21px!important}
  .buyerFormHead{margin-bottom:7px!important}
  .buyerFormHead>span{font-size:10.5px!important}
  .buyerFormHead h3{font-size:25px!important;margin:2px 0 2px!important;line-height:1.1!important}
  .buyerFormHead p{font-size:12.5px!important;line-height:1.3!important}
  .buyerForm{gap:4px 13px!important}
  .buyerForm label{gap:3px!important;font-size:12px!important}
  .buyerForm input,.buyerForm select{min-height:36px!important;height:36px!important;padding:6px 12px!important;border-radius:9px!important;font-size:12px!important}
  .phoneField input{padding-left:39px!important}
  .miniWa{left:12px!important;width:17px!important;height:17px!important}
  .buyerForm textarea{height:40px!important;min-height:40px!important;padding:7px 12px!important;border-radius:9px!important;font-size:12px!important}
  .buyerSubmit{min-height:39px!important;height:39px!important;font-size:12.5px!important;margin-top:1px!important}
  .submitHomeIcon,.submitHomeIcon svg{width:18px!important;height:18px!important}
  .buyerPrivacy{font-size:9.5px!important;line-height:1.15!important;margin:1px 0!important}
  .buyerAssurances{margin-top:1px!important;padding:5px 8px!important;border-radius:11px!important}
  .buyerAssurances>span{min-height:34px!important;gap:7px!important;font-size:10px!important;line-height:1.15!important}
  .assuranceIcon{width:29px!important;height:29px!important;font-size:15px!important}
  .assuranceIcon svg{width:18px!important;height:18px!important}
}

/* v30 - réplica visual aprobada: fotografía casa + montañas en compradores */
@media (min-width:901px){
  .buyerPitch{padding-bottom:170px!important}
  .buyerHomeVisual{
    display:block!important;
    left:-68px!important;
    right:-8px!important;
    bottom:-29px!important;
    height:188px!important;
    opacity:1!important;
    background:url('buyer-house-monterrey.png') left bottom/contain no-repeat!important;
    z-index:0;
  }
  .buyerHomeVisual .buyerHouse,
  .buyerHomeVisual .buyerMountains,
  .buyerHomeVisual>strong{display:none!important}
  .buyerTrust{position:relative;z-index:2}
  .buyerFormShell{position:relative;z-index:2}
  .buyerCapture{padding-bottom:18px!important}
}
@media (max-width:900px){
  .buyerHomeVisual{display:none!important}
}


/* v31 - iconos WhatsApp corregidos y centrados */
.waIcon svg{fill:currentColor!important;stroke:none!important;width:100%!important;height:100%!important;display:block!important}
.header nav .whatsapp .waIcon{width:20px!important;height:20px!important;color:#fff;display:grid!important;place-items:center!important}
.floatingWa{display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
.floatingWa .waIcon{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;color:#fff!important;margin:0!important}
.floatingWa .waIcon svg{width:34px!important;height:34px!important;fill:#fff!important;stroke:none!important}
.phoneField{position:relative!important}
.miniWa{position:absolute!important;left:12px!important;top:50%!important;transform:translateY(-50%)!important;width:20px!important;height:20px!important;border-radius:0!important;background:transparent!important;color:#18c65b!important;display:grid!important;place-items:center!important;z-index:2!important}
.miniWa:after{content:none!important;display:none!important}
.miniWa svg{width:20px!important;height:20px!important;display:block!important;fill:currentColor!important;stroke:none!important}
.phoneField input{padding-left:42px!important}


/* v33 contacto/footer restaurado sobre v31 */

.contactFinal{padding:58px 0;background:linear-gradient(135deg,#f5f9ff,#edf5ff);border-top:1px solid #d9e6f5}.contactFinalBox{display:grid;grid-template-columns:1.12fr .88fr;gap:54px;align-items:center}.contactFinalCopy small,.contactCardEyebrow{display:block;color:#0862b8;font-size:13px;font-weight:900;letter-spacing:.12em;margin-bottom:10px}.contactFinalCopy h2{font-size:43px;line-height:1.03;letter-spacing:-.035em;color:#071d3c;margin:0 0 16px;max-width:650px}.contactFinalCopy p{font-size:17px;line-height:1.6;color:#476685;max-width:660px;margin:0 0 22px}.contactTrust{display:flex;flex-wrap:wrap;gap:12px 22px;color:#0b2a4d;font-size:14px;font-weight:750}.contactTrust span{display:flex;align-items:center;gap:8px}.contactTrust b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e4f1ff;color:#0870d1}.contactFinalCard{background:#fff;border:1px solid #cfe0f2;border-radius:22px;padding:28px;box-shadow:0 18px 45px rgba(14,69,120,.08)}.contactFinalCard h3{font-size:27px;color:#071d3c;margin:0 0 7px}.contactFinalCard>p{color:#57718d;line-height:1.5;margin:0 0 20px}.contactWa,.contactFacebook{display:grid;grid-template-columns:44px 1fr 22px;gap:12px;align-items:center;text-decoration:none;border-radius:13px;padding:13px 15px;margin-top:11px}.contactWa{background:#0fac59;color:#fff}.contactFacebook{background:#eef5ff;border:1px solid #cfe1f6;color:#0b4f9d}.contactWa .waIcon{width:31px;height:31px;display:grid;place-items:center}.contactWa .waIcon svg{width:29px;height:29px}.contactWa span:nth-child(2),.contactFacebook span:nth-child(2){display:flex;flex-direction:column}.contactWa strong,.contactFacebook strong{font-size:15px}.contactWa small{color:#e8fff2}.contactFacebook small{color:#5b7694}.fbCircle{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#1877f2;color:#fff;font:bold 24px Arial}.siteFooter{background:#071d3c;color:#fff;padding:42px 0 0}.footerPro{display:grid;grid-template-columns:1.5fr .85fr .85fr 1.2fr;gap:42px;padding-bottom:34px}.footerBrandHead{display:flex;align-items:center;gap:12px}.footerBrandHead img{width:54px;height:54px;object-fit:contain;background:#fff;border-radius:50%}.footerBrandHead strong{display:block;font-size:20px}.footerBrandHead small{display:block;margin-top:4px;font-size:8px;letter-spacing:.17em;color:#a9c4df}.footerBrand>p,.footerPro p{color:#a9c4df;line-height:1.55;font-size:13px;margin:12px 0 0}.footerPro>div>b{display:block;margin-bottom:13px;font-size:14px}.footerPro a,.siteFooter .footerLink{display:block;color:#b9d0e7;text-decoration:none;background:none;border:0;padding:0;margin:8px 0;font:inherit;font-size:13px;cursor:pointer;text-align:left}.footerPro a:hover,.siteFooter .footerLink:hover{color:#fff}.footerBottom{border-top:1px solid rgba(255,255,255,.13);display:flex;justify-content:space-between;align-items:center;padding:17px 0;color:#88a9c8;font-size:12px}.footerBottom a{color:#88a9c8;text-decoration:none}@media(max-width:900px){.contactFinal{padding:42px 0}.contactFinalBox{grid-template-columns:1fr;gap:26px}.contactFinalCopy h2{font-size:36px}.footerPro{grid-template-columns:1fr 1fr}.footerBrand{grid-column:1/-1}}@media(max-width:600px){.contactFinalCopy h2{font-size:32px}.contactTrust{display:grid}.contactFinalCard{padding:20px}.footerPro{grid-template-columns:1fr;gap:24px}.footerBrand{grid-column:auto}.footerBottom{gap:12px;align-items:flex-start;flex-direction:column}}

/* CRM v36 */
.adminSubtitle{margin:5px 0 0;color:var(--muted)}.adminHeaderActions{display:flex;gap:10px;align-items:center}.crmStats{grid-template-columns:repeat(4,1fr)}.crmTabs{display:flex;gap:8px;margin:22px 0 16px;padding:6px;background:#eaf1f8;border-radius:13px;overflow:auto}.crmTab{border:0;background:transparent;padding:11px 16px;border-radius:9px;font:inherit;font-weight:750;color:#40566f;cursor:pointer;white-space:nowrap}.crmTab.active{background:#fff;color:var(--blue);box-shadow:0 3px 12px rgba(20,48,80,.08)}.crmTab span:not(:empty){display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;border-radius:20px;background:#e34242;color:#fff;font-size:12px}.crmSection{display:none}.crmSection.active{display:block}.panelHead{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.panelHead h2{margin:0}.crmTools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.crmSearch,.crmFilter{padding:9px 11px;border:1px solid var(--line);border-radius:9px;background:#fff;font:inherit}.crmSearch{min-width:220px}.tableScroll{overflow-x:auto}.crmLeadTable{min-width:1050px}.crmLeadTable th{background:#f6f9fc;color:#52657a;font-size:12px;text-transform:uppercase;letter-spacing:.03em}.crmLeadTable td{vertical-align:top}.crmLeadTable a{color:var(--blue);text-decoration:none}.leadStatus{min-width:125px;padding:7px 8px;border:1px solid #cdd9e5;border-radius:8px;background:#fff;font:inherit;font-size:13px}.leadNotes{width:180px;min-height:66px;resize:vertical;padding:8px;border:1px solid #d5dfe9;border-radius:8px;font:inherit;font-size:13px}.leadActions{display:grid;gap:6px;min-width:96px}.leadActions a,.leadActions button{border:1px solid var(--line);border-radius:7px;padding:7px 9px;background:#fff;font:inherit;font-size:12px;text-align:center;cursor:pointer}.leadActions .waMini{background:#eaf9ef;border-color:#b9e4c8;color:#16723a;font-weight:750}.leadActions .danger{color:#a91d2a}.messageCell{max-width:260px;white-space:pre-wrap}.propertyAdminInfo{display:flex;align-items:center;gap:10px}.propertyAdminInfo img{width:58px;height:46px;object-fit:cover;border-radius:8px}.photoPreview{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:10px}.previewItem{position:relative}.previewItem img{width:100%;height:85px;object-fit:cover;border-radius:8px}.previewItem button{position:absolute;right:3px;top:3px}.saveStatus{font-weight:700;margin-top:6px}
@media(max-width:850px){.crmStats{grid-template-columns:1fr 1fr}.panelHead{align-items:flex-start;flex-direction:column}.crmTools{width:100%}.crmSearch{min-width:0;flex:1}.adminHeaderActions{flex-wrap:wrap}}
@media(max-width:560px){.crmStats{grid-template-columns:1fr 1fr}.adminHeaderActions{width:100%}.adminHeaderActions .btn{flex:1}.crmTools{display:grid;grid-template-columns:1fr}.crmSearch{width:100%}}

/* CRM v37 — embudo visual */
.funnelPanel{overflow:hidden}.funnelHead{align-items:center}.funnelSwitch{display:flex;gap:6px;padding:5px;background:#eef5fc;border-radius:12px}.funnelType{border:0;background:transparent;color:#365b7d;padding:10px 16px;border-radius:9px;font-weight:700;cursor:pointer}.funnelType.active{background:#fff;color:#0753a6;box-shadow:0 2px 10px rgba(11,67,120,.08)}
.funnelKpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.funnelKpis>div{border:1px solid #dce7f2;border-radius:14px;background:#f8fbff;padding:15px}.funnelKpis strong{display:block;font-size:26px;color:#064f9f}.funnelKpis span{font-size:13px;color:#58718a}
.funnelBoard{display:grid;grid-template-columns:repeat(5,minmax(220px,1fr));gap:12px;overflow-x:auto;padding:4px 2px 14px}.funnelColumn{background:#f3f7fb;border:1px solid #dbe6f1;border-radius:14px;min-height:360px;padding:12px;transition:.18s}.funnelColumn.dragOver{background:#e8f3ff;border-color:#6aa9e8}.funnelColumnHead{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.funnelColumnHead strong{color:#163d61}.funnelCount{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border-radius:20px;background:#fff;color:#0753a6;font-weight:800;font-size:12px;border:1px solid #d6e4f2}.funnelCards{display:grid;gap:10px}.funnelCard{background:#fff;border:1px solid #dce6ef;border-radius:12px;padding:12px;box-shadow:0 3px 12px rgba(23,62,99,.05);cursor:grab}.funnelCard:active{cursor:grabbing}.funnelCard.dragging{opacity:.45}.funnelCard strong{display:block;color:#102f4d;margin-bottom:3px}.funnelCard small{display:block;color:#698097;line-height:1.4}.funnelCardMeta{margin:9px 0;font-size:12px;color:#46627d}.funnelCardActions{display:flex;gap:6px}.funnelCardActions a,.funnelCardActions button{flex:1;text-align:center;text-decoration:none;border:1px solid #d6e3ef;background:#fff;border-radius:8px;padding:7px 6px;font-size:12px;cursor:pointer}.funnelCardActions a{color:#07823f;background:#effbf4;border-color:#bfe7cf}.funnelCardActions button{color:#0753a6}.funnelEmpty{color:#8295a7;text-align:center;font-size:12px;padding:18px 4px}.funnelHelp{font-size:12px;color:#6b8196;margin:4px 0 0}.funnelColumn[data-status="Cerrado"]{background:#f2faf5}.funnelColumn[data-status="Cita"]{background:#fffaf0}
@media(max-width:850px){.funnelKpis{grid-template-columns:repeat(2,1fr)}.funnelBoard{grid-template-columns:repeat(5,250px)}.funnelHead{align-items:flex-start}.funnelSwitch{width:100%}.funnelType{flex:1}}
/* v38 Dashboard KPIs */
.kpiPanel{display:grid;gap:22px}.kpiHead{align-items:center}.kpiGoalNote{padding:10px 14px;border-radius:12px;background:#eef6ff;color:#064f9e;font-weight:700;font-size:13px}.kpiGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.kpiCard{background:#fff;border:1px solid #dbe6f2;border-radius:16px;padding:18px;min-height:128px;box-shadow:0 8px 24px rgba(20,60,100,.05)}.kpiCard span{display:block;color:#536b84;font-size:13px}.kpiCard strong{display:block;color:#004c9b;font-size:31px;margin:8px 0 4px}.kpiCard small{color:#74869a;line-height:1.35}.goalGrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.goalCard{border:1px solid #dbe6f2;border-radius:16px;padding:18px;background:#f9fcff}.goalTop{display:flex;justify-content:space-between;gap:15px;margin-bottom:12px}.goalTop span{color:#0053a6;font-weight:800}.goalTrack{height:13px;background:#e5edf6;border-radius:999px;overflow:hidden;margin-bottom:9px}.goalTrack i{display:block;height:100%;width:0;background:linear-gradient(90deg,#0869c8,#18a36b);border-radius:999px;transition:width .35s}.kpiLower{display:grid;grid-template-columns:1.5fr 1fr;gap:16px}.kpiBox{border:1px solid #dbe6f2;border-radius:16px;padding:18px;background:#fff}.kpiBox h3{margin:0 0 15px}.miniFunnel{display:grid;gap:10px}.miniFunnelRow{display:grid;grid-template-columns:110px 1fr 38px;gap:10px;align-items:center;font-size:13px}.miniFunnelBar{height:20px;background:#eef3f8;border-radius:7px;overflow:hidden}.miniFunnelBar i{display:block;height:100%;background:#1a6fc4;border-radius:7px}.inventoryKpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}.inventoryItem{padding:14px;border-radius:12px;background:#f4f8fc}.inventoryItem strong{display:block;font-size:24px;color:#064f9e}.inventoryItem span{font-size:12px;color:#61758a}.recentActivity{display:grid;gap:8px}.activityRow{display:grid;grid-template-columns:95px 1fr auto;gap:12px;align-items:center;padding:11px 0;border-top:1px solid #edf1f5}.activityRow:first-child{border-top:0}.activityType{font-size:11px;font-weight:800;text-transform:uppercase;color:#0869c8}.activityRow small{color:#6f8295}.activityStatus{font-size:12px;padding:5px 9px;border-radius:999px;background:#eef5fb;color:#315d83}.goalDone{color:#118456!important}
@media(max-width:1100px){.kpiGrid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.kpiGrid{grid-template-columns:1fr 1fr}.goalGrid,.kpiLower{grid-template-columns:1fr}.activityRow{grid-template-columns:75px 1fr}.activityStatus{grid-column:2}.kpiGoalNote{display:none}}@media(max-width:480px){.kpiGrid{grid-template-columns:1fr}}
/* v39 Dashboard Financiero */
.financePanel{display:grid;gap:20px}.financeHead{align-items:center}.financeGoal{padding:10px 14px;border-radius:12px;background:#eef6ff;color:#064f9e;font-size:13px}.financeKpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.financeKpi{border:1px solid #dbe6f2;border-radius:16px;padding:17px;background:#fff;box-shadow:0 8px 24px rgba(20,60,100,.05)}.financeKpi span{display:block;color:#536b84;font-size:13px}.financeKpi strong{display:block;color:#004c9b;font-size:27px;margin:8px 0 4px}.financeKpi small{color:#74869a}.financeGoalCard{border:1px solid #dbe6f2;border-radius:16px;padding:18px;background:#f9fcff}.financeGrid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(560px,1.4fr);gap:16px;align-items:start}.financeFormBox,.financeListBox{border:1px solid #dbe6f2;border-radius:16px;padding:18px;background:#fff}.financeFormBox h3,.financeListBox h3{margin-top:0}.financeHint{font-size:12px;color:#657d94;background:#f4f8fc;border-radius:9px;padding:9px 11px}.financeTable{min-width:900px}.financeTable th{background:#f6f9fc;color:#52657a;font-size:11px;text-transform:uppercase}.financeTable td{vertical-align:top}.financeMoney{font-weight:750;color:#0a4f91}.financeStatus{display:inline-block;padding:5px 8px;border-radius:999px;background:#eef5fb;font-size:11px}.financeActions{display:flex;gap:5px}.financeActions button{border:1px solid #d6e3ef;background:#fff;border-radius:7px;padding:6px 8px;cursor:pointer}.financeActions .danger{color:#a91d2a}.financeNetPositive{color:#118456!important}.financeNetNegative{color:#b42318!important}@media(max-width:1100px){.financeKpis{grid-template-columns:repeat(3,1fr)}.financeGrid{grid-template-columns:1fr}}@media(max-width:700px){.financeKpis{grid-template-columns:1fr 1fr}}@media(max-width:480px){.financeKpis{grid-template-columns:1fr}}

/* v40 — separación Flujo de efectivo / Utilidad */
.financeSplit{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}
.financeSummaryBox{border:1px solid #d7e2ef;border-radius:18px;padding:16px;background:#fff}
.financeSummaryTitle{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.financeSummaryTitle span{font-size:11px;font-weight:800;letter-spacing:.08em;color:#0756a6}.financeSummaryTitle h3{margin:3px 0 0;font-size:16px}.financeSummaryTitle small{color:#66788d;white-space:nowrap}
.financeKpisFlow,.financeKpisProfit{grid-template-columns:repeat(3,1fr)!important;margin:0!important}.financeKpisFlow .financeKpi,.financeKpisProfit .financeKpi{min-width:0}.financeOpsCount{margin:-2px 0 14px;color:#52667c;font-size:14px}.financeOpsCount strong{color:#064e9d;font-size:18px}
@media(max-width:900px){.financeSplit{grid-template-columns:1fr}.financeKpisFlow,.financeKpisProfit{grid-template-columns:1fr!important}}
/* v41 — Agenda y tareas */
.agendaPanel{display:grid;gap:18px}.agendaHead{align-items:center}.agendaKpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.agendaKpis>div{border:1px solid #dbe6f2;border-radius:15px;padding:16px;background:#f9fcff}.agendaKpis strong{display:block;font-size:27px;color:#0753a6}.agendaKpis span{font-size:13px;color:#61768b}.agendaKpis>div:first-child strong{color:#b42318}.agendaGrid{display:grid;grid-template-columns:minmax(320px,.75fr) minmax(520px,1.25fr);gap:16px;align-items:start}.taskFormBox,.taskListBox{border:1px solid #dbe6f2;border-radius:16px;padding:18px;background:#fff}.taskFormBox h3{margin-top:0}.taskFilters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:14px}.taskFilter{border:1px solid #d7e2ee;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;color:#365b7d}.taskFilter.active{background:#0753a6;color:#fff;border-color:#0753a6}.taskList{display:grid;gap:10px}.taskCard{border:1px solid #dce6ef;border-radius:13px;padding:13px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:12px}.taskCard.overdue{border-left:4px solid #c92a2a}.taskCard.today{border-left:4px solid #e29b16}.taskCard.completed{opacity:.7;background:#f7faf8}.taskTitle{font-weight:800;color:#153b5e}.taskMeta{font-size:12px;color:#657d94;margin-top:5px;line-height:1.5}.taskNotes{font-size:12px;color:#445f78;margin-top:7px;white-space:pre-wrap}.taskActions{display:flex;flex-direction:column;gap:6px;min-width:105px}.taskActions button,.taskActions a{border:1px solid #d6e3ef;background:#fff;border-radius:8px;padding:7px 9px;text-align:center;text-decoration:none;font-size:12px;cursor:pointer}.taskActions .done{background:#eefaf3;color:#14763c;border-color:#bee5cc}.taskActions .wa{background:#eaf9ef;color:#16723a;border-color:#b9e4c8}.taskActions .danger{color:#a91d2a}.taskEmpty{text-align:center;color:#7a8ea2;padding:35px 10px}.crmTab #taskBadge,.crmTab span{margin-left:4px}.crmTab #taskBadge:not(:empty){display:inline-grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:20px;background:#e83b43;color:#fff;font-size:11px}
@media(max-width:950px){.agendaGrid{grid-template-columns:1fr}.agendaKpis{grid-template-columns:1fr 1fr}}@media(max-width:560px){.agendaKpis{grid-template-columns:1fr 1fr}.taskCard{grid-template-columns:1fr}.taskActions{flex-direction:row;flex-wrap:wrap}}
/* v42 — navegación lateral profesional del administrador */
.adminBody{background:#f4f7fb;overflow-x:hidden}.adminApp{min-height:100vh}.adminSidebar{position:fixed;inset:0 auto 0 0;width:260px;background:#082b52;color:#fff;z-index:100;display:flex;flex-direction:column;padding:22px 16px;box-shadow:8px 0 28px rgba(10,40,75,.12)}.sideBrand{display:flex;align-items:center;gap:11px;padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.12)}.sideBrand img{width:48px;height:48px;border-radius:10px;object-fit:contain;background:#fff}.sideBrand strong{display:block;font-size:16px}.sideBrand small{display:block;margin-top:3px;color:#a9c3df;font-size:11px}.sideNav{display:grid;gap:7px;margin-top:22px;overflow:auto}.sideNav .crmTab{width:100%;border:0;background:transparent;color:#cfe0f2;padding:12px 12px;border-radius:10px;text-align:left;font:inherit;font-weight:700;cursor:pointer;display:grid;grid-template-columns:25px 1fr auto;align-items:center;gap:8px;white-space:normal}.sideNav .crmTab:hover{background:rgba(255,255,255,.08);color:#fff}.sideNav .crmTab.active{background:#fff;color:#0753a6;box-shadow:0 8px 20px rgba(0,0,0,.12)}.sideIcon{font-size:18px;text-align:center}.sideNav .crmTab span:not(.sideIcon):not(:empty){display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:20px;background:#e83b43;color:#fff;font-size:11px}.sideFooter{margin-top:auto;display:grid;gap:8px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12)}.sideFooter a,.sideLogout{padding:11px 12px;border-radius:9px;color:#d9e8f7;text-decoration:none;background:transparent;border:0;text-align:left;font:inherit;cursor:pointer}.sideFooter a:hover,.sideLogout:hover{background:rgba(255,255,255,.08);color:#fff}.adminWorkspace{margin-left:260px;min-height:100vh}.workspaceTop{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #dfe7f0;min-height:92px;padding:16px 3.5%;display:flex;align-items:center;justify-content:space-between;gap:20px}.workspaceWelcome{display:flex;align-items:center;gap:12px}.workspaceWelcome small{color:#0753a6;font-weight:800;letter-spacing:.08em}.workspaceWelcome h1{font-size:24px;margin:2px 0}.workspaceWelcome p{margin:0;color:#687b90;font-size:13px}.workspaceQuick{display:flex;gap:9px}.sidebarToggle{display:none;border:1px solid #d8e3ef;background:#fff;border-radius:9px;width:42px;height:42px;font-size:20px}.adminShellV42{width:min(1280px,93%);margin:24px auto 44px}.adminShellV42 .crmStats{grid-template-columns:repeat(4,1fr)}.adminShellV42 .crmSection{padding:28px 0}.adminShellV42 .adminNotice{margin-top:0}.sidebarBackdrop{display:none}
@media(max-width:980px){.adminSidebar{transform:translateX(-100%);transition:transform .22s ease}.adminSidebar.open{transform:translateX(0)}.adminWorkspace{margin-left:0}.sidebarToggle{display:inline-grid;place-items:center}.sidebarBackdrop{position:fixed;inset:0;background:rgba(4,24,44,.42);z-index:90}.sidebarBackdrop.show{display:block}.workspaceQuick .btn{padding:10px 12px}.adminShellV42 .crmStats{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.workspaceTop{padding:12px 4%;align-items:flex-start}.workspaceWelcome h1{font-size:19px}.workspaceWelcome p,.workspaceWelcome small{display:none}.workspaceQuick{display:grid;gap:5px}.workspaceQuick .btn{font-size:12px;padding:8px 9px}.adminShellV42{width:94%;margin-top:14px}.adminShellV42 .crmStats{grid-template-columns:1fr 1fr}.adminSidebar{width:282px}.adminShellV42 .crmSection{padding:18px 0}}

/* v43 — Admin visual azul profesional */
.adminSidebar{background:linear-gradient(180deg,#0b477d 0%,#07345f 52%,#082b52 100%);padding:24px 16px}
.sideBrand{padding:0 12px 24px;gap:12px}.sideBrand img{width:48px;height:48px;border-radius:11px}.sideBrand strong{font-size:17px}.sideBrand small{color:#bed5ea;font-size:12px}
.sideNav{gap:5px;margin-top:24px}.sideNav .crmTab{min-height:53px;padding:10px 14px;border-radius:12px;color:#f0f7ff;font-size:15px;font-weight:600;grid-template-columns:38px 1fr auto;gap:10px}
.sideNav .crmTab:hover{background:rgba(28,144,235,.22)}.sideNav .crmTab.active{background:linear-gradient(90deg,#1789df,#238fdf);color:#fff;box-shadow:0 9px 22px rgba(0,72,145,.28)}
.sideIcon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(24,137,223,.32);font-size:18px;color:#fff}.sideNav .crmTab.active .sideIcon{background:rgba(255,255,255,.20)}
.sideNav .crmTab span:not(.sideIcon):not(:empty){background:#2187d9;color:#fff;box-shadow:0 4px 12px rgba(0,75,145,.22)}
.sideNav .crmTab.active span:not(.sideIcon):not(:empty){background:#fff;color:#0870c5}
.sideFooter{padding:20px 8px 0}.sideFooter a,.sideLogout{color:#f1f7fd;font-size:15px}
.workspaceTop{min-height:105px;padding:17px 3.5%;box-shadow:0 1px 0 #e1e8f0}.workspaceWelcome small{color:#0758a8}.workspaceWelcome h1{font-size:26px;color:#142b46}.workspaceWelcome p{color:#71839a}
.workspaceQuick .btn{border-color:#1685dc;color:#0868b9;background:#fff}.workspaceQuick .btn.blue{background:#0875cf;color:#fff;border-color:#0875cf;box-shadow:0 5px 14px rgba(0,105,195,.18)}
.adminShellV42{width:min(1280px,93%);margin-top:24px}.adminNotice{background:linear-gradient(90deg,#edf7ff,#eaf4ff);color:#075cad;border-radius:12px;padding:14px 18px}
.stat,.panel{border-color:#d9e5f1;box-shadow:0 6px 20px rgba(17,67,112,.045)}.stat{position:relative;min-height:102px;padding:24px 22px 20px 112px;display:flex;flex-direction:column;justify-content:center}.stat:before{position:absolute;left:22px;top:50%;transform:translateY(-50%);width:62px;height:62px;border-radius:18px;background:#eef7ff;color:#0874ca;display:grid;place-items:center;font-size:30px;font-weight:700}.stat:nth-child(1):before{content:'⌂'}.stat:nth-child(2):before{content:'▤'}.stat:nth-child(3):before{content:'♙♙'}.stat:nth-child(4):before{content:'♙'}.stat strong{font-size:32px;color:#075cb1}.stat span{font-size:16px;color:#607895}
.kpiGoalNote{background:#eef7ff!important;color:#075dad!important}.kpiCard strong{color:#075cb1!important}.btn.blue{background:#0875cf;border-color:#0875cf}.progressFill,.goalFill{background:linear-gradient(90deg,#0878cf,#12a17e)!important}
@media(max-width:620px){.stat{padding:18px 12px 18px 72px;min-height:90px}.stat:before{left:12px;width:48px;height:48px;border-radius:14px;font-size:22px}.stat strong{font-size:25px}.stat span{font-size:13px}}

/* v46 — Calendario visual de citas y seguimientos */
.calendarBox{border:1px solid #dbe6f2;border-radius:18px;padding:18px;background:#fff}.calendarToolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.calendarToolbar h3{margin:0 0 4px;color:#153b5e}.calendarToolbar small{color:#6b8094}.calendarNav{display:flex;align-items:center;gap:8px}.calendarNav strong{min-width:160px;text-align:center;color:#0b4f91;text-transform:capitalize}.calendarWeek,.calendarGrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendarWeek{border:1px solid #dce7f1;border-bottom:0;border-radius:12px 12px 0 0;overflow:hidden;background:#eef6fd}.calendarWeek span{padding:10px 6px;text-align:center;font-size:12px;font-weight:800;color:#315b80}.calendarGrid{border-left:1px solid #dce7f1;border-top:1px solid #dce7f1}.calDay{min-height:118px;padding:8px;border-right:1px solid #dce7f1;border-bottom:1px solid #dce7f1;background:#fff;overflow:hidden}.calDay.other{background:#f8fafc;color:#9aa9b7}.calDay.today{background:#f0f8ff;box-shadow:inset 0 0 0 2px #1687df}.calDayNum{font-size:12px;font-weight:800;color:#426582;margin-bottom:6px}.calDay.today .calDayNum{color:#0874c9}.calEvents{display:grid;gap:4px}.calEvent{width:100%;border:0;border-radius:7px;padding:5px 6px;text-align:left;background:#e9f4ff;color:#0b5ea6;font-size:11px;line-height:1.25;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calEvent.cita{background:#fff4dc;color:#946000}.calEvent.whatsapp{background:#eaf9ef;color:#16723a}.calEvent.completed{background:#eef2f5;color:#71808d;text-decoration:line-through}.calEvent.overdue{box-shadow:inset 3px 0 #c92a2a}.calMore{font-size:10px;color:#6a8196;padding:2px 4px}.calendarLegend{font-size:11px;color:#6b8094}@media(max-width:850px){.calendarToolbar{align-items:flex-start;flex-direction:column}.calendarBox{overflow-x:auto}.calendarWeek,.calendarGrid{min-width:760px}}
