@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/0b1dc8ddaa74ba49-s.0e__wj8580tc5.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/e629b5bc06499d58-s.10u7vx61f1ie7.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/1a099d89ee94ee96-s.35a5cae5tspm2.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-weight:200 800;font-display:swap;src:url(../media/fba5a26ea33df6a3-s.p.18rizl4rsrl42.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Plus Jakarta Sans Fallback;src:local(Arial);ascent-override:98.88%;descent-override:21.15%;line-gap-override:0.0%;size-adjust:104.98%}.plus_jakarta_sans_ae5dc7c0-module__BMZhdW__className{font-family:Plus Jakarta Sans,Plus Jakarta Sans Fallback;font-style:normal}.plus_jakarta_sans_ae5dc7c0-module__BMZhdW__variable{--font-dm-sans:"Plus Jakarta Sans", "Plus Jakarta Sans Fallback"}
@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/1e219c03c996efbd-s.2qo5md4hn_gum.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/b35b0dbffda7f2c4-s.1d9rlgtqyj_-l.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/03bda585a99c6450-s.p.32sris142tqlb.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces Fallback;src:local(Times New Roman);ascent-override:84.71%;descent-override:22.09%;line-gap-override:0.0%;size-adjust:115.45%}.fraunces_d361c29d-module__5PBLiG__className{font-family:Fraunces,Fraunces Fallback;font-style:normal}.fraunces_d361c29d-module__5PBLiG__variable{--font-fraunces:"Fraunces", "Fraunces Fallback"}
@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/b2ea385cb5ae8625-s.1spbknb88wd48.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/1b99372b3eaef0c8-s.p.1gsd1jahc5dg_.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Outfit Fallback;src:local(Arial);ascent-override:100.18%;descent-override:26.05%;line-gap-override:0.0%;size-adjust:99.82%}.outfit_9f4f9187-module__4LtYgq__className{font-family:Outfit,Outfit Fallback;font-style:normal}.outfit_9f4f9187-module__4LtYgq__variable{--font-outfit:"Outfit", "Outfit Fallback"}


/* YAG_MOBILE_BACKEND_UX_2026 */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
  #navegacion-herramientas-b2b {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    max-width: calc(100vw - 2rem) !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 6px !important;
    gap: 6px !important;
  }
  #navegacion-herramientas-b2b::-webkit-scrollbar {
    display: none !important;
  }
  #navegacion-herramientas-b2b > * {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  #banner-agencias-dashboard-b2b {
    display: none !important;
  }
  #panel-vista-previa-b2b > div,
  #editar-ficha-vista-previa-b2b > div {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 8px !important;
  }
  #panel-vista-previa-b2b > div > div:first-child,
  #editar-ficha-vista-previa-b2b > div > div:first-child {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  #editar-ficha-upsell-b2b {
    padding: 14px !important;
    gap: 10px !important;
  }
  #cabecera-panel-titular-b2b {
    position: relative !important;
    top: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px 16px !important;
  }
  #cabecera-panel-titular-b2b h1 {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }
  #cabecera-panel-titular-b2b > div:last-child {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  #cabecera-panel-titular-b2b > div:last-child > a {
    flex: 1 1 0% !important;
    justify-content: center !important;
    display: inline-flex !important;
    height: 38px !important;
    font-size: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #grid-principal-dashboard-b2b {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px !important;
  }
  #grid-principal-dashboard-b2b > div:nth-child(n+5) {
    grid-column: span 2 / span 2 !important;
  }
  #atajos-herramientas-dashboard-b2b .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  #atajos-herramientas-dashboard-b2b .grid > a {
    padding: 10px !important;
  }
  #atajos-herramientas-dashboard-b2b .grid > a > p {
    display: none !important;
  }
  #vincular-otra-sede-dashboard,
  #selector-empresa-panel-b2b > div {
    padding: 14px !important;
  }
  #admin-mobile-topbar-b2b {
    display: flex !important;
    flex-direction: column !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 40 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 8px 12px !important;
    gap: 6px !important;
  }
}


/* YAG_REGIONAL_APP_DOCK_2026 */
.yag-app-bottom-dock {
  display: none;
}
.max-w-\[960px\].space-y-8 {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}
.max-w-\[960px\].space-y-8 > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
#editar-ficha-upsell-b2b {
  order: 99 !important;
}
@media (max-width: 767px) {
  body:has(#navegacion-herramientas-b2b) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body:has(#navegacion-herramientas-b2b) > div > header,
  body:has(#navegacion-herramientas-b2b) > div > nav:first-child,
  body:has(#navegacion-herramientas-b2b) footer {
    display: none !important;
  }
  #panel-vista-previa-b2b > div,
  #editar-ficha-vista-previa-b2b > div {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    gap: 0.4rem !important;
  }
  #panel-vista-previa-b2b > div > div:last-child > a[href*="/planes"],
  #panel-vista-previa-b2b > div > div:last-child > a[href*="/reclamar"],
  #editar-ficha-vista-previa-b2b > div > div:last-child > a[href*="/reclamar"] {
    display: none !important;
  }
  .yag-app-bottom-dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 60 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 0.2rem !important;
    padding: 0.4rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.26) !important;
  }
  .yag-dock-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.15rem !important;
    padding: 0.32rem 0.2rem !important;
    border-radius: 0.85rem !important;
    color: rgba(226, 232, 240, 0.74) !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    transition: all 0.16s ease !important;
    min-width: 0 !important;
  }
  .yag-dock-item.is-active {
    color: #FBBF24 !important;
    background: rgba(255, 255, 255, 0.11) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  }
  .yag-dock-icon {
    font-size: 15px !important;
    line-height: 1 !important;
  }
  .yag-dock-label {
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}
















/* YAG_REGIONAL_UX_SAAS_2026 */
:root {
  --pine: #1E1B4B !important;
  --primary: #1E1B4B !important;
  --accent: #991B1B !important;
  --brand-gold: #D97706 !important;
  --region-navy: #1E1B4B !important;
  --region-accent: #991B1B !important;
}
body.yag-is-dashboard header.sticky.top-0,
body:has(#grid-principal-dashboard-b2b) header.sticky.top-0,
body:has(#panel-vista-previa-b2b) header.sticky.top-0,
body.yag-is-dashboard #yag-ssr-10-10-suite,
body:has(#grid-principal-dashboard-b2b) #yag-ssr-10-10-suite,
body:has(#panel-vista-previa-b2b) #yag-ssr-10-10-suite,
body.yag-is-private-route #yag-ssr-10-10-suite { display: none !important; }
html, body { overflow-x: clip !important; max-width: 100vw !important; }
body:has(#yag-vip-official-logo-badge) #yag-direct-adsense-top { display: none !important; }
html.yag-vip-ad-shield body #top-adsense-leaderboard,
html.yag-vip-ad-shield body #yag-direct-adsense-top,
html.yag-vip-ad-shield body #global-adsense-footer-slot,
html.yag-vip-ad-shield ins.adsbygoogle,
html.yag-vip-ad-shield .google-auto-placed {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
#yag-direct-adsense-top { min-height: 0 !important; margin: 0 auto !important; }
[id^="yag-"][id$="-strip"], #yag-profile-quick-actions-bar, #yag-official-embed-badge-kit, #yag-live-stats-dashboard-panel, #yag-frontend-trust-stats-bar { display: none !important; }
/* Fix Bug #6: Full-bleed warm editorial band for #yag-ssr-10-10-suite above dark stone-950 footer */
footer > #yag-ssr-10-10-suite {
  background: #FAF8F5 !important;
  color: #0F172A !important;
  margin: -4rem -1rem 3.5rem -1rem !important;
  padding: 2.75rem 1rem 3rem 1rem !important;
  border-top: 1px solid #E5E0D8 !important;
  border-bottom: 1px solid #E5E0D8 !important;
}
@media (min-width: 640px) {
  footer > #yag-ssr-10-10-suite {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}
@media (min-width: 1024px) {
  footer > #yag-ssr-10-10-suite {
    margin-left: -2rem !important;
    margin-right: -2rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
#global-adsense-footer-slot { min-height: 0 !important; margin: 0 auto !important; }
/* Fix Bug #1: Crushed 50px owner claim cards & right-overflowing shrink-0 button groups */
main div[class*='lg:flex-row']:has(> div.shrink-0),
main div[class*='lg:flex-row']:has(a[href*='/reclamar']),
main div[class*='lg:flex-row']:has(a[href*='/claim']),
main div[class*='lg:flex-row']:has(form[action*='/api/stripe']),
main div[class*='lg:flex-row']:has(a[href*='/api/stripe']) {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
}
main div[class*='lg:flex-row']:has(> div.shrink-0) > div {
  max-width: 100% !important;
  min-width: 0 !important;
  flex-shrink: 1 !important;
}
main div[class*='lg:flex-row'] > div.shrink-0 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.65rem !important;
}
/* Fix Bug #2: Hide duplicate in-main YAG agency banner (footer already renders it) */
main div.w-full:has(> [class*='bg-[#070D19]']),
main #free-profile-adsense-upsell {
  display: none !important;
}
/* Fix Bug #3 & #7: Preserve paragraph line-breaks in descriptions, move cookie pill to bottom-left & lift above mobile sticky bar */
main p { white-space: pre-line; }
@media (min-width: 768px) {
  #yag-profile-mobile-bar,
  #yag-reg-profile-mobile-bar {
    display: none !important;
  }
}
@media (min-width: 640px) {
  div.fixed.bottom-3.right-3,
  div.fixed.bottom-3,
  div[role="region"][aria-label*="Cookie" i],
  div[role="region"][aria-label*="privacidad" i] {
    left: 1rem !important;
    right: auto !important;
    max-width: 350px !important;
  }
}
@media (max-width: 767px) {
  div.fixed.bottom-3 {
    bottom: 74px !important;
  }
}
html.yag-b2b-checkout-route .fc-consent-root,
html.yag-b2b-checkout-route ins.adsbygoogle {
  display: none !important;
}
html.yag-b2b-checkout-route body { overflow-y: auto !important; }
body:has(#perfil-top) #yag-ssr-10-10-suite,
body:has(#yag-reg-owner-sim-bar) #yag-ssr-10-10-suite,
body:has(#opiniones) #yag-ssr-10-10-suite,
body:has(#formulario-reclamar-ficha) #yag-ssr-10-10-suite {
  display: none !important;
}
#panel-vista-previa-b2b > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
}
#panel-vista-previa-b2b > div:first-child > div:last-child {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding-top: 0.25rem !important;
}
#panel-vista-previa-b2b a,
#panel-vista-previa-b2b button {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
#grid-principal-dashboard-b2b > div:first-child {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}
#bandeja-leads-simulacion-b2b {
  order: -2 !important;
}
#simulador-impacto-titular {
  order: -1 !important;
}

.bg-stone-900 h2, .bg-stone-950 h2, .bg-slate-900 h2, [class*="bg-[#0"] h2, [class*="bg-[#1"] h2 {
  color: #FFFFFF !important;
}

html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
#top-adsense-leaderboard,
#yag-direct-adsense-top,
#global-adsense-footer-slot {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}
#top-adsense-leaderboard:has(ins.adsbygoogle[data-ad-status="filled"]),
#yag-direct-adsense-top:has(ins.adsbygoogle[data-ad-status="filled"]) {
  margin: 0.75rem auto 1rem auto !important;
  padding: 0 1rem !important;
}
html body ins.adsbygoogle,
html body ins.adsbygoogle:empty {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
html body ins.adsbygoogle[data-ad-status="filled"] {
  min-height: 90px !important;
}
html body ins.adsbygoogle[data-ad-status="unfilled"],
html body ins.adsbygoogle[data-ad-status=unfilled],
html body #top-adsense-leaderboard:has(ins.adsbygoogle[data-ad-status="unfilled"]),
html body #yag-direct-adsense-top:has(ins.adsbygoogle[data-ad-status="unfilled"]),
html body #global-adsense-footer-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]),
html body #free-profile-adsense-upsell:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
.google-revocation-link-placeholder,
div[class*="google-revocation"],
iframe[name="googlefcPresent"],
iframe[name="googlefcInactive"],
iframe[name="googlefcLoaded"],
ins.adsbygoogle[data-anchor-status="dismissed"] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
body:has(.fc-consent-root) div[role="region"][aria-label*="Cookie"],
body:has(.fc-consent-root) div[role="region"][aria-label*="cookie"],
body:has(script[src*="adsbygoogle"]) div[role="region"][aria-label*="Cookie"],
body:has(script[src*="adsbygoogle"]) div[role="region"][aria-label*="cookie"],
body:has(.fc-consent-root) div.fixed.bottom-3.z-50,
body:has(script[src*="adsbygoogle"]) div.fixed.bottom-3.z-50,
body:has(.fc-consent-root) #strict-cookie-banner,
body:has(script[src*="adsbygoogle"]) #strict-cookie-banner {
  display: none !important;
}
#yag-interactive-fee-calculator,
#yag-aeo-faq-accordion,
#yag-instant-lead-modal,
#yag-comparator-drawer,
#yag-comparator-pill,
.yag-compare-toggle-btn {
  display: none !important;
}
footer div[class*="bg-[#050914]"],
footer div[class*="bg-[#070D19]"] {
  padding: 0.85rem 1.15rem !important;
  border-radius: 0.85rem !important;
  box-shadow: none !important;
  margin-top: 1rem !important;
}
@media (min-width: 768px) {
  #yag-mobile-sticky-cta-bar,
  #yag-owner-mobile-sticky-bar,
  #yag-reg-profile-mobile-bar {
    display: none !important;
  }
}
@media (max-width: 767px) {
  footer {
    padding-bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px)) !important;
    margin-bottom: 0 !important;
  }
  div.fixed.bottom-0.z-40:has(#mobile-nav-reclamar-b2b),
  nav:has(#mobile-nav-reclamar-b2b) {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  main:has(#formulario-reclamar-ficha) {
    padding-top: 1.15rem !important;
    padding-bottom: 2rem !important;
  }
  div.grid:has(> #formulario-reclamar-ficha) {
    gap: 1.15rem !important;
  }
  div.grid:has(> #formulario-reclamar-ficha) > div:first-child > div.bg-white.p-6.rounded-2xl {
    display: none !important;
  }
  div.grid:has(> #formulario-reclamar-ficha) > div:first-child > h1 {
    font-size: 1.55rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.45rem !important;
  }
  div.grid:has(> #formulario-reclamar-ficha) > div:first-child > p {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.25rem !important;
  }
}



/* YAG_W138_MOBILE_EXCELLENCE_START */
/* === 0. STRICT MOBILE VIEWPORT & CSS GRID ANTI-BLOWOUT (ZERO 442px OVERFLOW ON IPHONE) === */
html,
body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}
div.grid > *,
main > *,
article,
section,
aside {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
@media (max-width: 1023px) {
  div.grid[class*="lg:grid-cols-"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (max-width: 639px) {
  article.glass-panel,
  section.glass-panel {
    padding: 1.2rem 1.05rem !important;
    border-radius: 1.45rem !important;
  }
}

/* === 1. ZERO BLANK SPACE BELOW FOOTER & SINGLE COOKIE CMP (26/26 PORTALS, ALL ROUTES) === */
html,
body,
html body,
html body:not(.yag-is-dashboard),
div:has(> footer),
body > div:has(footer) {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
footer {
  margin-bottom: 0 !important;
}
@media (max-width: 767px) {
  footer {
    padding-bottom: calc(4.85rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}
footer ~ section:empty,
footer ~ div:empty,
.google-revocation-link-placeholder,
div[class*="google-revocation"],
footer ~ div.google-revocation-link-placeholder,
footer ~ ins.adsbygoogle:not([data-ad-status="filled"]),
body > iframe[name="googlefcPresent"],
body > iframe[name^="__tcfapi"],
body > iframe[src="about:blank"],
body > section[aria-label*="Notifications"]:empty {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}
body:has(.fc-consent-root) div[role="region"][aria-label*="Cookie"],
body:has(.fc-consent-root) div[role="region"][aria-label*="cookie"],
body:has(.fc-consent-root) div[role="region"][aria-label*="privacidad"],
body:has(script[src*="adsbygoogle"]) div[role="region"][aria-label*="Cookie"],
body:has(script[src*="adsbygoogle"]) div[role="region"][aria-label*="cookie"],
body:has(script[src*="adsbygoogle"]) div[role="region"][aria-label*="privacidad"],
body:has(script[src*="adsbygoogle"]) div[class*="z-[9990]"][class*="bottom-3"] {
  display: none !important;
}

/* === 2. COLLAPSE UNFILLED / PRE-CONSENT ADSENSE SLOTS (ZERO WHITE VOIDS) === */
html body ins.adsbygoogle:empty,
html body ins.adsbygoogle:not([data-ad-status="filled"]) {
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
#yag-direct-adsense-top:not(:has(ins.adsbygoogle[data-ad-status="filled"])),
#global-adsense-footer-slot:not(:has(ins.adsbygoogle[data-ad-status="filled"])),
#free-profile-adsense-upsell:not(:has(ins.adsbygoogle[data-ad-status="filled"])),
body:has(form[action*="checkout"]) #yag-direct-adsense-top,
body:has(a[href*="/api/stripe/checkout"]) #yag-direct-adsense-top {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* === 2B. MOBILE STICKY CTA BAR CRISP FIT (ZERO CLIPPING ON 360px-430px SPANISH & ENGLISH) === */
@media (max-width: 430px) {
  html body #yag-mobile-sticky-cta-bar {
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 5px !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.16fr) !important;
  }
  html body #yag-mobile-sticky-cta-bar > a {
    min-height: 40px !important;
    font-size: 10.5px !important;
    letter-spacing: -0.015em !important;
    padding: 0 5px !important;
    gap: 3px !important;
    border-radius: 10px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* === 3. REGIONAL MOBILE UX: REMOVE TEXT-COLLIDING FLOATING FAB & COOKIE OVERLAP === */
@media (max-width: 767px) {
  a.fixed[href="/buscar"],
  a.fixed[href="/search"] {
    display: none !important;
  }
  main.pb-20 {
    padding-bottom: 2.5rem !important;
  }
  html body div.fixed.bottom-3.z-50,
  html body div[class*="bottom-3"][class*="z-50"],
  html body div[class*="z-[90]"][class*="bottom-3"] {
    bottom: 4.5rem !important;
  }
  header .aspect-\[16\/9\] .absolute.top-3.left-3,
  header .aspect-\[16\/10\] .absolute.top-3.left-3,
  header [class*="aspect-"] .absolute.top-3.left-3,
  header [class*="aspect-"] .absolute.top-4.left-4 {
    max-width: 58% !important;
  }
  header [class*="aspect-"] .absolute span {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
  }
}

/* === 4. REGIONAL GALLERY: SMOOTH HORIZONTAL TOUCH CAROUSEL ON MOBILE === */
@media (max-width: 639px) {
  section:has(> div.mb-5 + div.grid.grid-cols-1.sm\:grid-cols-3) > div.grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.75rem !important;
    padding-bottom: 0.4rem !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  section:has(> div.mb-5 + div.grid.grid-cols-1.sm\:grid-cols-3) > div.grid > div {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    scroll-snap-align: start !important;
  }
  /* Unmask Regional native direct-contact dock (Llamar | WhatsApp | Presupuesto) on all 674k profiles & native 5-tab bar on hubs */
  body:has(.yag-mobile-contact-dock) #yag-mobile-sticky-cta-bar,
  body:has(div.fixed.bottom-0.z-40) #yag-mobile-sticky-cta-bar {
    display: none !important;
  }
  html body div.yag-mobile-contact-dock {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 45 !important;
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* Compact 5-column Regional Comparative Table on mobile so Verification badge fits 100% without horizontal cutoff */
  div.overflow-x-auto > table tr > th:nth-child(3):nth-last-child(3),
  div.overflow-x-auto > table tr > td:nth-child(3):nth-last-child(3) {
    display: none !important;
  }
  div.overflow-x-auto > table th,
  div.overflow-x-auto > table td {
    padding: 0.45rem 0.4rem !important;
    font-size: 0.72rem !important;
  }
  div.overflow-x-auto > table td span.rounded-full {
    font-size: 0.64rem !important;
    padding: 0.15rem 0.42rem !important;
    white-space: nowrap !important;
  }
}
/* === 5. REGIONAL B2B CONVERSION FUNNEL (/planes, /pricing, /alta, /register, /reclamar): ABOVE-THE-FOLD MOBILE EXCELLENCE === */
@media (max-width: 767px) {
  header.sticky.top-0 + header[class*="pt-"] {
    padding-top: 0.7rem !important;
    padding-bottom: 1rem !important;
  }
  main:has(#faq-planes-b2b) {
    padding-top: 0.55rem !important;
    padding-bottom: 2.5rem !important;
  }
  main:has(#faq-planes-b2b) nav.mb-6 {
    margin-bottom: 0.3rem !important;
    font-size: 0.7rem !important;
  }
  main:has(#faq-planes-b2b) div.text-center.max-w-3xl {
    margin-bottom: 0.7rem !important;
  }
  main:has(#faq-planes-b2b) div.text-center.max-w-3xl > span {
    padding: 0.18rem 0.6rem !important;
    font-size: 0.62rem !important;
    margin-bottom: 0.25rem !important;
  }
  main:has(#faq-planes-b2b) div.text-center.max-w-3xl > h1 {
    font-size: 1.32rem !important;
    line-height: 1.18 !important;
  }
  main:has(#faq-planes-b2b) div.text-center.max-w-3xl > p {
    margin-top: 0.25rem !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] {
    gap: 1rem !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl {
    padding: 0.95rem 1rem !important;
    border-radius: 1.35rem !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl > div > div.mb-4 {
    margin-bottom: 0.25rem !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl h2 {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl div.mt-4.flex.items-baseline {
    margin-top: 0.2rem !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl div.mt-4.flex.items-baseline span:first-child {
    font-size: 1.8rem !important;
    line-height: 1.1 !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl p.mt-2 {
    margin-top: 0.15rem !important;
    font-size: 0.73rem !important;
    line-height: 1.25 !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl ul.mt-6 {
    margin-top: 0.45rem !important;
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl ul.mt-6 > li + li {
    margin-top: 0.22rem !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl:first-child ul.mt-6 > li:nth-child(n+5) {
    display: none !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl form.mt-8 {
    margin-top: 0.55rem !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl form.mt-8 input:not([type="hidden"]) {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
    font-size: 0.8rem !important;
  }
  main:has(#faq-planes-b2b) div.grid[class*="md:grid-cols-3"] > div.rounded-3xl form.mt-8 > button {
    margin-top: 0.35rem !important;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
    font-size: 0.82rem !important;
  }
  main:has(#comprobar-ficha-existente) header + header nav {
    margin-bottom: 0.3rem !important;
  }
  main:has(#comprobar-ficha-existente) header + header h1 {
    font-size: 1.5rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.25rem !important;
  }
  main:has(#comprobar-ficha-existente) header + header h1 + p {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  #comprobar-ficha-existente {
    margin-top: 0.6rem !important;
    padding: 0.75rem 0.9rem !important;
  }
  #comprobar-ficha-existente > p {
    display: none !important;
  }
  #comprobar-ficha-existente h2 {
    font-size: 0.92rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.4rem !important;
  }
  #comprobar-ficha-existente input {
    font-size: 0.82rem !important;
    padding-top: 0.48rem !important;
    padding-bottom: 0.48rem !important;
  }
  #comprobar-ficha-existente div.flex.flex-wrap:has(button) {
    display: none !important;
  }
  section#registro {
    padding-top: 0.85rem !important;
    padding-bottom: 1.5rem !important;
  }
  main:has(#profile-completeness-meter) {
    padding-top: 0.7rem !important;
    padding-bottom: 4.5rem !important;
  }
  main:has(#profile-completeness-meter) div.grid {
    gap: 0.8rem !important;
  }
  main:has(#profile-completeness-meter) h1 {
    font-size: 1.35rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0.3rem !important;
  }
  main:has(#profile-completeness-meter) h1 + p {
    font-size: 0.8rem !important;
    line-height: 1.32 !important;
    margin-bottom: 0.55rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  #profile-completeness-meter {
    padding: 0.75rem 0.9rem !important;
    margin-bottom: 0.35rem !important;
    font-size: 0.78rem !important;
  }
  #formulario-reclamar-ficha > div:first-child {
    padding: 1.05rem 1rem !important;
  }
  main:has(#faq-reclamar-w107) > section.bg-white.border-b {
    padding-top: 0.65rem !important;
    padding-bottom: 0.85rem !important;
  }
  main:has(#faq-reclamar-w107) > section.bg-white.border-b nav.mb-4 {
    margin-bottom: 0.25rem !important;
  }
  main:has(#faq-reclamar-w107) > section.bg-white.border-b div.max-w-3xl.mt-4 {
    margin-top: 0.25rem !important;
  }
  main:has(#faq-reclamar-w107) > section.bg-white.border-b h1 {
    font-size: 1.42rem !important;
    line-height: 1.15 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
  }
  main:has(#faq-reclamar-w107) > section.bg-white.border-b h1 + p {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.55rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  main:has(#faq-reclamar-w107) > section.bg-white.border-b div.mt-2\.5:has(> button) {
    display: none !important;
  }
  main:has(#faq-reclamar-w107) > section.mt-12 {
    margin-top: 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  main:has(#faq-reclamar-w107) > section.mt-12 > div.mt-8:has(a[href="/planes"]),
  main:has(#faq-reclamar-w107) > section.mt-12 > div.mt-8:has(a[href="/pricing"]),
  main:has(#faq-reclamar-w107) > section.mt-12 > div.mt-8:has(a[href="/alta"]),
  main:has(#faq-reclamar-w107) > section.mt-12 > div.mt-8:has(a[href="/register"]) {
    order: 1 !important;
    margin-top: 0 !important;
    padding: 0.9rem 1rem !important;
    gap: 0.6rem !important;
  }
  main:has(#faq-reclamar-w107) > section.mt-12 > div.grid[class*="md:grid-cols-3"] {
    order: 2 !important;
    gap: 0.65rem !important;
  }
  main:has(#faq-reclamar-w107) > section.mt-12 > div.grid[class*="md:grid-cols-3"] > div.rounded-2xl {
    padding: 0.9rem 1rem !important;
  }
}
@media (max-width: 1023px) {
  section#registro > div.grid {
    display: flex !important;
    flex-direction: column !important;
  }
  section#registro > div.grid > div[class*="lg:col-span-7"] {
    order: 1 !important;
    padding: 1.1rem 1rem !important;
  }
  section#registro > div.grid > div[class*="lg:col-span-5"] {
    order: 2 !important;
    padding: 1.1rem 1rem !important;
    border-bottom: 0 !important;
    border-top: 1px solid #E5E0D8 !important;
  }
}
a[href^="https://wa.me/1"],
a[href^="https://wa.me/34900"],
a[href^="https://wa.me/34800"],
a[href^="https://wa.me/44800"],
a[href^="https://wa.me/44808"] {
  display: none !important;
}

/* === 6. WAVE 150 REGIONAL UX: FROSTED HEADER MASK, SINGLE MOBILE DOCK, COOKIE LEFT, VIP SHIELD & /ALTA FULL-WIDTH === */
header.sticky[class*="top-"] {
  top: 0 !important;
  padding-top: 0.55rem !important;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.98) 68%, rgba(250, 248, 245, 0)) !important;
}
div.min-h-screen:has(footer),
body > div.min-h-screen,
body > div:has(footer) {
  min-height: 0 !important;
}
@media (min-width: 768px) {
  html body div[role="region"][aria-label*="Cookie" i],
  html body div[role="region"][aria-label*="privacidad" i],
  html body div.fixed.bottom-3 {
    left: 1rem !important;
    right: auto !important;
    bottom: 1rem !important;
    max-width: 22.5rem !important;
    width: auto !important;
  }
}
body:has(#yag-reg-profile-mobile-bar) #yag-mobile-sticky-cta-bar,
body:has(#yag-owner-mobile-sticky-bar) #yag-mobile-sticky-cta-bar,
body:has(.yag-mobile-contact-dock) #yag-mobile-sticky-cta-bar,
body:has(div.fixed.bottom-0.z-40) #yag-mobile-sticky-cta-bar,
body:has(#yag-reg-profile-mobile-bar) div.yag-mobile-contact-dock,
body:has(#yag-owner-mobile-sticky-bar) div.yag-mobile-contact-dock,
body:has(#yag-owner-mobile-sticky-bar) div.fixed.bottom-0.z-40 {
  display: none !important;
}
#comprobar-ficha-existente {
  max-width: 100% !important;
  width: 100% !important;
}
main:has(#comprobar-ficha-existente) header + header h1 + p,
header:has(+ main #comprobar-ficha-existente) h1 + p {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}
html.yag-vip-ad-shield #yag-reg-owner-sim-bar,
html.yag-vip-ad-shield #free-profile-adsense-upsell {
  display: none !important;
}
/* YAG_W138_MOBILE_EXCELLENCE_END */

