/* ecommerce/catalog.html - extracted from inline/internal styles */

.intro-lead {
  font-size: 18px;
}

:root { --ec-blue: #2E4E8A; --ec-purple: #5A2D82; }

.ec-section { padding: 70px 0; background: #fff; font-family: 'Poppins', sans-serif; }
.ec-section.ec-alt { background: #f8f6f6; }

.ec-section h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 22px;
  color: var(--ec-blue);
}
.ec-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  border-radius: 4px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--ec-blue), var(--ec-purple));
}
.ec-section p { font-size: 17px; line-height: 1.85; color: #4a4a4a; margin-bottom: 18px; }
.ec-section p.ec-lead { font-size: 19px; color: #333; }

/* ---------- cards ---------- */
.ec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 26px 0 30px;
}
.ec-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ec-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }

.ec-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  border: 1px solid #eef0f4;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ec-alt .ec-card { border-color: #fff; }
.ec-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ec-blue), var(--ec-purple));
}
.ec-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46, 78, 138, .16); }

.ec-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--ec-blue), var(--ec-purple));
  margin-bottom: 16px;
}
.ec-card h4 { font-size: 18px; font-weight: 700; color: #1c2b4a; margin: 0 0 8px; }
.ec-section .ec-card p { font-size: 15px; line-height: 1.7; color: #5b6472; margin: 0; }

/* tiles: centered icon + label */
.ec-cards.tiles { gap: 16px; }
.ec-cards.tiles.t2 { grid-template-columns: repeat(2, 1fr); }
.ec-cards.tiles.t3 { grid-template-columns: repeat(3, 1fr); }
.ec-cards.tiles.t4 { grid-template-columns: repeat(4, 1fr); }
.ec-cards.tiles.t5 { grid-template-columns: repeat(5, 1fr); }
.ec-card.compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 14px;
  padding: 26px 14px 22px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(17, 24, 39, .05);
}
.ec-card.compact::before { display: none; }
.ec-card.compact .ec-icon {
  margin: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  font-size: 25px;
  color: var(--ec-purple);
  background: linear-gradient(135deg, rgba(46, 78, 138, .12), rgba(90, 45, 130, .16));
  transition: background .3s ease, color .3s ease;
}
.ec-card.compact:hover .ec-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--ec-blue), var(--ec-purple));
}
.ec-card.compact h4 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }

/* ---------- callout ---------- */
.ec-callout {
  background: linear-gradient(135deg, var(--ec-blue), var(--ec-purple));
  color: #fff;
  border-radius: 16px;
  padding: 26px 30px;
  margin: 28px 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 14px 34px rgba(90, 45, 130, .25);
}
.ec-callout i { margin-right: 10px; opacity: .85; }

/* ---------- scenario / quote ---------- */
.ec-scenario {
  background: #f4f7fc;
  border-left: 5px solid var(--ec-blue);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  margin: 24px 0;
}
.ec-alt .ec-scenario { background: #fff; }
.ec-section .ec-scenario p { margin: 0; font-size: 17px; color: #333; }

/* ---------- steps ---------- */
.ec-steps {
  counter-reset: ecstep;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin: 26px 0 30px;
}
.ec-step {
  counter-increment: ecstep;
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 56px 20px 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
}
.ec-step::before {
  content: counter(ecstep);
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--ec-blue), var(--ec-purple));
}
.ec-step h4 { font-size: 16px; font-weight: 700; color: #1c2b4a; margin: 0; }

/* ---------- balanced hero ---------- */
.hero-balanced .hero-left { display: flex; flex-direction: column; justify-content: center; }
.hero-balanced .form-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 30px;
}
.hero-balanced .form-card .form-sub { margin-bottom: 18px; }
.hero-balanced .form-card .form-control,
.hero-balanced .form-card .form-select { padding: 10px 14px; margin-bottom: 12px; }
.hero-balanced .form-card textarea.form-control { min-height: 0; }
.hero-balanced .form-card .form-check { margin-bottom: 12px; }
.hero-balanced .btn-submit { padding: 12px; }

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.hero-point {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-left: 4px solid var(--ec-blue);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #1c2b4a;
  box-shadow: 0 8px 22px rgba(17, 24, 39, .08);
}
.hero-point i { font-size: 22px; color: var(--ec-purple); }

@media (max-width: 992px) {
  .hero-balanced .form-card { height: auto; }
  .ec-cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .ec-cards.tiles.t3, .ec-cards.tiles.t4, .ec-cards.tiles.t5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .hero-points { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ec-section { padding: 48px 0; }
  .ec-section h2 { font-size: 26px; }
  .ec-cards.cols-2, .ec-cards.cols-3 { grid-template-columns: 1fr; }
  .ec-cards.tiles.t2, .ec-cards.tiles.t3, .ec-cards.tiles.t4, .ec-cards.tiles.t5 { grid-template-columns: repeat(2, 1fr); }
  .ec-callout { font-size: 18px; padding: 22px; }
}
