/* Final visual layer shared by the public site. Documents keep their scoped design. */
:root {
  --site-text: #1f2a35;
  --site-muted: #566575;
  --site-navy: #14304f;
  --site-navy-dark: #0c2239;
  --site-gold: #b18b53;
  --site-line: #d6dfe7;
  --site-soft: #f3f5f7;
  --site-page: #fafbfc;
  --site-shadow: 0 5px 16px rgba(12, 34, 57, 0.045);
  --site-shadow-raised: 0 10px 26px rgba(12, 34, 57, 0.085);
}

html body:not(.documents-v2) {
  background: var(--site-page);
  color: var(--site-text);
  font-family: 'Muli', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

html body:not(.documents-v2) :is(h1, h2, h3, h4, h5, h6) {
  font-family: 'Poppins', Arial, sans-serif;
  font-style: normal;
  letter-spacing: 0;
}

html body:not(.documents-v2) p {
  line-height: 1.65;
}

html body.home-page .hero-main__title {
  color: #fbfaf7;
}

html body.home-page .about-sc .about-card {
  border: 1px solid var(--site-line);
  border-radius: 8px;
  box-shadow: var(--site-shadow-raised);
}

html body.home-page .about-sc .section-title h3 span {
  color: var(--site-text);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 34px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
}

html body.home-page .sc-services .section-title.light.centered span {
  color: #fff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 34px;
  line-height: 1.2;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0;
  -webkit-text-fill-color: #fff !important;
}

html body.home-page .sc-services .svc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(200, 164, 109, .34);
  border-radius: 8px;
  background: rgba(15, 19, 23, .6);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

html body.home-page .sc-services .svc-card::before {
  display: none;
}

html body.home-page .sc-services .svc-card:hover {
  border-color: rgba(224, 183, 124, .52);
  background: rgba(15, 19, 23, .66);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
  transform: none;
}

html body.home-page .sc-services .svc-ico {
  border-radius: 4px;
}

html body.home-page .sc-services .svc-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 164, 109, .24);
  color: #e1bd77;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

html body.home-page .sc-services .svc-card-link:hover,
html body.home-page .sc-services .svc-card-link:focus {
  color: #fff;
}

html body.home-page .sc-services .svc-card-link span {
  font-size: 17px;
  line-height: 1;
  transition: transform 150ms ease;
}

html body.home-page .sc-services .svc-card-link:hover span,
html body.home-page .sc-services .svc-card-link:focus span {
  transform: translateX(3px);
}

html body:not(.documents-v2) .main-header {
  position: relative;
  margin-top: 0;
  background: #15191d;
}

html body:not(.documents-v2) .main-header .header-upper,
html body:not(.documents-v2) .main-header.fixed-header .header-upper {
  border-bottom: 1px solid rgba(200, 164, 109, 0.34);
  background: #15191d;
  box-shadow: none;
  backdrop-filter: none;
}

html body:not(.documents-v2) .main-header .main-menu::before {
  display: none;
}

html body:not(.documents-v2) .main-menu .navigation > li > a {
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

html body:not(.documents-v2) .main-menu .navigation > li.current > a,
html body:not(.documents-v2) .main-menu .navigation > li:hover > a,
html body:not(.documents-v2) .main-menu .navigation > li > a:focus {
  color: #fff;
}

html body:not(.documents-v2) .main-menu .navigation > li > a::after {
  bottom: 14px;
  height: 2px;
  background: #c8a46d;
}

/* Questionnaires stay in the navigation, but read as a deliberate utility menu. */
html body .main-menu .navigation > li > ul {
  min-width: 250px;
  padding: 6px 0;
  border: 1px solid rgba(200, 164, 109, .4);
  border-top: 2px solid #c8a46d;
  border-radius: 0 0 4px 4px;
  background: #1c272f;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
  transition: opacity 160ms ease, visibility 160ms ease;
}

html body .main-menu .navigation > li > ul > li {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

html body .main-menu .navigation > li > ul > li:last-child { border-bottom: 0; }

html body .main-menu .navigation > li > ul > li > a {
  padding: 11px 18px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 0;
  color: #f2f4f5;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  white-space: normal;
}

html body .main-menu .navigation > li > ul > li:hover > a,
html body .main-menu .navigation > li > ul > li > a:focus-visible {
  padding-left: 18px;
  border-left-color: #c8a46d;
  background: #293a46;
  color: #fff;
}

html body:not(.documents-v2) .sc-menu-lang-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(200, 164, 109, 0.5);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

html body:not(.documents-v2) .sc-menu-lang-link {
  min-width: 38px;
  min-height: 32px;
  padding-inline: 10px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0;
}

html body:not(.documents-v2) :is(.page-title, .contact-hero)::before {
  content: '';
  display: block;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 13, 0.42) 0%,
    rgba(7, 10, 13, 0.2) 45%,
    rgba(7, 10, 13, 0.06) 100%
  ) !important;
}

html body:not(.documents-v2) :is(.page-title, .contact-hero) > .container,
html body:not(.documents-v2) .contact-hero__inner {
  min-height: 420px;
  padding-top: 0;
  padding-bottom: 48px;
  align-items: flex-end;
}

html body:not(.documents-v2) :is(.page-title .content h1, .contact-hero__copy h1) {
  margin: 0;
  color: #fbfaf7;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 700;
  text-align: left;
  text-transform: none;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

html body:not(.documents-v2) .page-title .content h1::after,
html body:not(.documents-v2) .contact-hero__mini-line {
  width: 78px;
  height: 2px;
  margin-top: 14px;
  margin-bottom: 0;
  background: #c8a46d !important;
}

html body:not(.documents-v2) :is(.page-title .about-hero-subtext, .contact-hero__copy p) {
  max-width: 820px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

html body:not(.documents-v2) :is(
  .contact-main,
  .sc-services-main,
  .case-results-section,
  .media-static,
  .media-main-catalog,
  .media-copies-wrap,
  .media-analysis-wrap,
  .media-quotes-wrap,
  .blog-main
) {
  background: var(--site-page);
}

html body:not(.documents-v2) :is(
  .head h2,
  .contact-main .head h2,
  .case-results-section .head h2,
  .media-static-header h2,
  .sc-services-main .head h2,
  .sc-documents-main .head h2,
  .blog-tools-head h2
) {
  color: var(--site-text);
  font-size: 36px;
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

html body:not(.documents-v2) :is(
  .contact-main .head,
  .sc-services-main .head,
  .case-results-section .head,
  .media-static-header
) {
  position: relative;
  max-width: 1170px;
  margin: 0 auto 24px;
  padding: 0 0 18px 18px;
  border-bottom: 1px solid var(--site-line);
  text-align: left;
}

html body:not(.documents-v2) :is(
  .contact-main .head,
  .sc-services-main .head,
  .case-results-section .head,
  .media-static-header
)::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 19px;
  left: 0;
  width: 4px;
  background: var(--site-gold);
}

html body:not(.documents-v2) :is(
  .contact-main .head,
  .sc-services-main .head,
  .case-results-section .head,
  .media-static-header
) :is(h2, p, .sub) {
  max-width: 820px;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

html body:not(.documents-v2) .media-static-header .gold-line {
  display: none;
}

html body:not(.documents-v2) :is(
  .head h2 span,
  .contact-main .head h2 span,
  .case-results-section .head h2 span,
  .sc-services-main .head h2 span,
  .sc-documents-main .head h2 span
) {
  color: inherit;
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

html body:not(.documents-v2) :is(
  .contact-card,
  .sc-service-card,
  .sc-services-extra-card,
  .case-card,
  .media-static-item,
  .media-copy-card,
  .media-quote-card,
  .blog-card,
  .blog-post-card,
  .blog-related-card,
  .blog-tools
) {
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--site-shadow);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

html body:not(.documents-v2) :is(
  .contact-card,
  .sc-service-card,
  .sc-services-extra-card,
  .case-card,
  .media-static-item,
  .media-copy-card,
  .media-quote-card,
  .blog-card,
  .blog-post-card,
  .blog-related-card
):hover {
  border-color: #b9c7d4;
  box-shadow: var(--site-shadow-raised);
  transform: none;
}

html body:not(.documents-v2) :is(
  .svc5-wrap .insta-band,
  .svc5-wrap .svc5-grid > .svc5-card,
  .svc5-wrap .svc5-step-item,
  .blog-search-hit,
  .blog-media-item,
  .blog-subtitles,
  .blog-transcript,
  .blog-post-cta
) {
  border-color: var(--site-line);
  border-radius: 8px;
  box-shadow: var(--site-shadow);
}

html body:not(.documents-v2) .svc5-wrap .insta-band-verified-link,
html body:not(.documents-v2) .blog-page-link {
  border-radius: 4px;
}

html body:not(.documents-v2) .svc5-wrap .svc5-intro {
  color: var(--site-muted);
}

html body:not(.documents-v2) .svc5-wrap .sec-title .title {
  color: var(--site-text);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: 0;
}

html body:not(.documents-v2) :is(
  .sc-service-card h3,
  .sc-services-extra-card h3,
  .case-card h3,
  .media-copy-card h3,
  .media-quote-card h3,
  .contact-card h3,
  .blog-card h3
) {
  color: #1c2d3e;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 650;
  letter-spacing: 0;
}

html body:not(.documents-v2) :is(
  .theme-btn.btn-style-one,
  .about-btn,
  .hero-main__btn,
  .btn-blue,
  .svc5-cta-btn,
  .ui-btn--primary,
  .contact-submit
) {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--site-navy);
  border-radius: 6px;
  background: var(--site-navy) !important;
  box-shadow: none;
  color: #fff !important;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

html body:not(.documents-v2) :is(
  .theme-btn.btn-style-one,
  .about-btn,
  .hero-main__btn,
  .btn-blue,
  .svc5-cta-btn,
  .ui-btn--primary,
  .contact-submit
):hover {
  border-color: var(--site-navy-dark);
  background: var(--site-navy-dark) !important;
  box-shadow: none;
  transform: none;
}

html body:not(.documents-v2) :is(
  .sc-documents-secondary-cta,
  .btn-light,
  .ui-btn--secondary
) {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #b9c7d4;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  color: var(--site-navy) !important;
  font-size: 14px;
  font-weight: 600;
}

html body:not(.documents-v2) :is(
  .case-card-kicker,
  .media-static-type,
  .blog-badge,
  .blog-topic-chip,
  .sc-sos-badge,
  .sc-sos-pill
) {
  border: 1px solid var(--site-line);
  border-radius: 4px;
  background: #f7f9fb;
  color: #5d6b78;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

html body:not(.documents-v2) :is(input, select, textarea) {
  border-color: var(--site-line);
  border-radius: 6px;
  color: var(--site-text);
  background: #fff;
  box-shadow: none;
}

html body:not(.documents-v2) :is(input, select, textarea):focus {
  border-color: #8da4b8;
  box-shadow: 0 0 0 3px rgba(20, 48, 79, 0.1);
  outline: 0;
}

html body:not(.documents-v2) .full-gold-divider {
  height: 1px;
  background: var(--site-gold) !important;
}

html body:not(.documents-v2) .site-contact-meta::before {
  background: rgba(8, 15, 20, 0.44);
}

html body:not(.documents-v2) .site-contact-meta .contact-meta-box {
  border-color: rgba(200, 164, 109, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

html body:not(.documents-v2) .site-contact-meta .contact-meta-box:hover {
  border-color: rgba(224, 183, 124, 0.52);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transform: none;
}

html body:not(.documents-v2) .main-footer,
html body:not(.documents-v2) .main-footer .footer-bottom {
  background: #eef0f1;
}

html body:not(.documents-v2) .main-footer .footer-bottom {
  padding: 16px 0 18px;
  border-top: 1px solid rgba(38, 50, 58, 0.14);
}

html body:not(.documents-v2) .main-footer .footer-bottom .copyright-column .copyright {
  color: #59646a;
  font-family: 'Muli', Arial, sans-serif;
  font-size: 12px;
  line-height: 1.65;
}

html body:not(.documents-v2) .main-footer .footer-bottom .copyright-column .copyright strong {
  color: #37434a;
  font-weight: 600;
}

html body:not(.documents-v2) .main-footer .footer-bottom .footer-email {
  color: #59646a;
}

html body:not(.documents-v2) .main-footer .footer-bottom .footer-email a {
  color: #795a32 !important;
  font-weight: 600;
}

html body:not(.documents-v2) .main-footer .footer-bottom .copyright-column .copyright .sc-footer-legal,
html body:not(.documents-v2) .main-footer .footer-bottom .copyright-column .copyright .sc-footer-legal a {
  color: #795a32 !important;
  font-weight: 600;
}

/* Footer shared by every legacy page, matched to the documents template. */
html body:not(.documents-v2) .site-unified-footer,
html body:not(.documents-v2) .site-unified-footer .footer-bottom {
  background: #eef0f1;
}

html body:not(.documents-v2) .site-unified-footer {
  color: #2d373d;
  font-family: 'Poppins', Arial, sans-serif;
}

html body:not(.documents-v2) .site-unified-footer .footer-bottom {
  padding: 0;
  border-top: 1px solid rgba(38, 50, 58, 0.14);
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 64px;
  padding: 32px 0 24px;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-logo {
  display: inline-flex;
  width: 200px;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%);
  opacity: 0.78;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-brand p {
  max-width: 650px;
  margin: 15px 0 11px;
  color: #59646a;
  font-family: 'Muli', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #85643a;
  font-size: 12px;
  font-weight: 600;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-proof:hover {
  color: #634923;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-proof .fa {
  font-size: 10px;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-connect {
  padding-left: 38px;
  border-left: 1px solid rgba(133, 100, 58, 0.34);
}

html body:not(.documents-v2) .site-unified-footer :is(.dl-site-footer-kicker, .dl-site-footer-legal > span) {
  display: block;
  color: #6d777d;
  font-size: 11px;
  font-weight: 600;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #26323a;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-email:hover {
  color: #795a32;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-email .fa {
  color: #957044;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-legal {
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid rgba(38, 50, 58, 0.14);
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-legal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 8px;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-legal a {
  color: #46545c;
  font-size: 12px;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-legal a:hover {
  color: #795a32;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 17px;
  border-top: 1px solid rgba(38, 50, 58, 0.14);
  color: #707a80;
  font-size: 11px;
}

html body:not(.documents-v2) .site-unified-footer .dl-site-footer-bottom strong {
  color: #37434a;
  font-weight: 600;
}

/* Each main destination keeps its own rhythm inside the shared system. */
html body.page-services .sc-services-primary .sc-service-card {
  border-top: 3px solid rgba(177, 139, 83, 0.82);
}

html body.page-services .sc-services-primary .contact-card.sc-service-card:not(.sc-service-card--subscription),
html body.page-services .sc-services-primary .sc-services-extra-card {
  border-radius: 8px;
  border-color: var(--site-line);
  box-shadow: 0 10px 28px rgba(24, 39, 51, .06);
}

html body.page-services .sc-services-primary .contact-card.sc-service-card:not(.sc-service-card--subscription)::before {
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: var(--site-gold);
}

html body.page-services .sc-services-primary .contact-card.sc-service-card:not(.sc-service-card--subscription):hover {
  transform: none;
  border-color: var(--site-line);
  box-shadow: 0 12px 32px rgba(24, 39, 51, .09);
}

html body.page-services .sc-services-primary .sc-service-card .sc-service-icon {
  border-radius: 6px;
  background: #eef3f8;
}

html body.page-services .sc-services-primary .sc-service-card:not(.sc-service-card--subscription) .theme-btn.btn-style-one {
  border-radius: 6px;
  box-shadow: none;
}

html body.page-services .sc-services-primary .sc-service-card--subscription {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  column-gap: 36px;
  align-content: start;
  padding: 28px 32px 24px;
  border: 1px solid var(--site-line);
  border-top: 3px solid var(--site-gold);
  border-radius: 8px;
  background: #f6f8fa;
  box-shadow: 0 10px 28px rgba(24, 39, 51, .06);
}

html body.page-services .sc-services-primary .sc-service-card--subscription:hover {
  transform: none;
  border-color: var(--site-line);
  border-top-color: var(--site-gold);
  box-shadow: 0 12px 32px rgba(24, 39, 51, .09);
}

html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-title {
  grid-column: 1;
  margin: 0 0 10px;
  color: var(--site-text);
  font-size: 25px;
  line-height: 1.25;
  text-align: left;
}

html body.page-services .sc-services-primary .sc-service-card--subscription > p {
  grid-column: 1;
  margin: 0 0 20px;
  color: var(--site-muted);
}

html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-points {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  margin: 0 0 16px;
  padding: 0;
}

html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-points li {
  margin-bottom: 11px;
  padding-left: 20px;
  color: var(--site-text);
}

html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-points li::before {
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--site-gold);
  box-shadow: none;
}

html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--site-line);
  border-left: 3px solid var(--site-gold);
  border-radius: 4px;
  background: #fff;
  color: var(--site-muted);
}

html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-note strong {
  color: var(--site-text);
}

html body.page-services .sc-services-primary .sc-service-card--subscription .sc-service-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--subscription .theme-btn.btn-style-one.sc-subscription-link {
  min-width: 0;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--site-navy) !important;
  border-radius: 6px;
  background: var(--site-navy) !important;
  color: #fff !important;
  box-shadow: none;
  text-shadow: none;
}

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--subscription .theme-btn.btn-style-one.sc-subscription-link:hover,
html body.page-services .sc-services-primary .sc-service-card.sc-service-card--subscription .theme-btn.btn-style-one.sc-subscription-link:focus-visible {
  border-color: #324b63 !important;
  background: #324b63 !important;
  box-shadow: none;
}

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--registry {
  border-color: #565659;
  border-top-color: #c8a46d;
  background: linear-gradient(125deg, #303238, #1d2a38);
}

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--safety {
  border-color: #3a5964;
  border-top-color: #2da98b;
  background: linear-gradient(125deg, #173849, #142b3c);
}

html body.page-services .sc-services-primary .sc-service-card:is(.sc-service-card--registry, .sc-service-card--safety) :is(h3, .sc-subscription-points li, .sc-subscription-note strong) {
  color: #f7f8f8;
}

html body.page-services .sc-services-primary .sc-service-card:is(.sc-service-card--registry, .sc-service-card--safety) > p,
html body.page-services .sc-services-primary .sc-service-card:is(.sc-service-card--registry, .sc-service-card--safety) .sc-subscription-note {
  color: #d4dfe5;
}

html body.page-services .sc-services-primary .sc-service-card:is(.sc-service-card--registry, .sc-service-card--safety) .sc-subscription-note {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .065);
}

html body.page-services .sc-services-primary .sc-service-card--registry .sc-subscription-note { border-left-color: #c8a46d; }
html body.page-services .sc-services-primary .sc-service-card--safety .sc-subscription-note { border-left-color: #2da98b; }
html body.page-services .sc-services-primary .sc-service-card--registry .sc-subscription-points li::before { background: #d5b47f; }
html body.page-services .sc-services-primary .sc-service-card--safety .sc-subscription-points li::before { background: #57c7a6; }

html body.page-services .sc-services-primary .sc-services-contact-row > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px 22px;
  border-left: 3px solid #b18b53;
  background: #eef2f4;
}

html body.page-services .sc-services-primary .sc-services-contact-row p {
  max-width: 720px;
  margin: 0;
  color: #344650;
  font-size: 15px;
  line-height: 1.55;
}

html body.page-services .sc-services-primary .sc-services-contact-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #c8a46d;
  color: #172739;
  font-weight: 700;
  text-decoration: none;
}

html body.page-services .sc-services-primary .sc-services-contact-row a:hover { background: #dfbd89; color: #172739; }

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--registry .theme-btn.btn-style-one.sc-subscription-link {
  border-color: #c8a46d !important;
  background: #c8a46d !important;
  color: #172739 !important;
}

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--registry .theme-btn.btn-style-one.sc-subscription-link:hover,
html body.page-services .sc-services-primary .sc-service-card.sc-service-card--registry .theme-btn.btn-style-one.sc-subscription-link:focus-visible {
  border-color: #dfbc86 !important;
  background: #dfbc86 !important;
}

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--safety .theme-btn.btn-style-one.sc-subscription-link {
  border-color: #189371 !important;
  background: #189371 !important;
  color: #fff !important;
}

html body.page-services .sc-services-primary .sc-service-card.sc-service-card--safety .theme-btn.btn-style-one.sc-subscription-link:hover,
html body.page-services .sc-services-primary .sc-service-card.sc-service-card--safety .theme-btn.btn-style-one.sc-subscription-link:focus-visible {
  border-color: #24ad88 !important;
  background: #24ad88 !important;
}

html body.page-services .sc-services-primary .sc-services-extra-actions > .theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 420px;
  width: min(100%, 420px);
  min-height: 54px;
  padding: 12px 18px;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

html body.page-services .sc-services-process-row .sc-services-extra-card {
  height: auto;
}

@media (max-width: 767.98px) {
  html body.page-services .sc-services-primary .sc-services-contact-row > div {
    flex-direction: column;
    align-items: stretch;
    padding: 17px 18px;
  }

  html body.page-services .sc-services-primary .sc-services-contact-row a { width: 100%; }

  html body.page-services .sc-services-primary .sc-service-card--subscription {
    display: block;
    padding: 20px 18px;
  }

  html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-title {
    font-size: 22px;
  }

  html body.page-services .sc-services-primary .sc-service-card--subscription .sc-subscription-points {
    margin: 2px 0 14px;
  }

  html body.page-services .sc-services-primary .sc-service-card.sc-service-card--subscription .theme-btn.btn-style-one.sc-subscription-link {
    width: 100%;
  }
}

html body.page-services :is(.sc-service-card, .sc-services-extra-card) .icon-box {
  border-radius: 6px;
  background: #eef3f8;
  color: var(--site-navy);
}

html body.page-about .svc5-wrap .insta-band {
  border-left: 4px solid var(--site-gold);
  background: #fff;
}

html body.page-about .svc5-wrap .svc5-card {
  background: #fff;
}

html body.page-about .about-page-hero .content h1 {
  max-width: 820px;
}

.case-results-control {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.case-results-control:not(:checked) + .case-results-grid .case-card:nth-child(n + 7) {
  display: none;
}

.case-results-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  min-height: 42px;
  margin: 24px auto 0;
  padding: 9px 15px;
  border: 1px solid #cbd5de;
  border-radius: 6px;
  background: #fff;
  color: var(--site-navy);
  cursor: pointer;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.case-results-toggle:hover {
  border-color: rgba(177, 139, 83, .72);
  background: #f8fafb;
  color: #795a32;
}

.case-results-toggle .fa {
  margin-left: 10px;
  font-size: 14px;
  transition: transform 150ms ease;
}

.case-toggle-expanded {
  display: none;
}

.case-results-control:checked ~ .case-results-toggle .case-toggle-collapsed {
  display: none;
}

.case-results-control:checked ~ .case-results-toggle .case-toggle-expanded {
  display: inline;
}

.case-results-control:checked ~ .case-results-toggle .fa {
  transform: rotate(180deg);
}

.case-results-control:focus-visible ~ .case-results-toggle {
  outline: 3px solid #bd9459;
  outline-offset: 3px;
}

html body.page-blog .blog-tools {
  padding: 22px 24px;
}

html body.page-blog .blog-tools-head h2 {
  font-size: 24px;
  line-height: 1.25;
}

html body.page-blog .blog-topic-chip {
  min-height: 30px;
  padding: 5px 11px;
}

html body.page-blog :is(.blog-search-input, #blogSearchInput) {
  min-height: 46px;
}

html body.page-blog .blog-feed-head {
  max-width: 1170px;
  margin: 44px auto 26px;
  padding: 2px 0 2px 18px;
  border-left: 4px solid var(--site-gold);
}

html body.page-blog .blog-feed-head h2 {
  margin: 0;
  color: var(--site-text);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 650;
}

html body.page-blog .blog-feed-head p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--site-muted);
  font-size: 14px;
}

html body.page-contact .contact-main .contact-card {
  border-top: 3px solid rgba(177, 139, 83, 0.72);
}

html body.page-contact .contact-form :is(input:not([type='checkbox']), select, textarea) {
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: #fff;
}

html body.page-contact .contact-direct {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--site-line);
}

html body.page-contact .contact-direct > span {
  margin-bottom: 2px;
  color: #6d777d;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

html body.page-contact .contact-direct a {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #d6dfe7;
  border-radius: 6px;
  background: #f7f9fb;
  color: #263746;
  text-decoration: none;
}

html body.page-contact .contact-direct a:hover {
  border-color: rgba(177, 139, 83, .68);
  background: #fff;
}

html body.page-contact .contact-direct a i {
  color: #957044;
}

html body.page-contact .contact-direct a strong {
  min-width: 0;
  font-size: 12px;
  line-height: 1.4;
}

html body.page-contact .contact-direct a b {
  color: var(--site-navy);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

html body:not(.documents-v2) .scroll-to-top {
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(208, 173, 119, 0.58);
  border-radius: 4px;
  background: rgba(32, 34, 36, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: #f4f1eb;
  line-height: 42px;
}

html body:not(.documents-v2) :is(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #bd9459 !important;
  outline-offset: 3px;
}

@media (min-width: 992px) {
  html body:not(.documents-v2) .main-header .header-upper .clearfix {
    min-height: 76px;
  }

  html body:not(.documents-v2) .main-header .header-upper .logo-box {
    left: max(24px, calc((100% - 1200px) / 2 + 15px));
    width: 232px;
    min-height: 76px;
  }

  html body:not(.documents-v2) .main-header .main-menu .navigation > li,
  html body:not(.documents-v2) .main-header .main-menu .navigation > li.sc-menu-payment-item {
    margin-right: 32px;
  }

  html body:not(.documents-v2) .main-header .main-menu .navigation > li.sc-menu-lang-item {
    margin-right: 0;
  }

  html body:not(.documents-v2) .main-header .main-menu .navigation > li > a,
  html body:not(.documents-v2) .main-header .main-menu .navigation > li.sc-menu-payment-item > a {
    padding: 23px 0;
    font-size: 15px;
    line-height: 30px;
  }

  html body:not(.documents-v2) .sc-menu-lang-switch--desktop {
    margin-top: 16px;
  }

  html body .main-menu .navigation > li.dropdown:hover > ul,
  html body .main-menu .navigation > li.dropdown:focus-within > ul {
    display: block;
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 991.98px) {
  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 36px;
  }

  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-connect {
    padding-left: 28px;
  }

  html body:not(.documents-v2) :is(.page-title, .contact-hero),
  html body:not(.documents-v2) :is(.page-title, .contact-hero) > .container,
  html body:not(.documents-v2) .contact-hero__inner {
    min-height: 350px;
  }

  html body:not(.documents-v2) :is(.page-title, .contact-hero) > .container,
  html body:not(.documents-v2) .contact-hero__inner {
    padding-top: 32px;
    padding-bottom: 34px;
  }

  html body:not(.documents-v2) :is(.page-title .content h1, .contact-hero__copy h1) {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --ui-h1: 30px;
    --ui-h2: 28px;
    --ui-h3: 21px;
  }

  html body:not(.documents-v2) :is(.page-title, .contact-hero),
  html body:not(.documents-v2) :is(.page-title, .contact-hero) > .container,
  html body:not(.documents-v2) .contact-hero__inner {
    min-height: 350px;
  }

  html body:not(.documents-v2) :is(.page-title, .contact-hero) > .container,
  html body:not(.documents-v2) .contact-hero__inner {
    justify-content: center;
    padding: 90px 16px 32px;
  }

  html body:not(.documents-v2) :is(.page-title .content, .contact-hero__copy) {
    width: 100%;
    text-align: center;
  }

  html body:not(.documents-v2) :is(.page-title .content h1, .contact-hero__copy h1) {
    font-size: 30px;
    text-align: center;
  }

  html body:not(.documents-v2) :is(.page-title .about-hero-subtext, .contact-hero__copy p) {
    font-size: 14px;
    text-align: center;
  }

  html body:not(.documents-v2) :is(
    .head h2,
    .contact-main .head h2,
    .case-results-section .head h2,
    .media-static-header h2,
    .sc-services-main .head h2,
    .sc-documents-main .head h2,
    .blog-tools-head h2
  ) {
    font-size: 28px;
  }

  html body:not(.documents-v2) :is(
    .contact-card,
    .sc-service-card,
    .sc-services-extra-card,
    .media-copy-card,
    .media-quote-card,
    .blog-tools
  ) {
    padding: 18px;
  }

  html body:not(.documents-v2) :is(
    .contact-main .head,
    .sc-services-main .head,
    .case-results-section .head,
    .media-static-header
  ) {
    padding: 0 0 16px 15px;
  }

  html body:not(.documents-v2) :is(
    .contact-main .head,
    .sc-services-main .head,
    .case-results-section .head,
    .media-static-header
  )::before {
    bottom: 17px;
    width: 3px;
  }

  html body:not(.documents-v2) .svc5-wrap .sec-title .title {
    font-size: 25px;
  }

  html body.home-page .about-sc .section-title h3 span,
  html body.home-page .sc-services .section-title.light.centered span {
    font-size: 28px;
  }

  html body.home-page .sc-services .svc-card {
    border-radius: 8px;
  }

  html body:not(.documents-v2) .site-contact-meta .contact-meta-box {
    padding: 20px 16px 18px;
  }

  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 27px 0 20px;
  }

  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-connect {
    padding: 20px 0 0;
    border-top: 1px solid rgba(133, 100, 58, 0.25);
    border-left: 0;
  }

  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  html body.page-blog .blog-tools {
    padding: 18px;
  }

  html body.page-blog .blog-tools-head h2 {
    font-size: 22px;
  }

  html body.page-blog .blog-feed-head {
    margin: 34px 16px 22px;
    padding-left: 14px;
  }

  html body.page-blog .blog-feed-head h2 {
    font-size: 26px;
  }

  html body:not(.documents-v2) .scroll-to-top {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    line-height: 38px;
  }
}

@media (max-width: 599px) {
  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-logo {
    width: 164px;
  }

  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-brand p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.6;
  }

  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-legal {
    margin-top: 17px;
    padding-top: 14px;
  }

  html body:not(.documents-v2) .site-unified-footer .dl-site-footer-bottom {
    padding: 12px 56px 14px 0;
  }

  html body.page-contact .contact-direct a {
    grid-template-columns: 16px minmax(0, 1fr);
  }

  html body.page-contact .contact-direct a b {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body:not(.documents-v2) *,
  html body:not(.documents-v2) *::before,
  html body:not(.documents-v2) *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final page hierarchy: practice first, one primary action, and a readable feed. */
@media (min-width: 768px) {
  html body.home-page .hero-main {
    background-color: #1d2023;
    background-position: center 18%;
  }
}

html body.home-page .hero-main__title {
  font-size: 32px;
  line-height: 1.14;
}

html body.home-page .hero-main__actions .hero-main__btn {
  min-height: 50px;
  padding: 13px 10px;
  border: 1px solid rgba(200, 164, 109, .46);
  border-radius: 12px;
  background: rgba(10, 32, 54, .92) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28);
  color: #fff !important;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .38);
}

html body.home-page .hero-main__actions .hero-main__btn:is(:hover, :focus-visible) {
  border-color: rgba(224, 190, 132, .72);
  background: rgba(14, 43, 70, .96) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .34);
}

html body.home-page .hero-main__actions .hero-main__btn:first-child {
  border-color: #c8a46d;
  background: #c8a46d !important;
  color: #172739 !important;
  text-shadow: none;
}

html body.home-page .hero-main__actions .hero-main__btn:first-child:hover,
html body.home-page .hero-main__actions .hero-main__btn:first-child:focus-visible {
  border-color: #deb983;
  background: #deb983 !important;
}

@media (max-width: 991.98px) {
  html body.home-page .hero-main__title { font-size: 27px; }
  html body.home-page .hero-main__note { width: max-content; max-width: 100%; }
  html body.home-page :is(.hero-main__actions, .hero-main__media) {
    width: min(100%, 340px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  html body.home-page .hero-main {
    background-size: auto 116vw;
    background-position: left 30%;
  }

  html body.home-page .quote-title { font-size: 30px; }
  html body.home-page .quote-sub { font-size: 21px; }
}

@media (max-width: 767.98px) {
  html body.home-page .hero-main__title { font-size: 24px; }
}

@media (max-width: 480px) {
  html body.home-page .hero-main {
    background-size: auto calc(100% + 120px);
    background-position: left bottom;
  }
  html body.home-page .hero-main__title { font-size: 21px; }
}

@media (max-width: 360px) {
  html body.home-page .hero-main__title { font-size: 20px; }
  html body.home-page .hero-main__sub span { white-space: normal !important; }
}

html body.home-page .contact-info-section .default-form :is(input[type="text"], input[type="email"], select, textarea) {
  border: 1px solid rgba(214, 177, 116, .84);
  border-radius: 8px;
  background: rgba(255, 255, 255, .16) !important;
  color: #fff !important;
  box-shadow: none;
  backdrop-filter: blur(6px);
}

html body.home-page .contact-info-section .default-form :is(input[type="text"], input[type="email"], select, textarea)::placeholder {
  color: rgba(255, 255, 255, .84);
}

html body.home-page .contact-info-section .default-form select option {
  color: #1f2a35;
  background: #fff;
}

html body.home-page .contact-info-section .default-form button[type="submit"] {
  border-color: #c8a46d;
  background: #c8a46d !important;
  color: #172739 !important;
}

html body.home-page .contact-info-section .default-form button[type="submit"]:is(:hover, :focus-visible) {
  border-color: #deb983;
  background: #deb983 !important;
}

html body.home-page .contact-info-section .default-form :is(input[type="text"], input[type="email"], select, textarea):focus {
  border-color: #dfb87b;
  outline: none;
  background: rgba(255, 255, 255, .22) !important;
  box-shadow: none;
}

html body.home-page .contact-info-section .default-form :is(input[type="text"], input[type="email"], select, textarea):focus-visible {
  outline: none !important;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  html body .sc-mobile-menu-list .sc-mobile-submenu {
    border-top: 1px solid rgba(200, 164, 109, .42);
    background: #202c35;
  }

  html body .sc-mobile-menu-list .sc-mobile-submenu li a {
    border-bottom-color: rgba(255, 255, 255, .1);
    border-left: 2px solid transparent;
    color: #eef2f3;
  }

  html body .sc-mobile-menu-list .sc-mobile-submenu li a:is(:hover, :focus-visible) {
    border-left-color: #c8a46d;
    background: #2b3d49;
    color: #fff;
  }
}

/* Mobile polish: preserve the established visual language and fix only geometry. */
@media (max-width: 480px) {
  html body:not(.documents-v2) .media-static-item {
    min-width: 0;
    gap: 12px;
    overflow: hidden;
  }

  html body:not(.documents-v2) .media-static-logo-wrap {
    flex-basis: 108px;
  }

  html body:not(.documents-v2) .media-static-text {
    min-width: 0;
  }

  html body:not(.documents-v2) .media-static-text h3 {
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  html body.home-page .sc-services .svc-card-link,
  html body.page-blog .blog-card-link {
    min-height: 44px;
    align-items: center;
  }
}

html body.home-page .page-wrapper .media-static .media-static-header {
  margin: 0 auto 32px;
  padding: 0;
  border-bottom: 0;
  text-align: left;
}

html body.home-page .page-wrapper .media-static .media-static-header::before { display: none; }

html body.home-page .page-wrapper .media-static .media-static-header h2 {
  font-size: 29px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
}

html body.home-page .page-wrapper .media-static .media-static-header .gold-line {
  display: block;
  width: 60px;
  height: 2px;
  margin: 13px 0 0;
}

html body.home-page .page-wrapper .media-static .media-static-header .sub {
  max-width: 790px;
  margin: 13px 0 0;
  color: #566575;
  text-align: left;
}

@media (max-width: 767.98px) {
  html body.home-page .page-wrapper .media-static .media-static-header h2 { font-size: 25px; }
}

html body.page-about .svc5-wrap > .container {
  display: flex;
  flex-direction: column;
}

html body.page-about .svc5-wrap .svc5-lead {
  position: relative;
  order: 0;
  margin-bottom: 20px;
  padding: 0 0 17px 17px;
  border-bottom: 1px solid var(--site-line);
}

html body.page-about .svc5-wrap .svc5-lead::before {
  content: '';
  position: absolute;
  top: 2px;
  bottom: 18px;
  left: 0;
  width: 4px;
  background: var(--site-gold);
}

html body.page-about .svc5-wrap .svc5-lead h2 {
  margin: 0 0 5px;
  color: var(--site-text);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 650;
}

html body.page-about .svc5-wrap .svc5-lead p {
  max-width: 790px;
  margin: 0;
  color: var(--site-muted);
  font-size: 15px;
}

html body.page-about .svc5-wrap .svc5-grid { order: 1; }
html body.page-about .svc5-wrap .insta-band { order: 2; margin-top: 24px; }
html body.page-about .svc5-wrap .svc5-intro { order: 3; }
html body.page-about .svc5-wrap .sec-title { order: 4; }
html body.page-about .svc5-wrap .svc5-steps { order: 5; }
html body.page-about .svc5-wrap .svc5-cta-wrap { order: 6; }

html body.page-blog .blog-main > .container {
  display: flex;
  flex-direction: column;
}

html body.page-blog .blog-tools {
  position: static;
  order: 0;
  margin-bottom: 0;
  padding: 16px 20px;
}

html body.page-blog .blog-tools .blog-tools-head h2 {
  margin-bottom: 9px;
  font-size: 21px;
}

html body.page-blog .blog-tools-row input[type="search"],
html body.page-blog .blog-tools-row button {
  height: 46px;
  border-radius: 6px;
}

html body.page-blog .blog-tools-row button {
  min-width: 92px;
  border-color: var(--site-line);
  background: var(--site-soft);
  color: var(--site-navy);
}

html body.page-blog .blog-tools-row button:disabled {
  opacity: .48;
  cursor: default;
}

html body.page-contact .contact-form-card h3 {
  margin: 0 0 18px;
  color: var(--site-text);
  font-size: 21px;
  line-height: 1.3;
}

html body.page-contact .contact-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--site-text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

html body.page-contact .contact-form :is(input[type="text"], input[type="email"], select) {
  height: 52px;
  padding: 0 14px;
  border-color: var(--site-line);
  border-radius: 6px;
  background: #fff;
  line-height: normal;
}

html body.page-contact .contact-form textarea {
  min-height: 134px;
  padding: 13px 14px;
  border-color: var(--site-line);
  border-radius: 6px;
  background: #fff;
}

@media (min-width: 992px) {
  html body.page-contact .contact-main > .container > .grid > .contact-info-card {
    grid-column: 1;
    grid-row: 1;
  }

  html body.page-contact .contact-main > .container > .grid > .contact-form-card {
    grid-column: 2;
    grid-row: 1;
  }
}

html body.page-blog .blog-feed-head { order: 1; }
html body.page-blog .blog-grid { order: 2; }
html body.page-blog .blog-pagination { order: 3; }
html body.page-blog .blog-main > .container > .full-gold-divider { order: 4; margin-top: 42px; }
html body.page-blog #blog-practice-cases { order: 5; }

@media (max-width: 767.98px) {
  html body.page-about .svc5-wrap .svc5-lead h2 {
    font-size: 25px;
  }

  html body.page-blog .blog-tools-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  html body.page-blog .blog-tools-row button {
    width: auto;
    min-width: 86px;
    padding-inline: 12px;
  }

  html body.page-blog .blog-topic-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  html body.page-blog .blog-topic-chips::-webkit-scrollbar {
    display: none;
  }

  html body.page-blog .blog-topic-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  html body.page-blog .blog-main > .container > .full-gold-divider {
    margin-top: 32px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  html body:not(.documents-v2) .main-header .header-upper .logo-box {
    width: 205px;
  }

  html body:not(.documents-v2) .main-header .main-menu .navigation > li,
  html body:not(.documents-v2) .main-header .main-menu .navigation > li.sc-menu-payment-item {
    margin-right: 10px;
  }

  html body:not(.documents-v2) .main-header .main-menu .navigation > li > a,
  html body:not(.documents-v2) .main-header .main-menu .navigation > li.sc-menu-payment-item > a {
    font-size: 13px;
  }
}

/* Editorial heading system: hierarchy through type and spacing, not ornaments. */
html body:not(.documents-v2) :is(
  .page-title .content h1,
  .contact-hero__copy h1
) {
  max-width: 900px;
  font-size: clamp(38px, 3.25vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}

html body:not(.documents-v2) .page-title .content h1::after,
html body:not(.documents-v2) .contact-hero__mini-line,
html body.home-page .hero-main__sub > span::after,
html body.home-page .quote-line,
html body.home-page .about-sc .section-title h3::after,
html body.home-page .sc-services .section-title h3::after,
html body.home-page .media-static-header .gold-line {
  display: none !important;
  content: none !important;
}

html body.home-page .hero-main__sub > span {
  padding-bottom: 0;
}

html body.home-page .about-sc .section-title,
html body.home-page .sc-services .section-title,
html body.home-page .media-static-header {
  margin-bottom: clamp(24px, 2.5vw, 34px);
}

html body.home-page .about-sc .section-title h3,
html body.home-page .sc-services .section-title h3 {
  margin: 0;
  padding: 0;
  line-height: 1.15;
}

html body.home-page .about-sc .section-title h3 span,
html body.home-page .sc-services .section-title.light.centered span {
  font-size: clamp(30px, 2.45vw, 38px);
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

html body.home-page .media-static .media-static-header h2 {
  max-width: 850px;
  font-size: clamp(30px, 2.25vw, 36px);
  line-height: 1.16;
  font-weight: 700;
  text-wrap: balance;
}

html body:not(.documents-v2) :is(
  .contact-main .head,
  .sc-services-main .head,
  .case-results-section .head,
  .media-static-header
) {
  max-width: 1170px;
  margin: 0 auto clamp(28px, 3vw, 40px);
  padding: 0;
  border: 0;
  text-align: left;
}

html body:not(.documents-v2) :is(
  .contact-main .head,
  .sc-services-main .head,
  .case-results-section .head,
  .media-static-header
)::before {
  display: none !important;
  content: none !important;
}

html body:not(.documents-v2) :is(
  .head h2,
  .contact-main .head h2,
  .case-results-section .head h2,
  .media-static-header h2,
  .sc-services-main .head h2,
  .sc-documents-main .head h2
) {
  max-width: 930px;
  margin: 0;
  color: var(--site-text);
  font-size: clamp(29px, 2.6vw, 39px);
  line-height: 1.16;
  font-weight: 700;
  text-wrap: balance;
}

html body:not(.documents-v2) :is(
  .head h2 span,
  .contact-main .head h2 span,
  .case-results-section .head h2 span,
  .sc-services-main .head h2 span
) {
  color: #8b673c;
}

html body:not(.documents-v2) :is(
  .contact-main .head p,
  .case-results-section .head p,
  .media-static-header .sub
) {
  max-width: 790px;
  margin-top: 13px;
}

html body.page-blog .blog-feed-head {
  margin: 48px auto 28px;
  padding: 0;
  border: 0;
}

html body.page-blog .blog-feed-head h2 {
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.18;
  font-weight: 700;
  text-wrap: balance;
}

html body.page-about .svc5-wrap .svc5-lead {
  margin-bottom: 28px;
  padding: 0;
  border: 0;
}

html body.page-about .svc5-wrap .svc5-lead::before {
  display: none !important;
  content: none !important;
}

html body.page-about .svc5-wrap .svc5-lead h2 {
  font-size: clamp(29px, 2.4vw, 37px);
  line-height: 1.16;
  font-weight: 700;
  text-wrap: balance;
}

html body:not(.documents-v2) :is(
  .contact-card h3,
  .sc-service-card h3,
  .sc-services-extra-card h3,
  .case-card h3,
  .media-copy-card h3,
  .media-quote-card h3,
  .blog-card h3
) {
  line-height: 1.3;
  font-weight: 650;
  text-wrap: balance;
}

@media (max-width: 767.98px) {
  html body:not(.documents-v2) :is(
    .page-title .content h1,
    .contact-hero__copy h1
  ) {
    font-size: 31px;
    line-height: 1.12;
  }

  html body.home-page .about-sc .section-title h3 span,
  html body.home-page .sc-services .section-title.light.centered span {
    font-size: 29px;
  }

  html body:not(.documents-v2) :is(
    .head h2,
    .contact-main .head h2,
    .case-results-section .head h2,
    .media-static-header h2,
    .sc-services-main .head h2,
    .sc-documents-main .head h2
  ) {
    font-size: 28px;
    line-height: 1.2;
  }

  html body:not(.documents-v2) :is(
    .contact-main .head,
    .sc-services-main .head,
    .case-results-section .head,
    .media-static-header
  ) {
    margin-bottom: 26px;
  }
}

/* Compact primary heroes for the contact and blog indexes. */
html body.page-contact .contact-hero,
html body.page-contact.site-page .contact-hero__inner,
html body.page-blog .page-title.sc-bg-page-blog,
html body.page-blog .page-title.sc-bg-page-blog > .container {
  min-height: 336px;
}

html body.page-contact.site-page .contact-hero__inner,
html body.page-blog .page-title.sc-bg-page-blog > .container {
  padding-bottom: 38px;
}

@media (max-width: 991.98px) {
  html body.page-contact .contact-hero,
  html body.page-contact.site-page .contact-hero__inner,
  html body.page-blog .page-title.sc-bg-page-blog,
  html body.page-blog .page-title.sc-bg-page-blog > .container {
    min-height: 280px;
  }

  html body.page-contact.site-page .contact-hero__inner,
  html body.page-blog .page-title.sc-bg-page-blog > .container {
    padding-top: 26px;
    padding-bottom: 27px;
  }
}

@media (max-width: 767.98px) {
  html body.page-contact.site-page .contact-hero__inner,
  html body.page-blog .page-title.sc-bg-page-blog > .container {
    padding: 72px 16px 26px;
  }
}

/* Mobile QA pass: prevent min-content overflow and keep controls touch friendly. */
html body:not(.documents-v2) .media-static-grid,
html body:not(.documents-v2) .media-static-item {
  min-width: 0;
  max-width: 100%;
}

html body:not(.documents-v2) .media-static-item {
  width: 100%;
}

/* Services page index: a restrained page-level navigation for the long service catalogue. */
html body.page-services .services-section-nav {
  position: relative;
  z-index: 3;
  background: #f4f6f8;
  border-bottom: 1px solid #d9dee4;
  box-shadow: 0 8px 22px rgba(13, 32, 51, 0.05);
}

html body.page-services .services-section-nav .container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 58px;
  padding-top: 0;
  padding-bottom: 0;
}

html body.page-services .services-section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 17px;
  color: #243345;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 650;
  text-align: center;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

html body.page-services .services-section-nav a:is(:hover, :focus-visible) {
  color: #75552f;
  border-bottom-color: #cda96f;
  background: #fff;
}

html body.page-services :is(
  #services-core,
  #services-registry,
  #services-safety,
  #services-practice,
  #services-results-cases,
  #services-details,
  #services-urgent,
  #services-media
) {
  scroll-margin-top: 96px;
}

@media (max-width: 767.98px) {
  html body.page-services .services-section-nav .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  html body.page-services .services-section-nav a {
    min-width: 0;
    min-height: 48px;
    padding: 9px 8px;
    border-bottom: 1px solid #d9dee4;
    font-size: 13px;
  }

  html body.page-services .services-section-nav a:nth-child(odd) {
    border-right: 1px solid #d9dee4;
  }

  html body.page-services :is(
    #services-core,
    #services-registry,
    #services-safety,
    #services-practice,
    #services-results-cases,
    #services-details,
    #services-urgent,
    #services-media
  ) {
    scroll-margin-top: 74px;
  }

  .sc-mobile-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    background: rgba(255, 255, 255, 0.07);
  }

  html body.page-contact .contact-main .grid > * {
    width: 100%;
    min-width: 0;
  }

  html body.page-blog .blog-topic-chip {
    min-height: 44px;
    padding: 10px 12px;
  }

  html body.page-blog .blog-pagination {
    align-items: center;
    gap: 10px;
  }

  html body.page-blog .blog-pagination .blog-page-link {
    min-width: 44px;
    height: 44px;
  }

  html body.page-blog .blog-pagination .blog-page-link:not(.current):not(.prev):not(.next) {
    display: none;
  }
}

@media (max-width: 360px) {
  html body.home-page .quote-title {
    font-size: 24px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  html body:not(.documents-v2) :is(
    .head h2,
    .contact-main .head h2,
    .case-results-section .head h2,
    .media-static-header h2,
    .sc-services-main .head h2,
    .sc-documents-main .head h2
  ) {
    font-size: 26px;
  }
}
