/* SATS - estilos propios sobre el tema (style.css) */

.img-rounded { border-radius: 20px; }
.project-content p { margin: 0 0 5px 0 !important; }
.icono_adicional {
  width: 100%; font-size: 5.5em; background-color: var(--white-color); color: var(--theme-color);
  text-align: center; transition: all ease .4s; padding-top: 20px; display: block;
}
.adicional { height: 145px; }

/* Botones de emergencia del header */
.btn-emergencia-header { padding: 11.5px 40px; width: 100%; line-height: 1.25; }
.btn-emergencia-header + .btn-emergencia-header { margin-top: 5px; }

/* Tarjetas de accesos rápidos del inicio */
.acceso-card { display: block; text-decoration: none; transition: transform .25s ease; }
.acceso-card:hover { transform: translateY(-4px); }
.acceso-card img { box-shadow: 0 8px 24px rgba(2, 101, 83, .12); }
.acceso-card h3, .acceso-card h5 { margin-top: 14px; }

/* Novedades */
.noticia-card {
  display: block; height: 100%; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none;
  box-shadow: 0 6px 24px rgba(16, 24, 40, .08); transition: transform .25s ease, box-shadow .25s ease;
}
.noticia-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(16, 24, 40, .14); }
.noticia-card .noticia-img { aspect-ratio: 16/10; overflow: hidden; background: #eef4f2; }
.noticia-card .noticia-img img { width: 100%; height: 100%; object-fit: cover; }
.noticia-card .noticia-body { padding: 20px 22px 24px; color: var(--body-color); }
.noticia-card .noticia-fecha { font-size: 13px; color: var(--theme-color); font-weight: 700; }
.noticia-card h3 { font-size: 20px; margin: 6px 0 8px; color: var(--title-color); }

/* Artículo (noticias) */
.articulo-galeria { border-radius: 20px; overflow: hidden; margin-bottom: 30px; }
.articulo-galeria .carousel-item img { width: 100%; max-height: 520px; object-fit: cover; }
.articulo-cuerpo img { max-width: 100%; height: auto; border-radius: 12px; }

/* Formularios */
.form-messages:empty { display: none; }
.form-messages { padding: 12px 16px; border-radius: 8px; }
.form-messages.success { background: #ecfdf3; color: #067647; }
.form-messages.error { background: #fef3f2; color: #b42318; }
.captcha-box { background: #fff; padding: 10px; border-radius: 8px; text-align: center; border: 1px solid #ddd; }
.captcha-box img { max-width: 100%; height: 56px; }
.captcha-box button { background: none; border: 0; color: var(--theme-color); font-size: 14px; margin-top: 4px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Instalar app */
.instalar-opcion {
  background: #fff; border-radius: 20px; padding: 30px 24px; text-align: center; height: 100%;
  box-shadow: 0 6px 24px rgba(16, 24, 40, .08);
}
.instalar-opcion i { font-size: 46px; color: var(--theme-color); margin-bottom: 14px; display: block; }
.instalar-opcion h3 { font-size: 22px; }
.instalar-opcion .vs-btn { width: 100%; justify-content: center; }
.instalar-opcion img.store { max-width: 220px; width: 100%; }
.ios-pasos { text-align: left; margin: 14px 0 0; padding-left: 18px; }
.ios-pasos img { height: 34px; vertical-align: middle; }
.instalada { display: none; }
html.pwa-standalone .instalada { display: block; }
html.pwa-standalone .instalar-acciones { display: none; }

/* Botones flotantes */
.sats-floating-btns { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 15px; }
.sats-float-btn {
  position: relative; display: flex; align-items: center; justify-content: center; width: 65px; height: 65px;
  border-radius: 50%; text-decoration: none; color: #fff; font-size: 30px; box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
  transition: all .3s ease; cursor: pointer; border: 0;
}
.sats-float-btn:hover { color: #fff; transform: scale(1.08); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.sats-text-btn { width: auto; min-width: 140px; height: 60px; border-radius: 30px; padding: 0 25px; }
.sats-text-btn .btn-text { font-size: 16px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.sats-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); animation: pulse-whatsapp 2s infinite; }
.sats-afiliacion { background: linear-gradient(135deg, #007bff, #0056b3); }
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, .4); }
  50% { box-shadow: 0 5px 30px rgba(37, 211, 102, .7); }
}
@media (max-width: 768px) {
  .sats-floating-btns { bottom: 20px; right: 20px; gap: 12px; }
  .sats-float-btn { width: 56px; height: 56px; font-size: 26px; }
  .sats-text-btn { min-width: 120px; height: 52px; padding: 0 18px; }
  .sats-text-btn .btn-text { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .sats-whatsapp { animation: none; }
}
