/* ─────────────────────────────────────────────────────────
   eCommerce Email Marketing — /services/ecommerce-email-marketing/
   Accent matches legacy live page (.new-yellow-clr.yellow-color → #FF8E3E).
   ───────────────────────────────────────────────────────── */

body.ld-tpl-new-services-email {
  --red: #FF8E3E;
}

/* ── Shared atoms ─────────────────────────────────── */
.em-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; display: inline-block; }
.em-eyebrow--center { display: block; text-align: center; }
.em-h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 900; letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 14px; color: var(--black); text-transform: uppercase; }
.em-h2 em { font-style: normal; color: var(--red); font-weight: 900; }
.em-h2--center { text-align: center; }
.em-h2--white { color: var(--white); }
.em-h2--white em { color: var(--red); }
.em-section-inner { max-width: 1200px; margin: 0 auto; }
.em-section-head { margin: 0 auto 56px; max-width: 880px; text-align: center; }
.em-section-sub { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 14px auto 0; max-width: 760px; }
.em-section-sub--white { color: rgba(255,255,255,0.75); }

.em-btn { display: inline-flex; align-items: center; gap: 10px; padding: 17px 28px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-radius: 8px; transition: background 0.22s, color 0.22s, transform 0.22s, border-color 0.22s; white-space: nowrap; }
.em-btn svg { width: 14px; height: 14px; transition: transform 0.22s; }
.em-btn:hover svg:last-child { transform: translateX(4px); }
.em-btn--primary { background: var(--red); color: var(--white); box-shadow: 0 12px 28px rgba(255, 142, 62, 0.28); }
.em-btn--primary:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

/* ── HERO ──────────────────────────────────────────── */
.em-hero { position: relative; padding: 80px 48px 96px; background: radial-gradient(circle at 88% 10%, rgba(255, 142, 62, 0.22) 0%, transparent 45%), radial-gradient(circle at 0% 100%, rgba(255, 142, 62, 0.08) 0%, transparent 50%), var(--black); color: var(--white); overflow: hidden; }
.em-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%); }
.em-hero-watermark { position: absolute; bottom: -36px; right: -24px; font-size: clamp(6rem, 16vw, 14rem); font-weight: 900; letter-spacing: -0.04em; color: rgba(255,255,255,0.04); pointer-events: none; white-space: nowrap; line-height: 1; }
.em-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.em-hero-h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1; margin: 0 0 18px; color: var(--white); text-transform: uppercase; }
.em-hero-sub, .em-hero-sub-h2 { font-size: 22px; font-weight: 700; line-height: 1.35; color: rgba(255,255,255,0.95); margin: 0 0 22px; max-width: 560px; letter-spacing: -0.005em; }
.em-hero-sub strong, .em-hero-sub-h2 strong { color: var(--red); font-weight: 800; }
.em-hero-sub-h2 { text-transform: none; }
.em-section-sub--lead { font-size: 19px; color: var(--black); font-weight: 600; }
.em-acronyms { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1.05; margin: 22px auto; text-align: center; }
.em-strategy-callout { max-width: 1000px; margin: 16px auto 28px; text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.15; }
.em-strategy-callout em { color: var(--red); font-style: normal; font-weight: 900; }
.em-strategy-outro { text-align: center; margin: 48px auto 0; max-width: 720px; }
.em-hero-body { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.7); margin: 0 0 32px; max-width: 560px; }
.em-hero-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.em-hero-media { display: flex; justify-content: center; min-width: 0; }
.em-hero-thumb { width: 100%; max-width: 480px; height: auto; display: block; border-radius: 12px; box-shadow: 0 28px 64px rgba(0,0,0,0.4); }

/* ── METRICS GRID ────────────────────────────────── */
.em-metrics { padding: 96px 48px; background: var(--white); }
.em-metrics-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.em-metric-card { padding: 30px 24px 26px; background: var(--bg); border: 1px solid var(--rule); border-radius: 14px; transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s; }
.em-metric-card:hover { transform: translateY(-3px); border-color: rgba(255, 142, 62, 0.4); box-shadow: 0 16px 36px rgba(0,0,0,0.05); }
.em-metric-short { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; background: var(--red); color: var(--white); font-size: 16px; font-weight: 900; letter-spacing: 0.04em; border-radius: 10px; margin: 0 0 16px; }
.em-metric-label { font-size: 17px; font-weight: 800; color: var(--black); margin: 0 0 8px; letter-spacing: -0.01em; }
.em-metric-desc { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ── STRATEGY (DARK BANNER) ──────────────────────── */
.em-strategy { padding: 96px 48px; background: radial-gradient(circle at 80% 10%, rgba(255, 142, 62, 0.22) 0%, transparent 50%), radial-gradient(circle at 0% 100%, rgba(255, 142, 62, 0.08) 0%, transparent 55%), var(--black); color: var(--white); position: relative; overflow: hidden; }
.em-strategy::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; mask-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 80%); }
.em-strategy > * { position: relative; z-index: 1; }
.em-strategy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.em-strategy-card { position: relative; padding: 40px 32px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; transition: transform 0.22s, background 0.22s, border-color 0.22s; }
.em-strategy-card::before { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 0.3s; }
.em-strategy-card:hover { transform: translateY(-3px); background: rgba(255, 142, 62, 0.07); border-color: rgba(255, 142, 62, 0.4); }
.em-strategy-card:hover::before { transform: scaleY(1); }
.em-strategy-num { display: inline-block; font-size: 32px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1; margin: 0 0 16px; }
.em-strategy-title { font-size: 22px; font-weight: 800; color: var(--white); margin: 0 0 12px; letter-spacing: -0.01em; }
.em-strategy-desc { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0; }

/* ── ROI ───────────────────────────────────────────── */
.em-roi { padding: 96px 48px; background: var(--white); }
.em-roi-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.em-roi-text p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 16px; }
.em-roi-text p:last-child { margin-bottom: 0; }
.em-roi-text strong { color: var(--black); font-weight: 700; }
.em-roi-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.em-roi-stat { padding: 28px 32px; background: var(--bg); border: 1px solid var(--rule); border-left: 4px solid var(--red); border-radius: 12px; display: flex; flex-direction: column; gap: 6px; transition: transform 0.22s, box-shadow 0.22s; }
.em-roi-stat:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.05); }
.em-roi-stat-num { font-size: 36px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1; }
.em-roi-stat-num small { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); margin-left: 6px; text-transform: lowercase; }
.em-roi-stat-label { font-size: 14px; line-height: 1.45; color: var(--black); font-weight: 600; }

/* ── KNOWLEDGE ─────────────────────────────────────── */
.em-knowledge { padding: 80px 48px; background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.em-knowledge-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.em-knowledge-body { font-size: 16.5px; line-height: 1.75; color: var(--muted); margin: 14px auto 0; }
.em-knowledge-body strong { color: var(--black); font-weight: 700; }

/* ── 10-STEP PROCESS ───────────────────────────────── */
.em-process { padding: 96px 48px; background: var(--white); }
.em-process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; counter-reset: em-process; }
.em-process-item { display: flex; gap: 20px; padding: 26px 28px; background: var(--bg); border: 1px solid var(--rule); border-radius: 14px; transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s; }
.em-process-item:hover { transform: translateY(-2px); border-color: rgba(255, 142, 62, 0.4); box-shadow: 0 14px 32px rgba(0,0,0,0.05); }
.em-process-num { font-size: 28px; font-weight: 900; color: var(--red); letter-spacing: -0.02em; line-height: 1.1; flex-shrink: 0; min-width: 44px; }
.em-process-text { font-size: 14.5px; line-height: 1.65; color: var(--black); margin: 0; }

/* ── BRANDS WE'VE WORKED WITH (live verbatim logos) ── */
.em-brands { padding: 64px 48px; background: var(--white); }
.em-brands-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 24px; list-style: none; padding: 0; margin: 0; align-items: center; }
.em-brand { display: flex; align-items: center; justify-content: center; }
.em-brand img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) opacity(0.7); transition: filter 0.25s; }
.em-brand:hover img { filter: grayscale(0) opacity(1); }
@media (max-width: 900px) {
  .em-brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
}
@media (max-width: 540px) {
  .em-brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-brand img { max-height: 52px; }
}

/* ── LIFECYCLE DIAGRAM (live verbatim image) ───────── */
.em-lifecycle { padding: 96px 48px; background: var(--bg); border-top: 1px solid var(--rule); }
.em-lifecycle-diagram { display: block; max-width: 1100px; margin: 24px auto 0; }
.em-lifecycle-diagram img { width: 100%; height: auto; display: block; }

/* ── UNIQUE APPROACH (live verbatim intro) ─────────── */
.em-approach { padding: 56px 48px 0; background: var(--white); }

/* ── ROI PROSE BLOCK ──────────────────────────────── */
.em-roi-prose { max-width: 880px; margin: 0 auto; }
.em-roi-prose p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 18px; }
.em-roi-prose p:last-child { margin: 0; }
.em-roi-prose strong { color: var(--black); font-weight: 800; }

/* ── STRATEGY SECTION (no per-card title; outro paragraphs) ── */
.em-strategy-outro { margin-top: 40px; font-weight: 500; }
.em-strategy-card { padding: 30px 28px; }
.em-strategy-desc { color: rgba(255,255,255,0.88); font-size: 16px; line-height: 1.6; margin: 0; }

/* ── FINAL CTA ────────────────────────────────────── */
.em-cta { padding: 96px 48px; background: radial-gradient(circle at 50% 0%, rgba(255, 142, 62, 0.22) 0%, transparent 55%), var(--black); color: var(--white); position: relative; overflow: hidden; }
.em-cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; mask-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 80%); }
.em-cta-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.em-cta-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 18px; color: var(--white); text-transform: uppercase; }
.em-cta-title em { font-style: normal; color: var(--red); font-weight: 900; }
.em-cta-sub { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.78); margin: 0 0 36px; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1100px) {
  .em-metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .em-hero { padding: 64px 28px 72px; }
  .em-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .em-metrics, .em-strategy, .em-roi, .em-knowledge, .em-process, .em-lifecycle, .em-cta { padding: 72px 28px; }
  .em-roi-grid { grid-template-columns: 1fr; gap: 40px; }
  .em-strategy-grid, .em-lifecycle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .em-hero { padding: 56px 20px 64px; }
  .em-metrics, .em-strategy, .em-roi, .em-knowledge, .em-process, .em-lifecycle, .em-cta { padding: 56px 20px; }
  .em-metrics-grid, .em-process-list { grid-template-columns: 1fr; }
  .em-hero-actions { flex-direction: column; width: 100%; }
  .em-hero-actions .em-btn { width: 100%; justify-content: center; }
  .em-roi-stat { padding: 22px 24px; }
  .em-roi-stat-num { font-size: 30px; }
}
