.services-section {
  background: var(--smoke);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.service-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(0, 18, 39, 0.11);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card-featured {
  color: var(--white);
  background: var(--navy);
}

.service-card > span {
  color: var(--blue);
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.service-card-featured > span,
.service-card-featured .text-link {
  color: var(--gold);
}

.service-card h3 {
  margin: 34px 0 12px;
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-size: 1.32rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.service-card-featured h3 {
  color: var(--white);
}

.service-card p {
  color: #4e5a67;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card .text-link {
  margin-top: auto;
}

.services-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.seo-page {
  background: var(--smoke);
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0, 18, 39, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.seo-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.seo-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.seo-nav a:not(.button) {
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 82px;
  color: var(--white);
  background: var(--navy);
}

.seo-hero::after {
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 2px solid rgba(232, 164, 0, 0.35);
  border-radius: 50%;
  content: "";
}

.seo-hero .eyebrow {
  color: var(--gold);
}

.seo-hero h1 {
  max-width: 900px;
  color: var(--white);
}

.seo-hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.seo-hero-actions,
.seo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.seo-hero .button-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.seo-content {
  padding: 72px 0;
}

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: start;
}

.seo-copy {
  min-width: 0;
}

.seo-copy h2 {
  margin-top: 54px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.seo-copy h2:first-child {
  margin-top: 0;
}

.seo-copy h3,
.seo-card h2,
.seo-card h3 {
  color: var(--navy);
  font-family: "Oswald", sans-serif;
}

.seo-list,
.seo-steps {
  display: grid;
  gap: 14px;
  padding-left: 1.25rem;
}

.seo-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: seo-step;
}

.seo-steps li {
  position: relative;
  min-height: 52px;
  padding-left: 64px;
  counter-increment: seo-step;
}

.seo-steps li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-family: "Oswald", sans-serif;
  content: counter(seo-step, decimal-leading-zero);
}

.seo-aside {
  position: sticky;
  top: 104px;
}

.seo-card {
  padding: 28px;
  border: 1px solid rgba(0, 18, 39, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 18, 39, 0.08);
}

.seo-card + .seo-card {
  margin-top: 18px;
}

.seo-card .button {
  width: 100%;
  margin-top: 10px;
}

.seo-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.seo-service-grid .service-card {
  min-height: 280px;
}

.seo-faq {
  display: grid;
  gap: 12px;
}

.seo-faq details {
  border: 1px solid rgba(0, 18, 39, 0.12);
  border-radius: 14px;
  background: var(--white);
}

.seo-faq summary {
  padding: 20px 22px;
  color: var(--navy);
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
}

.seo-faq details p {
  padding: 0 22px 22px;
  margin: 0;
}

.seo-cta {
  padding: 64px 0;
  color: var(--white);
  background: var(--blue);
}

.seo-cta h2 {
  max-width: 760px;
  color: var(--white);
}

.seo-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.seo-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.seo-footer a {
  color: var(--white);
}

.analytics-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: min(470px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.analytics-consent p {
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.analytics-consent-actions {
  display: flex;
  gap: 10px;
}

.analytics-consent button {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  font-family: "Oswald", sans-serif;
  cursor: pointer;
}

.analytics-consent button:first-child {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold);
}

@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-content-grid {
    grid-template-columns: 1fr;
  }

  .seo-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .services-grid,
  .seo-service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .services-footer,
  .seo-header-inner,
  .seo-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .seo-nav .button {
    display: none;
  }

  .seo-hero {
    padding: 66px 0 58px;
  }
}
