/* ===========================================================================
   home-polish.css
   Premium polish for the Acme B2B home page. Scoped under .page-home so no
   other template is affected. Same visual signature we applied in checkout:
   vertical blue accent stripe before section titles, refined soft shadows,
   12px radius, smoother hovers.
   =========================================================================== */

/* --- Section titles: vertical accent stripe (brand cue) ------------------- */
.page-home .section__head .section__title,
.page-home .section__head--split .section__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-home .section__head .section__title::before,
.page-home .section__head--split .section__title::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--primary, #2563eb);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Keep the hero title clean (no stripe — it already has visual weight). */
.page-home .hero__title::before { content: none; }

/* Nudge the section meta to align under the title text, not the stripe. */
.page-home .section__head .section__meta,
.page-home .section__head--split .section__meta {
  margin-top: 4px;
  padding-left: 16px;
}

/* --- Scenario cards (Compra según la necesidad) --------------------------- */
.page-home .card--scenario {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.page-home .card--scenario:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 0 0 3px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}
.page-home .card--scenario .card__icon-wrap {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
  border: 1px solid rgba(37, 99, 235, 0.10);
}

/* --- Value points (Ventajas para empresas) -------------------------------- */
.page-home .grid--value-points .value-point {
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.page-home .grid--value-points .value-point:hover {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

/* --- Panel highlight (Presupuesto CTA) ------------------------------------ */
.page-home .panel--highlight {
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}
.page-home .panel--highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 4px;
  background: var(--primary, #2563eb);
  border-radius: 0 2px 2px 0;
}
.page-home .panel--highlight .panel__title {
  letter-spacing: -0.2px;
}

/* --- Panel subtle (Mi cuenta, Contactar) ---------------------------------- */
.page-home .panel--subtle {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.page-home .panel--subtle:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}
.page-home .panel--subtle .panel__icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
  border: 1px solid rgba(37, 99, 235, 0.10);
}

/* --- Closing block: soft gradient + depth --------------------------------- */
.page-home .closing-block {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
  position: relative;
  overflow: hidden;
}
.page-home .closing-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(37, 99, 235, 0.18) 0%, transparent 45%),
              radial-gradient(circle at 80% 90%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.page-home .closing-block > * { position: relative; }

/* --- Hero quick-links: smoother hover ------------------------------------- */
.page-home .hero__quick-links a:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.38) !important;
}

/* --- Responsive: keep stripe proportional on mobile ----------------------- */
@media (max-width: 767px) {
  .page-home .section__head .section__title::before,
  .page-home .section__head--split .section__title::before {
    height: 18px;
    width: 3px;
  }
  .page-home .section__head .section__meta,
  .page-home .section__head--split .section__meta {
    padding-left: 12px;
  }
  .page-home .panel--highlight::before {
    top: 18px;
    bottom: 18px;
    width: 3px;
  }
}
