:root {
  --el-purple: #723988;
  --el-magenta: #c6168d;
  --el-trout: #3f454f;
  --el-blue: #4462e4;
  --el-blue-active: #2f51e1;
  --el-blue-hover: #3a59e2;
  --el-dark: #07090f;
  --el-light: #f5f7fa;
  --el-border: #e5e7eb;
  --el-text: #1f2937;
  --el-muted: #6b7280;
}

.et-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--el-light);
}

@supports not (aspect-ratio: 4 / 3) {
  .et-img-frame {
    height: 0;
    padding-bottom: 75%;
  }
}

.et-img-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.et-img-cover {
  object-fit: cover;
  object-position: center;
}

.et-img-contain {
  object-fit: contain;
  object-position: center;
  padding: 22px;
}

.et-frame-purple {
  background: var(--el-purple);
}

.et-frame-soft {
  background: linear-gradient(150deg, #faf7fc 0%, #f1eaf5 100%);
}

@media (max-width: 600px) {
  .et-img-contain {
    padding: 14px;
  }
}

/* ── HERO ── */
.et-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  overflow: hidden;
  margin: 0 -15px;
  background: var(--el-light);
}

.et-hero-left {
  padding: 64px 60px 64px 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.et-hero-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--el-purple), var(--el-magenta));
}

.et-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--el-purple);
  border: 1.5px solid var(--el-purple);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
  width: fit-content;
}

.et-hero-left h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: var(--el-text);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.et-hero-left h1 .et-accent {
  background: linear-gradient(90deg, var(--el-purple), var(--el-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--el-magenta);
}

.et-hero-left p {
  font-size: clamp(14px, 1rem, 1.05rem);
  color: var(--el-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}

.et-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.et-btn-primary {
  background: var(--el-blue);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.et-btn-primary:hover {
  background: var(--el-blue-hover);
  text-decoration: none;
}

.et-btn-primary:active {
  background: var(--el-blue-active);
}

.et-btn-outline {
  border: 1.5px solid #9ca3af;
  color: var(--el-text) !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  background: transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
  display: inline-block;
}

.et-btn-outline:hover {
  border-color: var(--el-purple);
  color: var(--el-purple) !important;
  text-decoration: none;
}

.et-hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: radial-gradient(circle at 60% 45%, #ffffff 0%, var(--el-light) 70%);
}

.et-hero-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
}

@media (max-width: 820px) {
  .et-hero {
    grid-template-columns: 1fr;
  }
  .et-hero-left {
    padding: 44px 32px 44px 40px;
  }
  .et-hero-right {
    padding: 32px 24px 40px;
  }
  .et-hero-img {
    max-height: 260px;
  }
}

/* ── CATEGORY QUICK NAV ── */
.et-catnav {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--el-dark);
  margin: 0 -15px;
  flex-wrap: wrap;
}

.et-catnav-item {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 18px;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.2s,
    color 0.2s;
}

.et-catnav-item:last-child {
  border-right: none;
}

.et-catnav-item i {
  font-size: 18px;
}

.et-catnav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff !important;
  text-decoration: none;
}

/* ── SECTION HEADINGS ── */
.et-solutions-intro {
  padding: 70px 30px 10px;
  background: #fff;
  text-align: center;
}

.et-section-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--el-text);
  margin-bottom: 12px;
}

.et-section-sub {
  font-size: clamp(14px, 1rem, 1.05rem);
  color: var(--el-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CATEGORY BLOCKS ── */
.et-category {
  padding: 60px 30px;
  background: #fff;
  scroll-margin-top: 80px;
}

.et-category-alt {
  background: var(--el-light);
}

.et-category-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.et-category-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 40px;
}

.et-category-head-rev .et-category-head-text {
  order: 2;
}

.et-category-head-rev .et-img-frame {
  order: 1;
}

.et-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.et-tag-purple {
  color: var(--el-purple);
  background: rgba(114, 57, 136, 0.1);
}

.et-tag-magenta {
  color: var(--el-magenta);
  background: rgba(198, 22, 141, 0.1);
}

.et-tag-blue {
  color: var(--el-blue);
  background: rgba(68, 98, 228, 0.1);
}

.et-category-head-text h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--el-text);
  margin-bottom: 14px;
  letter-spacing: -0.4px;
}

.et-category-head-text p {
  font-size: clamp(14px, 1rem, 1.02rem);
  color: var(--el-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── PRODUCT CARDS ── */
.et-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.et-product-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.et-product-card {
  background: #fff;
  border: 1px solid var(--el-border);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s,
    border-color 0.2s;
}

.et-product-card:hover {
  box-shadow: 0 10px 30px rgba(63, 69, 79, 0.12);
  transform: translateY(-3px);
  border-color: #d5d9e0;
}

.et-product-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.et-icon-purple {
  background: rgba(114, 57, 136, 0.1);
  color: var(--el-purple);
}

.et-icon-magenta {
  background: rgba(198, 22, 141, 0.1);
  color: var(--el-magenta);
}

.et-icon-blue {
  background: rgba(68, 98, 228, 0.1);
  color: var(--el-blue);
}

.et-product-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--el-text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.et-product-card p {
  font-size: 13.5px;
  color: var(--el-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.et-card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--el-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
  width: fit-content;
}

.et-card-link:hover {
  color: var(--el-blue-hover);
  text-decoration: none;
  gap: 9px;
}

@media (max-width: 1000px) {
  .et-product-grid,
  .et-product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .et-category-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .et-category-head-rev .et-category-head-text {
    order: 1;
  }
  .et-category-head-rev .et-img-frame {
    order: 2;
  }
  /* Stacked: cap frame height so tall/portrait art doesn't dominate the page */
  .et-img-frame {
    aspect-ratio: 16 / 10;
    max-height: 320px;
  }
}

@media (max-width: 600px) {
  .et-category {
    padding: 46px 20px;
  }
  .et-solutions-intro {
    padding: 50px 20px 6px;
  }
  .et-product-grid,
  .et-product-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ── WHY ENTRUST ── */
.et-why {
  padding: 80px 30px;
  background: #fff;
}

.et-why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: center;
}

.et-why-left h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--el-text);
  margin-bottom: 12px;
}

.et-why-lead {
  font-size: 14px;
  color: var(--el-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.et-why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--el-border);
}

.et-why-item:last-child {
  border-bottom: none;
}

.et-why-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--el-light);
  border: 1px solid var(--el-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--el-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.et-why-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--el-text);
  margin-bottom: 5px;
}

.et-why-item p {
  font-size: 13px;
  color: var(--el-muted);
  line-height: 1.6;
  margin: 0;
}

.et-why-visual {
  background: var(--el-dark);
  border-radius: 16px;
  padding: 42px 34px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.et-why-visual::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(114, 57, 136, 0.35);
}

.et-why-visual::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(198, 22, 141, 0.22);
}

.et-visual-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(198, 22, 141, 0.18);
  border: 1px solid rgba(198, 22, 141, 0.45);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #f0a6d6;
  margin-bottom: 22px;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.et-visual-heading {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.et-visual-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.et-visual-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.et-visual-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

@media (max-width: 820px) {
  .et-why-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .et-why {
    padding: 50px 20px;
  }
}

/* ── CTA ── */
.et-cta {
  background: linear-gradient(120deg, var(--el-dark) 0%, #1b1030 55%, var(--el-purple) 100%);
  padding: 80px 30px;
  text-align: center;
  margin: 0 -15px;
}

.et-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.et-cta h2 .et-cta-accent {
  color: #f0a6d6;
}

.et-cta p {
  font-size: clamp(14px, 1rem, 1.05rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.et-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.et-btn-cta-primary {
  background: #fff;
  color: var(--el-purple) !important;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  display: inline-block;
}

.et-btn-cta-primary:hover {
  background: var(--el-magenta);
  color: #fff !important;
  text-decoration: none;
}

.et-btn-cta-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
  display: inline-block;
}

.et-btn-cta-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

