/* SuperNegocios 8.6.39 — Móvil compacto. Solo pantallas de 720px o menos. */
.sn-opp-swipe-hint{display:none}

@media (max-width:720px){

  /* Portada: "Ver oportunidades" y "Vender mi negocio" en la misma fila; "Solicitar valoración" debajo. */
  body .sn-home-hero-v53 .sn-home-hero-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
  }
  body .sn-home-hero-v53 .sn-home-hero-actions .sn-btn{
    width:100%!important;min-width:0!important;margin:0!important;
    padding:13px 8px!important;font-size:15px!important;line-height:1.2!important;
    white-space:normal!important;text-align:center!important;justify-content:center!important;
  }
  body .sn-home-hero-v53 .sn-home-hero-actions .sn-btn:nth-child(n+3){grid-column:1/-1!important}

  /* Métricas: las tres en una sola fila. */
  body .sn-home-metrics.sn-home-metrics-v49{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body .sn-home-metrics.sn-home-metrics-v49>div{min-width:0!important;padding:10px 8px!important;text-align:center!important}
  body .sn-home-metrics.sn-home-metrics-v49 strong,
  body .sn-home-metrics.sn-home-metrics-v49 div:last-child strong{display:block!important;font-size:17px!important;line-height:1.15!important}
  body .sn-home-metrics.sn-home-metrics-v49 span{display:block!important;font-size:11px!important;line-height:1.25!important;margin-top:3px!important}

  /* Consulta rápida: Tipo de consulta | Soy, Nombre | WhatsApp, correo y mensaje a todo el ancho. */
  body .sn-hero-consult-form{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body .sn-hero-consult-form>*{min-width:0!important;margin:0!important}
  body .sn-hero-consult-form>:is(input[type=hidden],.sn-hp-field,script,style){grid-column:1/-1!important}
  body .sn-hero-consult-form>.sn-hero-consult-two{display:contents!important}
  body .sn-hero-consult-form>label:has(textarea),
  body .sn-hero-consult-form>label:has(input[type=email]),
  body .sn-hero-consult-form>button,
  body .sn-hero-consult-form>.sn-btn,
  body .sn-hero-consult-form>:not(label):not(.sn-hero-consult-two){grid-column:1/-1!important}
  body .sn-hero-consult-form label{font-size:12.5px!important;line-height:1.25!important}
  body .sn-hero-consult-form :is(input:not([type=hidden]),select,textarea){
    width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important;
  }

  /* Buscador: Todo / Negocios / Inmuebles en una fila; Operación | Provincia lado a lado. */
  body .sn-search-tabs.sn-search-tabs-pro{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
    width:100%!important;
  }
  body .sn-search-tabs.sn-search-tabs-pro label{
    min-width:0!important;margin:0!important;padding:10px 4px!important;
    font-size:14px!important;text-align:center!important;justify-content:center!important;
  }
  body .sn-search-main-row.sn-search-main-row-upgraded{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body .sn-search-main-row.sn-search-main-row-upgraded>*{min-width:0!important;margin:0!important}
  body .sn-search-main-row.sn-search-main-row-upgraded>.sn-search-input-main:first-child,
  body .sn-search-main-row.sn-search-main-row-upgraded>button{grid-column:1/-1!important}
  body .sn-search-main-row.sn-search-main-row-upgraded :is(input,select){width:100%!important;min-width:0!important;font-size:16px!important}
  body .sn-search-grid.sn-search-grid-upgraded{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body .sn-search-grid.sn-search-grid-upgraded>*{min-width:0!important;margin:0!important}
  body .sn-search-grid.sn-search-grid-upgraded>.sn-search-submit{grid-column:1/-1!important}
  body .sn-search-grid.sn-search-grid-upgraded :is(input,select){width:100%!important;min-width:0!important;font-size:16px!important}

  /* Oportunidades: flechas visibles e indicación de deslizar. */
  body .sn-opportunities-section .sn-opportunities-actions{
    display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  }
  body .sn-opportunities-section .sn-opp-arrow{
    width:46px!important;height:46px!important;min-width:46px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    border-radius:50%!important;border:0!important;
    background:#0b2545!important;color:#fff!important;
    font-size:26px!important;line-height:1!important;padding:0 0 3px!important;
    box-shadow:0 6px 16px rgba(11,37,69,.25)!important;opacity:1!important;
  }
  body .sn-opportunities-section .sn-opp-arrow.is-disabled{background:#c9d2de!important;box-shadow:none!important;color:#fff!important}
  body .sn-opportunities-section .sn-opp-swipe-hint{
    display:flex!important;align-items:center;justify-content:center;gap:6px;
    margin:4px 0 10px!important;font-size:13px!important;font-weight:800!important;color:#0f8f88!important;
  }
  body .sn-opportunities-section .sn-opp-swipe-hint b{display:inline-block;animation:snSwipeNudge 1.6s ease-in-out infinite}
  body .sn-opportunities-section .sn-opp-swipe-hint.is-done{display:none!important}

  /* Valoración: Express y Profesional en la misma fila. */
  body .sn-valuation-band .sn-valuation-options{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  body .sn-valuation-band .sn-valuation-options article{
    min-width:0!important;margin:0!important;padding:14px 12px!important;
    display:flex!important;flex-direction:column!important;
  }
  body .sn-valuation-band .sn-valuation-options h3{font-size:17px!important;line-height:1.2!important;margin:0 0 6px!important}
  body .sn-valuation-band .sn-valuation-options p{font-size:13px!important;line-height:1.4!important;margin:0 0 10px!important}
  body .sn-valuation-band .sn-valuation-options .sn-btn{
    margin-top:auto!important;width:100%!important;padding:11px 6px!important;font-size:14px!important;
    white-space:normal!important;text-align:center!important;justify-content:center!important;
  }

  /* Próximo paso: "Vender negocio" y "Buscar oportunidad" en la misma fila; "Valorar negocio" debajo. */
  body .sn-final-cta .sn-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;width:100%!important;
  }
  body .sn-final-cta .sn-actions .sn-btn{
    width:100%!important;min-width:0!important;margin:0!important;padding:13px 8px!important;
    font-size:15px!important;line-height:1.2!important;white-space:normal!important;text-align:center!important;justify-content:center!important;
  }
  body .sn-final-cta .sn-actions .sn-btn:nth-child(n+3){grid-column:1/-1!important}

  /* Footer en 2 columnas: marca a todo el ancho; Servicios | Legal; Contacto a todo el ancho. */
  body .sn-footer .sn-footer-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px 16px!important;
  }
  body .sn-footer .sn-footer-grid>div{min-width:0!important}
  body .sn-footer .sn-footer-grid>div:first-child,
  body .sn-footer .sn-footer-grid>div:last-child{grid-column:1/-1!important}
  body .sn-footer h3{font-size:16px!important;margin:0 0 8px!important}
  body .sn-footer p{font-size:13px!important;line-height:1.45!important;margin:0 0 6px!important}
  body .sn-footer .sn-footer-menu li{margin:0!important}
  body .sn-footer .sn-footer-menu a{display:block!important;padding:4px 0!important;font-size:13.5px!important;line-height:1.3!important}
  body .sn-footer .sn-footer-logo{max-height:46px!important;width:auto!important}
}

@keyframes snSwipeNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(6px)}}
@media (prefers-reduced-motion:reduce){body .sn-opportunities-section .sn-opp-swipe-hint b{animation:none}}

/* 8.6.40 — Menú principal en móvil (GeneratePress).
   El plugin forzaba el menú en una fila horizontal en todas las pantallas: aparecía bajo el logo
   y al abrir ☰ solo se veía "Contacto". En móvil vuelve a ser una lista vertical que solo se ve al tocar ☰. */
@media (max-width:768px){
  body .site-header .inside-header{flex-wrap:wrap!important;gap:8px 12px!important}
  body .site-header .main-navigation{margin-left:auto!important}
  body .site-header .main-navigation.toggled{flex:1 1 100%!important;width:100%!important;order:5!important}
  body .main-navigation .inside-navigation{flex-wrap:wrap!important;justify-content:flex-end!important}
  body .main-navigation:not(.toggled) .main-nav>ul,
  body .main-navigation:not(.toggled) ul.menu{display:none!important}
  body .main-navigation.toggled .main-nav{flex:1 1 100%!important;width:100%!important;order:3}
  body .main-navigation.toggled .main-nav>ul,
  body .main-navigation.toggled ul.menu{
    display:block!important;width:100%!important;margin:8px 0 0!important;padding:6px 0!important;
    border-top:1px solid #e5eaf1!important;overflow:visible!important;
  }
  body .main-navigation.toggled .main-nav>ul>li,
  body .main-navigation.toggled ul.menu>li{display:block!important;width:100%!important;float:none!important;border-bottom:1px solid #eef1f5!important;position:relative!important}
  body .main-navigation.toggled .main-nav>ul>li>a,
  body .main-navigation.toggled ul.menu>li>a{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    padding:14px 8px!important;font-size:16px!important;line-height:1.25!important;white-space:normal!important;letter-spacing:0!important;
  }
  body .main-navigation.toggled .main-nav ul ul{
    position:static!important;width:100%!important;min-width:0!important;box-shadow:none!important;
    left:auto!important;opacity:1!important;float:none!important;background:transparent!important;padding-left:12px!important;
  }
  body .main-navigation.toggled .main-nav ul ul li a{padding:11px 8px!important;font-size:15px!important;white-space:normal!important}
  body .main-navigation .menu-toggle{min-width:48px!important;min-height:48px!important}
}

/* 8.6.41 — Formularios de SuperNegocios en móvil, versión clara:
   - Más ancho útil: se eliminan los marcos y rellenos anidados alrededor del formulario.
   - Nombres, correo, direcciones y textos largos a toda la fila; cifras, números y listas cortas de dos en dos.
   - Cada etiqueta queda pegada a su campo y los pares se alinean por arriba; la ayuda va debajo, en letra pequeña. */
@media (max-width:720px){
  body .sn-request-page{padding-left:0!important;padding-right:0!important}
  body .sn-request-form-area,
  body .sn-smart-form-wrap,
  body .sn-smart-form-wrap .sn-form-card{
    padding:14px 12px!important;margin-left:0!important;margin-right:0!important;
    border-radius:16px!important;box-shadow:none!important;max-width:none!important;width:auto!important;
  }
  body .sn-request-form-area .sn-smart-form-wrap,
  body .sn-request-form-area .sn-smart-form-wrap .sn-form-card,
  body .sn-smart-form-wrap .sn-form-card{padding:0!important;border:0!important;background:transparent!important}
  body .sn-request-form-heading{margin-bottom:10px!important}
  body .sn-request-form-heading h2{font-size:24px!important;margin:6px 0!important}
  body .sn-request-form-heading p{font-size:13.5px!important;margin:0!important}
}
@media (min-width:340px) and (max-width:720px){
  body form.sn-form-smart,
  body form:has(> p.sn-field),
  body :is(div,fieldset):has(> p.sn-field){
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px 10px!important;
    align-items:start!important;
  }
  body :is(form,div,fieldset):has(> p.sn-field) > *{grid-column:1/-1!important;min-width:0!important}
  body :is(form,div,fieldset):has(> p.sn-field) > p.sn-field{margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:4px!important}
  body :is(form,div,fieldset):has(> p.sn-field) > p.sn-field.sn-field-mobile-half{grid-column:auto!important}
  body :is(form,div,fieldset):has(> p.sn-field) > p.sn-field.sn-field-mobile-full{grid-column:1/-1!important}
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field > label{
    margin:0!important;font-size:13px!important;line-height:1.25!important;font-weight:800!important;
  }
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field-mobile-half > label{min-height:2.5em!important;display:flex!important;flex-wrap:wrap!important;align-content:flex-end!important;gap:0 3px!important}
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field label>span{margin-left:0!important;float:none!important;display:inline!important}
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){
    width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;
    font-size:16px!important;min-height:44px!important;padding:9px 10px!important;
  }
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field textarea{min-height:84px!important}
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field .sn-field-help{display:block!important;margin:0!important;font-size:11.5px!important;line-height:1.3!important;color:#667085!important}
  body .sn-form-section{grid-column:1/-1!important;margin:10px 0 0!important;padding:0!important}
  body .sn-form-section h3{font-size:17px!important;font-weight:800!important;margin:0!important;padding:0 0 6px!important;border-bottom:2px solid #e3eaf2!important}
  /* Opciones (radio / casillas): en una o dos columnas, sin huecos. */
  body .sn-field .sn-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;white-space:normal!important;padding:0!important;flex-wrap:wrap!important}
  body .sn-field .sn-options label{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:8px 10px!important;font-size:13.5px!important;white-space:normal!important;min-width:0!important}
  body :is(.sn-agreement,.sn-agreement-box,[class*=agreement]) label{margin:4px 0!important;padding:6px 0!important}
  body form.sn-form-smart button[type=submit],
  body form.sn-form-smart .sn-btn{width:100%!important;margin-top:4px!important}
}

/* 8.6.41 — Menos espacio vacío en móvil. */
@media (max-width:720px){
  body .sn-section{padding-top:28px!important;padding-bottom:28px!important}
  body .sn-request-panel{padding:20px 14px!important;margin-bottom:12px!important}
  body .sn-request-page{padding-bottom:12px!important;margin-bottom:0!important}
  body .site-content,body .inside-article{padding-bottom:0!important;margin-bottom:0!important}
  body .sn-footer{padding-top:26px!important}

  /* Publicidad dentro del pie sin salirse de la pantalla. */
  body .sn-footer [class*=adsense],body .sn-footer .sn-ad,body .sn-footer ins,body .sn-footer iframe{max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important}
  body .sn-footer{overflow-x:hidden!important}
}

/* 8.6.41 — Logo del pie en versión clara (todas las pantallas): sin recuadro blanco.
   grayscale+invert vuelve claro el texto oscuro; 'screen' hace desaparecer el fondo blanco de la imagen si lo tuviera. */
body .sn-footer .sn-footer-logo{
  filter:grayscale(1) invert(1) brightness(1.15) contrast(1.15)!important;
  mix-blend-mode:screen!important;
  background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  max-height:46px!important;width:auto!important;
}
body .sn-footer :has(> .sn-footer-logo){background:transparent!important;box-shadow:none!important;padding:0!important}

/* 8.6.42 — Calculadoras (rentabilidad y préstamo) compactas en móvil: 2 datos por fila. */
@media (max-width:720px){
  body .sn-roi-calculator{padding:18px 12px!important}
  body .sn-roi-head h2{font-size:24px!important;margin:8px 0!important}
  body .sn-roi-head p{font-size:14px!important;margin:0 0 12px!important}
  body .sn-roi-layout{display:block!important}
  body .sn-roi-panel{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px 10px!important;padding:14px 12px!important;align-items:end!important;
  }
  body .sn-roi-panel .sn-roi-input-title{grid-column:1/-1!important;margin:4px 0 0!important;justify-self:start!important}
  body .sn-roi-panel label{
    min-width:0!important;margin:0!important;display:flex!important;flex-direction:column!important;gap:4px!important;
    font-size:10.5px!important;line-height:1.2!important;
  }
  body .sn-roi-panel label small{font-size:9.5px!important}
  body .sn-roi-panel :is(input,select){width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:42px!important;padding:8px 10px!important;font-size:16px!important;margin:0!important}
  body .sn-roi-results{margin-top:12px!important}
  body .sn-roi-topcards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body .sn-roi-topcards>*{min-width:0!important;margin:0!important;padding:12px 10px!important}
  body .sn-roi-topcards .sn-roi-result-main{grid-column:1/-1!important}
  body .sn-roi-topcards strong{font-size:20px!important;line-height:1.15!important;overflow-wrap:anywhere}
  body .sn-roi-topcards small{font-size:11px!important;line-height:1.3!important}
  body .sn-roi-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-top:8px!important}
  body .sn-roi-kpis>div{min-width:0!important;margin:0!important;padding:10px!important}
  body .sn-roi-kpis span,body .sn-roi-topcards span{font-size:10px!important;line-height:1.25!important}
  body .sn-roi-kpis strong{font-size:16px!important;overflow-wrap:anywhere}
  body .sn-roi-horizon-box{padding:14px 12px!important;margin-top:10px!important}
  body .sn-roi-horizon-box p{font-size:12.5px!important;line-height:1.45!important}
  body .sn-roi-bars{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body .sn-roi-bars>div{min-width:0!important;margin:0!important;padding:10px!important}
  body .sn-roi-bars strong{font-size:16px!important;overflow-wrap:anywhere}
  body .sn-roi-bars small{font-size:10.5px!important;line-height:1.3!important}

  body .sn-loan-panel{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body .sn-loan-panel>*{min-width:0!important;margin:0!important}
  body .sn-loan-panel .sn-loan-field-amount{grid-column:1/-1!important}
  body .sn-loan-panel :is(input,select){width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}
}

/* 8.6.42 — Formularios sin clases de ancho (cita, visita, solicitud de información): de dos en dos,
   salvo el nombre, los textos largos, las casillas y los campos marcados a todo el ancho. */
@media (min-width:340px) and (max-width:720px){
  body .sn-visit-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 10px!important;align-items:start!important}
  body :is(form,div,fieldset):has(> p.sn-field) > p.sn-field:not(.sn-field-mobile-full):not(.sn-field-mobile-half){grid-column:auto!important}
  body :is(form,div,fieldset):has(> p.sn-field) > p.sn-field:not(.sn-field-mobile-full):not(.sn-field-mobile-half):is(.sn-field-full,.sn-field-message,.sn-consent-line,:has(textarea),:has(input[type=checkbox]),:has(input[type=radio]),:has(input[type=file]),:has(.sn-options),:has(input[name*=name i]),:has(input[name*=nombre i]),:has(input[autocomplete=name])){grid-column:1/-1!important}
  body :is(form,div,fieldset):has(> p.sn-field) > p.sn-field:not(.sn-field-mobile-full):not(.sn-field-mobile-half) > label{min-height:2.5em!important;display:flex!important;flex-wrap:wrap!important;align-content:flex-end!important;gap:0 3px!important;font-size:13px!important}
  body :is(form,div,fieldset):has(> p.sn-field) > p.sn-field:is(.sn-field-full,.sn-field-message,:has(textarea),:has(input[type=checkbox])) > label{min-height:0!important}
  body .sn-request-form .sn-consent,body .sn-visit-form .sn-consent-line{grid-column:1/-1!important;padding:10px!important;margin:0!important}
  body :is(.sn-request-form,.sn-visit-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){width:100%!important;min-width:0!important;box-sizing:border-box!important;font-size:16px!important}
  body :is(.sn-request-form,.sn-visit-form) > .sn-btn,body :is(.sn-request-form,.sn-visit-form) > button{width:100%!important;grid-column:1/-1!important}
}

/* 8.6.43 — Reglas con mayor prioridad: el CSS anterior forzaba una columna en la cita y en los resultados. */
@media (max-width:720px){
  /* Hacer cita / Solicitar información: Nombre | WhatsApp+Cédula | Correo | Fecha+Horario | Interés | Mensaje. */
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:end!important;
  }
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form > *{grid-column:1/-1!important;min-width:0!important;margin:0!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form > p.sn-field:is(:has(input[type=tel]),.sn-field-id,:has(input[type=date]),:has(select[name=sn_request_time])){grid-column:span 1!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form > p.sn-field:is(:has(input[name=sn_request_name]),:has(input[type=email]),:has(select[name=sn_request_interest]),:has(textarea)){grid-column:1/-1!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form label{font-size:12.5px!important;margin:0 0 4px!important;line-height:1.2!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form :is(input:not([type=checkbox]):not([type=hidden]),select){height:42px!important;min-height:42px!important;font-size:16px!important;padding:8px 10px!important;width:100%!important;box-sizing:border-box!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form textarea{min-height:64px!important;height:64px!important;font-size:16px!important;width:100%!important;box-sizing:border-box!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form button{grid-column:1/-1!important;width:100%!important;justify-self:stretch!important}
  html body .sn-request-card.sn-request-card{padding:16px 14px!important}
  html body .sn-request-card .sn-request-intro{font-size:14px!important;margin:4px 0 12px!important}

  /* Calculadora de rentabilidad: resultados de dos en dos. */
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-topcards.sn-roi-topcards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-topcards.sn-roi-topcards > *{min-width:0!important;min-height:0!important;margin:0!important;padding:12px 10px!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-topcards.sn-roi-topcards > .sn-roi-result-main{grid-column:1/-1!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-topcards strong{font-size:19px!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-kpis.sn-roi-kpis-v2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-kpis.sn-roi-kpis-v2 > div{min-width:0!important;min-height:0!important;margin:0!important;padding:10px!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-bars.sn-roi-bars-v2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-bars.sn-roi-bars-v2 > div{min-width:0!important;margin:0!important;padding:10px 8px!important}
  html body .sn-roi-calculator.sn-roi-calculator-v2 .sn-roi-bars.sn-roi-bars-v2 strong{font-size:16px!important}
}
/* Acuerdo de confidencialidad en la cita (todas las pantallas). */
.sn-nda-consent{display:block;padding:10px 12px;border:1px solid #cfe3dd;border-radius:12px;background:#f4fbf8;font-size:12.5px;line-height:1.45}
.sn-nda-consent label{display:flex!important;gap:8px;align-items:flex-start;font-weight:600}
.sn-nda-consent input{margin-top:3px;flex:0 0 auto}
.sn-nda-details{margin-top:6px}
.sn-nda-details summary{cursor:pointer;color:#0f766e;font-weight:700}
.sn-nda-details ol{margin:6px 0 0 18px;padding:0;font-size:12px;line-height:1.45}

/* 8.6.44 — Búsqueda activa y valoraciones en móvil: dos campos por fila y menos espacio vacío. */
@media (max-width:720px){
  html body .sn-active-search-shell{padding:0 6px!important;margin:16px auto!important}
  html body .sn-active-search-section{padding:16px 12px!important}
  html body .sn-active-search-section-title{gap:10px!important;margin-bottom:12px!important}
  html body .sn-active-search-section-title h2{font-size:18px!important;line-height:1.2!important;margin:0!important}
  html body .sn-active-search-section-title p{font-size:13px!important;line-height:1.4!important;margin:3px 0 0!important}
  html body .sn-active-search-section-title>span{width:30px!important;height:30px!important;font-size:15px!important}
  html body .sn-active-search-head p{font-size:15px!important;line-height:1.5!important}
  html body .sn-active-search-trust{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  html body .sn-active-search-trust span{width:auto!important;font-size:11px!important;padding:7px 6px!important;text-align:center!important}
  html body .sn-active-search-grid.sn-active-search-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:end!important}
  html body .sn-active-search-grid > *{min-width:0!important;margin:0!important}
  html body .sn-active-search-grid > :is(.sn-as-span-2,:has(textarea),fieldset,.sn-as-fieldset){grid-column:1/-1!important}
  html body .sn-active-search-grid.sn-as-grid-profile{grid-template-columns:1fr!important}
  html body .sn-as-field label{font-size:12.5px!important;line-height:1.25!important;margin-bottom:4px!important}
  html body .sn-as-field :is(input,select,textarea){font-size:16px!important;min-height:44px!important;padding:9px 10px!important;width:100%!important;box-sizing:border-box!important}
  html body .sn-as-field textarea{min-height:76px!important}
  /* Sectores: dos por fila, tarjetas bajas. */
  html body .sn-as-option-grid.sn-as-option-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  html body .sn-as-option-grid label{min-width:0!important;margin:0!important;padding:8px!important;font-size:12px!important;line-height:1.25!important;gap:6px!important;align-items:flex-start!important}
  /* Experiencia y preocupación: opciones en dos columnas. */
  html body .sn-as-fieldset-card{padding:12px!important}
  html body .sn-as-fieldset-card:has(.sn-as-radio){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 8px!important}
  html body .sn-as-fieldset-card legend{grid-column:1/-1!important;font-size:14px!important}
  html body .sn-as-radio{margin:0!important;font-size:12.5px!important;line-height:1.25!important;gap:6px!important;align-items:flex-start!important}
  /* Presupuesto: monto completo; tiempo y financiamiento lado a lado. */
  html body .sn-as-fieldset-card:has(#sn_as_budget){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body .sn-as-fieldset-card:has(#sn_as_budget) > p:first-child{grid-column:1/-1!important}
  html body .sn-as-fieldset-card:has(#sn_as_budget) > p{margin:0!important;min-width:0!important}
  /* Tipo de acompañamiento: tarjetas compactas. */
  html body .sn-as-service-options{gap:8px!important}
  html body .sn-as-service-options label{padding:10px 12px!important}
  html body .sn-as-service-options strong{font-size:14px!important}
  html body .sn-as-service-options small{font-size:12px!important;line-height:1.35!important}
  html body .sn-as-consents{padding:14px 12px!important;gap:8px!important}
  html body .sn-as-consents label{font-size:12.5px!important;line-height:1.4!important}
  html body .sn-active-search-submit{padding:14px 12px 18px!important}

  /* Valoración Express y Profesional: campos de dos en dos. */
  html body .sn-ve-section{padding:14px 12px!important}
  html body :is(.sn-ve-grid-2,.sn-ve-grid-3,.sn-ve-grid-4).sn-ve-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body .sn-ve-grid > *{min-width:0!important;margin:0!important}
  html body .sn-ve-grid > :is(.sn-ve-full,:has(textarea)){grid-column:1/-1!important}
  html body .sn-ve-field span{font-size:12.5px!important;line-height:1.25!important}
  html body .sn-ve-field :is(input,select,textarea){font-size:16px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
  html body .sn-ve-intro h2{font-size:24px!important}
}
.sn-ve-contract-details{margin:8px 0 12px}


/* 8.6.46 — Detalle de oportunidad, cita, valoración Express y formularios: menos aire vertical, letra algo menor. */
@media (max-width:720px){
  /* Qué incluye: dos columnas. */
  html body .sn-checklist-compact-v605{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  html body .sn-checklist-compact-v605 > div{min-width:0!important;margin:0!important;padding:8px!important;gap:6px!important;font-size:12.5px!important;line-height:1.25!important;align-items:center!important}
  html body .sn-checklist-compact-v605 > div strong{font-size:12.5px!important;line-height:1.25!important}
  html body .sn-checklist-compact-v605 > div span{width:22px!important;height:22px!important;min-width:22px!important;font-size:12px!important}
  html body .sn-detail-card{padding:16px 14px!important}
  html body .sn-detail-card h2{font-size:20px!important;margin:0 0 10px!important}

  /* Hacer cita: más apretado sin perder el tamaño táctil (campos de 40px). */
  html body .sn-request-card.sn-request-card{padding:14px 12px!important}
  html body .sn-request-card .sn-request-heading h3{font-size:21px!important;margin:0!important}
  html body .sn-request-card .sn-request-intro{font-size:13px!important;line-height:1.4!important;margin:2px 0 8px!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form{gap:8px 8px!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form label{font-size:12px!important;margin:0 0 3px!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form :is(input:not([type=checkbox]):not([type=hidden]),select){height:40px!important;min-height:40px!important;padding:6px 10px!important;border-radius:10px!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form textarea{min-height:56px!important;height:56px!important;padding:8px 10px!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form > p{margin:0!important}
  html body .sn-request-card .sn-nda-consent{padding:8px 10px!important;font-size:12px!important;line-height:1.35!important}
  html body .sn-request-card.sn-request-card .sn-request-form.sn-request-form button{min-height:44px!important;padding:10px!important;font-size:15px!important}

  /* Valoración Express: Online y con revisión lado a lado, tarjetas compactas. */
  html body .sn-ve-mode-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  html body .sn-ve-mode-card{min-width:0!important;margin:0!important}
  html body .sn-ve-mode-card > span{padding:10px!important;display:flex!important;flex-direction:column!important;gap:3px!important;height:100%!important;box-sizing:border-box!important}
  html body .sn-ve-mode-card strong{font-size:14px!important;line-height:1.2!important}
  html body .sn-ve-mode-card b{font-size:17px!important;line-height:1.2!important}
  html body .sn-ve-mode-card small{font-size:11.5px!important;line-height:1.3!important}
  html body .sn-ve-mode-card ul{margin:4px 0 0!important;padding-left:14px!important}
  html body .sn-ve-mode-card li{font-size:11.5px!important;line-height:1.3!important;margin:0 0 2px!important}
  html body .sn-ve-mode-card .sn-ve-mode-status{font-size:10.5px!important;padding:2px 6px!important}
  html body .sn-ve-section-head h3{font-size:18px!important;line-height:1.2!important}
  html body .sn-ve-section-head p{font-size:12.5px!important;line-height:1.4!important}

  /* Formularios en general: menos espacio entre filas. */
  body :is(form,div,fieldset):has(> p.sn-field){row-gap:9px!important}
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select){min-height:40px!important;padding-top:6px!important;padding-bottom:6px!important}
  body :is(form,div,fieldset):has(> p.sn-field) .sn-field > label{font-size:12px!important}
  html body .sn-ve-grid{row-gap:8px!important}
  html body .sn-ve-field :is(input,select){min-height:40px!important;padding-top:6px!important;padding-bottom:6px!important}
  html body .sn-ve-field span{font-size:12px!important}
  html body .sn-active-search-grid.sn-active-search-grid{row-gap:8px!important}
  html body .sn-as-field :is(input,select){min-height:40px!important;padding-top:6px!important;padding-bottom:6px!important}
}

/* 8.6.47 */
/* Encabezado móvil común (GeneratePress): logo y botón «☰ Menú» fijos arriba, como InvertiaRD.
   Un solo botón: si el tema usa el botón dentro del encabezado, se oculta el de la barra de navegación. */
@media (max-width:768px){
  html body{overflow-x:clip!important}
  html body #masthead.site-header,html body .site-header{
    position:sticky!important;top:0!important;z-index:1000!important;background:#fff!important;
    box-shadow:0 2px 10px rgba(11,37,69,.08)!important;
  }
  html body #masthead .inside-header{padding-top:6px!important;padding-bottom:6px!important;align-items:center!important}
  html body #masthead .main-navigation.toggled .main-nav{max-height:72vh!important;overflow-y:auto!important}

  /* Un solo botón de menú. */
  html body.has-inline-mobile-toggle #site-navigation .menu-toggle.menu-toggle{display:none!important}
  /* El tema puede marcar el botón interno en #masthead (no en body): si existe, se oculta el de la barra. */
  html body:has(#masthead .mobile-menu-control-wrapper .menu-toggle) #site-navigation.main-navigation .menu-toggle.menu-toggle.menu-toggle{display:none!important}

  html body #masthead .mobile-menu-control-wrapper.mobile-menu-control-wrapper.mobile-menu-control-wrapper{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;margin-left:auto!important}
  html body #masthead .mobile-menu-control-wrapper .menu-toggle.menu-toggle,
  html body:not(.has-inline-mobile-toggle):not(:has(.mobile-menu-control-wrapper .menu-toggle)) #site-navigation .menu-toggle.menu-toggle{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
    width:auto!important;min-width:0!important;height:auto!important;min-height:44px!important;padding:8px 13px!important;
    border:2px solid #0b2545!important;border-radius:12px!important;background:#fff!important;color:#0b2545!important;
    font-size:16px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;overflow:visible!important;
    box-shadow:0 2px 8px rgba(11,37,69,.12)!important;
  }
  html body #masthead .menu-toggle.menu-toggle .gp-icon,
  html body #masthead .menu-toggle.menu-toggle .gp-icon svg,
  html body #site-navigation .menu-toggle.menu-toggle .gp-icon,
  html body #site-navigation .menu-toggle.menu-toggle .gp-icon svg{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;font-size:22px!important}
  html body #masthead .menu-toggle.menu-toggle .mobile-menu,html body #site-navigation .menu-toggle.menu-toggle .mobile-menu{display:none!important}
  html body #masthead .menu-toggle.menu-toggle::after,html body #site-navigation .menu-toggle.menu-toggle::after{content:"Menú";font-size:16px;font-weight:800;line-height:1}
  html body #masthead .menu-toggle.menu-toggle[aria-expanded="true"]::after,
  html body #site-navigation.toggled .menu-toggle.menu-toggle::after{content:"Cerrar"}
}
@media (min-width:601px) and (max-width:768px){
  html body.admin-bar #masthead.site-header,html body.admin-bar .site-header{top:46px!important}
}

@media (max-width:768px){html body #masthead .site-logo img,html body #masthead .custom-logo{max-height:42px!important;width:auto!important;max-width:min(200px,54vw)!important}}
