/* ==========================================================
   EMAIL MARKETING PAGE STYLES – loaded only on email-marketing-services.php
   ========================================================== */

.em-center-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}
.em-center-head h2,
.em-intro__content h2,
.em-who__content h2,
.em-tool__intro h2,
.em-process__intro h2,
.em-faq__intro h2 {
  margin: 6px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */
.em-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0 130px;
  color: #c9d4ee;
  background: var(--navy-900);
}
.em-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(640px 400px at 8% 10%, rgba(30, 107, 255, 0.35), transparent 65%),
    radial-gradient(600px 400px at 92% 85%, rgba(225, 29, 72, 0.12), transparent 65%);
}
.em-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
}
.em-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.em-hero .crumbs {
  margin-bottom: 18px;
}
.em-hero h1 {
  color: #fff;
  font-size: clamp(32px, 3.9vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.em-hero__content > p {
  max-width: 560px;
  margin: 18px 0 22px;
  font-size: 16.5px;
  line-height: 1.7;
}
.em-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.em-hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.em-hero__points i {
  color: var(--cyan);
}
.em-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.em-hero__call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
}
.em-hero__call span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    background 0.3s,
    color 0.3s;
}
.em-hero__call:hover span {
  color: var(--navy-900);
  background: var(--cyan);
}

/* inbox simulation */
.em-hero__visual {
  position: relative;
  padding: 30px 22px 34px;
}
.inbox {
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.inbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #f3f6fb;
  border-bottom: 1px solid var(--line);
}
.inbox__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--ink);
}
.inbox__title i {
  color: var(--blue-600);
}
.inbox__tabs {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
.inbox__tabs b {
  color: var(--blue-600);
  box-shadow: 0 2px 0 var(--blue-600);
}
.inbox__list {
  position: relative;
  padding: 8px;
}
.mail {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  transition:
    translate 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.1),
    opacity 0.5s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}
.mail + .mail {
  border-top: 1px solid #eef2f8;
}
.mail__av {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--grad-primary);
}
.mail__av--a {
  background: #94a3b8;
}
.mail__av--b {
  background: #cbd5e1;
}
.mail__body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}
.mail__from {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.mail__new {
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 800;
  color: #fff;
  background: #e11d48;
  transition: opacity 0.4s;
}
.mail__subject {
  overflow: hidden;
  font-family: var(--font-head);
  font-size: 14.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink);
}
.mail__body small {
  overflow: hidden;
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
}
.mail__line {
  width: 78%;
  height: 8px;
  border-radius: 6px;
  background: #e8edf6;
}
.mail__line--s {
  width: 52%;
}
.mail__time {
  align-self: flex-start;
  font-size: 11.5px;
  color: var(--muted);
}
.mail__state {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.4s,
    color 0.4s,
    scale 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.mail--you {
  background: linear-gradient(90deg, var(--blue-50), #fff);
  box-shadow: 0 0 0 1.5px var(--blue-400);
}
.mail--you .mail__body {
  padding-right: 30px;
}
.inbox.is-out .mail--you {
  opacity: 0;
  translate: 0 -24px;
}
.inbox.is-opened .mail--you .mail__new {
  opacity: 0;
}
.inbox.is-opened .mail--you .mail__subject {
  font-weight: 600;
}
.inbox.is-opened .mail__state {
  color: #fff;
  background: var(--blue-600);
  scale: 1.1;
}
.inbox.is-clicked .mail--you {
  background: linear-gradient(90deg, #e9fbf0, #fff);
  box-shadow: 0 0 0 1.5px var(--green);
}
.inbox.is-clicked .mail__state {
  background: var(--green);
}
.inbox__funnel {
  display: grid;
  gap: 10px;
  margin: 4px 16px 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.funnel__row {
  display: grid;
  grid-template-columns: 72px 1fr 54px;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}
.funnel__row i {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e9f5;
}
.funnel__row b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-primary);
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.funnel__row:nth-child(3) b {
  background: linear-gradient(90deg, #2fe07a, #16a34a);
}
.funnel__row strong {
  text-align: right;
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--ink);
}
.echip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  opacity: 0;
  translate: 0 12px;
  scale: 0.92;
  transition:
    opacity 0.4s ease,
    translate 0.5s cubic-bezier(0.3, 1.5, 0.5, 1),
    scale 0.5s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.echip.is-show {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
.echip small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}
.echip strong {
  font-family: var(--font-head);
  font-size: 15px;
}
.echip__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad-primary);
}
.echip__icon--green {
  background: linear-gradient(135deg, #2fe07a, #16a34a);
}
.echip--open {
  top: 0;
  right: 0;
}
.echip--sale {
  left: 0;
  bottom: 0;
}

/* ---------- Platforms strip ---------- */
.em-platforms {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: -60px;
  padding: 20px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.em-platforms__label {
  flex: none;
  padding-right: 26px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
  border-right: 1px solid var(--line);
}
.em-platforms ul {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
}
.em-platforms li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.em-platforms li i {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.em-platforms li:hover i {
  color: #fff;
  background: var(--blue-600);
  transform: translateY(-3px);
}

/* ---------- Intro ---------- */
.em-intro {
  padding-top: 100px;
}
.em-intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.em-intro__content > p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.em-intro__grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 28px;
}
.em-intro__grid3 div {
  padding: 16px 14px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}
.em-intro__grid3 div:hover {
  transform: translateY(-4px);
  border-color: #c9d9ff;
}
.em-intro__grid3 i {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--blue-600);
}
.em-intro__grid3 strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--ink);
}
.em-intro__grid3 small {
  font-size: 12.5px;
  color: var(--muted);
}
.em-intro__media {
  position: relative;
  padding-bottom: 36px;
}
.em-intro__media figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 900 / 680;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.em-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.em-intro__media:hover img {
  transform: scale(1.04);
}
.em-intro__badge {
  position: absolute;
  left: -18px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  color: #c9d4ee;
  background: linear-gradient(150deg, #0f2766, var(--navy-900));
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.em-intro__badge > span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: var(--cyan);
}
.em-intro__badge p {
  font-size: 12.5px;
}
.em-intro__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  color: #fff;
}

/* ---------- Challenges ---------- */
.em-chal {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}
.em-chal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.chal {
  position: relative;
  padding: 26px 24px;
  border-radius: 22px;
  outline: none;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.chal:hover,
.chal:focus-visible {
  transform: translateY(-6px);
  border-color: #b7ebc9;
  box-shadow: 0 24px 50px rgba(13, 38, 96, 0.12);
}
.chal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.chal__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #e11d48;
  background: #fff1f3;
  transition:
    background 0.4s,
    color 0.4s,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.chal:hover .chal__icon,
.chal:focus-visible .chal__icon {
  color: #fff;
  background: linear-gradient(135deg, #2fe07a, #16a34a);
  transform: rotate(-8deg);
}
.chal__state {
  position: relative;
  display: grid;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chal__state > span {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  transition:
    opacity 0.35s ease,
    translate 0.35s ease;
}
.chal__bad {
  color: #e11d48;
  background: #fff1f3;
}
.chal__good {
  color: #15803d;
  background: #e9fbf0;
  opacity: 0;
  translate: 0 8px;
}
.chal:hover .chal__bad,
.chal:focus-visible .chal__bad {
  opacity: 0;
  translate: 0 -8px;
}
.chal:hover .chal__good,
.chal:focus-visible .chal__good {
  opacity: 1;
  translate: 0 0;
}
.chal h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}
.chal p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Services ---------- */
.em-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.emcard {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}
.emcard::before {
  /* envelope-flap style fill from the top */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, #13307a, var(--navy-900));
  clip-path: polygon(0 0, 100% 0, 100% 0, 50% 0, 0 0);
  transition: clip-path 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.emcard:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 26px 50px rgba(6, 21, 56, 0.22);
}
.emcard:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 100%, 0 100%);
}
.emcard__no {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #d6def0;
  transition: -webkit-text-stroke-color 0.45s;
}
.emcard:hover .emcard__no {
  -webkit-text-stroke-color: rgba(46, 230, 242, 0.6);
}
.emcard__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.45s ease,
    color 0.45s ease,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.emcard:hover .emcard__icon {
  color: var(--navy-900);
  background: var(--cyan);
  transform: rotate(-8deg);
}
.emcard h3 {
  margin-bottom: 10px;
  font-size: 18.5px;
  font-weight: 800;
  line-height: 1.3;
  transition: color 0.45s ease;
}
.emcard p {
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.45s ease;
}
.emcard__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
  transition: color 0.45s;
}
.emcard__link i {
  transition: transform 0.3s;
}
.emcard__link:hover i {
  transform: translateX(4px);
}
.emcard:hover h3 {
  color: #fff;
}
.emcard:hover p {
  color: #a9b6d6;
}
.emcard:hover .emcard__link {
  color: var(--cyan);
}

/* ---------- CTA band ---------- */
.em-boost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 24px;
  margin: 20px 0;
  padding: 44px 50px;
  border-radius: 30px;
  color: #dbe5ff;
  background:
    radial-gradient(420px 300px at 100% 0%, rgba(46, 230, 242, 0.3), transparent 65%),
    linear-gradient(120deg, #1e6bff 0%, #1554e8 40%, #0a2a8a 100%);
  box-shadow: 0 34px 70px rgba(10, 42, 138, 0.3);
}
.em-boost::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.2px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.em-boost__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.em-boost h2 {
  margin: 16px 0 24px;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}
.em-boost h2 span {
  color: var(--cyan);
}
.em-boost__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.em-boost__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  transition:
    background 0.3s,
    color 0.3s;
}
.em-boost__ghost:hover {
  color: var(--navy-900);
  background: #fff;
}
.em-boost__img {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
  animation: float 6s ease-in-out infinite;
}

/* ---------- Who we are + automation flows ---------- */
.em-who__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.em-who__content > p {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.em-who__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 22px;
}
.em-who__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}
.em-who__list i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fff;
  background: var(--green);
}
.flows {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 26px;
  border-radius: 30px;
  color: #a9b6d6;
  background:
    radial-gradient(360px 260px at 100% 0%, rgba(46, 230, 242, 0.18), transparent 70%),
    linear-gradient(150deg, #0f2766, var(--navy-900));
  box-shadow: 0 34px 70px rgba(10, 31, 79, 0.28);
}
.flows::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px);
  background-size: 18px 18px;
}
.flows__head {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.flows__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.flows__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flows__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: #c9d4ee;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.flows__tab:hover {
  color: #fff;
  border-color: rgba(46, 230, 242, 0.45);
}
.flows__tab.is-active {
  color: var(--navy-900);
  background: var(--cyan);
  border-color: var(--cyan);
}
.flow {
  position: relative;
  display: grid;
  gap: 12px;
}
.flow[hidden] {
  display: none;
}
.flow__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.flow__step + .flow__step::before {
  /* connector between steps */
  content: "";
  position: absolute;
  left: 32px;
  top: -13px;
  width: 2px;
  height: 13px;
  background: rgba(46, 230, 242, 0.45);
}
.flow.is-active .flow__step {
  animation: flowIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i) * 110ms);
}
@keyframes flowIn {
  from {
    opacity: 0;
    translate: -14px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.flow__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: #fff;
  background: var(--grad-primary);
}
.flow__step--trigger .flow__icon {
  color: var(--navy-900);
  background: var(--cyan);
}
.flow__step--wait .flow__icon {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
  border: 1px dashed rgba(245, 158, 11, 0.6);
}
.flow__step--goal {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
}
.flow__step--goal .flow__icon {
  background: linear-gradient(135deg, #2fe07a, #16a34a);
}
.flow__step.is-live {
  border-color: rgba(46, 230, 242, 0.7);
  box-shadow: 0 0 0 4px rgba(46, 230, 242, 0.1);
}
.flow__step--goal.is-live {
  border-color: rgba(47, 224, 122, 0.8);
  box-shadow: 0 0 0 4px rgba(47, 224, 122, 0.12);
}
.flow__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}
.flow__text small {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7f8db0;
}
.flow__text strong {
  font-family: var(--font-head);
  font-size: 15px;
  color: #fff;
}
.flow__text em {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(46, 230, 242, 0.1);
}
.flows__note {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  font-size: 12.5px;
}
.flows__note i {
  margin-top: 3px;
  color: var(--cyan);
}

/* ---------- Why choose us (dark) ---------- */
.em-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 20px 16px;
  padding: 90px 0 80px;
  border-radius: 36px;
  color: #a9b6d6;
  background: var(--navy-900);
}
.em-why__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(620px 380px at 0% 0%, rgba(30, 107, 255, 0.32), transparent 65%),
    radial-gradient(560px 360px at 100% 100%, rgba(225, 29, 72, 0.1), transparent 65%);
}
.em-why .section-head h2 {
  color: #fff;
}
.em-why .eyebrow {
  color: var(--cyan);
}
.em-why .eyebrow--line::before {
  background: var(--cyan);
}
.em-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ewhy {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.45s ease,
    border-color 0.45s ease;
}
.ewhy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ewhy:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(46, 230, 242, 0.4);
}
.ewhy:hover::after {
  transform: scaleX(1);
}
.ewhy__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.ewhy__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--cyan);
  background: rgba(46, 230, 242, 0.1);
  border: 1px solid rgba(46, 230, 242, 0.25);
  transition:
    background 0.45s,
    color 0.45s,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.ewhy:hover .ewhy__icon {
  color: var(--navy-900);
  background: var(--cyan);
  transform: rotate(-8deg);
}
.ewhy__no {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
  transition: -webkit-text-stroke-color 0.4s;
}
.ewhy:hover .ewhy__no {
  -webkit-text-stroke-color: var(--cyan);
}
.ewhy h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.ewhy p {
  font-size: 14px;
  line-height: 1.65;
}

/* ---------- Subject line tool ---------- */
@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
.em-tool {
  background: linear-gradient(180deg, var(--bg-soft), #fff);
}
.em-tool__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.em-tool__intro > p {
  font-size: 16px;
  color: var(--muted);
}
.subj {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: 22px;
  cursor: text;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.subj:focus-within {
  border-color: var(--blue-400);
  box-shadow:
    0 0 0 4px var(--blue-50),
    var(--shadow);
}
.subj__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.subj input {
  width: 100%;
  padding: 0;
  border: 0;
  outline: none;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
}
.subj__count {
  font-size: 12.5px;
  color: var(--muted);
}
.subj__count b {
  color: var(--blue-600);
}
.subj__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.subj__try {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s;
}
.subj__try:hover {
  color: var(--blue-600);
  border-color: #c9d9ff;
  background: var(--blue-50);
}
.subj-out {
  padding: 30px;
  border-radius: 30px;
  color: #a9b6d6;
  background:
    radial-gradient(360px 260px at 100% 0%, rgba(46, 230, 242, 0.2), transparent 70%),
    linear-gradient(150deg, #0f2766, var(--navy-900));
  box-shadow: 0 34px 70px rgba(10, 31, 79, 0.28);
}
.subj-out__score {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.subj-out__score > div:last-child strong {
  font-family: var(--font-head);
  font-size: 20px;
  color: #fff;
}
.subj-out__score p {
  font-size: 13px;
}
.score-ring {
  --c: #dc2626;
  flex: none;
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(255, 255, 255, 0.1) 0);
  transition:
    --p 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.5s;
}
.score-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #0d2360;
}
.score-ring span {
  position: relative;
  text-align: center;
  line-height: 1;
}
.score-ring strong {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}
.score-ring small {
  font-size: 11px;
}
.subj-out__preview {
  margin-bottom: 18px;
}
.subj-out__plabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.pmail {
  display: flex;
  gap: 12px;
  max-width: 340px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
}
.pmail__av {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--grad-primary);
}
.pmail__body {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.pmail__body b {
  font-size: 12.5px;
  color: var(--ink);
}
.pmail__body strong,
.pmail__body small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pmail__body strong {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--ink);
}
.pmail__body small {
  font-size: 12px;
  color: var(--muted);
}
.subj-out__tips {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.subj-out__tips li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.subj-out__tips i {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.subj-out__tips .ok i {
  color: #fff;
  background: var(--green);
}
.subj-out__tips .warn i {
  color: var(--navy-900);
  background: #f59e0b;
}
.subj-out__tips .ok {
  color: #dbe5ff;
}

/* ---------- Process timeline ---------- */
.em-process__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.em-process__intro {
  position: sticky;
  top: calc(var(--header-h, 80px) + 30px);
}
.em-process__intro > p {
  margin-bottom: 26px;
  font-size: 16px;
  color: var(--muted);
}
.etl {
  position: relative;
  display: grid;
  gap: 18px;
}
.etl::before,
.etl::after {
  /* track + blue line that draws once */
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: #e3e9f5;
}
.etl::after {
  background: var(--grad-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.etl.is-drawn::after {
  transform: scaleY(1);
}
.etl__item {
  position: relative;
  display: flex;
  gap: 20px;
}
.etl__dot {
  position: relative;
  z-index: 1;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--blue-600);
  background: #fff;
  border: 2px solid #c9d9ff;
  box-shadow: 0 0 0 6px #fff;
  transition:
    background 0.4s,
    color 0.4s,
    border-color 0.4s,
    transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.etl__card {
  flex: 1;
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.etl__item:hover .etl__card {
  transform: translateX(6px);
  border-color: #c9d9ff;
  box-shadow: 0 20px 44px rgba(13, 38, 96, 0.1);
}
.etl__item:hover .etl__dot {
  color: #fff;
  background: var(--grad-primary);
  border-color: transparent;
  transform: scale(1.08);
}
.etl__no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.etl__card h3 {
  margin: 4px 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.etl__card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.em-faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.em-faq__intro > p {
  font-size: 16px;
  color: var(--muted);
}
.em-faq__contact {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.em-faq__contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.3s;
}
.em-faq__contact span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: var(--blue-50);
  transition:
    background 0.3s,
    color 0.3s;
}
.em-faq__contact a:hover {
  color: var(--blue-600);
}
.em-faq__contact a:hover span {
  color: #fff;
  background: var(--blue-600);
}

@media (prefers-reduced-motion: reduce) {
  .em-boost__img,
  .em-intro__badge {
    animation: none;
  }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .em-platforms {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .em-platforms__label {
    padding: 0 0 14px;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .em-platforms__label br {
    display: none;
  }
  .em-platforms ul {
    justify-content: center;
    gap: 14px 26px;
  }
  .em-who__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .flows {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
}
@media (max-width: 1024px) {
  .em-hero__inner,
  .em-intro__grid,
  .em-tool__grid,
  .em-process__grid,
  .em-faq__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .em-hero__visual,
  .em-intro__media,
  .subj-out {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
  .em-process__intro {
    position: static;
  }
  .em-chal__grid,
  .em-services__grid,
  .em-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .em-boost {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .em-boost__img {
    justify-self: center;
    max-width: 360px;
  }
}
@media (max-width: 720px) {
  .em-hero {
    padding: 110px 0 100px;
  }
  .em-hero__content > p {
    font-size: 15.5px;
  }
  .em-hero__visual {
    padding: 34px 0 40px;
  }
  .inbox__tabs span {
    display: none;
  }
  .mail {
    padding: 10px 8px;
  }
  .inbox__funnel {
    margin: 4px 10px 12px;
  }
  .echip {
    padding: 9px 12px 9px 9px;
  }
  .echip__icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .echip strong {
    font-size: 14px;
  }
  .em-platforms {
    margin-top: -50px;
    padding: 18px 16px;
  }
  .em-platforms ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .em-platforms li {
    font-size: 14px;
  }
  .em-platforms li i {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .em-intro {
    padding-top: 70px;
  }
  .em-intro__badge {
    left: 10px;
  }
  .em-intro__grid3,
  .em-chal__grid,
  .em-services__grid,
  .em-why__grid,
  .em-who__list {
    grid-template-columns: 1fr;
  }
  .em-boost {
    padding: 32px 22px;
    border-radius: 24px;
  }
  .flows {
    padding: 20px 16px;
    border-radius: 24px;
  }
  .flows__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px 4px;
    scrollbar-width: none;
  }
  .flows__tabs::-webkit-scrollbar {
    display: none;
  }
  .flows__tab {
    flex: none;
  }
  .em-why {
    margin-left: 8px;
    margin-right: 8px;
    padding: 64px 0 44px;
    border-radius: 26px;
  }
  .subj-out {
    padding: 24px 18px;
  }
  .subj-out__score {
    gap: 14px;
  }
  .score-ring {
    width: 88px;
    height: 88px;
  }
  .score-ring strong {
    font-size: 25px;
  }
  .subj-out .btn {
    width: 100%;
  }
  .subj input {
    font-size: 16px;
  }
  .etl::before,
  .etl::after {
    left: 23px;
  }
  .etl__item {
    gap: 14px;
  }
  .etl__dot {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  .etl__card {
    padding: 16px 16px;
  }
}
@media (max-width: 420px) {
  .em-platforms ul {
    grid-template-columns: 1fr;
  }
  .mail__time {
    display: none;
  }
  .funnel__row {
    grid-template-columns: 64px 1fr 46px;
    gap: 8px;
  }
}
