.emal-svc-eyebrow {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: var(--emal-fs-eyebrow, 14px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-title {
  margin: 0;
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: var(--emal-fs-h2, clamp(34px, 4vw, 52px));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--emal-white, #fff);
}

.emal-svc-lead {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--emal-fs-lead, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: pretty;
}

.emal-svc-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.emal-svc-grid {
  position: relative;
  overflow: hidden;
  background: #0e0f10;
}

.emal-svc-grid__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emal-svc-grid__overlay {
  position: absolute;
  inset: 0;
  background: #0b0c0d;
}

.emal-svc-grid__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 13, 0.55) 0%, rgba(11, 12, 13, 0) 30%, rgba(11, 12, 13, 0) 55%, rgba(11, 12, 13, 0.75) 100%);
}

.emal-svc-grid__inner {
  position: relative;
  max-width: var(--emal-container, 1540px);
  margin: 0 auto;
  padding: var(--emal-space-xl, 96px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: var(--emal-space-lg, 64px);
}

.emal-svc-grid__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.emal-svc-grid__header .emal-svc-lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
}

.emal-svc-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.emal-svc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px 26px;
  min-height: 200px;
  background: rgba(20, 21, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: inherit;
  text-decoration: none;
  transition:
    transform 450ms cubic-bezier(0.22, 0.68, 0, 1),
    border-color 350ms ease,
    background 350ms ease,
    box-shadow 450ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emal-orange, #ff8f20), #ffb066);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 700ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 143, 32, 0.7);
  background: rgba(20, 21, 23, 0.88);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
}

.emal-svc-card:hover::before {
  transform: scaleX(1);
}

.emal-svc-card:hover::after {
  left: 130%;
}

.emal-svc-card .emal-svc-num {
  transition: color 300ms ease;
}

.emal-svc-card:hover .emal-svc-num {
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.emal-svc-card__name {
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--emal-white, #fff);
}

.emal-svc-card__desc {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: pretty;
}

.emal-svc-card__more {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-card__more span {
  transition: transform 350ms cubic-bezier(0.22, 0.68, 0, 1);
}

.emal-svc-card:hover .emal-svc-card__more span {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .emal-svc-card,
  .emal-svc-card::before,
  .emal-svc-card::after,
  .emal-svc-card__more span {
    transition: none;
  }

  .emal-svc-card:hover {
    transform: none;
  }
}

.emal-svc-showcase {
  background: var(--emal-dark, #141416);
}

.emal-svc-showcase__inner {
  max-width: var(--emal-container, 1540px);
  margin: 0 auto;
  padding: var(--emal-space-xl, 96px) clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: var(--emal-space-lg, 56px);
}

.emal-svc-showcase__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
}

.emal-svc-showcase__heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.emal-svc-showcase__lead {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.66);
}

.emal-svc-showcase__body {
  display: grid;
  grid-template-columns: minmax(300px, 400px) 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}

.emal-svc-showcase__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.emal-svc-row {
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 18px;
  margin: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 220ms ease, border-color 220ms ease;
}

.emal-svc-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.emal-svc-row.is-active {
  border-left-color: var(--emal-orange, #ff8f20);
  background: rgba(255, 143, 32, 0.08);
}

.emal-svc-row__name {
  flex: 1;
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
  transition: color 220ms ease;
}

.emal-svc-row.is-active .emal-svc-row__name {
  color: var(--emal-white, #fff);
}

.emal-svc-row__arrow {
  color: rgba(255, 255, 255, 0.45);
  font-size: 16px;
}

.emal-svc-row.is-active .emal-svc-num,
.emal-svc-row.is-active .emal-svc-row__arrow {
  color: var(--emal-orange, #ff8f20);
}

.emal-svc-showcase__media {
  position: relative;
  overflow: hidden;
  background: #0e0f10;
  min-height: clamp(380px, 40vw, 560px);
}

.emal-svc-media {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 450ms ease;
}

.emal-svc-media.is-active {
  opacity: 1;
}

.emal-svc-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emal-svc-media__placeholder {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #1a1c1e 0px, #1a1c1e 14px, #202225 14px, #202225 28px);
}

.emal-svc-media__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 15, 16, 0.75);
  padding: 8px 14px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--emal-white, #fff);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.emal-svc-media__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emal-orange, #ff8f20);
}

.emal-svc-showcase__caption-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(14, 15, 16, 0) 0%, rgba(14, 15, 16, 0.88) 55%);
  padding: 96px 36px 32px;
}

.emal-svc-caption {
  display: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.emal-svc-caption.is-active {
  display: flex;
}

.emal-svc-caption.is-active .emal-svc-caption__text {
  animation: emalCaptionIn 550ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)) both;
}

.emal-svc-caption.is-active .emal-svc-caption__cta {
  animation: emalCaptionIn 550ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)) 90ms both;
}

@keyframes emalCaptionIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.emal-svc-caption__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 620px;
}

.emal-svc-caption__name {
  font-family: "Conthrax", "Archivo", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--emal-white, #fff);
}

.emal-svc-caption__desc {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  text-wrap: pretty;
}

.emal-svc-caption__cta {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--emal-orange, #ff8f20);
  border: 1px solid var(--emal-orange, #ff8f20);
  color: var(--emal-white, #fff);
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  min-height: 44px;
  padding: 0 28px;
  border-radius: var(--emal-radius-btn, 4px);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--emal-transition, 220ms ease),
    background-color var(--emal-transition, 220ms ease),
    border-color var(--emal-transition, 220ms ease),
    transform 450ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1)),
    box-shadow 450ms ease;
}

.emal-svc-caption__cta::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 700ms var(--emal-hover-ease, cubic-bezier(0.22, 0.68, 0, 1));
}

.emal-svc-caption__cta:hover {
  background: #ffa04d;
  border-color: #ffa04d;
  color: var(--emal-white, #fff);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(255, 143, 32, 0.38);
}

.emal-svc-caption__cta:hover::before {
  left: 130%;
}

.emal-svc-caption__cta:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .emal-svc-caption.is-active .emal-svc-caption__text,
  .emal-svc-caption.is-active .emal-svc-caption__cta {
    animation: none;
  }

  .emal-svc-media {
    transition: none;
  }

  .emal-svc-caption__cta,
  .emal-svc-caption__cta::before {
    transition: none;
  }

  .emal-svc-caption__cta:hover {
    transform: none;
  }
}

@media (max-width: 991px) {
  .emal-svc-grid__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .emal-svc-showcase__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .emal-svc-showcase__body {
    grid-template-columns: 1fr;
  }

  .emal-svc-showcase__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .emal-svc-grid__cards {
    grid-template-columns: 1fr;
  }

  .emal-svc-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .emal-svc-showcase__caption-wrap {
    padding: 72px 20px 24px;
  }

  .emal-svc-showcase__media {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .emal-svc-row {
    padding: 18px 14px;
  }
}
