/* ═══════════════════════════════════════════════════════════════════════
   BQM · COMPONENTES DEL SITIO (complementa premium.css, misma línea gráfica)
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── NAV: estado activo + mega menú de servicios ─── */
.pv-links a.is-active { color: var(--pv-red-bright); }
.pv-mega {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-38%);
  margin-top: 14px; width: min(1040px, 92vw);
  background: #232326; border: 1px solid var(--pv-line); border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,.55); padding: 22px; z-index: 300;
}
.pv-mega::before { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 16px; }
.pv-drop:hover .pv-mega, .pv-drop:focus-within .pv-mega { display: block; }
.pv-mega-top {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px; margin-bottom: 18px; border-radius: 12px;
  background: linear-gradient(100deg, rgba(230,0,0,.22), rgba(230,0,0,.04));
  border: 1px solid rgba(230,0,0,.35);
}
.pv-mega-top strong { display: block; color: #fff; font-size: 15px; }
.pv-mega-top span { font-size: 12.5px; color: var(--pv-t2); }
.pv-mega-top a.pv-btn { font-size: 12.5px; padding: 9px 16px; }
.pv-mega-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 18px; }
.pv-mega-col h5 {
  margin: 0 0 8px; padding: 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--pv-red-bright);
}
.pv-mega-col a {
  display: block; padding: 7px 10px; border-radius: 8px; font-size: 13.2px !important;
  font-weight: 600; color: var(--pv-t2) !important; line-height: 1.35;
}
.pv-mega-col a:hover { background: rgba(230,0,0,.12); color: #fff !important; }
.pv-mega-col a.pv-mega-all { color: var(--pv-t3) !important; font-size: 12.5px !important; font-weight: 700; }
.pv-mega-col a.pv-mega-all:hover { color: #fff !important; }

/* menú móvil agrupado */
.pv-mobile .pv-m-group { font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--pv-red-bright); margin: 18px 6px 2px; }
.pv-mobile a.pv-m-sub { font-size: 15px; font-weight: 600; padding: 9px 6px 9px 16px; color: var(--pv-t2); }
.pv-mobile details { border-bottom: 1px solid var(--pv-line); }
.pv-mobile summary { list-style: none; cursor: pointer; padding: 14px 6px; font-size: 18px; font-weight: 700; color: #fff; display: flex; justify-content: space-between; }
.pv-mobile summary::-webkit-details-marker { display: none; }
.pv-mobile summary::after { content: '+'; color: var(--pv-red-bright); font-size: 22px; line-height: 1; }
.pv-mobile details[open] summary::after { content: '–'; }
.pv-mobile details a { border-bottom: none !important; }

/* ─── HERO DE PÁGINA INTERIOR ─── */
.bq-phero { padding: clamp(46px, 6vw, 84px) 0 clamp(36px, 4.5vw, 60px); position: relative; }
.bq-phero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.bq-phero-grid.no-art { grid-template-columns: 1fr; }
.bq-phero .pv-h1 { margin-bottom: 18px; }
.bq-phero .pv-lead { margin-bottom: 26px; max-width: 64ch; }
.bq-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--pv-t3); margin-bottom: 22px; }
.bq-crumbs a { color: var(--pv-t3); text-decoration: none; }
.bq-crumbs a:hover { color: var(--pv-red-bright); }
.bq-crumbs span.sep { opacity: .5; }
.bq-phero-art { border-radius: 18px; overflow: hidden; border: 1px solid var(--pv-line);
  background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.bq-phero-art img { width: 100%; height: auto; }
.bq-phero-art.is-photo { background: linear-gradient(180deg, rgba(230,0,0,.18), rgba(0,0,0,.1)); }

/* ─── TÍTULOS DE SECCIÓN ─── */
.bq-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.bq-head .pv-h2 { margin-bottom: 0; }
.bq-head .pv-lead { margin: 0; }
.bq-center { text-align: center; }
.bq-center .pv-tag { justify-content: center; }
.bq-center .pv-lead { margin-left: auto; margin-right: auto; }

/* ─── SERVICIOS · VISTA GENERAL (home) ─── */
.bq-svc { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.bq-svc-col {
  background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 18px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 18px;
  transition: border-color .25s, transform .25s;
}
.bq-svc-col:hover { border-color: rgba(230,0,0,.5); transform: translateY(-3px); }
.bq-svc-hd { display: flex; align-items: center; gap: 14px; }
.bq-svc-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pv-red), var(--pv-red-deep)); color: #fff; box-shadow: 0 10px 24px rgba(230,0,0,.3); }
.bq-svc-ico svg { width: 22px; height: 22px; }
.bq-svc-hd h3 { margin: 0; font-size: 21px; font-weight: 900; color: #fff; letter-spacing: -.3px; }
.bq-svc-hd small { display: block; font-size: 12px; color: var(--pv-t3); font-weight: 600; }
.bq-svc-feat {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none;
  padding: 14px 16px; border-radius: 12px; background: rgba(230,0,0,.14); border: 1px solid rgba(230,0,0,.4);
  color: #fff; font-weight: 800; font-size: 15px;
}
.bq-svc-feat:hover { background: rgba(230,0,0,.24); }
.bq-svc-feat em { font-style: normal; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pv-red-bright); display: block; }
.bq-svc-sub { font-size: 11.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--pv-red-bright); margin: 4px 0 -6px; }
.bq-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bq-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 2px; border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--pv-t2); text-decoration: none; font-size: 14.2px; font-weight: 600; line-height: 1.35;
  transition: color .2s, padding .2s;
}
.bq-list li:last-child a { border-bottom: none; }
.bq-list a::after { content: '→'; color: var(--pv-t3); transition: transform .2s, color .2s; }
.bq-list a:hover { color: #fff; padding-left: 6px; }
.bq-list a:hover::after { color: var(--pv-red-bright); transform: translateX(3px); }

/* ─── SERVICIOS · ÍNDICE PEGAJOSO ─── */
.bq-index { position: sticky; top: 72px; z-index: 50; background: rgba(31,31,34,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--pv-line); border-bottom: 1px solid var(--pv-line); }
.bq-index-inner { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.bq-index-inner::-webkit-scrollbar { display: none; }
.bq-index a { flex-shrink: 0; padding: 9px 16px; border-radius: 99px; font-size: 13px; font-weight: 700;
  color: var(--pv-t2); text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.bq-index a:hover { color: #fff; border-color: var(--pv-line); }
.bq-index a.on { background: var(--pv-red); color: #fff; }
.bq-anchor { scroll-margin-top: 140px; }

/* ─── TARJETAS CON IMAGEN ─── */
.bq-grid { display: grid; gap: 20px; }
.bq-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bq-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bq-grid-4 { grid-template-columns: repeat(4, 1fr); }
.bq-icard {
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 16px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.bq-icard:hover { transform: translateY(-5px); border-color: rgba(230,0,0,.55); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.bq-icard-img { background: #fff; aspect-ratio: 16/9; overflow: hidden; }
.bq-icard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bq-icard-img.fit img { object-fit: contain; padding: 10px; }
.bq-icard:hover .bq-icard-img img { transform: scale(1.04); }
.bq-icard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bq-icard-body h3 { margin: 0; font-size: 16.5px; font-weight: 800; color: #fff; line-height: 1.35; }
.bq-icard-body p { margin: 0; font-size: 14px; color: var(--pv-t3); line-height: 1.55; flex: 1; }
.bq-more { font-size: 13px; font-weight: 800; color: var(--pv-red-bright); display: inline-flex; gap: 6px; margin-top: 6px; }
.bq-icard:hover .bq-more { color: #fff; }

/* banner destacado Gestión Estratégica */
.bq-feature {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden; border-radius: 20px;
  border: 1px solid rgba(230,0,0,.45);
  background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(230,0,0,.28), transparent 60%), var(--pv-panel);
}
.bq-feature-txt { padding: clamp(28px, 4vw, 52px); }
.bq-feature-art { position: relative; min-height: 320px; }
.bq-feature-art img { position: absolute; bottom: 0; right: 0; height: 108%; width: auto; max-width: none; object-fit: contain; }
.bq-4e { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.bq-4e span { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--pv-line); background: rgba(0,0,0,.2);
  font-size: 13px; font-weight: 800; color: #fff; }
.bq-4e span b { color: var(--pv-red-bright); }

/* ─── DETALLE DE SERVICIO ─── */
.bq-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.bq-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.bq-aside-box { background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 16px; padding: 20px; }
.bq-aside-box h4 { margin: 0 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pv-red-bright); }
.bq-aside-box .bq-list a { font-size: 13.5px; padding: 9px 0; }
.bq-aside-box .bq-list a.cur { color: #fff; font-weight: 800; }
.bq-aside-box .bq-list a.cur::after { content: '●'; color: var(--pv-red); font-size: 9px; }
.bq-aside-cta { background: linear-gradient(145deg, var(--pv-red), var(--pv-red-deep)); border: none; color: #fff; }
.bq-aside-cta h4 { color: #fff; opacity: .85; }
.bq-aside-cta p { margin: 0 0 16px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.bq-aside-cta .pv-btn { width: 100%; }

.bq-block { background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 18px; padding: clamp(24px, 3.2vw, 40px); margin-bottom: 22px; }
.bq-block > :last-child { margin-bottom: 0; }
.bq-block-title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 20px; font-weight: 900; color: #fff; letter-spacing: -.2px; }
.bq-block-title::before { content: ''; width: 6px; height: 22px; border-radius: 3px; background: var(--pv-red); flex-shrink: 0; }

.bq-prose { font-size: 16px; line-height: 1.75; color: var(--pv-t2); }
.bq-prose p { margin: 0 0 16px; }
.bq-prose strong, .bq-prose b { color: #fff; }
.bq-prose h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; color: #fff; margin: 34px 0 14px; line-height: 1.25; }
.bq-prose h3, .bq-prose h4 { font-size: 19px; font-weight: 800; color: #fff; margin: 30px 0 12px; line-height: 1.35; }
.bq-prose h5 { font-size: 16.5px; font-weight: 800; color: #fff; margin: 0 0 10px; }
.bq-prose ul, .bq-prose ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.bq-prose ul li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.bq-prose ul li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 9px; height: 9px; border-radius: 2px;
  background: var(--pv-red); transform: rotate(45deg); }
.bq-prose ol { counter-reset: n; }
.bq-prose ol li { position: relative; padding-left: 40px; margin-bottom: 12px; counter-increment: n; }
.bq-prose ol li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 27px; height: 27px; border-radius: 50%;
  background: rgba(230,0,0,.18); border: 1px solid rgba(230,0,0,.5); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.bq-prose a { color: var(--pv-red-bright); }
.bq-prose .highlight, .bq-prose blockquote {
  margin: 24px 0; padding: 20px 24px; border-left: 4px solid var(--pv-red); border-radius: 0 12px 12px 0;
  background: rgba(230,0,0,.1); color: #fff; font-size: 17px; font-weight: 600;
}
.bq-prose .step-box { background: rgba(0,0,0,.2); border: 1px solid var(--pv-line); border-radius: 14px; padding: 20px 22px; margin: 0 0 16px; }
.bq-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14.5px; }
.bq-prose th, .bq-prose td { border: 1px solid var(--pv-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.bq-prose thead th { background: rgba(230,0,0,.2); color: #fff; }
.bq-prose img { border-radius: 12px; margin: 10px 0 20px; background: #fff; }

.bq-figure { margin: 22px 0 6px; background: #fff; border-radius: 14px; padding: clamp(10px, 1.6vw, 22px);
  border: 1px solid #e4e4e7; box-shadow: 0 20px 44px rgba(0,0,0,.28); }
.bq-figure img { width: 100%; height: auto; margin: 0 auto; }
.bq-figure figcaption { font-size: 12.5px; color: #71717a; margin-top: 10px; text-align: center; }

/* pasos / etapas numeradas */
.bq-steps { display: grid; gap: 14px; counter-reset: s; }
.bq-step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start;
  background: rgba(0,0,0,.18); border: 1px solid var(--pv-line); border-radius: 14px; padding: 20px 22px; }
.bq-step-n { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pv-red), var(--pv-red-deep)); color: #fff; font-size: 20px; font-weight: 900; }
.bq-step h4 { margin: 2px 0 6px; font-size: 16.5px; font-weight: 800; color: #fff; }
.bq-step p, .bq-step ul { margin: 0; font-size: 14.8px; color: var(--pv-t2); line-height: 1.65; }
.bq-step ul { margin-top: 6px; }

/* mini tarjetas (ventajas, beneficios, ISO…) */
.bq-minis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bq-mini { background: rgba(0,0,0,.18); border: 1px solid var(--pv-line); border-radius: 14px; padding: 18px 20px; }
.bq-mini h4 { margin: 0 0 6px; font-size: 15.5px; font-weight: 800; color: #fff; display: flex; gap: 10px; align-items: center; }
.bq-mini h4 i { font-style: normal; color: var(--pv-red-bright); font-size: 13px; }
.bq-mini p { margin: 0; font-size: 14.2px; color: var(--pv-t3); line-height: 1.6; }

.bq-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bq-checks li { position: relative; padding: 12px 14px 12px 44px; border-radius: 12px; background: rgba(0,0,0,.18);
  border: 1px solid var(--pv-line); font-size: 14.8px; color: var(--pv-t2); line-height: 1.55; }
.bq-checks li::before { content: '✓'; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pv-red); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.bq-checks li b { color: #fff; }
.bq-checks.cols-2 { grid-template-columns: 1fr 1fr; }

/* línea de tiempo del software */
.bq-years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bq-year { position: relative; padding: 22px 20px; border-radius: 14px; background: rgba(0,0,0,.18); border: 1px solid var(--pv-line); }
.bq-year b { display: block; font-size: 30px; font-weight: 900; color: var(--pv-red-bright); letter-spacing: -1px; line-height: 1; margin-bottom: 10px; }
.bq-year h4 { margin: 0 0 8px; font-size: 15px; font-weight: 800; color: #fff; line-height: 1.35; }
.bq-year p { margin: 0; font-size: 13.8px; color: var(--pv-t3); line-height: 1.6; }

.bq-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bq-chips span { padding: 10px 16px; border-radius: 10px; background: rgba(0,0,0,.2); border: 1px solid var(--pv-line);
  font-size: 13.5px; font-weight: 700; color: #fff; }

/* ─── NOSOTROS ─── */
.bq-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bq-mv-card { position: relative; overflow: hidden; border-radius: 20px; padding: clamp(28px, 3.4vw, 44px);
  background: var(--pv-panel); border: 1px solid var(--pv-line); }
.bq-mv-card::after { content: attr(data-k); position: absolute; right: -8px; bottom: -34px; font-size: 150px; font-weight: 900;
  color: rgba(255,255,255,.035); line-height: 1; letter-spacing: -6px; }
.bq-mv-card h3 { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; color: var(--pv-red-bright); display: flex; align-items: center; gap: 12px; }
.bq-mv-card h3 svg { width: 22px; height: 22px; }
.bq-mv-card p { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: #fff; font-weight: 600; position: relative; z-index: 1; }

.bq-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bq-value { background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; padding: 26px 24px;
  box-shadow: 0 2px 14px rgba(0,0,0,.05); transition: transform .25s, box-shadow .25s, border-color .25s; }
.bq-value:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.1); border-color: rgba(200,30,30,.35); }
.bq-value-n { font-size: 13px; font-weight: 900; color: var(--pv-red-ink); letter-spacing: 1px; }
.bq-value h3 { margin: 6px 0 10px; font-size: 18px; font-weight: 900; color: var(--pv-ink); letter-spacing: .3px; }
.bq-value p { margin: 0; font-size: 14.6px; color: var(--pv-ink2); line-height: 1.62; }

.bq-6e { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bq-e { position: relative; overflow: hidden; background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 18px;
  padding: 28px 26px 26px; transition: transform .25s, border-color .25s; }
.bq-e:hover { transform: translateY(-4px); border-color: rgba(230,0,0,.55); }
.bq-e-letter { position: absolute; top: -18px; right: 10px; font-size: 130px; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(230,0,0,.35); }
.bq-e-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--pv-red), var(--pv-red-deep)); margin-bottom: 16px; position: relative; }
.bq-e h3 { margin: 0 0 4px; font-size: 19px; font-weight: 900; color: #fff; letter-spacing: .5px; position: relative; }
.bq-e h4 { margin: 0 0 12px; font-size: 14.5px; font-weight: 700; color: var(--pv-red-bright); line-height: 1.4; position: relative; }
.bq-e p { margin: 0 0 10px; font-size: 14.4px; color: var(--pv-t2); line-height: 1.65; position: relative; }
.bq-e p:last-child { margin-bottom: 0; }
.bq-e p b { color: #fff; }

.bq-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bq-member { display: flex; align-items: center; gap: 14px; background: var(--pv-panel); border: 1px solid var(--pv-line);
  border-radius: 14px; padding: 16px 18px; transition: border-color .25s, transform .25s; }
.bq-member:hover { border-color: rgba(230,0,0,.55); transform: translateY(-3px); }
.bq-member-av { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-size: 15px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--pv-red), var(--pv-red-deep)); }
.bq-member-av.ph { background: #fff; overflow: hidden; }
.bq-member-av.ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bq-member small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--pv-red-bright); }
.bq-member b { display: block; font-size: 14.5px; color: #fff; line-height: 1.35; }

.bq-gallery { border-radius: 18px; overflow: hidden; border: 1px solid #e4e4e7; margin-top: 46px; box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.bq-gallery .pv-marque { overflow: hidden; position: relative; display: flex; width:100% }
.bq-gallery .pv-marque::before,
.bq-gallery .pv-marque::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.bq-gallery .pv-marque::before { left: 0;  background: linear-gradient(to right, var(--pv-light), transparent); }
.bq-gallery .pv-marque::after  { right: 0; background: linear-gradient(to left,  var(--pv-light), transparent); }
.bq-gallery .pv-marque-track  { display: flex; align-items: center; width: max-content; animation:pv-scroll 10s linear infinite;will-change:transform; }
.bq-gallery .pv-marque-track img { height: 90px; width:auto; object-fit: contain; margin-right: 58px; flex-shrink: 0; display:block}
@keyframes pv-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
.bq-sector-tabs { display: grid; grid-template-columns: 1fr 1fr; }
.bq-sector-tabs a { padding: 18px; text-align: center; font-size: 15px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; color: #fff; background: #3f3f46; transition: background .2s; }
.bq-sector-tabs a + a { background: #27272a; }
.bq-sector-tabs a:hover { background: var(--pv-red); }

/* ─── CLIENTES ─── */
.bq-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.bq-logo { height: 84px; overflow: hidden; background: #fff; border: 1px solid #e4e4e7; border-radius: 12px; display: grid; place-items: center; padding: 10px 14px;
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.bq-logo:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.1); border-color: rgba(200,30,30,.35); }
.bq-logo img { max-height: 62px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.bq-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(0,0,0,.25); border: 1px solid var(--pv-line); margin-bottom: 26px; flex-wrap: wrap; }
.bq-tabs button { font: inherit; font-size: 13.5px; font-weight: 800; padding: 10px 20px; border-radius: 99px; border: none; cursor: pointer; background: transparent; color: var(--pv-t2); }
.bq-tabs button.on { background: var(--pv-red); color: #fff; }
.bq-dir { columns: 3; column-gap: 32px; list-style: none; margin: 0; padding: 0; }
.bq-dir li { break-inside: avoid; font-size: 14px; line-height: 1.5; color: var(--pv-t2); padding: 7px 0 7px 18px; position: relative; border-bottom: 1px solid rgba(255,255,255,.06); }
.bq-dir li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--pv-red); }
.bq-testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bq-testis .pv-testi { height: 100%; }
.bq-testis .is-hidden { display: none; }
.pv-testi-logo { margin-left: auto; height: 34px; width: auto; max-width: 90px; object-fit: contain; }

/* ─── PLATAFORMAS ─── */
.bq-plat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.bq-plat-card { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; text-decoration: none;
  background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 20px; padding: 28px; transition: transform .25s, border-color .25s; }
.bq-plat-card:hover { transform: translateY(-4px); border-color: rgba(230,0,0,.55); }
.bq-plat-ico { width: 120px; height: 120px; border-radius: 22px; background: #fff; display: grid; place-items: center; padding: 18px; }
.bq-plat-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 900; color: #fff; }
.bq-plat-card p { margin: 0 0 14px; font-size: 14.5px; color: var(--pv-t2); line-height: 1.6; }

/* ─── BLOG ─── */
.bq-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bq-post { display: flex; flex-direction: column; gap: 12px; text-decoration: none; padding: 26px; border-radius: 18px;
  background: var(--pv-panel); border: 1px solid var(--pv-line); transition: transform .25s, border-color .25s; position: relative; overflow: hidden; }
.bq-post:hover { transform: translateY(-4px); border-color: rgba(230,0,0,.55); }
.bq-post-n { position: absolute; top: 8px; right: 16px; font-size: 64px; font-weight: 900; color: rgba(255,255,255,.04); line-height: 1; }
.bq-post .pv-blog-date { margin: 0; }
.bq-post h3 { margin: 0; font-size: 18px; font-weight: 800; color: #fff; line-height: 1.38; }
.bq-post p { margin: 0; font-size: 14.2px; color: var(--pv-t3); line-height: 1.6; flex: 1; }
.bq-post.is-first { grid-column: span 2; background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(230,0,0,.25), transparent 60%), var(--pv-panel); }
.bq-post.is-first h3 { font-size: 24px; }
.bq-article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--pv-t3); margin-bottom: 8px; }
.bq-article-meta b { color: #fff; }
.bq-art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.bq-art-nav a { padding: 18px 20px; border-radius: 14px; background: var(--pv-panel); border: 1px solid var(--pv-line); text-decoration: none; }
.bq-art-nav a:hover { border-color: rgba(230,0,0,.55); }
.bq-art-nav small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pv-red-bright); margin-bottom: 6px; }
.bq-art-nav span { font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.4; }
.bq-art-nav a.next { text-align: right; }

/* ─── CONTACTO ─── */
.bq-contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.bq-form { background: var(--pv-panel); border: 1px solid var(--pv-line); border-radius: 20px; padding: clamp(24px, 3.4vw, 40px); }
.bq-infos { display: grid; gap: 14px; }
.bq-info { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--pv-panel); border: 1px solid var(--pv-line); text-decoration: none; }
.bq-info:hover { border-color: rgba(230,0,0,.55); }
.bq-info .bq-svc-ico { width: 44px; height: 44px; }
.bq-info small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pv-red-bright); margin-bottom: 4px; }
.bq-info b { color: #fff; font-size: 15.5px; }

/* WhatsApp flotante */
.bq-wa { position: fixed; right: 20px; bottom: 20px; z-index: 500; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .2s; }
.bq-wa:hover { transform: scale(1.08); }
.bq-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1180px) {
  .bq-svc { grid-template-columns: 1fr 1fr; }
  .bq-svc-col:first-child { grid-column: 1 / -1; }
  .bq-team { grid-template-columns: repeat(3, 1fr); }
  .bq-grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .bq-phero-grid, .bq-head, .bq-feature, .bq-detail, .bq-contact { grid-template-columns: 1fr; }
  .bq-head { gap: 16px; }
  .bq-aside { position: static; }
  .bq-feature-art { min-height: 300px; }
  .bq-feature-art img { position: relative; height: 320px; margin: 0 auto; }
  .bq-values, .bq-6e, .bq-grid-3, .bq-blog, .bq-testis { grid-template-columns: 1fr 1fr; }
  .bq-years { grid-template-columns: 1fr 1fr; }
  .bq-dir { columns: 2; }
  .bq-plat { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .bq-svc, .bq-mv, .bq-values, .bq-6e, .bq-grid-2, .bq-grid-3, .bq-grid-4, .bq-blog, .bq-testis,
  .bq-minis, .bq-years, .bq-checks.cols-2, .bq-art-nav { grid-template-columns: 1fr; }
  .bq-team { grid-template-columns: 1fr 1fr; }
  .bq-post.is-first { grid-column: auto; }
  .bq-dir { columns: 1; }
  .bq-plat-card { grid-template-columns: 1fr; }
  .bq-plat-ico { width: 96px; height: 96px; }
  .bq-step { grid-template-columns: 1fr; }
  .bq-index { top: 64px; }
  .bq-sector-tabs a { font-size: 12px; letter-spacing: 1px; }
}
@media (max-width: 420px) { .bq-team { grid-template-columns: 1fr; } }

/* imágenes que rellenan las columnas de servicios */
.bq-svc-art { flex: 1; display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 300px; margin-top: 4px; }
.bq-svc-art a { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--pv-line); min-height: 140px; }
.bq-svc-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.bq-svc-art a:hover img { transform: scale(1.05); }
@media (max-width: 1180px) { .bq-svc-art { min-height: 260px; } }
.bq-svc-art a { display: grid; place-items: center; background: #1f1f22; }
.bq-svc-art img { object-fit: contain; }
.bq-banner { border-radius: 18px; overflow: hidden; border: 1px solid var(--pv-line); background: #fff; margin-bottom: 22px; box-shadow: 0 24px 50px rgba(0,0,0,.3); }
.bq-banner img { width: 100%; height: auto; }
.bq-icard-img.fit { background: #fff; }
.pv-mobile.open ~ .bq-wa { display: none; }
.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e8f5ec; color: #14532d; border: 1px solid #bbe3c8; }
.form-status.err { background: #fdecec; color: #7f1d1d; border: 1px solid #f3c1c1; }

/* Testimonios en video (carrusel) */
.vt-head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.vt-carousel { position: relative; margin: 0 0 54px; }
.vt-videos { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 2px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.vt-videos::-webkit-scrollbar { display: none; }
.vt-video { position: relative; display: block; flex: 0 0 calc((100% - 54px) / 4); aspect-ratio: 9 / 16; padding: 0; cursor: pointer; background: #000; border: 1px solid #d4d4d8; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,.18); scroll-snap-align: start; transition: transform .25s, box-shadow .25s; }
.vt-video:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.24); }
.vt-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(200,30,30,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.45); transition: transform .22s; }
.vt-video:hover .vt-play { transform: translate(-50%, -50%) scale(1.1); }
.vt-play svg { width: 20px; height: 20px; fill: #fff; stroke: none; margin-left: 3px; }
.vt-btn { position: absolute; top: calc(50% - 30px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(24,24,27,.92); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; padding: 0; box-shadow: 0 8px 22px rgba(0,0,0,.35); transition: background .2s, opacity .2s; }
.vt-btn:hover:not(:disabled) { background: #c81e1e; border-color: #c81e1e; }
.vt-btn:disabled { opacity: .25; cursor: default; }
.vt-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.vt-prev { left: -20px; }
.vt-next { right: -20px; }
@media (max-width: 1240px) { .vt-prev { left: 6px; } .vt-next { right: 6px; } }
@media (max-width: 980px) { .vt-video { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .vt-video { flex-basis: 78%; } }
