/* ===== Service pages (seo.php, ai-seo.php, ...) ===== */

/* ----- hero: full-bleed video ----- */
.svc-hero {
  position: relative;
  min-height: 75vh;
  min-height: 75svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 135px 24px 75px;
  text-align: center;
  color: #fff;
  background: #07162b;
  overflow: hidden;
  font-family: var(--font-body);
}

.svc-hero__video,
.svc-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.svc-hero::before {
  /* same dark overlay as .page-banner */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .85)),
    rgba(0, 0, 0, .35);
}

.svc-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.svc-hero__crumbs {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
}

.svc-hero__crumbs a {
  color: #fff;
  text-decoration: none;
}

.svc-hero__crumbs a:hover {
  color: var(--brand);
}

.svc-hero__crumbs span:last-child {
  color: #4ade80;
}

.svc-hero__title {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -.01em;
}

@media (min-width: 768px) {
  .svc-hero__title {
    font-size: 62px;
  }
}

@media (min-width: 1280px) {
  .svc-hero__title {
    font-size: 78px;
  }
}

.svc-hero__lead {
  max-width: 640px;
  margin: 0 auto 38px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .88);
}

@media (min-width: 768px) {
  .svc-hero__lead {
    font-size: 19px;
  }
}

.svc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* outlined button (WAC style) in Techbound green */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  text-decoration: none;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.btn-outline svg {
  width: 16px;
  height: 16px;
  transition: transform .3s ease;
}

.btn-outline:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover svg {
  transform: translateX(4px);
}

.btn-outline:focus-visible {
  outline: 2px solid #4ade80;
  outline-offset: 3px;
}

.btn-outline--ghost {
  border-color: rgba(255, 255, 255, .35);
}

.svc-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, .35);
  transform: translateX(-50%);
  overflow: hidden;
}

.svc-hero__scroll::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 1px;
  height: 40%;
  background: #fff;
  animation: svcScroll 2.2s ease-in-out infinite;
}

@keyframes svcScroll {
  to {
    top: 100%;
  }
}

/* ===== DUAL HERO PHOTOS GALLERY ===== */
.svc-hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
  width: 100%;
}

.svc-hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(14, 20, 27, 0.75);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.svc-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
  border-color: rgba(74, 222, 128, 0.5);
}

.svc-hero-card__img-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.svc-hero-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-hero-card:hover .svc-hero-card__img-wrap img {
  transform: scale(1.06);
}

.svc-hero-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(7, 22, 43, 0.88) 100%);
  pointer-events: none;
}

.svc-hero-card__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10, 18, 30, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
}

.svc-hero-badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  flex-shrink: 0;
}

.svc-hero-badge__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(27, 140, 67, 0.3);
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.svc-hero-card__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.svc-hero-card__badge small {
  display: block;
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .svc-hero {
    padding: 120px 16px 60px;
    min-height: auto;
  }

  .svc-hero-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .svc-hero-card__img-wrap {
    height: 190px;
  }
}

/* ----- shared section bits ----- */
.svc-section {
  padding: 70px 20px;
  background: #fff;
}

.svc-section--tint {
  background: #e6ece8;
}

@media (min-width: 768px) {
  .svc-section {
    padding: 90px 24px;
  }
}

@media (min-width: 1280px) {
  .svc-section {
    padding: 110px 24px;
  }
}

.svc-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.svc-title {
  margin: 20px 0 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  color: #000;
}

@media (min-width: 768px) {
  .svc-title {
    font-size: 40px;
  }
}

@media (min-width: 1280px) {
  .svc-title {
    font-size: 46px;
  }
}

.svc-text {
  font-size: 17px;
  line-height: 1.75;
  color: #3d4a44;
  max-width: 560px;
}

/* ----- what's included: heading left, rows right ----- */
.svc-incl {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

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

.svc-incl__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid #d5ddd8;
}

.svc-incl__list li:first-child {
  padding-top: 0;
}

.svc-incl__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e6ece8;
  color: var(--brand);
  transition: background-color .3s ease, color .3s ease;
}

.svc-incl__icon svg {
  width: 20px;
  height: 20px;
}

.svc-incl__list li:hover .svc-incl__icon {
  background: var(--brand);
  color: #fff;
}

.svc-incl__list h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  color: #0a1220;
}

.svc-incl__list p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5852;
}

/* ----- process: real sequence, so numbered ----- */
.svc-steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.svc-steps li {
  position: relative;
  padding: 34px 28px 0 0;
  border-top: 1px solid #b9c6bf;
  counter-increment: step;
}

.svc-steps li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand);
}

.svc-steps li::after {
  content: counter(step, decimal-leading-zero);
  display: block;
  order: -1;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--brand);
}

.svc-steps h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  color: #0a1220;
}

.svc-steps p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5852;
}

/* ----- FAQ (native details, no JS) ----- */
.svc-faq {
  max-width: 860px;
  margin: 48px auto 0;
}

.svc-faq details {
  border-bottom: 1px solid #d5ddd8;
}

.svc-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 20px;
  color: #0a1220;
}

.svc-faq summary::-webkit-details-marker {
  display: none;
}

.svc-faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cfd8d2;
  font-size: 20px;
  line-height: 1;
  color: var(--brand);
  transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.svc-faq details[open] summary::after {
  content: "\2212";
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.svc-faq details p {
  margin: 0 0 24px;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
  color: #3d4a44;
}

.svc-center {
  text-align: center;
}

.svc-center .svc-text {
  margin-left: auto;
  margin-right: auto;
}

/* ----- closing CTA ----- */
.svc-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 24px;
  background: #000000 url('../assets/hero.avif') center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.svc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(640px 380px at 85% 25%, rgba(27, 140, 67, 0.34), transparent 70%),
    linear-gradient(180deg, rgba(4, 14, 10, 0.78) 0%, rgba(4, 14, 10, 0.88) 70%, #000000 100%);
  pointer-events: none;
}

.svc-cta>* {
  position: relative;
  z-index: 1;
}

.svc-cta h2 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .svc-cta h2 {
    font-size: 46px;
  }
}

.svc-cta p {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .75);
}

@media (max-width: 1000px) {
  .svc-incl {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .svc-steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 44px;
  }
}

@media (max-width: 560px) {
  .svc-steps {
    grid-template-columns: 1fr;
  }

  .svc-hero {
    padding-top: 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-hero__scroll::after {
    animation: none;
  }
}

/* ===== AI SEO Page Specific Styles ===== */
/* ===== AI SEO Page Specific Styles ===== */
.ai-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
  /* Removed the 40px top margin pushing it down */
  max-width: 960px;
  /* Keeps the cards contained nicely in the center */
  margin-left: auto;
  margin-right: auto;
}

.ai-stat,
.card.ai-stat {
  background: #f4f6f5;
  /* Soft grey background so it stands out on white */
  border: 1px solid #d5ddd8;
  padding: 30px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.25, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.25, 1),
    border-color 0.35s ease,
    background-color 0.35s ease !important;
}

.ai-stat:hover,
.ai-stat.is-hovered,
.ai-stat.is-scroll-hovered,
.ai-stat.is-active,
.card.ai-stat:hover,
.card.ai-stat.is-hovered,
.card.ai-stat.is-scroll-hovered,
.card.ai-stat.is-active {
  background: #ffffff !important;
  border-color: rgba(27, 140, 67, 0.45) !important;
  box-shadow: 0 18px 42px -12px rgba(27, 140, 67, 0.35) !important;
  transform: translateY(-6px) scale(1.02) !important;
}

.ai-stat__num,
.card.ai-stat .ai-stat__num {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
  transition: transform 0.35s ease, text-shadow 0.35s ease;
}

.ai-stat.is-active .ai-stat__num,
.card.ai-stat.is-active .ai-stat__num,
.ai-stat:hover .ai-stat__num,
.card.ai-stat:hover .ai-stat__num {
  text-shadow: 0 0 20px rgba(27, 140, 67, 0.35) !important;
  transform: scale(1.05);
}

.ai-stat__label,
.card.ai-stat .ai-stat__label {
  font-family: var(--font-body);
  font-size: 16px;
  color: #4b5852;
  margin-top: 8px;
  font-weight: 500;
  transition: color 0.35s ease;
}

.ai-stat.is-active .ai-stat__label,
.card.ai-stat.is-active .ai-stat__label {
  color: #0b1f14 !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {

  .ai-stat,
  .card.ai-stat {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  .ai-stat__num,
  .card.ai-stat .ai-stat__num {
    font-size: 34px !important;
  }

  .ai-stat__label,
  .card.ai-stat .ai-stat__label {
    font-size: 14px !important;
    margin-top: 4px !important;
  }
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.ai-feature {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e3e6e4;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ai-feature:hover,
.ai-feature.is-hovered,
.ai-feature.is-scroll-hovered {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: rgba(27, 140, 67, 0.3);
}

.ai-feature h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #0a1220;
  margin: 0 0 12px;
  font-weight: 600;
}

.ai-feature p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #4b5852;
  line-height: 1.6;
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pricing-card {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid #d5ddd8;
  display: flex;
  flex-direction: column;
}

.pricing-card--highlight {
  border-color: var(--brand);
  box-shadow: 0 12px 30px rgba(27, 140, 67, 0.1);
  position: relative;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0 0 8px;
  color: #0a1220;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 20px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}

.pricing-card ul li {
  font-family: var(--font-body);
  font-size: 15px;
  color: #4b5852;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card ul li::before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 900px) {

  .ai-features,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .ai-stat-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== AI SEO Vertical Timeline ===== */
.ai-v-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

/* The vertical line */
.ai-v-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  /* Centers line with the dots */
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #d5ddd8;
}

.ai-v-step {
  position: relative;
  margin-bottom: 40px;
}

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

/* The green circle */
.ai-v-dot {
  position: absolute;
  left: -40px;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(27, 140, 67, 0.1);
  z-index: 2;
  transition: all 0.3s ease;
  /* Smooth transition for hover */
}

/* The glow effect (hidden by default) */
.ai-v-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.ai-v-content {
  background: #fff;
  padding: 24px 30px;
  border-radius: 16px;
  border: 1px solid #e3e6e4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ai-v-content:hover,
.ai-v-content.is-hovered,
.ai-v-content.is-scroll-hovered {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  border-color: rgba(27, 140, 67, 0.3);
}

/* Hover State: Light up when hovering the card OR the dot */
.ai-v-step:hover .ai-v-dot,
.ai-v-step.is-hovered .ai-v-dot,
.ai-v-step.is-scroll-hovered .ai-v-dot,
.ai-v-dot:hover {
  box-shadow: 0 0 0 8px rgba(27, 140, 67, 0.2);
  background: var(--brand);
  /* Fills the circle green */
}

.ai-v-step:hover .ai-v-dot::after,
.ai-v-step.is-hovered .ai-v-dot::after,
.ai-v-step.is-scroll-hovered .ai-v-dot::after,
.ai-v-dot:hover::after {
  opacity: 0.4;
  transform: scale(1.6);
}

.ai-v-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(27, 140, 67, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Optional: highlight the step number when the card is hovered */
.ai-v-step:hover .ai-v-num {
  background: var(--brand);
  color: #fff;
}

.ai-v-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #0a1220;
  margin: 0 0 10px;
  font-weight: 600;
}

.ai-v-content p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #4b5852;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .ai-v-timeline {
    padding-left: 30px;
  }

  .ai-v-timeline::before {
    left: 9px;
  }

  .ai-v-dot {
    left: -30px;
    width: 20px;
    height: 20px;
    top: 8px;
  }

  .ai-v-content {
    padding: 20px;
  }
}

/* ===== What's included: row cards ===== */
.svc-incl__list li {
  margin: 0 -16px;
  /* keeps text aligned with the heading */
  padding: 26px 16px;
  border-bottom: 0;
  border-radius: 16px;
  /* divider line, inset so it doesn't touch the rounded corners */
  background: linear-gradient(#d5ddd8, #d5ddd8) 16px 100% / calc(100% - 32px) 1px no-repeat;
}

.svc-incl__list li:first-child {
  padding-top: 26px;
  margin-top: -26px;
  /* cancels the extra padding so the list doesn't move down */
}

.svc-incl__list li:last-child {
  background-image: none;
  /* no divider after the last row */
}

/* highlighted row: calmer lift, no scaling, no stuck-together boxes */
.svc-incl .svc-incl__list li.is-active,
.svc-incl .svc-incl__list li:hover {
  transform: none !important;
  box-shadow: 0 10px 28px -10px rgba(27, 140, 67, 0.3) !important;
}

@media (max-width: 767px) {
  .svc-incl__list li {
    margin: 0 -12px;
    padding: 22px 12px;
  }

  .svc-incl__list li:first-child {
    padding-top: 22px;
    margin-top: -22px;
  }
}

/* ===== What's included: space between row cards ===== */
.svc-incl__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-incl__list li,
.svc-incl__list li:first-child {
  padding: 20px 16px;
}

.svc-incl__list li:first-child {
  margin-top: 0;
  /* undo the negative margin from before */
}

@media (max-width: 767px) {

  .svc-incl__list li,
  .svc-incl__list li:first-child {
    padding: 18px 12px;
  }
}

/* ===== What's included: space between row cards ===== */
.svc-incl__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-incl__list li,
.svc-incl__list li:first-child {
  padding: 20px 16px;
}

.svc-incl__list li:first-child {
  margin-top: 0;
  /* undo the negative margin from before */
}

@media (max-width: 767px) {

  .svc-incl__list li,
  .svc-incl__list li:first-child {
    padding: 18px 12px;
  }
}


/* ===== SEO Comparison Section ===== */
.seo-compare {
  background: #f8faf9;
}

.seo-compare__intro {
  margin: 0 0 36px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: #4b5852;
}

.seo-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.seo-compare__heading {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  color: #0a1220;
}

.seo-compare__card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 36px 34px;
  box-shadow: 0 18px 44px rgba(10, 18, 32, 0.07);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.seo-compare__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

@media (hover: hover) {
  .seo-compare__card:hover {
    transform: translateY(-6px);
    border-color: rgba(27, 140, 67, 0.35);
    box-shadow: 0 22px 48px -16px rgba(27, 140, 67, 0.25);
  }

  .seo-compare__card:hover::before {
    transform: scaleX(1);
  }
}

.seo-compare__card-title {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.35;
  color: #0a1220;
}

.seo-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.seo-compare__list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #e5eae7;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: #3d4a44;
}

.seo-compare__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.seo-compare__list li::before {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.seo-compare__list--neg li::before {
  content: "✕";
  background: #fde8e8;
  color: #d94a4a;
}

.seo-compare__list--pos li::before {
  content: "✓";
  background: rgba(27, 140, 67, 0.14);
  color: var(--brand);
}

@media (max-width: 900px) {
  .seo-compare__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .seo-compare__card {
    padding: 28px 22px;
  }
}

/* ===== SEO Page: Track Record Strip ===== */
.seo-track {
  background: #ffffff;
  padding: 44px 24px;
  border-bottom: 1px solid #e5eae7;
}

.seo-track__head {
  margin-bottom: 22px;
}

.seo-track__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.seo-track__item {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: #f4f6f5;
  border: 1px solid #e2e8e4;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 500;
  color: #0a1220;
  line-height: 1.35;
  transition: transform .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}

@media (hover: hover) {
  .seo-track__item:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: rgba(27, 140, 67, 0.35);
    box-shadow: 0 14px 30px -14px rgba(27, 140, 67, 0.25);
  }
}

.seo-compare .pill {
  margin-bottom: 18px;
}

/* ===== SEO Page: Shared Section Head & Number Badge ===== */
.seo-section-head {
  max-width: 760px;
}

.seo-section-head .svc-text {
  max-width: 660px;
}

.seo-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

/* ===== SEO Page: Built Around Your Business ===== */
.seo-about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.seo-about__right p {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.78;
  color: #3d4a44;
}

.seo-about__right p:last-of-type {
  margin-bottom: 0;
  color: #0a1220;
  font-weight: 600;
}

.seo-about__actions {
  margin-top: 30px;
}

/* ===== SEO Page: Common Mistakes ===== */
.seo-mistakes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.seo-mistake-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: 0 10px 28px rgba(10, 18, 32, 0.04);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.seo-mistake-card--wide {
  grid-column: 1 / -1;
}

.seo-mistake-card::before,
.seo-method__card::before,
.seo-review-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}

@media (hover: hover) {

  .seo-mistake-card:hover,
  .seo-method__card:hover,
  .seo-review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(27, 140, 67, 0.35);
    box-shadow: 0 22px 46px -16px rgba(27, 140, 67, 0.24);
  }

  .seo-mistake-card:hover::before,
  .seo-method__card:hover::before,
  .seo-review-card:hover::before {
    transform: scaleX(1);
  }
}

.seo-mistake-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #0a1220;
}

.seo-mistake-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.72;
  color: #4b5852;
}

.seo-mistake-card a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== SEO Page: 9-Step Method ===== */
.seo-method__grid {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.seo-method__card {
  position: relative;
  overflow: hidden;
  background: #f8faf9;
  border: 1px solid #e2e8e4;
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease, background-color .35s ease;
}

@media (hover: hover) {
  .seo-method__card:hover {
    background: #ffffff;
  }
}

.seo-method__card h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #0a1220;
}

.seo-method__outcome {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand);
}

.seo-method__card p:last-child {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: #4b5852;
}

/* ===== SEO Page: Testimonials ===== */
.seo-testimonials__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.seo-testimonials__top .svc-text {
  max-width: 640px;
}

.seo-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.seo-review-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  box-shadow: 0 10px 28px rgba(10, 18, 32, 0.04);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.seo-review-card__quote {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.72;
  color: #3d4a44;
}

.seo-review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e8eeea;
}

.seo-review-card__avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(27, 140, 67, 0.12);
  color: var(--brand);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.seo-review-card__author strong {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  color: #0a1220;
}

/* ===== SEO Page: Full Offer Stack ===== */
.seo-offer__list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
}

.seo-offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #f8faf9;
  border: 1px solid #e4eae6;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  color: #24302a;
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}

.seo-offer__list li::before {
  content: "✓";
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(27, 140, 67, 0.14);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

@media (hover: hover) {
  .seo-offer__list li:hover {
    background: #ffffff;
    border-color: rgba(27, 140, 67, 0.35);
    transform: translateY(-2px);
  }
}

.seo-offer__banner {
  margin-top: 40px;
  padding: 34px 36px;
  border-radius: 16px;
  background: #e6ece8;
  border-left: 4px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.seo-offer__banner-text h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: #0a1220;
}

.seo-offer__banner-text p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #3d4a44;
}

/* ===== SEO Page: Closing CTA Buttons & FAQ Multi-Paragraph ===== */
.seo-cta__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.svc-cta p {
  max-width: 720px;
}

.faq__answer-inner p+p {
  margin-top: 12px;
}

/* ===== SEO Page: Responsive ===== */
@media (max-width: 1024px) {
  .seo-track__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .seo-method__grid,
  .seo-testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .seo-track__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .seo-track__item {
    padding: 14px 14px;
    font-size: 14px;
  }

  .seo-mistakes__grid,
  .seo-method__grid,
  .seo-testimonials__grid,
  .seo-offer__list {
    grid-template-columns: 1fr;
  }

  .seo-mistake-card--wide {
    grid-column: auto;
  }

  .seo-offer__banner {
    padding: 26px 22px;
  }
}