.guide-hub {
  padding: 96px 0;
  background: var(--surface-soft);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.guide-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(31, 67, 57, 0.06);
  transition: 0.2s ease;
}

.guide-card:hover {
  border-color: rgba(46, 118, 97, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.guide-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-pale);
}

.guide-card-icon svg {
  width: 23px;
}

.guide-card small {
  margin-top: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.guide-card strong {
  margin-top: 5px;
  font-size: 20px;
  line-height: 1.45;
}

.guide-card p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.guide-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.guide-card-link svg {
  width: 16px;
}

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

.seo-hero {
  padding: 0 0 78px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f4f8f6 0%, #e5f0eb 100%);
}

.seo-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: 64px;
  padding-top: 60px;
}

.seo-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.seo-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.seo-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 30px;
  padding: 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.seo-hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.seo-hero-points svg {
  width: 16px;
}

.seo-hero-panel {
  padding: 30px;
  border: 1px solid rgba(46, 118, 97, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.seo-hero-panel strong {
  display: block;
  color: var(--green-dark);
  font-size: 18px;
}

.seo-hero-panel p {
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 13px;
}

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

.seo-content-soft {
  background: var(--surface-soft);
}

.seo-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.seo-heading h2 {
  margin: 8px 0 14px;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.4;
}

.seo-heading p {
  margin: 0;
  color: var(--muted);
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seo-info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.seo-info-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--green-pale);
}

.seo-info-card span svg {
  width: 20px;
}

.seo-info-card h3 {
  margin: 0 0 9px;
  font-size: 19px;
}

.seo-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.seo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  counter-reset: seo-step;
  list-style: none;
}

.seo-steps li {
  position: relative;
  padding: 30px 30px 30px 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  counter-increment: seo-step;
}

.seo-steps li + li {
  border-left: 1px solid var(--line);
}

.seo-steps li::before {
  position: absolute;
  top: 29px;
  left: 26px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  content: counter(seo-step);
  font-size: 13px;
  font-weight: 800;
}

.seo-steps strong {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
}

.seo-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.seo-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
}

.seo-check-panel {
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-deep);
}

.seo-check-panel h2 {
  margin: 0 0 12px;
  font-size: 27px;
}

.seo-check-panel p {
  margin: 0;
  color: #c9ddd6;
}

.seo-check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.seo-check-list li {
  display: flex;
  gap: 9px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.seo-check-list svg {
  width: 18px;
  flex: none;
  color: #bfe2d6;
}

.seo-prose h2 {
  margin: 0 0 18px;
  font-size: 29px;
}

.seo-prose h3 {
  margin: 30px 0 8px;
  font-size: 19px;
}

.seo-prose p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.seo-related {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.seo-related a {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.seo-related a:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.seo-related a svg {
  width: 17px;
  flex: none;
}

.seo-cta {
  padding: 74px 0;
  color: #fff;
  background: var(--green-deep);
}

.seo-cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.seo-cta h2 {
  margin: 7px 0 10px;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.4;
}

.seo-cta p {
  margin: 0;
  color: #c9ddd6;
}

@media (max-width: 900px) {
  .guide-grid,
  .seo-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-hero-layout,
  .seo-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .seo-steps li + li {
    border-top: 0;
    border-left: 0;
  }

  .seo-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .guide-hub,
  .seo-content {
    padding: 68px 0;
  }

  .guide-grid,
  .seo-card-grid,
  .seo-related-grid {
    grid-template-columns: 1fr;
  }

  .guide-card {
    min-height: auto;
  }

  .seo-hero {
    padding-bottom: 54px;
  }

  .seo-hero-layout {
    padding-top: 38px;
  }

  .seo-hero-copy > p {
    font-size: 15px;
  }

  .seo-hero-panel,
  .seo-check-panel {
    padding: 24px;
  }

  .seo-cta-layout {
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }
}
