/* Página de producto BMcontaSQL (bmcontasql.php) */
.bcs {
  --bcs-azul: #0f2f66;
  --bcs-azul-medio: #1d4f9c;
  --bcs-azul-claro: #eaf2fc;
  --bcs-naranja: #f39600;
  --bcs-naranja-oscuro: #d98400;
  --bcs-texto: #2b3445;
  --bcs-suave: #5d6879;
  --bcs-borde: #dbe3ef;
  color: var(--bcs-texto);
  font-size: 16px;
  line-height: 1.6;
}
.bcs h1, .bcs h2, .bcs h3, .bcs h4 {
  font-family: "Open Sans", sans-serif;
  color: var(--bcs-azul);
  font-weight: 700;
  line-height: 1.2;
}
.bcs p { margin-bottom: 1rem; }
.bcs strong { color: inherit; }
.bcs-seccion { padding: 64px 0; }
.bcs-seccion--gris { background: #f5f8fc; }
/* Los anclajes no quedan tapados por la cabecera fija */
#solicitar, #fbmcontasql { scroll-margin-top: 130px; }
.bcs-contenedor { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.bcs-titulo {
  font-size: 30px;
  margin-bottom: 12px;
}
.bcs-titulo::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--bcs-naranja);
}
.bcs-titulo--centro { text-align: center; }
.bcs-titulo--centro::after { margin-left: auto; margin-right: auto; }
.bcs-entradilla { font-size: 18px; color: var(--bcs-suave); max-width: 760px; }
.bcs-entradilla--centro { margin: 0 auto 36px; text-align: center; }

/* Cabecera */
.bcs-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2554 0%, #12387a 55%, #1d4f9c 100%);
  color: #fff;
  padding: 72px 0 80px;
}
.bcs-hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
}
.bcs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--bcs-naranja), #ffb53d);
}
.bcs-hero .bcs-contenedor {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
}
.bcs-hero__texto { flex: 1 1 50%; min-width: 0; }
.bcs-hero__imagen { flex: 1 1 50%; min-width: 0; }
.bcs-etiqueta {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(243, 150, 0, 0.18);
  color: #ffc566;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bcs-hero h1 {
  color: #fff;
  font-size: 54px;
  font-weight: 800;
  margin: 16px 0 4px;
  letter-spacing: -1px;
}
.bcs-hero h1 span { color: var(--bcs-naranja); }
.bcs-hero__lema {
  font-size: 22px;
  font-style: italic;
  color: #cfdcf2;
  margin-bottom: 22px;
}
.bcs-hero__claim {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}
.bcs-hero__claim span { color: var(--bcs-naranja); }
.bcs-hero__desc { color: #dfe8f6; font-size: 16px; margin-bottom: 28px; }
.bcs-hero__desc strong { color: #fff; }

.bcs-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.bcs-boton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.bcs-boton:hover { text-decoration: none; transform: translateY(-1px); }
.bcs-boton svg { width: 18px; height: 18px; flex: none; }
.bcs-boton--naranja { background: var(--bcs-naranja); color: #fff; border: 2px solid var(--bcs-naranja); }
.bcs-boton--naranja:hover { background: var(--bcs-naranja-oscuro); border-color: var(--bcs-naranja-oscuro); color: #fff; }
.bcs-boton--claro { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.55); }
.bcs-boton--claro:hover { background: #fff; color: var(--bcs-azul); }
.bcs-boton--azul { background: #fff; color: var(--bcs-azul); border: 2px solid var(--bcs-borde); }
.bcs-boton--azul:hover { border-color: var(--bcs-azul-medio); color: var(--bcs-azul-medio); }

.bcs-ficha {
  display: block;
  position: relative;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
  transition: transform 0.25s;
}
.bcs-ficha:hover { transform: rotate(0deg) scale(1.02); }
.bcs-ficha img { display: block; width: 100%; height: auto; border-radius: 6px; }
.bcs-ficha__lupa {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 20px;
  background: rgba(15, 47, 102, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.bcs-ficha__lupa svg { width: 15px; height: 15px; }

/* Barra de accesos */
.bcs-accesos {
  background: #fff;
  border-bottom: 1px solid var(--bcs-borde);
  padding: 22px 0;
}
.bcs-accesos .bcs-contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.bcs-accesos .bcs-boton { padding: 11px 20px; font-size: 14px; }

/* Bloques de dos columnas */
.bcs-dos {
  display: flex;
  align-items: center;
  gap: 48px;
}
.bcs-dos > * { flex: 1 1 0; min-width: 0; }
.bcs-ilustracion { text-align: center; }
.bcs-ilustracion svg { width: 100%; max-width: 340px; height: auto; }

/* Listas con check */
.bcs-checks { list-style: none; padding: 0; margin: 0; }
.bcs-checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
.bcs-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bcs-naranja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Tarjetas de ventajas */
.bcs-rejilla {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bcs-tarjeta {
  background: #fff;
  border: 1px solid var(--bcs-borde);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bcs-tarjeta:hover { border-color: #b9cbe6; box-shadow: 0 10px 24px rgba(15, 47, 102, 0.08); }
.bcs-tarjeta__icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bcs-azul-claro);
  color: var(--bcs-azul-medio);
  margin-bottom: 14px;
}
.bcs-tarjeta__icono svg { width: 24px; height: 24px; }
.bcs-tarjeta h3 { font-size: 17px; margin-bottom: 6px; }
.bcs-tarjeta p { font-size: 15px; color: var(--bcs-suave); margin: 0; }

/* Asesorías */
.bcs-asesorias {
  background: var(--bcs-azul);
  color: #fff;
  border-radius: 16px;
  padding: 44px;
  display: flex;
  gap: 40px;
  align-items: center;
}
.bcs-asesorias h2 { color: #fff; }
.bcs-asesorias .bcs-titulo::after { background: var(--bcs-naranja); }
.bcs-asesorias__intro { flex: 0 0 38%; }
.bcs-asesorias__intro p { color: #cfdcf2; font-size: 17px; margin: 0; }
.bcs-asesorias__intro strong { color: #fff; }
.bcs-asesorias .bcs-checks { flex: 1; }
.bcs-asesorias .bcs-checks li { font-size: 17px; margin-bottom: 16px; }

/* Futuro / implantación */
.bcs-panel {
  background: #fff;
  border: 1px solid var(--bcs-borde);
  border-radius: 14px;
  padding: 32px;
  height: 100%;
}
.bcs-panel__cab { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bcs-panel__cab h2 { font-size: 24px; margin: 0; }
.bcs-panel__icono {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bcs-azul);
  color: #fff;
}
.bcs-panel__icono svg { width: 28px; height: 28px; }
.bcs-dos--arriba { align-items: stretch; }

/* Franja de beneficios */
.bcs-beneficios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.bcs-beneficio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: 12px;
  background: var(--bcs-azul-claro);
  color: var(--bcs-azul);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
.bcs-beneficio svg { width: 28px; height: 28px; flex: none; color: var(--bcs-azul-medio); }

/* Novedades */
.bcs-novedades {
  background: #fff7e6;
  border: 1px solid #f6d79c;
  border-left: 6px solid var(--bcs-naranja);
  border-radius: 12px;
  padding: 28px 32px;
}
.bcs-novedades h2 { font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.bcs-novedades h2 svg { width: 26px; height: 26px; color: var(--bcs-naranja); flex: none; }
.bcs-novedades ul { margin: 0; padding-left: 20px; }
.bcs-novedades li { margin-bottom: 8px; }
.bcs-novedades small { display: block; color: var(--bcs-suave); font-size: 14px; }

/* Funcionalidades */
.bcs-funciones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.bcs-funcion {
  padding: 16px 0;
  border-bottom: 1px solid var(--bcs-borde);
}
.bcs-funcion h3 { font-size: 16px; margin: 0 0 4px; }
.bcs-funcion p { font-size: 15px; color: var(--bcs-suave); margin: 0; }

/* Llamada a la acción y formulario */
.bcs-cta {
  text-align: center;
  background: linear-gradient(135deg, #0b2554 0%, #1d4f9c 100%);
  color: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  margin-bottom: 40px;
}
.bcs-cta h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.bcs-cta p { color: #dfe8f6; font-size: 17px; margin: 0 auto 22px; max-width: 680px; }
.bcs-cta .bcs-botones { justify-content: center; }
.bcs-cta__tel { color: #fff; font-weight: 700; }
.bcs-cta__tel:hover { color: #ffc566; text-decoration: none; }
.bcs-gracias {
  margin-top: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 20px;
  color: #ffc566;
}

.bcs-formulario {
  background: #fff;
  border: 1px solid var(--bcs-borde);
  border-radius: 16px;
  padding: 36px;
  font-size: 14px;
}
.bcs-formulario h3 { font-size: 22px; margin-bottom: 20px; }
.bcs-formulario h5 { color: var(--bcs-azul); }
.bcs-formulario .bcs-separa { border-top: 1px solid var(--bcs-borde); margin: 20px 15px; width: 100%; }

/* Responsive */
@media (max-width: 991px) {
  .bcs-hero .bcs-contenedor,
  .bcs-dos,
  .bcs-asesorias { flex-direction: column; align-items: stretch; }
  .bcs-hero__imagen { max-width: 560px; margin: 0 auto; }
  .bcs-rejilla { grid-template-columns: repeat(2, 1fr); }
  .bcs-beneficios { grid-template-columns: repeat(2, 1fr); }
  .bcs-asesorias__intro { flex: none; }
  .bcs-ilustracion svg { max-width: 260px; }
}
@media (max-width: 600px) {
  .bcs { font-size: 15px; }
  .bcs-seccion { padding: 44px 0; }
  .bcs-contenedor { padding: 0 16px; }
  .bcs-hero { padding: 48px 0 56px; }
  .bcs-hero h1 { font-size: 40px; }
  .bcs-hero__lema { font-size: 18px; }
  .bcs-hero__claim { font-size: 21px; }
  .bcs-titulo { font-size: 25px; }
  .bcs-rejilla,
  .bcs-funciones,
  .bcs-beneficios { grid-template-columns: 1fr; }
  .bcs-asesorias, .bcs-panel, .bcs-formulario { padding: 24px 20px; }
  .bcs-cta { padding: 32px 20px; }
  .bcs-botones .bcs-boton,
  .bcs-accesos .bcs-boton { width: 100%; justify-content: center; }
  .bcs-ficha { transform: none; }
}
