/* responsive-fixes.css (v3) */

/* --- Hard overrides for image sizing (Chrome-safe) --- */
.wrap img,
.wrap picture img,
.grid .card img,
.hero .imgcard img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 12px;
}

/* Cap heights so large photos don't blow up layout */
.hero .imgcard img { max-height: 420px !important; object-fit: cover !important; }
.grid .card img    { max-height: 260px !important; object-fit: cover !important; }
.card.testimonial img { max-height: 380px !important; object-fit: cover !important; }

/* Keep hero image column tidy on wide screens */
.hero .imgcard { max-width: 720px; margin-left: auto; }

/* Mobile polish: bigger tap targets & typography */
@media (max-width: 560px){
  .btn, button, input, select, textarea { min-height: 48px; font-size: 16px; }
  h1 { font-size: 28px; }
}

/* Visible focus (a11y) */
:focus-visible { outline: 3px solid rgba(125,44,139,.35); outline-offset: 2px; }
/* FAB WhatsApp bottom-right */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366; /* WhatsApp green */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  z-index: 100;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.wa-fab:focus-visible { outline: 3px solid rgba(37,211,102,.4); outline-offset: 2px; }
.wa-fab:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(0,0,0,.22); }
.wa-fab svg { width: 32px; height: 32px; fill: #fff; display:block; }

/* Opcional: tamaño un poco menor en móviles */
@media (max-width: 560px){
  .wa-fab { width: 56px; height: 56px; right: 14px; bottom: 14px; }
  .wa-fab svg { width: 28px; height: 28px; }
}

/* Si tenías el botón anterior “wa-sticky”, ocultarlo para no duplicar */
.wa-sticky { display: none !important; }

/* Sticky WhatsApp CTA on mobile */
@media (max-width: 560px){
  .wa-sticky {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 50;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    text-align: center;
    background: #fff;
  }
}
