/* Bantokens — Página Seguimiento (Híbrida con iframe oficial de reportes de ventas) */

body.bt-page-seguimiento a {
  color: var(--blue-primary, #007DFF);
  text-decoration: none;
  transition: color var(--dur-fast, 0.15s) ease;
}

body.bt-page-seguimiento a:hover {
  color: var(--blue-deep, #00489A);
}

/* Encabezado Hero (Conservado estrictamente lo encerrado en rojo) */
body.bt-page-seguimiento .shead {
  padding: 24px 0 clamp(16px, 2.5vw, 28px);
}

body.bt-page-seguimiento .shead .kicker {
  font-family: var(--font-mono, monospace);
  font-size: var(--fs-body-s, 14px);
  color: var(--blue-primary, #007DFF);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

body.bt-page-seguimiento .shead h1 {
  margin-top: 6px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Contenedor Iframe Card con Padding Elegante */
body.bt-page-seguimiento .seguimiento-iframe-container {
  width: 100%;
  max-width: 1200px;
  margin: clamp(16px, 2.5vw, 28px) auto clamp(48px, 6vw, 72px);
}

body.bt-page-seguimiento .seguimiento-iframe-card {
  position: relative;
  width: 100%;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border-subtle, #E2E8F0);
  box-shadow: 0 4px 24px rgba(0, 24, 56, 0.06);
  padding: clamp(15px, 2.5vw, 15px);
  overflow: hidden;
  transition: box-shadow var(--dur-normal, 0.25s) ease, border-color var(--dur-normal, 0.25s) ease;
}

body.bt-page-seguimiento .seguimiento-iframe-card:hover {
  box-shadow: 0 8px 36px rgba(0, 24, 56, 0.09);
  border-color: rgba(0, 125, 255, 0.2);
}

/* Iframe Fluido y Adaptable con padding interno */
body.bt-page-seguimiento .seguimiento-app-iframe {
  width: 100%;
  min-height: 300px;
  height: 380px;
  border: none;
  border-radius: 14px;
  display: block;
  background: #ffffff;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 980px) {
  body.bt-page-seguimiento .seguimiento-app-iframe {
    min-height: 520px;
    height: 520px;
  }
}

@media (max-width: 640px) {
  body.bt-page-seguimiento .seguimiento-iframe-card {
    padding: 12px;
    border-radius: 18px;
  }

  body.bt-page-seguimiento .seguimiento-app-iframe {
    min-height: 580px;
    height: 580px;
    border-radius: 10px;
  }
}

/* Skeleton / Estado de Carga */
body.bt-page-seguimiento .seguimiento-iframe-loading {
  position: absolute;
  inset: clamp(16px, 2.5vw, 24px);
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

@media (max-width: 640px) {
  body.bt-page-seguimiento .seguimiento-iframe-loading {
    inset: 12px;
    border-radius: 10px;
  }
}

body.bt-page-seguimiento .seguimiento-iframe-loading.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.bt-page-seguimiento .seguimiento-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0, 125, 255, 0.15);
  border-top-color: var(--blue-primary, #007DFF);
  border-radius: 50%;
  animation: bt-spin 0.85s linear infinite;
}

body.bt-page-seguimiento .seguimiento-iframe-loading span {
  font-size: var(--fs-body, 15px);
  color: var(--text-secondary, #64748B);
  font-weight: 500;
}

@keyframes bt-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ayuda / FAQ y Soporte (Sección de Imagen 2) */
body.bt-page-seguimiento .help {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--border-subtle, #E2E8F0);
}

body.bt-page-seguimiento .help .grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 820px) {
  body.bt-page-seguimiento .help .grid {
    grid-template-columns: 1fr;
  }
}

body.bt-page-seguimiento .help h2 {
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

body.bt-page-seguimiento .help p.lead {
  color: var(--text-secondary, #64748B);
  font-size: var(--fs-body-l, 18px);
  line-height: 1.55;
  margin-bottom: 24px;
}

body.bt-page-seguimiento .help .faqs {
  display: grid;
  gap: 12px;
}

body.bt-page-seguimiento .help details {
  background: #fff;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: var(--radius-l, 20px);
  padding: 18px 22px;
  transition: border-color var(--dur-fast, 0.15s) ease;
}

body.bt-page-seguimiento .help details[open] {
  border-color: var(--blue-primary, #007DFF);
}

body.bt-page-seguimiento .help summary {
  font-weight: var(--fw-bold, 700);
  font-size: var(--fs-body, 16px);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-primary, #0F172A);
}

body.bt-page-seguimiento .help summary::-webkit-details-marker {
  display: none;
}

body.bt-page-seguimiento .help summary::after {
  content: "+";
  color: var(--blue-primary, #007DFF);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

body.bt-page-seguimiento .help details[open] summary::after {
  content: "−";
}

body.bt-page-seguimiento .help details p {
  margin-top: 10px;
  color: var(--text-secondary, #64748B);
  font-size: var(--fs-body-s, 14px);
  line-height: 1.55;
}

body.bt-page-seguimiento .contact {
  background: linear-gradient(150deg, var(--blue-deep, #00489A), #002548);
  color: #fff;
  border-radius: var(--radius-l, 20px);
  padding: 32px;
  box-shadow: 0 12px 36px rgba(0, 37, 72, 0.2);
}

body.bt-page-seguimiento .contact h3 {
  font-size: var(--fs-h3, 20px);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

body.bt-page-seguimiento .contact p {
  color: var(--blue-light, #99C9FF);
  font-size: var(--fs-body-s, 14px);
  line-height: 1.55;
  margin-bottom: 22px;
}

body.bt-page-seguimiento .contact .row {
  display: grid;
  gap: 14px;
}

body.bt-page-seguimiento .contact .row a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(153, 201, 255, 0.15);
  border-radius: var(--radius-m, 14px);
  color: #fff;
  text-decoration: none;
  align-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.bt-page-seguimiento .contact .row a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--amber-token, #FDBA02);
}

body.bt-page-seguimiento .contact .row a .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--amber-token, #FDBA02);
  color: var(--blue-deep, #00489A);
  display: grid;
  place-items: center;
  font-weight: var(--fw-bold, 700);
}

body.bt-page-seguimiento .contact .row a b {
  display: block;
  font-size: var(--fs-body-s, 14px);
  letter-spacing: -0.01em;
}

body.bt-page-seguimiento .contact .row a span {
  display: block;
  font-size: 11px;
  color: var(--blue-light, #99C9FF);
  font-family: var(--font-mono, monospace);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 2px;
}