/* =====================================================================
   Versión celular "lite" (Mezcla 1: portada con foto + lista desplegable)
   Todo está dentro de @media (max-width:767px): la versión PC no cambia.
   ===================================================================== */

/* Barra fija de contacto: oculta en PC */
.m-bar{display:none}

@media (max-width:767px){

  /* ---------- 0. Sin huecos en blanco: el contenido aparece al instante ---------- */
  .reveal{opacity:1 !important;transform:none !important;transition:none !important}

  /* ---------- 1. Portada: tu foto a pantalla completa ---------- */
  .hp{padding:var(--mobile-header-height,64px) 0 0}
  .hp-track{gap:0}
  .hp-track::before,.hp-track::after{border-radius:0;background-position:center 14%}
  .hp-track::before{filter:none;opacity:1}
  .hp-track::after{display:none}
  .hp-panel:not([data-name="proteccion"]){display:none}
  .hp-panel[data-name="proteccion"],
  .hp-panel[data-name="proteccion"].is-active{
    height:auto;min-height:min(600px,82svh);border-radius:0;
    background:transparent;display:flex;flex-direction:column;justify-content:flex-end;
  }
  .hp-panel[data-name="proteccion"]::before{display:none}
  .hp-panel[data-name="proteccion"]::after{
    background:linear-gradient(180deg,rgba(15,42,74,0) 30%,rgba(15,42,74,.88) 62%,rgba(15,42,74,.97) 100%);
  }
  .hp-panel[data-name="proteccion"] .hp-stat,
  .hp-panel[data-name="proteccion"] .hp-art,
  .hp-panel[data-name="proteccion"] .hp-label{display:none}
  .hp-panel[data-name="proteccion"] .hp-body{visibility:visible;padding:0 22px 26px}
  .hp-panel[data-name="proteccion"] .hp-kicker{
    display:inline-block;font-size:12px;padding:5px 11px;border-radius:99px;
    background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
    letter-spacing:0;text-transform:none;
  }
  .hp-panel[data-name="proteccion"] .hp-title{font-size:clamp(30px,8.6vw,35px);line-height:1.08;margin:10px 0 10px}
  .hp-panel[data-name="proteccion"] .hp-sub{font-size:15px;color:#d6def0;margin-bottom:18px}
  .hp-foot{display:none}

  /* ---------- 2. "¿Qué te preocupa?": lista que se abre al tocar ---------- */
  #planes .mp-lead,
  #planes .mp-label,
  #planes .mp-chips,
  #planes .mp-hook,
  #planes .mp-text,
  #planes .mp-num,
  #planes .mp-sign-ctas{display:none}
  #planes .mp-row{grid-template-columns:minmax(0,1fr) 40px}
  #planes .mp-notes,#planes .mp-legal{font-size:11px;line-height:1.45;opacity:.85}
  #planes .mp-sign{padding-top:6px}

  /* ---------- 3. "Primero te escucho": solo lo esencial ---------- */
  .hero{padding-top:56px;padding-bottom:40px}
  .hero .sub,
  .hero .intro-photo,
  .hero-video h3,
  .hero-video .chips{display:none}

  /* ---------- 4. Perfiles: imagen + pestañas, sin párrafo ---------- */
  .profile-description{display:none}

  /* ---------- 5. Conversemos: tarjetas más compactas ---------- */
  .cta{padding:54px 5vw 34px}
  .cta .lead{margin-bottom:26px}
  .ccard p{display:none}

  /* ---------- 6. Barra fija Agendar + WhatsApp ---------- */
  .wa-float{display:none}
  .m-bar{
    display:grid;grid-template-columns:1fr 1fr;gap:8px;
    position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:60;
    padding:7px;border-radius:999px;
    background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    box-shadow:0 10px 30px rgba(15,42,74,.18);
    transition:transform .35s var(--ease),opacity .35s;
  }
  .m-bar a{
    display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:999px;
    font:600 14.5px/1 Inter,system-ui,sans-serif;color:#fff;text-decoration:none;
  }
  .m-bar .m-cal{background:var(--blue)}
  .m-bar .m-wa{background:#25d366}
  .m-bar svg{width:18px;height:18px;flex:none}
  .m-bar.is-hidden{transform:translateY(140%);opacity:0;pointer-events:none}
  .site-footer{padding-bottom:96px}
}
