/*
 * SEO title/meta and visible H1 separation layer
 * 2026-06-28
 *
 * Purpose:
 * - Keep production <title> / meta description intact.
 * - Make the on-page H1 readable, concise, and conversion-oriented.
 * - Override older service hero typography that used viewport-scaled type.
 */

:root {
  --sdp-ink: #242528;
  --sdp-muted: #656b73;
  --sdp-line: #e5ded9;
  --sdp-paper: #ffffff;
  --sdp-soft: #f7f4f2;
  --sdp-accent: #ad4f4f;
  --sdp-accent-dark: #8f3f3f;
  --sdp-charcoal: #2b2d31;
}

.sdp-seo-breadcrumbs,
.service-breadcrumbs,
.page-head .breadcrumbs {
  color: var(--sdp-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}

.sdp-seo-breadcrumbs a,
.service-breadcrumbs a,
.page-head .breadcrumbs a {
  color: var(--sdp-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-head--breadcrumbs-only {
  margin: 0 0 14px;
  padding: 0;
}

.page-head--breadcrumbs-only .sdp-seo-breadcrumbs,
.page-head--breadcrumbs-only .breadcrumbs {
  margin-bottom: 0;
}

.sdp-seo-hero {
  background: var(--sdp-soft);
  border-bottom: 1px solid var(--sdp-line);
  color: var(--sdp-ink);
  margin: 0;
  padding: 48px 0 42px;
}

.sdp-seo-hero__grid {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
}

.sdp-seo-hero__content {
  min-width: 0;
}

.sdp-seo-hero__kicker,
.service-hero h1 span {
  color: var(--sdp-accent-dark);
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0 0 10px;
}

.sdp-seo-hero__title,
.service-hero h1,
.legacy-restored-content > h1:first-child,
.page-head .heading_02 {
  color: var(--sdp-ink);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.26;
  margin: 0 0 18px;
  max-width: 780px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.sdp-seo-hero__lead,
.service-lead {
  color: #383c42;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0;
  margin: 0 0 22px;
  max-width: 760px;
}

.sdp-seo-hero__points,
.service-points {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.sdp-seo-hero__points li,
.service-points li {
  align-items: center;
  background: var(--sdp-paper);
  border: 1px solid var(--sdp-line);
  border-radius: 8px;
  color: var(--sdp-ink);
  display: flex;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
  min-height: 46px;
  padding: 10px 12px;
}

.sdp-seo-hero__actions,
.service-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.sdp-seo-hero__actions .button,
.service-hero-actions .button {
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
  min-height: 48px;
  padding: 14px 20px;
}

.sdp-seo-hero__media,
.service-visual {
  background: var(--sdp-paper);
  border: 1px solid var(--sdp-line);
  border-radius: 8px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.sdp-seo-hero__media img,
.service-visual img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.sdp-seo-hero__price-card,
.hero-price-card {
  background: var(--sdp-paper);
  border: 1px solid var(--sdp-line);
  border-radius: 8px;
  padding: 22px;
}

.sdp-seo-hero__price-card p,
.sdp-seo-hero__price-card li,
.hero-price-card p,
.hero-price-card li {
  letter-spacing: 0;
}

.sdp-seo-title-note {
  color: var(--sdp-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0;
  margin: 12px 0 0;
}

.sdp-seo-copy-band {
  background: var(--sdp-charcoal);
  border-radius: 8px;
  color: #ffffff;
  margin: 34px 0;
  padding: 28px;
}

.sdp-seo-copy-band h2,
.sdp-seo-copy-band p {
  letter-spacing: 0;
}

.sdp-seo-copy-band h2 {
  color: #ffffff;
  font-size: 26px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.sdp-seo-copy-band p {
  color: #f5f5f5;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

@media (max-width: 900px) {
  .sdp-seo-hero {
    padding: 38px 0 34px;
  }

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

  .sdp-seo-hero__title,
  .service-hero h1,
  .legacy-restored-content > h1:first-child,
  .page-head .heading_02 {
    font-size: 32px;
    line-height: 1.34;
  }

  .sdp-seo-hero__lead,
  .service-lead {
    font-size: 16px;
  }
}

@media (max-width: 620px) {
  .sdp-seo-breadcrumbs,
  .service-breadcrumbs,
  .page-head .breadcrumbs {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .sdp-seo-hero {
    padding: 28px 0 30px;
  }

  .sdp-seo-hero__kicker,
  .service-hero h1 span {
    font-size: 13px;
  }

  .sdp-seo-hero__title,
  .service-hero h1,
  .legacy-restored-content > h1:first-child,
  .page-head .heading_02 {
    font-size: 27px;
    line-height: 1.38;
    margin-bottom: 14px;
  }

  .sdp-seo-hero__lead,
  .service-lead {
    font-size: 15px;
    line-height: 1.85;
  }

  .sdp-seo-hero__points,
  .service-points {
    grid-template-columns: 1fr;
  }

  .sdp-seo-hero__actions .button,
  .service-hero-actions .button {
    justify-content: center;
    width: 100%;
  }

  .sdp-seo-copy-band {
    padding: 22px 18px;
  }

  .sdp-seo-copy-band h2 {
    font-size: 22px;
  }
}
