#home{max-width:1000px;margin-inline:auto}
.home-carousel{position:relative;border-radius:18px;overflow:hidden;background:#0d3972;box-shadow:0 3px 12px #132b4b12}
.home-carousel-stage{position:relative;display:grid;overflow:hidden}
.home-slide{grid-area:1/1;min-width:0;min-height:0;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s;pointer-events:none}
.home-slide.is-active{opacity:1;visibility:visible}
.home-slide[hidden]{display:none}
.home-slide picture,.home-slide img{display:block;width:100%}
.home-slide img{height:auto}
.home-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:42px;height:42px;padding:10px;border-radius:50%;background:#092b54d9;color:#fff;z-index:1}
.home-carousel-arrow svg,.home-choice button svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.home-carousel-prev{left:10px}.home-carousel-next{right:10px}
.home-carousel-dots{position:absolute;z-index:2;bottom:12px;left:clamp(12px,6%,70px);display:flex;align-items:center;gap:2px;padding:0 4px;border-radius:20px;background:#092b5480}
.home-carousel-dots button{display:grid;place-items:center;width:28px;height:28px;padding:0;background:transparent;border-radius:50%}
.home-carousel-dots button::before{content:'';width:9px;height:9px;border:1px solid #fff;border-radius:50%}
.home-carousel-dots button[aria-current=true]::before{background:#fff}
.home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:18px 0}
.home-choice{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:center;gap:18px;min-width:0;padding:20px;border:1px solid;border-radius:18px}
.home-choice-holder{background:#e5f9ed;border-color:#d0f2dd}.home-choice-owner{background:#e6f1ff;border-color:#d2e6ff}
.home-choice-art{display:block;width:100%;height:auto;aspect-ratio:640/480;object-fit:contain;border-radius:14px}
.home-choice-content{min-width:0}.home-choice h2{margin:0 0 8px;font-size:clamp(1.25rem,2vw,1.9rem);line-height:1.1}.home-choice-holder h2{color:#009445}.home-choice-owner h2{color:#1265d5}
.home-choice p{margin:0 0 14px;color:#263e5c;line-height:1.4}.home-choice button{width:100%;min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-radius:12px;padding:10px;line-height:1.2;font-size:clamp(.78rem,1.2vw,1rem)}
.home-choice button img,.home-choice button svg{flex:none;width:22px;height:22px;filter:brightness(0) invert(1)}.home-choice button span{min-width:0}.home-choice-holder button{background:#009d4d}.home-choice-owner button{background:#176be5}
.home-carousel button:focus-visible,.home-choice button:focus-visible{outline:3px solid #ffcb53;outline-offset:2px}
.recent-public h2{color:#132b4b;font-size:1.35rem;margin:24px 0 14px}.recent-public .grid:has(.empty){display:block}.recent-public .empty{display:flex;flex-direction:column;align-items:center;gap:8px;color:#516783;padding:20px;min-height:102px}.recent-empty-icon{width:34px;height:34px;opacity:.48}.recent-public>p{margin:14px 0}.recent-public>p button{min-height:44px}
.bottom [aria-current=page],.desktop-nav [aria-current=page]{color:#1265d5!important}.desktop-nav [aria-current=page]{box-shadow:inset 0 -2px #1265d5}
@media(min-width:760px){body .desktop-header{min-height:72px;padding:8px max(24px,calc((100vw - 1100px)/2));box-shadow:0 1px 6px #132b4b12}body .desktop-nav{gap:10px}body .desktop-nav button{border-radius:0}}
@media(max-width:759px){.app .top{height:78px;margin:0 0 10px;justify-content:flex-start}.app .top .brand{width:auto;max-width:190px;height:62px;object-fit:contain;object-position:left center}.home-cards{grid-template-columns:1fr;gap:12px;margin:14px 0}.home-choice{grid-template-columns:minmax(82px,34%) minmax(0,1fr);padding:12px;gap:12px}.home-choice h2{font-size:clamp(1.2rem,5vw,1.5rem)}.home-choice p{font-size:.88rem;margin-bottom:10px}.home-choice button{font-size:.78rem;min-height:44px;padding:8px;gap:5px}.home-choice button img,.home-choice button svg{width:19px;height:19px}.home-carousel-arrow{width:36px;height:36px;padding:9px}.recent-public h2{margin:18px 0 12px}.recent-public .empty{min-height:92px;padding:14px}}
@media(max-width:350px){.home-choice{grid-template-columns:minmax(75px,30%) minmax(0,1fr);gap:8px}.home-choice button{font-size:.73rem}.home-choice button img,.home-choice button svg{width:17px;height:17px}}
@media(max-width:759px){
  .home-carousel-arrow{display:none}
  .home-carousel-stage{touch-action:pan-y pinch-zoom}
  .shell .bottom{min-height:calc(60px + env(safe-area-inset-bottom));padding:4px max(14px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
  .shell .bottom button{min-height:52px;padding:2px 0;justify-content:center;font-size:10px;line-height:1.1}
  .shell .bottom .nav-icon{width:21px;height:21px;margin-bottom:2px}
  .desktop-layout .app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.home-slide{transition:none}}

/* Tarjetas de busquedas recientes inspiradas en placas tradicionales. */
#recentPublic{grid-template-columns:minmax(0,1fr);gap:18px}
.bp-license-card{min-width:0;padding:4px;border:1px solid #8896a0;border-radius:14px;background:linear-gradient(135deg,#e4e8e9,#9daab1 35%,#e0e4e3 68%,#8f9ca5);box-shadow:0 5px 14px rgba(25,45,63,.18),inset 0 1px 2px #fff}
.bp-license-card__frame{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;min-height:270px;padding:20px 24px;border:3px double #07539b;border-radius:10px;background:linear-gradient(145deg,rgba(255,255,255,.55),transparent 42%,rgba(175,165,143,.12)),repeating-linear-gradient(100deg,rgba(90,99,99,.025) 0 1px,transparent 1px 5px),#f5f2e9;box-shadow:inset 0 0 0 2px #e4e4de,inset 0 2px 12px rgba(93,99,95,.15);text-align:center}
.bp-license-card__country{color:#07539b;font:800 1.05rem/1.2 "Arial Narrow",Arial,sans-serif;letter-spacing:.28em;padding-left:.28em;text-shadow:-1px -1px #fff,1px 1px #a9c8dd,2px 2px 1px #49647a}
.bp-license-card__number{width:100%;margin:9px 0 12px;color:#07539b;font-family:"Arial Narrow",Arial,sans-serif;font-size:min(var(--plate-size),12vw);font-weight:900;letter-spacing:.025em;line-height:1.08;overflow-wrap:anywhere;text-shadow:-1px -1px 0 rgba(255,255,255,.9),1px 1px 0 #c9e4fa,2px 2px 0 #8bb8db,3px 3px 1px rgba(0,34,72,.28)}
.bp-license-card__meta{width:100%;margin:0;padding:12px 0 10px;border-top:1px solid rgba(42,87,119,.25);color:#506777;font-size:.78rem;line-height:1.4;overflow-wrap:anywhere}
.bp-license-card__actions{display:grid;grid-template-columns:1.2fr 1fr;gap:8px;width:100%;margin-top:auto}
.bp-license-card__actions button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;padding:8px;border-radius:9px;background:#07539b;color:#fff;font-size:.76rem;line-height:1.2;box-shadow:0 2px 4px rgba(6,59,118,.2)}
.bp-license-card__actions .secondary{background:#dfedfa;color:#063b76}
.bp-license-card__actions button:focus-visible{outline:3px solid #1265d5;outline-offset:2px}
.bp-license-card__actions svg{flex:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bp-license-card__screw{position:absolute;width:12px;height:12px;border:1px solid #8c999f;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#aab3bb 55%,#687780);box-shadow:0 1px 2px #5d6668}
.bp-license-card__screw::after{content:'';position:absolute;left:2px;right:2px;top:4px;height:1px;background:#58656d;transform:rotate(-35deg)}
.bp-license-card__screw--tl{top:8px;left:8px}.bp-license-card__screw--tr{top:8px;right:8px}.bp-license-card__screw--bl{bottom:8px;left:8px}.bp-license-card__screw--br{bottom:8px;right:8px}
@media(min-width:760px){#recentPublic{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.bp-license-card__frame{padding:20px 22px}.bp-license-card__actions{grid-template-columns:1fr}.bp-license-card__number{font-size:min(var(--plate-size),11vw)}}
