/* ============================================================
   DigiSinergy — Home page styles
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────── */
.hp-hero-section { background-position: center 30%; }
@media (max-width: 768px) { .hp-hero-section { background-position: center bottom; min-height: 420px; } }

.hp-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 720px;
}
.hp-hero-sub {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 24px;
  max-width: 560px;
  line-height: 1.6;
}
.hp-cta-btn {
  display: inline-block;
  background: #534AB7;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 30px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s;
}
.hp-cta-btn:hover { background: #3f389a; }

/* ── SECTION TITLE ────────────────────────────────────────── */
.hp-section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 20px;
}
.hp-section-title.light  { color: #fff; text-align: center; }
.hp-section-title.center { text-align: center; }

/* ── COST CARDS ───────────────────────────────────────────── */
.hp-cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.hp-cost-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 12px;
  padding: 28px 24px;
}
.hp-cost-stat {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 8px;
}
.hp-cost-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 18px;
  line-height: 1.5;
}
.hp-cost-result {
  font-size: 12.5px;
  color: #534AB7;
  font-weight: 600;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  line-height: 1.45;
}
.hp-section-cta {
  display: inline-block;
  color: #534AB7 !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  border: 2px solid #534AB7;
  border-radius: 8px;
  padding: 10px 24px;
  transition: all 0.15s;
}
.hp-section-cta:hover { background: #534AB7; color: #fff !important; }

/* ── FILTER TABS ──────────────────────────────────────────── */
.hp-filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.hp-filter-tab {
  background: #f1f5f9;
  border: none;
  border-radius: 99px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.hp-filter-tab.active  { background: #534AB7; color: #fff; }
.hp-filter-tab:hover:not(.active) { background: #e2e8f0; }

.hp-sub-filters {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.hp-sub-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.hp-sub-btn.active { background: #021022; color: #fff; border-color: #021022; }
.hp-sub-btn:hover:not(.active) { background: #e2e8f0; }

/* ── SOLUTION CARDS ───────────────────────────────────────── */
.hp-sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.hp-sol-card {
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: 10px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hp-sol-card:hover {
  border-color: #534AB7;
  box-shadow: 0 4px 16px rgba(83,74,183,0.1);
}
.hp-sol-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}
.hp-sol-desc {
  font-size: 12px;
  color: #64748b;
  flex: 1;
  line-height: 1.55;
}
.hp-sol-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.hp-badge-ai {
  background: #EEEDFE;
  color: #3C3489;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}
.hp-badge-clasic {
  background: #f0f0f0;
  color: #666;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid #e0e0e0;
}
.hp-sol-arrow { font-size: 12px; color: #534AB7; }

/* ── CLIENTS CAROUSEL ─────────────────────────────────────── */
.hp-clients-carousel {
  overflow: hidden;
  position: relative;
  margin: 20px 0 12px;
}
.hp-clients-carousel::before,
.hp-clients-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.hp-clients-carousel::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.hp-clients-carousel::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }
.hp-clients-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: hp-clients-scroll 20s linear infinite;
}
.hp-clients-track:hover { animation-play-state: paused; }
@keyframes hp-clients-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hp-client-logo {
  width: 150px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-client-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hp-client-logo-sm img {
  width: 55%;
  height: 55%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.2s;
}
.hp-client-logo img:hover { filter: none; opacity: 1; }
.hp-clients-note {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* ── WHY DIGISINERGY ──────────────────────────────────────── */
.hp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.hp-stat {
  text-align: center;
  padding: 24px 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecf0;
}
.hp-stat-num {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: #534AB7;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.hp-stat-label { font-size: 13px; color: #64748b; line-height: 1.4; }
.hp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 580px;
}
.hp-bullets li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
}
.hp-bullets li::before {
  content: '\B7';
  color: #534AB7;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
  flex-shrink: 0;
}

/* ── PARTNERS ─────────────────────────────────────────────── */
.hp-partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 20px;
}
.hp-partners-heading {
  text-align: center;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  margin-bottom: 24px;
}
.hp-partners-t1 {
  font-weight: 700;
  color: #1a1a2e;
}
.hp-partners-t2 {
  font-weight: 400;
  color: #64748b;
}
.hp-partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hp-partner-item img {
  width: 80px;
  height: 36px;
  object-fit: contain;
}
.hp-partner-name {
  font-size: clamp(13px, 1.6vw, 18px);
  color: #475569;
  font-weight: 500;
  text-align: center;
}@media (max-width: 576px) {
  .hp-partners-row { gap: 24px; }
  .hp-partner-item img { width: 64px; height: 28px; }
}

/* ── CTA FINAL ────────────────────────────────────────────── */
.hp-cta-final-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hp-cta-contact {
  font-size: 14px;
  color: #475569;
  margin-top: 20px;
  text-align: center;
}
.hp-cta-contact a { color: #64748b; text-decoration: none; }
.hp-cta-contact a:hover { color: #fff; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hp-sol-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .hp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hp-cost-grid { grid-template-columns: 1fr; }
  .hp-sol-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-partners-row { gap: 32px; }
}
@media (max-width: 480px) {
  .hp-sol-grid { grid-template-columns: 1fr; }
  .hp-stats { grid-template-columns: 1fr 1fr; }
}
