/* ICTech homepage: hero slider + product rows */
.ictech-home { max-width: 1240px; margin: 0 auto; padding: 0 20px 48px; }

/* —— Hero: arrow | slider | arrow —— */
.ictech-slider-wrap {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin: 36px auto 36px;
  max-width: 1240px;
}
.ictech-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ictech-navy, #0B1F3A);
  min-height: 300px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ictech-slider__track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.ictech-slider.is-dragging .ictech-slider__track {
  transition: none;
}
.ictech-slider__slide {
  flex: 0 0 100%;
  min-height: 300px;
  padding: 48px 48px;
  box-sizing: border-box;
  color: #fff;
  position: relative;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(0,168,232,.35), transparent 55%),
    linear-gradient(135deg, #0B1F3A 0%, #122a4a 55%, #0a192f 100%);
}
.ictech-slider__slide[data-tone="orange"] {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(241,90,41,.4), transparent 50%),
    linear-gradient(135deg, #0B1F3A 0%, #1a2740 100%);
}
.ictech-slider__slide[data-tone="cyan"] {
  background:
    radial-gradient(ellipse at 75% 40%, rgba(0,168,232,.45), transparent 55%),
    linear-gradient(120deg, #071628 0%, #0B1F3A 60%, #06304a 100%);
}
.ictech-slider__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ictech-cyan, #00A8E8);
  margin-bottom: 12px;
}
.ictech-slider__slide[data-tone="orange"] .ictech-slider__kicker { color: #ffb089; }
.ictech-slider__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  max-width: 640px;
  color: #ffffff !important;
}
.ictech-slider__text {
  margin: 0 0 22px;
  font-size: 16px;
  color: rgba(255,255,255,.92) !important;
  max-width: 520px;
  line-height: 1.45;
}
.ictech-home .ictech-slider__kicker { color: var(--ictech-cyan, #00A8E8) !important; }
.ictech-home .ictech-slider__title,
.ictech-home .ictech-slider h2 { color: #ffffff !important; }
.ictech-slider__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ictech-primary, #2937E9);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}
.ictech-slider__cta:hover { filter: brightness(1.06); }

.ictech-slider__side-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--ictech-navy, #0B1F3A);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15,23,42,.08);
  flex-shrink: 0;
}
.ictech-slider__side-btn:hover {
  border-color: var(--ictech-cyan, #00A8E8);
  color: var(--ictech-cyan, #00A8E8);
}
.ictech-slider__dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; gap: 8px;
  pointer-events: none;
}
.ictech-slider__dot {
  pointer-events: auto;
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; padding: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}
.ictech-slider__dot.is-active { background: #fff; width: 22px; border-radius: 999px; }

/* —— Shared product section —— */
.ictech-section { margin-bottom: 40px; }
.ictech-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ictech-section__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #111;
}
.ictech-section__filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ictech-section__filter {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: border-color .15s, color .15s, box-shadow .15s;
}
.ictech-section__filter svg { width: 20px; height: 20px; }
.ictech-section__filter:hover { border-color: #cbd5e1; color: #4b5563; }

.ictech-section__filter.is-active {
  border-color: var(--ictech-primary, #2937E9);
  color: var(--ictech-primary, #2937E9);
  box-shadow: 0 0 0 2px rgba(41, 55, 233, .14);
  background: #eef0ff;
}

/* Match mega-menu category colors when active */
.ictech-section__filter[data-filter="repair"].is-active {
  border-color: #b91c1c;
  color: #b91c1c;
  background: #fee2e2;
  box-shadow: 0 0 0 2px rgba(185, 28, 28, .12);
}
.ictech-section__filter[data-filter="protection"].is-active {
  border-color: #3f6212;
  color: #3f6212;
  background: #ecfccb;
  box-shadow: 0 0 0 2px rgba(63, 98, 18, .12);
}
.ictech-section__filter[data-filter="accessories"].is-active {
  border-color: #1d4ed8;
  color: #1d4ed8;
  background: #dbeafe;
  box-shadow: 0 0 0 2px rgba(29, 78, 216, .12);
}
.ictech-section__filter[data-filter="phone"].is-active {
  border-color: #374151;
  color: #374151;
  background: #f3f4f6;
  box-shadow: 0 0 0 2px rgba(55, 65, 81, .12);
}
.ictech-section__filter[data-filter="computer"].is-active {
  border-color: #c2410c;
  color: #c2410c;
  background: #ffedd5;
  box-shadow: 0 0 0 2px rgba(194, 65, 12, .12);
}
.ictech-section__filter[data-filter="all"].is-active {
  border-color: var(--ictech-primary, #2937E9);
  color: var(--ictech-primary, #2937E9);
  background: #eef0ff;
  box-shadow: 0 0 0 2px rgba(41, 55, 233, .14);
}

.ictech-section__filter:not(.is-active) {
  color: #6b7280;
  background: #fff;
  border-color: #e5e7eb;
  box-shadow: none;
}


.ictech-section__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1100px) {
  .ictech-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ictech-slider-wrap { grid-template-columns: 36px 1fr 36px; gap: 8px; }
  .ictech-slider__side-btn { width: 36px; height: 36px; font-size: 18px; }
  .ictech-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ictech-slider__slide { padding: 28px 24px 52px; min-height: 260px; }
}

.ictech-section__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
  padding: 32px 16px;
}


/* Tighten gap under custom header on homepage */
body.ictech-front #main-container,
body.ictech-front .ct-container,
body.ictech-front .ct-container-full {
  --theme-content-vertical-spacing: 12px;
}
body.ictech-front #main > .ct-container,
body.ictech-front #main > .ct-container-full,
body.ictech-front .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
@media (max-width: 900px) {
  body.ictech-front #main > .ct-container,
  body.ictech-front #main > .ct-container-full {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.ictech-section__more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.ictech-section__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1.5px solid var(--ictech-primary, #2937E9);
  background: #fff;
  color: var(--ictech-primary, #2937E9);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .02em;
}
.ictech-section__more-btn:hover {
  background: var(--ictech-primary, #2937E9);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(41, 55, 233, .22);
}


body.ictech-front .hero-section { display: none !important; margin: 0 !important; padding: 0 !important; }

/* —— About / intro (Mobilax-style) —— */
.ictech-about {
  max-width: 1240px;
  margin: 8px auto 16px;
  padding: 28px 48px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef0f3;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  box-sizing: border-box;
}
.ictech-about__title {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  color: #111;
  letter-spacing: -.01em;
}
.ictech-about__body {
  font-size: 15px;
  line-height: 1.65;
  color: #4b5563;
}
.ictech-about__body p { margin: 0 0 12px; }
.ictech-about__body a {
  color: var(--ictech-primary, #2937E9);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ictech-about__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 0;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ictech-primary, #2937E9);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.ictech-about__toggle svg { transition: transform .2s ease; }
.ictech-about__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* —— Trust strip —— */
.ictech-trust {
  background: transparent;
  padding: 0 20px 36px;
  margin: 0 auto;
  max-width: 1240px;
  width: auto;
  box-sizing: border-box;
}
.ictech-trust__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.ictech-trust__card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
  padding: 22px 14px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 100%;
}
.ictech-trust__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #eef0ff;
  color: var(--ictech-primary, #2937E9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ictech-trust__icon svg { width: 24px; height: 24px; }
.ictech-trust__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}
@media (max-width: 960px) {
  .ictech-about { margin-bottom: 14px; padding: 22px 24px 18px; }
}
