/**
 * Radio PampanitoBLI — Estilos Oficiales PWA
 * Diseño fiel al Wireframe Oficial
 * Marcabelí, El Edén de los Andes
 * Auspiciado por AGSistemas Informáticos
 */

/* ============================================================
   1. VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Azules principales del wireframe */
  --color-blue-primary: #0066ee;
  --color-blue-dark: #072654;
  --color-blue-deep: #003d99;
  --color-blue-soft: #eaf4fd;
  --color-blue-border: #cee3fa;
  
  /* Redes sociales */
  --color-fb: #1877F2;
  --color-tiktok: #000000;
  --color-yt: #FF0000;
  --color-wa: #25D366;
  --color-wa-dark: #12b74a;

  /* Fondos generales */
  --bg-page: #e9f2fa;
  --bg-viewport: #ffffff;
  --radius-card: 20px;
  --radius-pill: 40px;
}

/* Reset y caja */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  background-color: var(--bg-page);
  background-image: radial-gradient(circle at 50% 10%, #d8ebfa 0%, #e9f2fa 100%);
  color: #102a45;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utilidad */
.nowrap {
  white-space: nowrap;
}

/* ============================================================
   2. CONTENEDOR TIPO APP (MOBILE-FIRST)
   ============================================================ */
.app-viewport {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-viewport);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

@media (min-width: 521px) {
  .app-viewport {
    margin: 1.25rem auto;
    border-radius: 28px;
    box-shadow: 0 16px 48px rgba(0, 48, 120, 0.15), 0 2px 10px rgba(0, 48, 120, 0.08);
    border: 1px solid rgba(200, 222, 245, 0.6);
  }
}

/* ============================================================
   3. ENCABEZADO / HERO WIREFRAME
   ============================================================ */
.app-header {
  position: relative;
  width: 100%;
  background: #2570ce;
}

.header-banner-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
}

.header-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* Botón interactivo invisible/estilizado sobre el icono del menú */
.header-menu-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  transition: transform 0.15s ease, background 0.15s ease;
}

.header-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.header-menu-btn:active {
  transform: scale(0.95);
}

.menu-icon-bars {
  display: none; /* El banner ya tiene dibujado el botón del menú */
}

/* ============================================================
   4. CONSOLA DEL REPRODUCTOR (CARD FLOTANTE)
   ============================================================ */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.player-card {
  margin: -24px 14px 14px 14px;
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1.5px solid #d2e7ff;
  box-shadow: 0 10px 24px rgba(0, 68, 170, 0.1);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

/* Botón Play Maestro Circular */
.btn-play-circle {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0068f0 0%, #004bbd 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 90, 220, 0.35);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s;
}

.btn-play-circle:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 90, 220, 0.45);
}

.btn-play-circle:active {
  transform: scale(0.94);
}

.play-svg, .pause-svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 2;
}

.btn-play-circle.playing .play-glow-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 104, 240, 0.6);
  animation: pulseGlow 1.8s infinite ease-out;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.22); opacity: 0; }
}

/* Info del reproductor */
.player-info-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.live-pill-tag {
  background: var(--color-blue-primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  letter-spacing: 0.3px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  animation: liveBlink 1.4s infinite ease-in-out;
}

@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.player-station-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-blue-dark);
  line-height: 1.15;
  margin: 2px 0 1px 0;
}

.player-motto-line {
  font-size: 0.74rem;
  color: #244b7a;
  font-style: italic;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 145px;
}

/* Lado Derecho: Volumen y Ecualizador */
.player-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.volume-control-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-volume-icon {
  background: none;
  border: none;
  color: #0b2f64;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: opacity 0.15s;
}

.btn-volume-icon:hover {
  opacity: 0.8;
}

.volume-range-slider {
  width: 65px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: #b6d7fc;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
}

.volume-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-blue-primary);
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.1s;
}

.volume-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.volume-range-slider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-blue-primary);
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  cursor: pointer;
}

/* Ecualizador de Barras Animado */
.mini-equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 22px;
  width: 20px;
  padding-bottom: 2px;
}

.mini-equalizer-bars .bar {
  flex: 1;
  background: var(--color-blue-primary);
  border-radius: 2px;
  height: 4px;
  transition: height 0.2s ease;
}

.mini-equalizer-bars.is-active .bar-1 { animation: eqJump 0.9s infinite ease-in-out alternate; }
.mini-equalizer-bars.is-active .bar-2 { animation: eqJump 0.7s 0.2s infinite ease-in-out alternate; }
.mini-equalizer-bars.is-active .bar-3 { animation: eqJump 1.1s 0.1s infinite ease-in-out alternate; }
.mini-equalizer-bars.is-active .bar-4 { animation: eqJump 0.8s 0.3s infinite ease-in-out alternate; }
.mini-equalizer-bars.is-active .bar-5 { animation: eqJump 1.0s 0.15s infinite ease-in-out alternate; }

@keyframes eqJump {
  0% { height: 4px; }
  100% { height: 20px; }
}

/* ============================================================
   5. BOTONES DE REDES SOCIALES (4 EN FILA)
   ============================================================ */
.social-grid-section {
  padding: 0 14px 14px 14px;
}

.social-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.social-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.social-pill-btn:active {
  transform: translateY(1px);
}

.social-pill-btn.facebook {
  background: linear-gradient(180deg, #1977f3 0%, #0d61cf 100%);
}

.social-pill-btn.tiktok {
  background: linear-gradient(180deg, #1c1c1c 0%, #000000 100%);
}

.social-pill-btn.youtube {
  background: linear-gradient(180deg, #ff0808 0%, #cb0000 100%);
}

.social-pill-btn.whatsapp {
  background: linear-gradient(180deg, #25D366 0%, #16a34a 100%);
}

.social-btn-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ============================================================
   6. CHAT EN LÍNEA
   ============================================================ */
.chat-card-section {
  padding: 0 14px 16px 14px;
}

.chat-card-box {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1.5px solid var(--color-blue-border);
  box-shadow: 0 8px 24px rgba(0, 68, 170, 0.08);
  overflow: hidden;
}

.chat-card-header {
  background: linear-gradient(135deg, #0050cc 0%, #0077ff 100%);
  padding: 10px 16px;
  color: #ffffff;
}

.chat-header-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-bubble-icon {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  flex-shrink: 0;
}

.chat-header-title-row h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.chat-subtitle {
  font-size: 0.82rem;
  font-style: italic;
  color: #e4f0ff;
  margin-top: 2px;
}

.chat-card-body {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chat-form-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fbfdff;
  border: 1.5px solid #d4deec;
  border-radius: 12px;
  padding: 8px 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input-wrapper:focus-within {
  border-color: var(--color-blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 238, 0.15);
}

.pencil-icon {
  width: 17px;
  height: 17px;
  color: #4a6382;
  flex-shrink: 0;
}

.chat-text-input {
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 0.88rem;
  color: #102a45;
  font-family: var(--font-body);
}

.chat-text-input::placeholder {
  color: #8c9eb5;
  font-style: normal;
}

.btn-chat-send {
  background: linear-gradient(135deg, #0066ee 0%, #004bbd 100%);
  color: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 9px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 90, 220, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  width: fit-content;
}

.btn-chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 90, 220, 0.4);
}

.btn-chat-send:active {
  transform: scale(0.96);
}

.send-plane-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.chat-illustration-wrap {
  width: 115px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-notes-img {
  width: 100%;
  height: auto;
  max-height: 115px;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

/* ============================================================
   7. NUESTROS SERVICIOS (2x2 GRID DE TARJETAS PASTEL)
   ============================================================ */
.services-section {
  padding: 0 14px 16px 14px;
}

.services-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.services-header-title h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-blue-dark);
  white-space: nowrap;
}

.title-divider-line {
  flex: 1;
  height: 1.5px;
  background: #b0d3fa;
  border-radius: 2px;
}

.services-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 8px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 40, 100, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 40, 100, 0.1);
}

.service-card-item:active {
  transform: scale(0.97);
}

/* Colores pastel exactos del wireframe */
.card-anuncios {
  background: linear-gradient(135deg, #eaf4fd 0%, #d4eafc 100%);
  border: 1.5px solid #c0e0fa;
}

.card-invitaciones {
  background: linear-gradient(135deg, #ebf8f4 0%, #d4f2ea 100%);
  border: 1.5px solid #bde8dd;
}

.card-transmisiones {
  background: linear-gradient(135deg, #fff3ea 0%, #fee4cf 100%);
  border: 1.5px solid #fcd3b2;
}

.card-coro {
  background: linear-gradient(135deg, #f5effe 0%, #e6dafd 100%);
  border: 1.5px solid #dbccfc;
}

.svc-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.svc-text-info {
  flex: 1;
  padding: 0 6px;
  min-width: 0;
}

.svc-text-info h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #072654;
  line-height: 1.15;
}

.svc-text-info p {
  font-size: 0.72rem;
  color: #204675;
  font-style: italic;
  line-height: 1.1;
  margin-top: 2px;
}

.svc-chevron-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-blue-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-chevron-circle svg {
  width: 13px;
  height: 13px;
}

/* ============================================================
   8. BOTÓN CTA PRINCIPAL: CONTÁCTANOS POR WHATSAPP
   ============================================================ */
.whatsapp-cta-section {
  padding: 0 14px 18px 14px;
}

.btn-whatsapp-full-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #25D366 0%, #10b981 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-whatsapp-full-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-full-pill:active {
  transform: scale(0.98);
}

.wa-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.wa-icon-circle svg {
  width: 20px;
  height: 20px;
}

.wa-btn-label {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.wa-btn-chevron {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-btn-chevron svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   9. FOOTER WIREFRAME
   ============================================================ */
.app-footer {
  width: 100%;
  margin-top: auto;
  background: #021226;
}

.footer-banner-container {
  position: relative;
  width: 100%;
  line-height: 0;
}

.footer-banner-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Zonas táctiles sobre los 4 iconos de redes en el banner del footer */
.footer-links-hotspots {
  position: absolute;
  top: 25%;
  right: 3%;
  width: 32%;
  height: 48%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-links-hotspots .hotspot {
  flex: 1;
  height: 100%;
  display: block;
  cursor: pointer;
}

.footer-credits {
  background: #021226;
  color: #8da4be;
  font-size: 0.74rem;
  text-align: center;
  padding: 10px 14px 18px 14px;
}

.footer-credits a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* ============================================================
   10. MENÚ LATERAL DESPLEGABLE (DRAWER)
   ============================================================ */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 18, 38, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.drawer-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: #ffffff;
  z-index: 1001;
  box-shadow: -8px 0 28px rgba(0, 30, 80, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-menu.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 18px 14px 18px;
  background: linear-gradient(135deg, #072654 0%, #004bbd 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
}

.drawer-brand-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
}

.drawer-brand-text h3 span {
  color: #fbbf24;
}

.drawer-brand-text span {
  font-size: 0.72rem;
  color: #e0f2fe;
}

.btn-drawer-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #102a45;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}

.drawer-link:hover, .drawer-link:active {
  background: #f0f7ff;
  color: var(--color-blue-primary);
}

.drawer-btn-link {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.drawer-divider {
  height: 1px;
  background: #e2eaf4;
  margin: 6px 0;
}

.drawer-btn-install {
  background: #eef7ff;
  color: var(--color-blue-primary);
  border: 1.5px dashed #9ac9f8;
}

.d-icon {
  font-size: 1.25rem;
  width: 26px;
  text-align: center;
}

.drawer-footer-info {
  padding: 12px 18px;
  border-top: 1px solid #eef3f9;
  font-size: 0.76rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ============================================================
   11. MODALES INFORMATIVOS
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 15, 30, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: 22px;
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 22px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 30, 70, 0.3);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.modal-hero-tag {
  background: var(--color-blue-soft);
  color: var(--color-blue-primary);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  width: fit-content;
  margin-bottom: 8px;
}

.modal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-blue-dark);
  margin-bottom: 12px;
}

.modal-scroll-content {
  overflow-y: auto;
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-right: 4px;
}

.modal-quote {
  background: #f8fafc;
  border-left: 3px solid var(--color-blue-primary);
  padding: 8px 12px;
  font-style: italic;
  font-size: 0.85rem;
  color: #1e3a5f;
  border-radius: 0 8px 8px 0;
}

.sponsor-services-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.sponsor-links-box {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sponsor-external-btn {
  background: var(--color-blue-primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}

.sponsor-external-sub {
  color: var(--color-blue-primary);
  font-size: 0.82rem;
  text-align: center;
  text-decoration: none;
}

.btn-modal-done {
  background: #f1f5f9;
  border: none;
  color: #334155;
  font-weight: 700;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  transition: background 0.15s;
}

.btn-modal-done:hover {
  background: #e2e8f0;
}

/* Pasos iOS */
.ios-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.ios-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  padding: 10px 12px;
  border-radius: 12px;
}

.ios-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-blue-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ios-step-item p {
  font-size: 0.88rem;
  color: #1e293b;
  margin: 0;
}

/* ============================================================
   12. TOAST NOTIFICATIONS
   ============================================================ */
.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f172a;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3000;
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s;
}

.app-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Regla Standalone PWA */
html.is-standalone .drawer-btn-install,
body.is-standalone .drawer-btn-install {
  display: none !important;
}
