/* ===========================================
   SEO PAGE — seo.css
   Page-specific styles only.
   Global reset, nav, footer → styles.php
   =========================================== */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --orange:      #e8622a;
  --dark:        #2e2e35;
  --text-mid:    #666666;
  --text-light:  #999999;
  --border:      #e5e2dc;
  --white:       #ffffff;
  --hero-bg:     #1c1c22;
  --card-dark:   #5a5a62;
  --font-head:   'Raleway', sans-serif;
}

/* ─── MAIN LANDMARK ─── */
#main { outline: none; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── HERO ─── */
.seo-hero {
  background: var(--hero-bg);
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  overflow: hidden;
  margin-top:-3px;
}

.subheading{
  color: var(--white);
font-weight: 100;
font-size: 90%;}

.seo-hero__content {
  padding: 4rem 3rem 4rem 5vw;
}
.seo-hero__eyebrow {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.seo-hero__h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1.15;
  margin-bottom: 1.8rem;
  text-wrap: balance;
}

span.preheading{font-weight:300; color:var(--white); font-size:90%;}

.seo_bullets {
  list-style: none;
  margin-bottom: 1.5rem;
}
.seo_bullets li {
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
  line-height: 1.1em;
  margin-bottom:7px;
}

.seo_bullets li:last-child{margin-bottom:0;}

.seo_bullets.dark li {
  color: var(--dark);
}

.seo_bullets li::before {
  content: '|';
  position: absolute;
  left: 0;
  color: var(--orange);
}
.seo-hero__body {
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}
.seo-hero__platforms {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.seo-hero__badge {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}
.seo-hero__graphic {
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

}

/* ─── ANGLED DIVIDER (reusable, 3× on page) ─── */
.divider-angled {
  height: 70px;
  overflow: hidden;
  line-height: 0;
}
.divider-angled svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* ─── SHARED SECTION LAYOUT ─── */
.seo-section {
    padding: 20px 60px;
  max-width: 1338px;
  margin: 0 auto;
}
.seo-section--tight {
  padding: 4rem 2rem;
}
.seo-section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.seo-section__eyebrow {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.seo-section__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.seo-section__sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--dark);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ─── GRID (--cols drives column count) ─── */
.seo-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 1rem;
  margin: 0 auto;
}

.seo-grid--2 { --cols: 2; }
.seo-grid--3 { --cols: 3; }

/* ─── ASK YOURSELF ─── */


.seo-ask{ padding-bottom:10px; }

.seo-ask__label {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--orange);
}
.seo-ask__body {
  font-size: clamp(1.1rem, 2.5vw, 40px);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}
.seo-ask__body--cta em {
  font-style: italic;
  font-weight: 700;
}

/* ─── COMPARE CARDS (Traditional vs AI) ─── */
.seo-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 0 auto;
  text-align: left;
}
.seo-compare-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.seo-compare-card--dark {
  background: var(--card-dark);
  border-color: var(--card-dark);
}
.seo-compare-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.seo-compare-card--dark .seo-compare-card__title {
  color: rgba(255,255,255,0.9);
}
.seo-compare-card__list { list-style: none; }
.seo-compare-card__list li {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  padding: 0.35rem 0 0.35rem 1rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.seo-compare-card__list li:last-child { border-bottom: none; }
.seo-compare-card__list li::before {
  content: '|';
  position: absolute;
  left: 0;
  color: var(--border);
  font-size: 11px;
}
.seo-compare-card--dark .seo-compare-card__list li {
  color: rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.1);
}
.seo-compare-card--dark .seo-compare-card__list li::before {
  color: rgba(255,255,255,0.2);
}

/* ─── BOTTOM LINE ─── */
.seo-bottom-line {
  padding: 4rem 2rem;
  text-align: center;
}
.seo-bottom-line__lead {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  color: var(--orange);
}
.seo-bottom-line__body {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-mid);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ─── TIMELINE ─── */
.seo-timeline-section {
 
}

.seo-timeline {
  display: grid;
grid-template-columns: 1.5fr 0.75fr;
gap: 1.75rem;
max-width: 540px;
margin: 0 auto;
padding-bottom:30px;
}

.seo-timeline__col {
  width: 100%;
  padding: 0;
}

.seo-timeline__col:first-child {
  transform: translateX(6px);
}

.seo-timeline__col:last-child {
  transform: translateX(-2px);
}

.seo-timeline__label {
  margin: 0 0 1.75rem;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.seo-timeline__label--ai {
  color: var(--orange);
}

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

.seo-step {
  position: relative;
  margin: 0 0 2.25rem;
  padding-left: 3rem;
}

.seo-step:last-child {
  margin-bottom: 0;
}

.seo-step::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 24px;
  bottom: -2.25rem;
  width: 1px;
  background: #d0d0d0;
}

.seo-tl--ai .seo-step::before {
  background: var(--orange);
}

.seo-step:last-child::before {
  display: none;
}

.seo-step__dot {
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #cfcfcf;
  border-radius: 50%;
  background: var(--white);
  box-sizing: border-box;
}

.seo-step__dot--filled {
  background: #999;
  border-color: #999;
}

.seo-step__dot--ai {
  border-color: var(--orange);
}

.seo-step__dot--ai.seo-step__dot--filled {
  background: var(--orange);
  border-color: var(--orange);
}

.seo-step__label {
  display: block;
margin: 0;
font-size: 18px;
font-weight: 800;
line-height: 1.1em;
}

.seo-step__label--ai {
  color: var(--orange);
}

.seo-step__sub {
  display: block;
margin: 4px 0 0;
font-size: 16px;
font-weight: 400;
line-height: 1.1;
}

.seo-step__sub--ai {
  color: var(--orange);
  opacity: 0.8;
}

.seo-timeline__count {
  margin: 2rem 0 0 3rem;
  font-size: 16px;
  color: var(--text-light);
}

.seo-timeline__count--ai {
  color: var(--orange);
  font-weight: 600;
}

.seo-timeline__note {
  margin-left: 10px;
font-size: 14px;
font-weight: 300;
font-style: italic;
color: var(--text-light);
line-height: 1.5;
max-width: 18ch;
}



/* ─── SERVICE / IMPLEMENT CARDS ─── */


.seo-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  position: relative;
  isolation: isolate;   /* stacking context — keeps card-num behind text */
  background: #ffffff;
  border-radius: 22px;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.02),
    4px 6px 16px rgba(0, 0, 0, 0.04);
}




.seo-services .seo-card{
  margin-bottom:40px;
}



.seo-card--centered { text-align: center; }
.seo-card__num {
  position: absolute;
  bottom: -30px; right: 0.8rem;
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.1;
  line-height: 1;
  z-index: -1;          /* behind content via isolation context */
  pointer-events: none;
  user-select: none;
}
.seo-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
/* underline rule on left-aligned cards only */
.seo-card:not(.seo-card--centered) .seo-card__title::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-top: 0.7rem;
}
.seo-card__body {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.2em;
  text-wrap: balance;
}

/* ─── CTA ─── */
.seo-cta {
  background: var(--dark);
  padding: 7rem 2rem;
  text-align: center;
}
.seo-cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--orange);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.seo-cta__title span { color: var(--orange); }
.seo-cta__sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 2.5rem;
text-wrap: balance;
}
.seo-cta__btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;

  padding: 15px 40px;
  border-radius: 3px;

  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(232, 98, 42, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease;
}

/* subtle light sweep */
.seo-cta__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0) 80%
  );

  transform: translateX(-140%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* hover */
.seo-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(232, 98, 42, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.10);
    color: var(--white);
}

.seo-cta__btn:hover::before {
  transform: translateX(140%);
}

/* active (click) */
.seo-cta__btn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgba(232, 98, 42, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

/* focus */
.seo-cta__btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .seo-cta__btn,
  .seo-cta__btn::before {
    transition: none;
  }

  .seo-cta__btn:hover {
    transform: none;
  }

  .seo-cta__btn:hover::before {
    transform: translateX(-140%);
  }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ─── TIMELINE SCROLL ANIMATION ─── */
/* ─── TIMELINE SCROLL ANIMATION ─── */
.tl-ready .seo-timeline__label {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tl-ready .seo-timeline__label--ai {
  transition-delay: 0.1s;
}

.tl-ready .seo-step {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tl-ready .seo-step__dot {
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tl-ready .seo-timeline__count {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease 1.2s, transform 0.4s ease 1.2s;
}

.tl-animate .seo-timeline__label {
  opacity: 1;
  transform: none;
}

.tl-animate .seo-step {
  opacity: 1;
  transform: none;
}

.tl-animate .seo-step__dot {
  transform: scale(1);
}

.tl-animate .seo-timeline__count {
  opacity: 1;
  transform: none;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .tl-ready .seo-timeline__label,
  .tl-ready .seo-tl::before,
  .tl-ready .seo-step,
  .tl-ready .seo-step__dot,
  .tl-ready .seo-timeline__count {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ─── RESPONSIVE ─── */

@media (max-width: 960px) {
  .seo-hero{ margin-top:0; }
}


@media (max-width: 768px) {
  .seo-hero                { grid-template-columns: 1fr; margin-top: 0; }
  .seo-hero__graphic       { display: none; }
  .seo-hero__content       { padding: 7rem 1.5rem 3rem; }
  .seo-grid                { --cols: 2; }

}

@media (max-width: 580px) {
  .seo-grid    { --cols: 1; }
  .seo-compare-grid {grid-template-columns: 1fr;}
  .seo-section { padding: 3.5rem 1.5rem; }

}