:root {
  --paper: #fbf8f2;
  --paper-strong: #fffdf9;
  --ink: #2f3f37;
  --muted: #64736e;
  --green: #385a4d;
  --green-soft: #e7efeb;
  --rose: #b8657a;
  --gold: #c9a066;
  --line: #e6ded2;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.seo-header,
.seo-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 24px clamp(20px, 4vw, 48px);
  background: #ffffff;
}

.seo-brand {
  width: min(168px, 44vw);
}

.seo-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.seo-nav a,
.seo-footer-links a {
  padding: 8px 10px;
  border-radius: 8px;
}

.seo-nav a:hover,
.seo-footer-links a:hover {
  background: var(--green-soft);
}

.seo-cta,
.seo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--rose);
  font-size: 14px;
  font-weight: 900;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  width: min(1180px, calc(100vw - 40px));
  padding: clamp(52px, 8vw, 96px) 0 48px;
  margin: 0 auto;
}

.seo-hero > *,
.two-col > * {
  min-width: 0;
}

.breadcrumb {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 78px);
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
}

h3 {
  color: var(--green);
  font-size: 28px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.seo-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #53645e;
  font-size: 19px;
}

.hero-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(56, 90, 77, .1);
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
}

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

.hero-panel span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.seo-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.seo-button-secondary {
  color: var(--green);
  border: 1px solid var(--green);
  background: transparent;
}

.seo-section {
  width: min(1180px, calc(100vw - 40px));
  padding: 64px 0;
  margin: 0 auto;
}

.seo-section.is-band {
  width: 100%;
  max-width: none;
  padding: 70px max(20px, calc((100vw - 1180px) / 2));
  background: #ffffff;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.seo-card,
.faq-card,
.compare-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.seo-card span,
.compare-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.seo-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.seo-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  line-height: 1.65;
}

.compare-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.related-grid a {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.related-grid strong {
  display: block;
  color: var(--green);
  font-size: 17px;
}

.related-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.faq-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
}

.faq-card p {
  margin-bottom: 0;
}

.seo-final {
  padding: 72px 20px;
  color: #ffffff;
  background: var(--green);
  text-align: center;
}

.seo-final h2,
.seo-final p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: #ffffff;
}

.seo-final p {
  color: rgba(255, 255, 255, .78);
}

.seo-final .seo-actions {
  justify-content: center;
}

.seo-footer {
  grid-template-columns: auto minmax(0, 1fr);
  color: var(--muted);
  font-size: 14px;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

@media (max-width: 920px) {
  .seo-header,
  .seo-footer,
  .seo-hero,
  .two-col,
  .card-grid,
  .compare-grid,
  .related-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .seo-nav {
    justify-content: start;
  }

  .seo-cta {
    width: max-content;
  }

  .seo-footer-links {
    justify-content: start;
  }
}

@media (max-width: 620px) {
  .seo-header {
    align-items: start;
  }

  .seo-nav {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: 36px;
    overflow-wrap: break-word;
  }

  p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .seo-lead {
    font-size: 17px;
  }

  .seo-hero,
  .seo-section {
    width: min(calc(100% - 40px), 1180px);
  }
}
