/* =====================================================================
   Dat@Maule — Catálogo de soluciones y videos (2026-11)
   Se carga DESPUÉS de modern.css (index.php) y de producto.css (producto.php).
   Solo agrega estilos de las secciones nuevas; no cambia las existentes.
   ===================================================================== */

/* Azul de marca para íconos, botón "Videos" y pestañas activas (transmite confianza) */
:root {
  --dm-blue: #1d4ed8;
  --dm-blue-dark: #1e3a8a;
  --dm-blue-grad: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

/* ---------- Menú con más enlaces: compacto en pantallas medianas ---------- */
@media (min-width: 961px) and (max-width: 1280px) {
  .nav-links { gap: 0; }
  .nav-link { padding: .5rem .55rem; font-size: .88rem; }
  .nav .actions .btn.primary { padding: .7rem 1.05rem; font-size: .9rem; }
}

/* =====================================================================
   INICIO · "Todas nuestras soluciones"
   ===================================================================== */
.sol-section {
  padding: var(--m-section, 96px) 0;
  background: var(--m-soft, #f5f7fb);
}
.sol-group { margin-top: clamp(2rem, 4vw, 3rem); }
.sol-group:first-of-type { margin-top: 0; }
.sol-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--m-line, #e6eaf0);
}
.sol-group-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--m-ink, #1d2427);
}
.sol-group-head p { margin: 0; color: var(--m-muted, #5b6b82); font-size: .98rem; }

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 1000px) {
  .sol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.25rem 1.25rem 1.1rem;
  border-radius: var(--m-radius, 18px);
  border: 1px solid var(--m-line, #e6eaf0);
  background: #fff;
  color: var(--m-ink, #1d2427);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sol-card:hover,
.sol-card:focus-visible {
  color: var(--m-ink, #1d2427);
  transform: translateY(-3px);
  border-color: rgba(108, 199, 43, .55);
  box-shadow: var(--m-shadow-hover, 0 18px 40px rgba(11, 19, 36, .10));
}
.sol-card-top { display: flex; align-items: center; gap: .8rem; }
.sol-ico {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--dm-blue-grad);
  color: #fff;
  box-shadow: 0 6px 14px rgba(29, 78, 216, .25);
}
.sol-ico svg { width: 23px; height: 23px; }
.sol-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.sol-badge {
  display: block;
  margin-top: .15rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary, #3f8f12);
}
.sol-text { margin: 0; font-size: .93rem; line-height: 1.55; color: #56616a; flex: 1; }
.sol-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.sol-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: #f1f4f2;
  color: #3b4650;
  font-size: .74rem;
  font-weight: 700;
}
.sol-chip--video { background: rgba(108, 199, 43, .16); color: #2f6e0c; }
.sol-chip--video svg { width: 13px; height: 13px; }
.sol-more {
  margin-top: .15rem;
  font-weight: 800;
  font-size: .9rem;
  color: var(--primary, #3f8f12);
}
.sol-card:hover .sol-more { text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   INICIO · Videos
   ===================================================================== */
.vid-section {
  padding: var(--m-section, 96px) 0;
  color: #fff;
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(108, 199, 43, .16) 0%, transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(37, 99, 235, .14) 0%, transparent 60%),
    #111a1c;
}
.vid-section .section-title { color: #fff; }
.vid-section .section-subtitle { color: rgba(255, 255, 255, .72); }
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.vid-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--m-radius, 18px);
  overflow: hidden;
  background: #182326;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .2s ease, transform .2s ease;
}
.vid-card:hover { border-color: rgba(108, 199, 43, .45); transform: translateY(-2px); }
.vid-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1b3a;
}
.vid-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #0b1b3a;
  display: block;
}
.vid-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.05rem 1.15rem 1.2rem; flex: 1; }
.vid-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.vid-body p { margin: 0; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .72); flex: 1; }
.vid-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .35rem; }
.vid-dur {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .6);
  font-variant-numeric: tabular-nums;
}
.vid-link { font-weight: 800; font-size: .9rem; color: var(--m-lime, #6cc72b); }
.vid-link:hover { color: var(--m-lime-2, #8fdc4c); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vid-grid { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
}

/* Enlaces dentro de las tarjetas de búsqueda (sección SEO) */
.seo-card a { color: var(--primary, #3f8f12); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   PÁGINA DE PRODUCTO (producto.php)
   ===================================================================== */
/* Fondo del hero cuando el software no tiene imagen de fondo */
.pl-hero {
  --pl-hero-bg: radial-gradient(60% 80% at 85% 20%, rgba(108, 199, 43, .22) 0%, transparent 60%), linear-gradient(135deg, #1a2b30 0%, #0e1517 100%);
}

/* Video promocional */
.pl-video { padding: clamp(56px, 7vw, 96px) 0; background: #f4f6f3; }
.pl-video-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.pl-video-grid--vertical { grid-template-columns: 1.2fr .8fr; }
.pl-video-copy .pl-h2 { margin-bottom: 1rem; }
.pl-video-name {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  color: var(--pl-ink, #1d2427);
}
.pl-video-text { margin: 0 0 1.5rem; max-width: 52ch; font-size: 1.02rem; line-height: 1.65; color: var(--pl-muted, #56616a); }
.pl-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1b3a;
  box-shadow: 0 30px 60px rgba(17, 26, 28, .22);
}
.pl-video-frame.is-vertical { aspect-ratio: 9 / 16; width: 100%; max-width: 360px; justify-self: center; }
.pl-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #0b1b3a; }
.pl-addon-more { display: inline-flex; align-items: center; gap: .4rem; color: var(--pl-green, #3f8f12); font-weight: 800; }
.pl-addon-more svg { width: 18px; height: 18px; }

/* Bloque "Cotiza" (software sin tabla de planes) */
.pl-quote { padding: clamp(56px, 7vw, 96px) 0; background: #fff; }
.pl-quote-box {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.pl-quote-copy .pl-h2 { margin-bottom: 1rem; }
.pl-quote-text { margin: 0 0 1.25rem; max-width: 56ch; font-size: 1.05rem; line-height: 1.65; color: var(--pl-muted, #56616a); }
.pl-quote-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; }
.pl-quote-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--pl-ink, #1d2427); }
.pl-quote-list svg { flex: 0 0 22px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--pl-lime, #6cc72b); color: #0e1a07; }
.pl-quote-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 24px;
  background: var(--pl-dark, #111a1c);
  color: #fff;
  box-shadow: 0 24px 50px rgba(17, 26, 28, .25);
}
.pl-quote-label { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pl-lime, #6cc72b); }
.pl-quote-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.pl-quote-price strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; color: #fff; }
.pl-quote-price span { font-weight: 700; color: rgba(255, 255, 255, .75); }
.pl-quote-note { margin: 0 0 .6rem; color: rgba(255, 255, 255, .75); line-height: 1.5; }
.pl-quote-alt { margin-top: .35rem; font-weight: 700; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.pl-quote-alt:hover { color: var(--pl-lime, #6cc72b); }

@media (max-width: 960px) {
  .pl-video-grid,
  .pl-video-grid--vertical,
  .pl-quote-box { grid-template-columns: 1fr; }
}

/* Botón "Ver video" sobre el póster (assets/js/videos.js) */
.dm-play {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.05rem .55rem .75rem;
  border: 0;
  border-radius: 999px;
  background: var(--m-lime, #6cc72b);
  color: #0e1a07;
  font: 800 .92rem/1 var(--font-sans, sans-serif);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
  z-index: 2;
}
.dm-play svg { width: 20px; height: 20px; }
.dm-play:hover,
.dm-play:focus-visible { background: var(--m-lime-2, #8fdc4c); transform: translateY(-2px); }
.dm-play[hidden] { display: none; }
.pl-video-frame .dm-play { left: 18px; bottom: 18px; padding: .75rem 1.3rem .75rem .95rem; font-size: 1rem; }
.pl-video-frame .dm-play svg { width: 22px; height: 22px; }

/* Sección de videos de soluciones relacionadas en producto.php (ej.: miPDV) */
.pl-videos {
  padding: clamp(56px, 7vw, 96px) 0;
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(108, 199, 43, .16) 0%, transparent 60%),
    #111a1c;
  color: #fff;
}
.pl-videos .pl-h2 { color: #fff; }
.pl-videos-head { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.pl-videos-head .pl-h2 { margin-bottom: .75rem; }
.pl-videos-lead { margin: 0; font-size: 1.05rem; line-height: 1.65; color: rgba(255, 255, 255, .75); }
.pl-videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pl-videos--one { background: #f4f6f3; color: inherit; }
.pl-videos--one .pl-h2 { color: var(--pl-ink, #1d2427); }
.pl-btn--outline { color: var(--pl-ink, #1d2427); border: 1.5px solid rgba(17, 26, 28, .25); background: #fff; }
.pl-btn--outline:hover { color: var(--pl-ink, #1d2427); border-color: var(--pl-lime, #6cc72b); }
@media (max-width: 760px) {
  .pl-videos-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   ENCABEZADO · Menú "Sistemas" y acceso a "Videos" (assets/partials/menu.php + sitio.js)
   ===================================================================== */
.nav-mega { position: static; }
.nav-mega-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: .94rem;
  color: var(--m-ink-2, #334155);
  cursor: pointer;
  white-space: nowrap;
}
.nav-mega-btn:hover,
.nav-mega.is-open .nav-mega-btn { color: var(--primary, #3f8f12); background: rgba(108, 199, 43, .12); }
.nav-mega-chev { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-mega.is-open .nav-mega-chev { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 5;
  background: #fff;
  border-top: 1px solid var(--m-line, #e6eaf0);
  border-bottom: 1px solid var(--m-line, #e6eaf0);
  box-shadow: 0 24px 48px rgba(11, 19, 36, .14);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.mega-panel[hidden] { display: none; }
.nav .mega-panel .container.mega-inner { display: block; padding-top: 1.25rem; padding-bottom: 1rem; }
.mega-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.mega-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--m-ink, #1d2427); }
.mega-head-videos {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  background: var(--dm-blue); color: #fff; font-weight: 800; font-size: .88rem;
}
.mega-head-videos svg { width: 16px; height: 16px; color: #fff; }
.mega-head-videos:hover { color: #fff; background: var(--dm-blue-dark); }
.mega-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem 1.25rem; }
.mega-cat { margin: 0 0 .5rem; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--primary, #3f8f12); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega-item { display: flex; align-items: center; gap: .6rem; padding: .45rem .5rem; border-radius: 12px; color: var(--m-ink, #1d2427); }
.mega-item:hover,
.mega-item:focus-visible { background: #f2f6ef; color: var(--m-ink, #1d2427); }
.mega-ico { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--dm-blue-grad); color: #fff; }
.mega-ico svg { width: 17px; height: 17px; }
.mega-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.mega-txt strong { font-size: .9rem; font-weight: 700; }
.mega-txt small { margin-top: .1rem; font-size: .64rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #6b7670; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-vid { margin-left: auto; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(108, 199, 43, .18); color: #2f6e0c; }
.mega-vid svg { width: 10px; height: 10px; }
.mega-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--m-line, #e6eaf0); font-weight: 800; font-size: .9rem; }
.mega-foot a { color: var(--primary, #3f8f12); }
.mega-foot a.mega-foot-wa { color: var(--m-ink, #1d2427); }
.mega-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* "Videos" destacado en el menú */
.nav-link.nav-link--videos { display: inline-flex; align-items: center; gap: .35rem; background: var(--dm-blue); color: #fff; }
.nav-link--videos svg { width: 14px; height: 14px; color: #fff; }
.nav-link.nav-link--videos:hover,
.nav-link.nav-link--videos.is-active { background: var(--dm-blue-dark); color: #fff; }
.nav-videos-btn { display: none; }

/* Botón "Ver videos" de la portada */
.hero-btn-videos { display: inline-flex; align-items: center; gap: .4rem; }
.hero-btn-videos svg { width: 16px; height: 16px; color: var(--m-lime, #6cc72b); }
.vid-more { display: flex; justify-content: center; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.vid-more .btn { display: inline-flex; align-items: center; gap: .5rem; }
.vid-more svg { width: 16px; height: 16px; }

@media (min-width: 961px) and (max-width: 1150px) {
  .mega-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-links { max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-mega-btn { width: 100%; justify-content: space-between; padding: .85rem 1rem; font-size: 1rem; border-radius: 12px; }
  .mega-panel { position: static; box-shadow: none; border: 0; max-height: none; overflow: visible; background: transparent; }
  .nav .mega-panel .container.mega-inner { width: auto; max-width: none; padding: 0 .25rem .5rem; margin: 0; }
  .mega-head { display: none; }
  .mega-cols { grid-template-columns: 1fr; gap: .75rem; }
  .mega-cat { margin: .35rem .5rem .25rem; }
  .mega-foot { flex-direction: column; padding-left: .5rem; }
  .nav-link.nav-link--videos { justify-content: flex-start; }
  .nav-videos-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .6rem .95rem; border-radius: 999px;
    background: var(--dm-blue); color: #fff; font-weight: 800; font-size: .88rem; white-space: nowrap;
  }
  .nav-videos-btn:hover { color: #fff; background: var(--dm-blue-dark); }
  .nav-videos-btn svg { width: 14px; height: 14px; color: #fff; }
  .nav .actions { display: flex; align-items: center; gap: .5rem; }
}
@media (max-width: 360px) {
  .nav-videos-btn span { display: none; }
}

/* =====================================================================
   INICIO · Pestañas por rubro (sistemas y videos)
   ===================================================================== */
.sol-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: -1rem 0 2rem; }
.sol-tab {
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--m-line, #e6eaf0);
  background: #fff;
  font: inherit; font-weight: 700; font-size: .9rem;
  color: var(--m-ink-2, #334155);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.sol-tab span { margin-left: .2rem; opacity: .55; font-variant-numeric: tabular-nums; }
.sol-tab:hover { border-color: rgba(108, 199, 43, .6); }
.sol-tab.is-active { background: var(--dm-blue); border-color: var(--dm-blue); color: #fff; }
.sol-tab.is-active span { opacity: .75; }
[data-cat][hidden] { display: none !important; }
.sol-help { margin: 2rem 0 0; text-align: center; font-size: 1rem; color: var(--m-muted, #5b6b82); }
.sol-help a { font-weight: 800; color: var(--primary, #3f8f12); }
.vid-section .sol-tab { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.vid-section .sol-tab.is-active { background: var(--dm-blue); border-color: #3b6cf0; color: #fff; }
@media (max-width: 640px) {
  .sol-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -1rem -1rem 1.5rem; padding: 0 1rem .35rem; scrollbar-width: none; }
  .sol-tabs::-webkit-scrollbar { display: none; }
  .sol-tab { flex: 0 0 auto; }
}

/* =====================================================================
   PÁGINA DE VIDEOS (videos.php)
   ===================================================================== */
.vp-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 44px);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(108, 199, 43, .18) 0%, transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(37, 99, 235, .14) 0%, transparent 60%),
    #111a1c;
}
.vp-crumbs { justify-content: center; margin-bottom: 1.25rem; color: rgba(255, 255, 255, .6); }
.vp-crumbs a { color: rgba(255, 255, 255, .8); }
.vp-badge {
  display: inline-block; padding: .4rem .95rem; border-radius: 999px;
  background: var(--m-lime, #6cc72b); color: #0e1a07;
  font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .03em;
}
.vp-hero h1 {
  margin: .9rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #fff;
}
.vp-hero h1 span { color: var(--m-lime, #6cc72b); }
.vp-hero p { max-width: 640px; margin: 0 auto 1.5rem; font-size: 1.08rem; line-height: 1.6; color: rgba(255, 255, 255, .78); }
.vp-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.vp-list { padding-top: clamp(28px, 4vw, 44px); background: #111a1c; }
.vp-list .sol-tabs { margin: 0 0 1.75rem; }
.vid-h { margin: 0; font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; line-height: 1.3; color: #fff; }
.vid-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.vid-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; font-weight: 800; font-size: .86rem; }
.vid-btn svg { width: 16px; height: 16px; }
.vid-btn--wa { background: var(--m-lime, #6cc72b); color: #0e1a07; }
.vid-btn--wa:hover { background: var(--m-lime-2, #8fdc4c); color: #0e1a07; }
.vid-btn--ghost { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.vid-btn--ghost:hover { border-color: var(--m-lime, #6cc72b); color: var(--m-lime, #6cc72b); }
.vp-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--m-radius-lg, 24px);
  background: rgba(108, 199, 43, .1);
  border: 1px solid rgba(108, 199, 43, .35);
}
.vp-cta h2 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: #fff; }
.vp-cta p { margin: 0; max-width: 60ch; color: rgba(255, 255, 255, .75); }

/* Ícono del recuadro "Opcional" de las tarjetas POS del inicio: mismo azul de marca */
.optional-strip-ico { background: var(--dm-blue-grad); color: #fff; }

/* =====================================================================
   INICIO · "Nuestras aplicaciones móviles" (datos en catalogo.php → 'apps')
   ===================================================================== */
.apps-section { padding: var(--m-section, 96px) 0; background: #fff; }
.apps-block + .apps-block { margin-top: clamp(2.25rem, 4vw, 3.25rem); }
.apps-block-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem;
  margin-bottom: 1.1rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--m-line, #e6eaf0);
}
.apps-block-head h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; color: var(--m-ink, #1d2427); }
.apps-block-head p { margin: 0; color: var(--m-muted, #5b6b82); font-size: .96rem; }
.app-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.app-card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 1.25rem;
  border-radius: var(--m-radius, 18px);
  border: 1px solid var(--m-line, #e6eaf0);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.app-card:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .35); box-shadow: var(--m-shadow-hover, 0 18px 40px rgba(11, 19, 36, .10)); }
.app-card-top { display: flex; align-items: center; gap: .9rem; }
/* Ícono con forma de app: azul de marca, brillo suave y sombra */
.app-icon {
  position: relative;
  flex: 0 0 58px; width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--dm-blue-grad, linear-gradient(135deg, #2563eb 0%, #1e40af 100%));
  box-shadow: 0 10px 20px rgba(29, 78, 216, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
  overflow: hidden;
}
.app-icon::before {
  content: ""; position: absolute; inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0));
}
.app-icon svg { position: relative; width: 28px; height: 28px; }
.app-name { margin: 0; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.2; color: var(--m-ink, #1d2427); }
.app-name small { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; color: #6b7670; }
.app-sys, .app-plat { display: inline-block; margin-top: .2rem; font-size: .74rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--dm-blue, #1d4ed8); }
.app-plat { color: #6b7670; }
.app-sys:hover { text-decoration: underline; text-underline-offset: 3px; }
.app-desc { margin: 0; flex: 1; font-size: .93rem; line-height: 1.55; color: #56616a; }
.app-stores { display: flex; flex-wrap: wrap; gap: .5rem; }
/* Botones oficiales de tienda */
.app-store-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem .45rem .7rem;
  border-radius: 11px;
  background: #0b0f14; color: #fff;
  border: 1px solid #0b0f14;
  line-height: 1.05;
  transition: transform .2s ease, background .2s ease;
}
.app-store-btn:hover { color: #fff; background: #1f2937; transform: translateY(-2px); }
.app-store-btn svg { width: 22px; height: 22px; flex: 0 0 22px; }
.app-store-btn span { display: flex; text-transform: none; letter-spacing: 0; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.app-store-btn small { font-family: var(--font-sans); font-size: .62rem; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.app-more { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; font-size: .92rem; color: var(--dm-blue, #1d4ed8); }
.app-more:hover { color: var(--dm-blue-dark, #1e3a8a); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1101px) { .apps-block--tienda .app-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .app-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .app-cards { grid-template-columns: 1fr; } }
