*{box-sizing:border-box}html{font-size:16px}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f6f8fc;color:#172033}a{text-decoration:none;color:inherit}.wrap{width:min(1480px,calc(100% - 56px));margin:auto}.top{background:#fff;border-bottom:1px solid #e7ebf2;position:sticky;top:0;z-index:20}.nav{height:92px;display:flex;align-items:center;gap:30px}.logo{font-size:38px;font-weight:900;letter-spacing:-1.5px;color:#1262b3}.logo b{color:#ff6900}.tag{font-size:13px;color:#333;font-weight:600}.nav .spacer{flex:1}.nav a{font-size:15px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:8px;font-weight:800;border:0;cursor:pointer}.blue{background:#1477f8;color:#fff}.orange{background:#ff6200;color:#fff}.green{background:#18ad4e;color:#fff}.hero{background:linear-gradient(90deg,rgba(5,36,68,.91),rgba(5,36,68,.30)),url('https://images.unsplash.com/photo-1509099836639-18ba1795216d?auto=format&fit=crop&w=2000&q=88') center/cover;min-height:420px;color:#fff;padding:65px 0 36px}.hero h1{font-size:54px;line-height:1.04;letter-spacing:-1.3px;max-width:760px;margin:0 0 15px}.hero h1 span{color:#ff7a00}.hero p{font-size:18px;margin:0}.searchbar{display:grid;grid-template-columns:2.2fr 1.25fr 1.05fr auto;background:#fff;padding:9px;border-radius:10px;margin-top:38px;max-width:1110px;box-shadow:0 8px 25px #0002}.searchbar input,.searchbar select{border:0;padding:17px;color:#555;outline:0;border-right:1px solid #e7e7e7;font-size:15px;background:#fff}.hero small{display:block;margin-top:12px;font-size:13px}.cats{display:grid;grid-template-columns:repeat(7,1fr);gap:28px 20px;padding:38px 20px 24px;background:#fff;border-radius:0 0 18px 18px}.cat{text-align:center;font-size:14px;font-weight:750}.ico{width:72px;height:72px;margin:auto auto 10px;border-radius:19px;background:#f0f4f8;display:grid;place-items:center;font-size:34px;transition:.18s}.cat:hover .ico{transform:translateY(-3px);box-shadow:0 7px 18px #17365d1c}.section{padding:35px 0}.section h2{font-size:27px;margin:0 0 20px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.card{background:#fff;border:1px solid #e1e6ed;border-radius:13px;overflow:hidden;box-shadow:0 4px 16px #18243b0d;transition:.18s}.card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #18243b18}.pic{height:245px;background:#dfe7ef center/cover;position:relative}.badge{position:absolute;left:12px;top:12px;background:#ffc400;padding:6px 10px;border-radius:5px;font-size:13px;font-weight:900}.cardbody{padding:16px}.cardbody b{font-size:17px}.price{font-size:25px;font-weight:900;margin-bottom:4px}.muted{color:#7b8494;font-size:14px;margin-top:5px}.footer{margin-top:55px;background:#101a2a;color:#d9dfeb;padding:42px 0}.grid2{display:grid;grid-template-columns:2fr 1fr;gap:28px}.panel{background:#fff;border:1px solid #e1e6ed;border-radius:12px;padding:20px}.gallery{height:470px;border-radius:10px;background:center/cover}.detailPrice{font-size:36px;color:#075cb8;font-weight:900}.specs{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e7ebf1;border:1px solid #e7ebf1}.specs div{background:#fff;padding:11px}.steps{display:grid;grid-template-columns:250px 1fr;gap:24px}.stepnav{background:#fff;border-radius:10px;padding:14px}.stepnav div{padding:17px 9px;border-bottom:1px solid #eee}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:7px}.field input,.field select,.field textarea{padding:13px;border:1px solid #dce2ea;border-radius:7px}.dash{display:grid;grid-template-columns:250px 1fr;min-height:680px}.side{background:#fff;border-right:1px solid #e4e8ef;padding:20px}.side a{display:block;padding:13px;border-radius:7px;margin:4px 0}.side a.active{background:#1477f8;color:#fff}.main{padding:25px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{background:#fff;border:1px solid #e1e6ed;border-radius:10px;padding:20px}.stat strong{font-size:28px}.adminSide{background:#152235;color:#dce5f1}.adminSide .logo{font-size:22px}.adminSide a.active{background:#1477f8}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:12px;border-bottom:1px solid #e9edf2;text-align:left;font-size:13px}.status{background:#dff7e8;color:#12863b;padding:4px 8px;border-radius:12px}.mobilebar{display:none}
@media(max-width:900px){.wrap{width:min(100% - 28px,1480px)}.nav{height:70px}.logo{font-size:27px}.nav .desktop{display:none}.hero{min-height:auto;padding:38px 0 30px}.hero h1{font-size:36px}.hero p{font-size:15px}.searchbar{grid-template-columns:1fr;margin-top:24px}.searchbar input,.searchbar select{border-right:0;border-bottom:1px solid #eee}.cats{grid-template-columns:repeat(3,1fr);gap:22px 10px;padding:28px 4px}.ico{width:58px;height:58px;font-size:28px}.cards{grid-template-columns:1fr 1fr;gap:12px}.pic{height:180px}.grid2,.steps,.dash{grid-template-columns:1fr}.side{display:none}.stats{grid-template-columns:1fr 1fr}.formgrid{grid-template-columns:1fr}.gallery{height:300px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #ddd;justify-content:space-around;padding:11px;z-index:30}.section h2{font-size:22px}}
@media(max-width:520px){.cards{grid-template-columns:1fr}.pic{height:230px}.hero h1{font-size:32px}.cats{grid-template-columns:repeat(3,1fr)}.cat{font-size:12px}}


/* =========================================================
   LOPUBLICAS VISUAL V3 — HOME MASTER
   Ajuste visual de escritorio inspirado en el bosquejo aprobado.
   ========================================================= */
@media (min-width: 1100px){
  :root{--lp-max:1480px}
  body{font-size:16px}
  .container,.wrap,.header-inner,.nav-inner{max-width:var(--lp-max)!important;margin-left:auto!important;margin-right:auto!important}
  header,.site-header{min-height:82px!important}
  .logo,.brand{font-size:31px!important}
  .hero{min-height:390px!important;padding:54px 0 46px!important;background-position:center 46%!important}
  .hero .container,.hero .wrap{max-width:var(--lp-max)!important}
  .hero h1{font-size:48px!important;line-height:1.03!important;max-width:720px!important;margin-bottom:16px!important}
  .hero p{font-size:17px!important;margin-bottom:26px!important}
  .search-box,.hero-search,.searchbar{min-height:70px!important;max-width:1080px!important;border-radius:12px!important;padding:8px!important}
  .search-box input,.search-box select,.hero-search input,.hero-search select,.searchbar input,.searchbar select{height:52px!important;font-size:15px!important}
  .search-box button,.hero-search button,.searchbar button{height:52px!important;padding:0 34px!important;font-size:16px!important}
  .categories,.category-grid,.cats-grid{gap:22px!important;padding-top:30px!important;padding-bottom:30px!important}
  .category-item,.category-card,.cat{min-height:112px!important;font-size:14px!important}
  .category-item .icon,.category-card .icon,.cat .icon{width:62px!important;height:62px!important;font-size:30px!important}
  main,.main-content{max-width:var(--lp-max)!important;margin:auto!important}
  .section-title{font-size:25px!important;margin:28px 0 20px!important}
  .cards,.listing-grid,.ads-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}
  .card,.listing-card,.ad-card{border-radius:13px!important;overflow:hidden!important}
  .card img,.listing-card img,.ad-card img{height:220px!important;object-fit:cover!important;width:100%!important}
  .card-body,.listing-body,.ad-body{padding:15px!important}
  .price{font-size:24px!important}
}
@media (min-width: 1500px){
  .hero{min-height:430px!important}
  .hero h1{font-size:52px!important}
}

/* =========================================================
   VISUAL V5 — COMPOSICIÓN MAESTRA DEL BOSQUEJO
   ========================================================= */
.hero{position:relative;overflow:hidden}
.hero .wrap{position:relative}
@media (min-width:1100px){
  .hero{min-height:330px!important;padding:46px 0 34px!important;
    background-image:linear-gradient(90deg,rgba(3,32,59,.86),rgba(3,32,59,.52)),
    url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=85')!important;
    background-size:cover!important;background-position:center!important}
  .hero .wrap{padding-right:430px!important}
  .hero h1{font-size:43px!important;max-width:690px!important}
  .hero p{font-size:16px!important}
  .searchbar{max-width:800px!important;min-height:62px!important}
  .hero-phone{display:block;position:absolute;right:25px;top:-27px;width:286px;height:385px;border:7px solid #151515;border-radius:38px;background:#fff;padding:8px;box-shadow:0 12px 30px rgba(0,0,0,.28);z-index:3}
  .phone-notch{position:absolute;left:50%;top:0;transform:translateX(-50%);width:112px;height:18px;background:#151515;border-radius:0 0 12px 12px;z-index:5}
  .phone-screen{height:100%;overflow:hidden;border-radius:27px;background:#fff;color:#152235;padding:18px 10px 10px}
  .phone-logo{font-size:17px;display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.phone-logo span{color:#111}.phone-logo i{color:#f47a00;font-style:normal}.phone-logo em{font-style:normal}
  .phone-photo{height:91px;margin:0 -10px 9px;background:linear-gradient(rgba(0,55,95,.12),rgba(0,55,95,.12)),url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=700&q=80') center/cover}
  .phone-screen strong{font-size:14px}
  .phone-field{height:34px;border:1px solid #d8e0e8;border-radius:6px;margin-top:7px;padding:8px;font-size:10px}
  .phone-button{height:35px;border-radius:6px;background:#ff6900;color:#fff;text-align:center;padding:9px;margin-top:7px;font-weight:700;font-size:11px}
  .phone-cats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px;text-align:center;font-size:19px}.phone-cats span small{display:block;font-size:7px;margin-top:3px}
  main.wrap{max-width:1480px!important}
  .cats{display:grid!important;grid-template-columns:repeat(7,1fr)!important;gap:12px!important;padding:22px 12px 14px!important;background:#fff!important;border-radius:0 0 16px 16px!important}
  .cat{min-height:80px!important;padding:5px!important;font-size:12px!important}.cat .ico{width:48px!important;height:48px!important;font-size:24px!important;margin:auto auto 5px!important}
  .section{padding-top:4px!important}.section h2{font-size:22px!important}
  .cards{grid-template-columns:repeat(4,1fr)!important;gap:18px!important}
  .card .pic{height:175px!important}
}
@media (max-width:1099px){
  .hero-phone{display:none}
}


/* =========================================================
   VISUAL V6 — ACABADO DEL HOME APROBADO
   ========================================================= */
@media (min-width:1100px){
  header .wrap,.site-header .wrap,.header-inner{max-width:1480px!important}
  header .logo,.site-header .logo,.brand{font-size:29px!important;line-height:1!important}
  header{min-height:76px!important}

  .hero{
    min-height:350px!important;
    padding:48px 0 32px!important;
    background-image:
      linear-gradient(90deg,rgba(2,31,57,.88) 0%,rgba(2,31,57,.66) 48%,rgba(2,31,57,.34) 100%),
      url('https://images.unsplash.com/photo-1514924013411-cbf25faa35bb?auto=format&fit=crop&w=2000&q=88')!important;
    background-position:center 58%!important;
  }
  .hero .wrap{max-width:1480px!important;padding-right:410px!important}
  .hero h1{font-size:45px!important;line-height:1.04!important;margin-top:2px!important}
  .hero p{margin:12px 0 23px!important}
  .searchbar{max-width:850px!important}
  .hero small{display:block;margin-top:8px!important}

  .hero-phone{
    right:34px!important;top:-30px!important;
    width:305px!important;height:405px!important;
    border-width:8px!important;border-radius:40px!important;
  }
  .phone-photo{height:104px!important}
  .phone-logo{font-size:18px!important}

  main.wrap{max-width:1480px!important}
  .cats{
    grid-template-columns:repeat(7,1fr)!important;
    padding:18px 18px 14px!important;
    gap:10px 16px!important;
  }
  .cat{min-height:75px!important}
  .cat .ico{width:46px!important;height:46px!important}

  .section{padding-top:8px!important}
  .section h2{margin:8px 0 15px!important}
  .cards{gap:17px!important}
  .card{position:relative!important;background:#fff!important;box-shadow:0 2px 10px rgba(14,42,70,.08)!important}
  .card .pic{height:180px!important}
  .cardbody{position:relative!important;padding:12px 14px 15px!important}
  .cardbody:after{content:"♡";position:absolute;right:13px;top:13px;font-size:22px;color:#24415f}
  .cardbody .price{font-size:22px!important;line-height:1.05!important;margin-bottom:6px!important}
  .cardbody b{display:block!important;padding-right:28px!important;font-size:14px!important;margin-bottom:4px!important}
  .cardbody .muted{font-size:12px!important}
}

@media (max-width:1099px){
  .hero{background-position:center!important}
  .hero-phone{display:none!important}
}

@media (max-width:700px){
  header{min-height:auto!important}
  .hero{min-height:auto!important;padding:30px 16px!important}
  .hero h1{font-size:31px!important}
  .searchbar{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;background:transparent!important;padding:0!important}
  .searchbar input,.searchbar select,.searchbar button{width:100%!important;border-radius:8px!important}
  .cats{grid-template-columns:repeat(3,1fr)!important}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .card .pic{height:125px!important}
}

/* V7 BRAND SYSTEM — logo + iconografía SVG */
.lp-logo-img{display:block;width:245px;height:auto;max-width:100%}
.cat .ico{display:flex!important;align-items:center!important;justify-content:center!important;background:#f2f5f8!important;border-radius:15px!important}
.cat .ico img{width:30px!important;height:30px!important;display:block!important}
@media(min-width:1100px){
  .lp-logo-img{width:265px}
  .cat .ico img{width:31px!important;height:31px!important}
}
@media(max-width:700px){
  .lp-logo-img{width:205px}
}

/* V8 — LOGO MAESTRO: proporciones del bosquejo */
.nav .logo{display:flex;align-items:center;flex:0 0 auto;line-height:1}
.lp-logo-img{display:block!important;width:225px!important;height:auto!important;max-width:none!important}
@media(min-width:1200px){.lp-logo-img{width:235px!important}}
@media(max-width:900px){.lp-logo-img{width:185px!important;max-width:48vw!important}}

/* V9 — LOGO MAESTRO: proporción del bosquejo aprobado */
.nav .logo{display:flex!important;align-items:center!important;flex:0 0 300px!important;width:300px!important;height:74px!important;overflow:visible!important}
.lp-logo-img{display:block!important;width:300px!important;height:auto!important;max-width:none!important;object-fit:contain!important;object-position:left center!important}
@media(min-width:1200px){.nav .logo{flex-basis:315px!important;width:315px!important}.lp-logo-img{width:315px!important}}
@media(max-width:900px){.nav .logo{flex-basis:210px!important;width:210px!important;height:58px!important}.lp-logo-img{width:210px!important;max-width:52vw!important}}
