/* ========================================
   DIRECTION A: BOLD CANVAS — ONLINE MARKETING
   Ported from concept-a-online-marketing.html
   Hero with corner-bracket frame + spinning art, opportunity benefit cards,
   SEO Foundation/Essentials/Growth tiers, copywriting deliverable grid,
   email marketing process steps, social statement rows, CTA form.
   ======================================== */

/* Kadence Neutralization (:where wrapped — from line 1, applies before any custom rules) */
:where(body.pop-online-marketing-template) h1,
:where(body.pop-online-marketing-template) h2,
:where(body.pop-online-marketing-template) h3,
:where(body.pop-online-marketing-template) h4,
:where(body.pop-online-marketing-template) h5,
:where(body.pop-online-marketing-template) h6 {
  color: inherit; font-family: inherit; font-weight: inherit;
}
:where(body.pop-online-marketing-template) p { margin: 0; }
:where(body.pop-online-marketing-template) ul,
:where(body.pop-online-marketing-template) ol { margin: 0; padding: 0; list-style: none; }
:where(body.pop-online-marketing-template) a { color: inherit; text-decoration: none; }

:root {
  --navy: #1B2A4A;
  --navy-light: #2D4066;
  --cream: #FAF8F5;
  --cream-warm: #F5F0E8;
  --white: #FFFFFF;
  --coral: #E85D4A;
  --coral-light: #FF7A6A;
  --amber: #E8A84C;
  --teal: #1A9B8C;
  --teal-light: #3DB8A9;
  --blue-accent: #4A7FE5;
  --text-primary: #1B2A4A;
  --text-secondary: #5A6B7F;
  --text-light: #6B7785;
  --border-subtle: rgba(27, 42, 74, 0.08);
  --pop-purple: #8232AA;

  --font-display: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-brand: 'Space Grotesk', 'Inter', sans-serif;
  --section-pad: var(--space-section-m); /* 40 → 72 — Token Pack rem-based (was 40 → 64 px-based) */
  --hero-to-first-pad: var(--space-section-s); /* 32 → 56 — Token Pack rem-based */
  --section-pad-tight: clamp(1.5rem, calc(1.07rem + 2.14vw), 2.5rem); /* 24 → 40 — rem-based, was px-based */
  --container-max: 1320px;
  --container-pad: var(--space-container-pad); /* 24 → 60 — Token Pack rem-based */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-display); color: var(--text-primary); background: var(--cream); overflow-x: hidden; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ======== REVEAL DIRECTIONAL ANIMATIONS ======== */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ======== SCROLL PROGRESS BAR ======== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--pop-purple));
  z-index: 2000;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* ======== NAV ======== */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: all 0.4s; background: #FAF8F5; }
.site-nav.scrolled { background: rgba(250,248,245,0.95); backdrop-filter: blur(20px); padding: 14px 0; box-shadow: 0 1px 0 var(--border-subtle); }
.nav-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; height: 52px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links > li > a { font-family: var(--font-brand); font-size: var(--type-caption); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); transition: color 0.3s; }
.nav-links > li > a:hover { color: var(--navy); }
.nav-links .active { color: var(--navy); font-weight: 700; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: #D33E26; color: var(--white) !important; border-radius: 100px; font-family: var(--font-brand); font-size: var(--type-caption); font-weight: 500; transition: all 0.3s; }
.nav-cta:hover { background: var(--coral-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,93,74,0.3); }
.nav-home { display: inline-flex; align-items: center; padding: 6px; border-radius: 6px; transition: all 0.2s; opacity: 0.5; }
.nav-home:hover { opacity: 1; background: rgba(27, 42, 74, 0.06); }
/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 220px; background: #FFF; border-radius: 12px; box-shadow: 0 8px 32px rgba(27,42,74,0.12); padding: 8px 0; opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s; transform: translateX(-50%) translateY(8px); pointer-events: none; z-index: 1001; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: var(--type-eyebrow); font-weight: 500; color: #5A6B7F; transition: all 0.15s; white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(27,42,74,0.04); color: #1B2A4A; }
/* Mega Menu */
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 640px; background: #FFF; border-radius: 16px;
  box-shadow: 0 12px 48px rgba(27,42,74,0.14), 0 0 0 1px rgba(27,42,74,0.04);
  padding: 28px 32px 20px; opacity: 0; visibility: hidden;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none; z-index: 1001;
}
.mega-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.mega-menu-item { display: block; padding: 12px 14px; border-radius: 10px; transition: background 0.15s; }
.mega-menu-item:hover { background: rgba(27,42,74,0.035); }
.mega-menu-item .mega-title { font-size: var(--type-caption); font-weight: 600; font-family: var(--font-brand); color: #1B2A4A; display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.mega-menu a { text-transform: none; letter-spacing: normal; font-family: var(--font-display); font-weight: 400; }
.mega-menu-item .mega-desc { font-size: 12.5px; color: #5A6B7F; line-height: 1.5; }
.mega-menu-item.mega-featured .mega-title { color: #D33E26; }
.mega-menu-item.mega-featured .mega-badge { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(232, 93, 74, 0.08); color: #C7402D; padding: 2px 7px; border-radius: 4px; line-height: 1.4; }
.mega-menu-footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(27,42,74,0.06); text-align: center; }
.mega-menu-footer a { font-size: var(--type-eyebrow); font-weight: 600; color: #D33E26; transition: color 0.2s; }
.mega-menu-footer a:hover { color: #FF7A6A; }
@media (max-width: 1024px) and (min-width: 769px) {
  .mega-menu { width: 520px; padding: 24px 24px 16px; }
}
@media (max-width: 768px) { .mega-menu { display: none; } }
.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ======== SERVICE PAGE HERO (Single-column with hash-bracket frame) ======== */
/* Layout matches AI Services — same positioning, spacing, proportions */
.service-hero {
  padding: 120px 0 32px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  min-height: 520px;
}

.service-hero-content {
  position: relative;
  z-index: 2;
}

/* ======== HERO FRAME — CORNER BRACKETS (arrow-elbow crop marks) ======== */
.hero-frame {
  position: absolute;
  top: 150px;
  bottom: 40px;
  left: max(24px, calc(50% - 660px + 60px));
  right: max(24px, calc(50% - 255px));
  z-index: 1;
  pointer-events: none;
}
.corner-bracket {
  position: absolute;
  opacity: 0.7;
}
.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: -340px; }
.corner-bl { bottom: 0; left: 0; }
.corner-br { bottom: 0; right: -340px; }

.hero-breadcrumb {
  font-size: var(--type-eyebrow);
  color: var(--text-light);
  margin-top: 3px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-breadcrumb a { transition: color 0.2s; }
.hero-breadcrumb a:hover { color: var(--coral); }

.service-hero-headline {
  font-size: var(--type-hero-l);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 9px;
  margin-left: 60px;
}

.service-hero-headline .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}

.service-hero-headline .accent { color: var(--coral); }

/* Hero artwork — one-time 360 spin on load */
@keyframes heroArtSpinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.hero-art-spin {
  transform-origin: 54% 50%;
  animation: heroArtSpinOnce 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1s 1 both;
}
@media (prefers-reduced-motion: reduce) {
  .hero-art-spin { animation: none; }
}

/* Magnifying-glass icon standing in for 'o' in found/noticed */
.hero-o-icon {
  font-size: 0.72em;
  color: var(--coral);
  vertical-align: -0.03em;
  display: inline-block;
  line-height: 1;
  margin: 0 -3px 0 0.02em;
}

.hero-sub-line {
  font-size: clamp(1.125rem, calc(1.05rem + 0.36vw), 1.375rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  margin-left: 60px;
}

.service-hero-sub {
  font-size: clamp(0.9375rem, calc(0.9rem + 0.18vw), 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin-left: 60px;
  margin-bottom: 14px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-left: 80px; justify-content: flex-end; max-width: 780px; }

.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 18px 36px; background: var(--navy); color: var(--white); border-radius: 100px; font-family: var(--font-brand); font-size: var(--type-body-s); font-weight: 500; transition: all 0.3s; border: none; cursor: pointer; position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.4s;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(27,42,74,0.2); }

.btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 18px 32px; color: var(--navy); border: 2px solid var(--border-subtle); border-radius: 100px; font-family: var(--font-brand); font-size: var(--type-body-s); font-weight: 500; transition: all 0.3s; cursor: pointer; background: transparent; }
.btn-secondary:hover { border-color: var(--navy); }

/* ======== OPPORTUNITY SECTION ======== */
.opportunity-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.opportunity-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.opportunity-content {
  position: relative;
}

.benefit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.benefit-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s;
}

.benefit-card:hover {
  background: var(--white);
  box-shadow: 0 12px 40px rgba(27,42,74,0.06);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-brand);
  margin-bottom: 8px;
  color: var(--navy);
}

.benefit-card p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ======== SHARED SECTION STYLES ======== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-brand);
  font-size: var(--type-eyebrow);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pop-purple);
  margin-bottom: 20px;
}
.section-eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }

.section-title {
  font-size: var(--type-h2-xl);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-title .light { font-weight: 300; color: var(--text-secondary); }

/* ======== SERVICE SECTIONS (alternating bg) ======== */
.service-detail-section {
  padding: var(--section-pad) 0;
}
.service-detail-section.bg-white { background: var(--white); }
.service-detail-section.bg-cream { background: var(--cream); }

.service-detail-intro {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 48px;
}

/* Two-column split for sub-sections */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
}

.service-subsection { margin-bottom: 40px; }

.service-subsection h3 {
  font-family: var(--font-brand);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.service-subsection .sub-label {
  font-size: var(--type-eyebrow);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 20px;
}

.service-subsection p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.8;
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.6;
}

/* Service list with checkmarks */
.service-list-check li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--coral);
  font-weight: 700;
  font-size: 16px;
  opacity: 1;
}

/* "How It Works" paragraph block */
.how-block {
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 32px;
  border-left: 4px solid var(--teal);
  margin-top: 32px;
}

.bg-cream .how-block {
  background: var(--white);
}

.how-block h4 {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.how-block p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Growth tier callout */
.growth-tier {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--cream);
  border-radius: 16px;
  border: 1px dashed rgba(27, 42, 74, 0.15);
}

.bg-cream .growth-tier {
  background: var(--white);
}

.growth-tier h4 {
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.growth-tier .tier-badge {
  font-size: var(--type-micro);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(26, 155, 140, 0.1);
  color: #0F5F55;
  padding: 3px 10px;
  border-radius: 100px;
}

.growth-tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.growth-tier li {
  font-size: var(--type-caption);
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.growth-tier li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ======== FOUNDATION CARDS (SEO Built-In) ======== */
.foundation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.foundation-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--card-accent, var(--coral)) 7%, var(--white));
  border-radius: 12px;
  border-left: 4px solid var(--card-accent, var(--coral));
  transition: transform 0.3s, box-shadow 0.3s;
}

.bg-white .foundation-card {
  background: color-mix(in srgb, var(--card-accent, var(--coral)) 7%, var(--white));
}

.foundation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.06);
}

.foundation-card .foundation-icon {
  font-size: 18px;
  color: var(--card-accent, var(--coral));
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.foundation-card h4 {
  font-family: var(--font-brand);
  font-size: var(--type-h4);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.foundation-card p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ======== SEO TIER BACKGROUNDS ======== */
.seo-tier-bg {
  border-radius: 16px;
  padding: 28px 28px 24px;
}

.seo-tier-bg--foundation {
  background: transparent;
  padding: 0;
}

.seo-tier-bg--essentials {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.seo-tier-bg--growth {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

/* ======== SEO ADD-ONS: 3-column layout (Essentials 2 cols + Growth 1 col) ======== */
.seo-addons {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}

.essentials-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.essentials-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--card-accent, var(--teal)) 7%, var(--white));
  border-radius: 12px;
  border-left: 4px solid var(--card-accent, var(--teal));
  transition: transform 0.3s, box-shadow 0.3s;
}

.bg-white .essentials-card { background: color-mix(in srgb, var(--card-accent, var(--teal)) 7%, var(--white)); }

.essentials-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.06);
}

.essentials-card .essentials-icon {
  font-size: 18px;
  color: var(--card-accent, var(--teal));
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.essentials-card h4 {
  font-family: var(--font-brand);
  font-size: var(--type-h4);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.essentials-card p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Growth column */
.growth-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.growth-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--card-accent, var(--pop-purple)) 7%, var(--white));
  border-radius: 12px;
  border-left: 4px solid var(--card-accent, var(--pop-purple));
  transition: transform 0.3s, box-shadow 0.3s;
}

.bg-white .growth-card { background: color-mix(in srgb, var(--card-accent, var(--pop-purple)) 7%, var(--white)); }

.growth-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.06);
}

.growth-card .growth-icon {
  font-size: 18px;
  color: var(--card-accent, var(--pop-purple));
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.growth-card h4 {
  font-family: var(--font-brand);
  font-size: var(--type-h4);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}

.growth-card p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ======== DELIVERABLE CARDS (Copywriting What We Write) ======== */
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.deliverable-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--cream);
  border-radius: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
  align-items: flex-start;
}

.bg-cream .deliverable-card {
  background: var(--white);
}

.deliverable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27, 42, 74, 0.06);
}

.deliverable-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.deliverable-card h4 {
  font-family: var(--font-brand);
  font-size: var(--type-h4);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.deliverable-card p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Span full width for odd last card */
.deliverable-grid .deliverable-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ======== PROCESS STEPS (Email Marketing) ======== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -12px;
  width: 24px;
  height: 2px;
  background: var(--border-subtle);
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto 20px;
  color: var(--white);
}

.step-1 .step-number { background: var(--coral); }
.step-2 .step-number { background: var(--teal); }
.step-3 .step-number { background: var(--blue-accent); }
.step-4 .step-number { background: var(--amber); }

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-brand);
  margin-bottom: 8px;
}

.process-step p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* Navy callout card (Email What's Next) */
.navy-callout {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--navy);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.navy-callout::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.06;
  right: -40px;
  top: -40px;
}

.navy-callout h4 {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.navy-callout p {
  font-size: var(--type-body-s);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

/* ======== STATEMENT ROWS (Social Media) ======== */
.statement-rows {
  margin-top: 48px;
}

.statement-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 32px;
  padding: 32px 0 32px 24px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.statement-row:first-child {
  border-top: 1px solid var(--border-subtle);
}

.statement-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--row-accent, var(--coral));
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.4s;
}

.statement-row:hover::before {
  opacity: 1;
}

.row-number {
  font-size: 48px;
  font-weight: 800;
  font-family: var(--font-brand);
  color: var(--row-accent, var(--coral));
  opacity: 0.3;
  line-height: 1;
  padding-top: 4px;
}

.row-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.row-label {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  padding-top: 2px;
}

.row-desc {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Social What's Next — teal accent card */
.next-card {
  margin-top: 40px;
  background: var(--cream);
  border-radius: 16px;
  padding: 32px 36px;
  border-left: 4px solid var(--teal);
}

.bg-cream .next-card {
  background: var(--white);
}

.next-card h4 {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy);
}

.next-card p {
  font-size: var(--type-body-s);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ======== AI ENHANCEMENT SECTION ======== */
.ai-enhance-section {
  padding: var(--section-pad) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.ai-enhance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(130, 50, 170, 0.015) 0%, rgba(232, 93, 74, 0.015) 50%, rgba(26, 155, 140, 0.015) 100%);
  pointer-events: none;
}

.ai-enhance-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.ai-enhance-content p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ======== CTA / CONTACT FORM ======== */
.cta-form-section {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.cta-form-card {
  background: var(--navy);
  border-radius: 28px;
  padding: clamp(1.5rem, calc(1.215rem + 1.43vw), 2.5rem) clamp(3rem, calc(2.43rem + 2.86vw), 5rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-form-card::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.08;
  right: -100px;
  top: -100px;
}

.cta-form-content {
  position: relative;
  z-index: 2;
}

.cta-form-title {
  font-size: var(--type-h2-l); /* was 28→44 */
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-form-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  max-width: 440px;
}

.cta-form-form {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 18px 36px;
}

.form-group { margin-bottom: 16px; }

/* ============================================================
   WPForms render — match concept-a-online-marketing.html exactly
   (concept is authoritative source per feedback_concept-html-authoritative).
   Concept locked values: 12px labels at 50% white, 14px 18px input padding,
   8% white input bg, 12% white border, 12px radius, 15px input font.
   Same values applied to fallback (.form-label/.form-input) and WPForms
   output (.wpforms-field-label/.wpforms-field input) so both render
   identical to concept. div.wpforms-container-full prefix matches
   WPForms Modern's specificity to win. Checkbox layout: side-by-side per
   concept's .checkbox-group rule (display: flex; gap: 20px; flex-wrap: wrap).
   ============================================================ */

/* Labels — fallback + WPForms */
.form-label,
body .cta-form-card div.wpforms-container-full .wpforms-field-label,
body .cta-form-card div.wpforms-container-full .wpforms-field-sublabel {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
  font-family: var(--font-display);
}

body .cta-form-card div.wpforms-container-full .wpforms-required-label,
.cta-form-card .wpforms-required-label {
  color: var(--coral);
}

/* Inputs — fallback + WPForms */
.form-input,
body .cta-form-card div.wpforms-container-full .wpforms-field input[type="text"],
body .cta-form-card div.wpforms-container-full .wpforms-field input[type="email"],
body .cta-form-card div.wpforms-container-full .wpforms-field input[type="url"],
body .cta-form-card div.wpforms-container-full .wpforms-field input[type="tel"],
body .cta-form-card div.wpforms-container-full .wpforms-field textarea,
body .cta-form-card div.wpforms-container-full .wpforms-field select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-family: var(--font-display);
  line-height: 1.4;
  transition: border-color 0.3s, background 0.3s;
}

.form-input::placeholder,
body .cta-form-card div.wpforms-container-full .wpforms-field input::placeholder,
body .cta-form-card div.wpforms-container-full .wpforms-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
  opacity: 1;
}

.form-input:focus,
body .cta-form-card div.wpforms-container-full .wpforms-field input:focus,
body .cta-form-card div.wpforms-container-full .wpforms-field textarea:focus,
body .cta-form-card div.wpforms-container-full .wpforms-field select:focus {
  border-color: var(--coral);
  outline: none;
}

body .cta-form-card div.wpforms-container-full .wpforms-field {
  padding: 0 0 16px 0;
  margin: 0;
}

/* Checkbox group — horizontal layout per concept's .checkbox-group:
   display: flex; gap: 20px; flex-wrap: wrap. Each item 14px, 70% white. */
body .cta-form-card div.wpforms-container-full .wpforms-field-checkbox ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0 0;
}
body .cta-form-card div.wpforms-container-full .wpforms-field-checkbox ul li {
  margin: 0;
  padding: 0;
}
body .cta-form-card div.wpforms-container-full .wpforms-field-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  margin: 0;
}
/* Native browser checkbox with coral accent — matches concept/local-dev fallback render.
   WPForms Modern uses appearance:none + ::before/::after pseudos to paint its own
   skin. Reverting to native means: revert appearance, hide pseudos, accent-color coral. */
body .cta-form-card div.wpforms-container-full .wpforms-form .wpforms-field-checkbox input[type="checkbox"],
body .cta-form-card div.wpforms-container-full .wpforms-form .wpforms-field input[type="checkbox"] {
  appearance: revert !important;
  -webkit-appearance: revert !important;
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--coral) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
body .cta-form-card div.wpforms-container-full .wpforms-form .wpforms-field-checkbox input[type="checkbox"]::before,
body .cta-form-card div.wpforms-container-full .wpforms-form .wpforms-field-checkbox input[type="checkbox"]::after,
body .cta-form-card div.wpforms-container-full .wpforms-form .wpforms-field input[type="checkbox"]::before,
body .cta-form-card div.wpforms-container-full .wpforms-form .wpforms-field input[type="checkbox"]::after {
  display: none !important;
  content: none !important;
}

/* Submit — coral, full width */
body .cta-form-card div.wpforms-container-full .wpforms-submit-container {
  margin-top: 8px;
  padding: 0;
}
body .cta-form-card div.wpforms-container-full button.wpforms-submit,
body .cta-form-card div.wpforms-container-full .wpforms-submit {
  width: 100%;
  padding: 16px;
  background: var(--coral);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.3s;
}
body .cta-form-card div.wpforms-container-full button.wpforms-submit:hover,
body .cta-form-card div.wpforms-container-full .wpforms-submit:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
}

/* Checkbox group */
.checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--type-caption);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: color 0.2s;
}

.checkbox-label:hover {
  color: rgba(255,255,255,0.9);
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--coral);
  border-color: var(--coral);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: var(--type-caption);
  font-weight: 700;
}

.checkbox-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--coral);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--coral-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 93, 74, 0.3);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .opportunity-inner { grid-template-columns: 1fr; gap: 32px; }
  /* Hero padding-top — match other inner pages at 820. Deborah responsive pass 2026-05-04 */
  .service-hero { padding-top: 105px !important; }
  /* Hero image at 820 — more transparent, shift right. Deborah responsive pass 2026-05-04 */
  .service-hero img { opacity: 0.5 !important; right: -60px !important; top: 60px !important; }
  /* Shift hero text 20px left (headline, sub-line, body only — leave breadcrumb anchored). Deborah responsive pass 2026-05-04 */
  .service-hero-headline, .hero-sub-line, .service-hero-sub { margin-left: 40px !important; }
  /* Drop headline + everything below 50px (breadcrumb stays). Deborah responsive pass 2026-05-04 */
  .service-hero-headline { margin-top: 50px !important; }
  /* Align bracket frame with breadcrumb left edge + bring right brackets in-viewport. Deborah responsive pass 2026-05-04 */
  .hero-frame { left: 40px !important; right: 40px !important; top: 140px !important; bottom: 30px !important; }
  /* Tighten gap below hero at 820 — Deborah responsive pass 2026-05-04 */
  .service-hero + .opportunity-section { padding-top: 14px !important; }
  /* Tighten gap below "Online visibility" heading at 820 — total visible gap = 20px. Deborah responsive pass 2026-05-04 */
  .opportunity-inner { gap: 20px !important; }
  .opportunity-content .section-title { margin-bottom: 0 !important; }
  /* Cards more visible at 820/360 — bumped past cream-warm for slightly more presence. Deborah responsive pass 2026-05-04 */
  .benefit-card { background: var(--cream-warm) !important; }
  /* Tighten statement-row gaps at 820 — between-rows by 20px AND text-to-first-row by 20px. Deborah responsive pass 2026-05-04 */
  .statement-row { padding-top: 22px !important; padding-bottom: 22px !important; }
  .statement-rows .statement-row:first-child { padding-top: 12px !important; }
  /* Narrow text column, widen form column at 820 — fields need more room. Deborah responsive pass 2026-05-04 */
  .cta-form-card { grid-template-columns: 40% 60% !important; gap: 32px !important; }
}

@media (max-width: 1024px) {
  .foundation-cards { grid-template-columns: repeat(2, 1fr); }
  .seo-addons { grid-template-columns: 1fr 1fr; gap: 24px; }
  .essentials-cards { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .row-body { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 768px) {
  .nav-links { gap: 20px; }
  .hero-art { display: none; }
  .hero-frame { display: none; }
  .service-hero-headline,
  .hero-sub-line,
  .service-hero-sub,
  .hero-buttons { margin-left: 0; }
  .service-split { grid-template-columns: 1fr; }
  .growth-tier ul { grid-template-columns: 1fr; }
  .cta-form-card { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { width: 100%; }
  .benefit-cards { grid-template-columns: 1fr; }
  .foundation-cards { grid-template-columns: 1fr; }
  .seo-addons { grid-template-columns: 1fr; }
  .deliverable-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .statement-row { grid-template-columns: 56px 1fr; gap: 0 20px; }
  .row-number { font-size: 36px; }
  .row-body { grid-template-columns: 1fr; gap: 6px; }
  .navy-callout { padding: 28px 24px; }
}

/* Reduced-motion handled at theme level (theme-accessibility.css) — 2026-04-26.
   Component-level rule above (.hero-art-spin { animation: none }) retained — it
   completely halts the spin rather than just shortening duration. */

/* ======== FOOTER ======== */
.site-footer {
  padding: 64px 0 32px;
  background: #F5F0E8;
  border-top: 1px solid rgba(27, 42, 74, 0.08);
}
.site-footer .container { max-width: 1320px; margin: 0 auto; padding: 0 var(--space-container-pad); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-heading { font-family: var(--font-brand); font-size: var(--type-eyebrow); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1B2A4A; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--font-brand); font-size: var(--type-caption); color: #5A6B7F; transition: color 0.2s; text-decoration: none; }
.footer-links li.footer-address { font-size: var(--type-caption); color: #5A6B7F; line-height: 1.6; font-family: var(--font-brand); }
.footer-links a:hover { color: #1B2A4A; }
.footer-brand-desc { font-size: var(--type-caption); color: #5A6B7F; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(27, 42, 74, 0.08); display: flex; justify-content: space-between; align-items: center; font-size: var(--type-eyebrow); color: #6B7785; }
.footer-bottom a { font-family: var(--font-brand); color: #6B7785; text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #1B2A4A; }
.ai-powered-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 16px 6px 8px;
  background: rgba(27, 42, 74, 0.04);
  border: 1px solid rgba(27, 42, 74, 0.1);
  border-radius: 100px;
  font-size: var(--type-micro); font-weight: 600; color: #5A6B7F;
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.3s ease;
}
.ai-powered-badge:hover { background: rgba(27, 42, 74, 0.08); color: #1B2A4A; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
��������������������������

/* Tighten between-section whitespace by 15px (all breakpoints).
   Hero→first section gap and last section→footer gap are preserved.
   Deborah responsive pass 2026-05-04 */
.opportunity-section { padding-bottom: 32px !important; }
.service-detail-section { padding-top: 32px !important; padding-bottom: 32px !important; }
.cta-form-section { padding-top: 32px !important; }

@media (max-width: 480px) {
  /* Online Marketing 360 hero — match AI services recipe.
     Reset margin-left on text (was 40px from 1024 override).
     Body sub gets translucent panel for legibility against artwork.
     Brackets already hidden by display:none on .hero-frame.
     Deborah responsive pass 2026-05-04 */
  .service-hero-headline,
  .hero-sub-line,
  .service-hero-sub { margin-left: 0 !important; }
  .service-hero-headline { margin-top: 0 !important; font-size: 48px !important; line-height: 1.1 !important; }
  .service-hero-headline .hero-o-icon { font-size: 35px !important; width: 35px !important; height: 35px !important; }
  .service-hero img { opacity: 0.35 !important; }
  /* Tighten gap below hero at 360 — Deborah responsive pass 2026-05-04 */
  .service-hero { padding-bottom: 17px !important; }
  /* Stack 2-col splits to single column at 360, hide How It Works panels. Deborah responsive pass 2026-05-04 */
  .service-split { grid-template-columns: 1fr !important; gap: 24px !important; }
  .how-block { display: none !important; }
  /* CTA form at 360 — stack columns, drop inner panel. Match home-page CTA pattern. Deborah responsive pass 2026-05-04 */
  .cta-form-card { grid-template-columns: 1fr !important; gap: 20px !important; padding: 24px 22px !important; }
  .cta-form-form { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; }
  .service-hero-sub {
    background: rgba(255, 255, 255, 0.72) !important;
    padding: 16px 18px !important;
    border-radius: 8px !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
}
