/*
 * Search visibility service pages
 *
 * Shared marketing system for Google SEO, Google GEO, Baidu SEO, Doubao GEO,
 * Baidu AI GEO and Google Business Profile pages. Everything is scoped to the
 * page class so the global site header, directory and footer keep their own
 * layout and interaction rules.
 */

.search-service-page {
  --search-service-paper: #f7f3ec;
  --search-service-paper-deep: #eee8de;
  --search-service-white: #fff;
  --search-service-ink: #181b1c;
  --search-service-charcoal: #202526;
  --search-service-charcoal-soft: #2b3233;
  --search-service-muted: #5c6363;
  --search-service-line: rgb(24 27 28 / 16%);
  --search-service-line-light: rgb(255 255 255 / 18%);
  --search-service-coral: #ee564d;
  --search-service-red: #8f2d2b;
  --search-service-red-dark: #70211f;
  --search-service-yellow: #ffca0a;
  --search-service-shadow: 0 26px 70px rgb(21 25 26 / 13%);
  --search-service-radius: 2px;
  background: var(--search-service-paper);
  color: var(--search-service-ink);
}

.search-service-page main {
  overflow: clip;
}

.search-service-page main img {
  display: block;
  max-width: 100%;
}

.search-service-page :where(h1, h2, h3, p, figure, ul, ol, dl) {
  margin-top: 0;
}

.search-service-page main :where(a, button, summary):focus-visible {
  outline: 3px solid var(--search-service-yellow);
  outline-offset: 3px;
}

.search-service-container {
  width: min(100%, 1540px);
  margin-inline: auto;
  padding-inline: var(--gutter, clamp(24px, 5vw, 72px));
}

.search-service-eyebrow,
.search-service-section-heading > p:first-child,
.search-service-section-heading > span:first-child {
  margin-bottom: 15px;
  color: var(--search-service-red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.search-service-section-heading {
  max-width: 860px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.search-service-section-heading h2 {
  margin-bottom: 20px;
  color: inherit;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.05rem, 4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.052em;
  line-height: 1.12;
  text-wrap: balance;
}

.search-service-section-heading > p:not(:first-child) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--search-service-muted);
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.85;
}

.search-service-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 1px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.search-service-button:hover {
  transform: translateY(-2px);
}

.search-service-button--primary {
  background: var(--search-service-red);
  color: #fff;
}

.search-service-button--primary:hover,
.search-service-button--primary:focus-visible {
  background: var(--search-service-red-dark);
  color: #fff;
}

.search-service-button--secondary {
  border-color: rgb(24 27 28 / 32%);
  background: transparent;
  color: var(--search-service-ink);
}

.search-service-button--secondary:hover,
.search-service-button--secondary:focus-visible {
  border-color: var(--search-service-ink);
  background: var(--search-service-white);
  color: var(--search-service-ink);
}

/* Hero: compact copy beside a real, legible product-page capture. */
.search-service-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(48px, 5vw, 72px) clamp(52px, 5vw, 78px);
  background:
    radial-gradient(circle at 93% 4%, rgb(238 86 77 / 14%), transparent 34%),
    linear-gradient(135deg, #fbf8f3 0%, var(--search-service-paper) 58%, #efe8dc 100%);
}

.search-service-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: min(34vw, 520px);
  height: 8px;
  background: var(--search-service-coral);
  content: "";
}

.search-service-hero__inner {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: clamp(42px, 6vw, 98px);
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
}

.search-service-hero__copy,
.search-service-hero__visual {
  min-width: 0;
}

.search-service-hero__copy h1 {
  max-width: 700px;
  margin: 0;
  color: var(--search-service-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.85rem, 5vw, 5.75rem);
  font-weight: 900;
  letter-spacing: -0.064em;
  line-height: 1.04;
  text-wrap: balance;
}

.search-service-hero__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #494f4f;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.82;
}

.search-service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.search-service-hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.search-service-hero__notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4d5353;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.5;
}

.search-service-hero__notes li::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: var(--search-service-red);
  border-radius: 50%;
  content: "";
}

.search-service-hero__visual {
  position: relative;
  padding: clamp(12px, 2vw, 28px) clamp(0px, 1vw, 14px) clamp(20px, 3vw, 46px) clamp(12px, 3vw, 52px);
}

.search-service-hero__visual::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 74%;
  border: 1px solid rgb(143 45 43 / 26%);
  content: "";
}

.search-service-browser {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgb(24 27 28 / 22%);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--search-service-shadow);
}

.search-service-browser__bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-bottom: 1px solid #dde0e0;
  background: #f1f3f4;
}

.search-service-browser__bar::before {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #d35a53;
  box-shadow: 17px 0 #d9ab42, 34px 0 #4d9d68;
  content: "";
}

.search-service-browser__address {
  min-width: 0;
  margin-left: 36px;
  padding: 5px 12px;
  overflow: hidden;
  border: 1px solid #d7dadb;
  border-radius: 12px;
  background: #fff;
  color: #62696a;
  font-size: 0.66rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-service-browser__viewport {
  display: grid;
  aspect-ratio: 1280 / 710;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.search-service-gallery__media .search-service-browser__viewport {
  min-height: 0;
}

.search-service-browser__viewport img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.search-service-browser figcaption,
.search-service-visual-caption {
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid #e0e2e2;
  background: #fff;
  color: #5d6464;
  font-size: 0.7rem;
  line-height: 1.55;
}

.search-service-browser figcaption a,
.search-service-visual-caption a {
  color: var(--search-service-red);
  font-weight: 800;
}

.search-service-visual-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  max-width: 230px;
  padding: 14px 16px;
  background: var(--search-service-charcoal);
  box-shadow: 0 18px 40px rgb(17 20 20 / 22%);
  color: #fff;
}

.search-service-visual-stamp strong,
.search-service-visual-stamp span {
  display: block;
}

.search-service-visual-stamp strong {
  font-size: 0.78rem;
  line-height: 1.4;
}

.search-service-visual-stamp span {
  margin-top: 3px;
  color: #d6dddd;
  font-size: 0.66rem;
  line-height: 1.5;
}

/* Compact evidence bar directly after the promise. */
.search-service-proofbar {
  border-top: 1px solid var(--search-service-line);
  border-bottom: 1px solid var(--search-service-line);
  background: var(--search-service-white);
}

.search-service-proofbar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.search-service-proofbar article,
.search-service-proofbar__item {
  min-width: 0;
  min-height: 132px;
  padding: 25px clamp(18px, 2.5vw, 36px);
  border-right: 1px solid var(--search-service-line);
}

.search-service-proofbar article:last-child,
.search-service-proofbar__item:last-child {
  border-right: 0;
}

.search-service-proofbar span {
  display: block;
  margin-bottom: 9px;
  color: var(--search-service-red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.search-service-proofbar strong {
  display: block;
  color: var(--search-service-ink);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.35;
}

.search-service-proofbar p {
  margin: 8px 0 0;
  color: var(--search-service-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.search-service-outcomes,
.search-service-gallery,
.search-service-process,
.search-service-fit,
.search-service-faq,
.search-service-platforms,
.search-service-cases {
  padding-block: clamp(78px, 9vw, 142px);
}

/* Commercial outcomes: high-density editorial cards, not fake dashboards. */
.search-service-outcomes {
  background: var(--search-service-white);
}

.search-service-outcomes__grid {
  display: grid;
  border-top: 1px solid var(--search-service-line);
  border-left: 1px solid var(--search-service-line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-service-outcome-card {
  position: relative;
  min-width: 0;
  min-height: 320px;
  padding: clamp(26px, 3vw, 46px);
  border-right: 1px solid var(--search-service-line);
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-outcome-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: var(--search-service-coral);
  content: "";
}

.search-service-outcome-card > span:first-child {
  display: block;
  margin-bottom: 54px;
  color: var(--search-service-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.search-service-outcome-card h3 {
  margin-bottom: 16px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.5rem, 2.1vw, 2.15rem);
  line-height: 1.25;
}

.search-service-outcome-card p {
  margin-bottom: 0;
  color: var(--search-service-muted);
  font-size: 0.88rem;
  line-height: 1.82;
}

/* Actual-page screenshot gallery. */
.search-service-gallery {
  background: var(--search-service-paper);
}

.search-service-gallery__grid {
  display: grid;
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 34px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.search-service-gallery__card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--search-service-line);
  background: var(--search-service-white);
  box-shadow: 0 18px 50px rgb(27 31 31 / 7%);
  grid-column: span 6;
}

.search-service-gallery__card--wide,
.search-service-gallery__card:first-child:nth-last-child(odd) {
  grid-column: span 12;
}

.search-service-gallery__media {
  display: grid;
  min-height: clamp(270px, 32vw, 490px);
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-gallery__card--wide .search-service-gallery__media {
  min-height: clamp(340px, 42vw, 640px);
}

.search-service-gallery__media img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: contain;
  object-position: center top;
}

.search-service-gallery__copy {
  padding: clamp(22px, 2.5vw, 34px);
}

.search-service-gallery__copy span {
  display: block;
  margin-bottom: 10px;
  color: var(--search-service-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.5;
}

.search-service-gallery__copy h3 {
  margin-bottom: 11px;
  font-size: clamp(1.2rem, 1.8vw, 1.75rem);
  line-height: 1.35;
}

.search-service-gallery__copy p {
  margin-bottom: 0;
  color: var(--search-service-muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.search-service-gallery__copy a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 15px;
  color: var(--search-service-red);
  font-size: 0.78rem;
  font-weight: 850;
  text-underline-offset: 4px;
}

/* Deliverables on charcoal create a clear visual rhythm change. */
.search-service-deliverables {
  padding-block: clamp(78px, 9vw, 140px);
  background: var(--search-service-charcoal);
  color: #fff;
}

.search-service-deliverables .search-service-section-heading > p:first-child,
.search-service-deliverables .search-service-section-heading > span:first-child {
  color: #ff8b84;
}

.search-service-deliverables .search-service-section-heading > p:not(:first-child) {
  color: #cbd1d1;
}

.search-service-deliverables__grid {
  display: grid;
  border-top: 1px solid var(--search-service-line-light);
  border-left: 1px solid var(--search-service-line-light);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-service-deliverable {
  min-width: 0;
  padding: clamp(25px, 3vw, 42px);
  border-right: 1px solid var(--search-service-line-light);
  border-bottom: 1px solid var(--search-service-line-light);
  background: rgb(255 255 255 / 2%);
}

.search-service-deliverable > span:first-child {
  display: block;
  margin-bottom: 24px;
  color: #ff918b;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.search-service-deliverable h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.35;
}

.search-service-deliverable p,
.search-service-deliverable li {
  color: #cbd1d1;
  font-size: 0.82rem;
  line-height: 1.75;
}

.search-service-deliverable p:last-child {
  margin-bottom: 0;
}

.search-service-deliverable ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.search-service-deliverable li {
  position: relative;
  padding-left: 16px;
}

.search-service-deliverable li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 5px;
  height: 5px;
  background: #ff918b;
  content: "";
}

/* Existing website systems and measurement tools supported by this service. */
.search-service-platforms {
  background: var(--search-service-paper-deep);
}

.search-service-platforms__grid {
  display: grid;
  border-top: 1px solid var(--search-service-line);
  border-left: 1px solid var(--search-service-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-service-platform-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--search-service-line);
  border-bottom: 1px solid var(--search-service-line);
  background: var(--search-service-white);
}

.search-service-platform-card > span:first-child {
  display: block;
  margin-bottom: 30px;
  color: var(--search-service-red);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.search-service-platform-card h3 {
  margin-bottom: 14px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.45rem, 2.3vw, 2.25rem);
  line-height: 1.3;
}

.search-service-platform-card > p:not(.search-service-platform-card__note) {
  margin-bottom: 22px;
  color: var(--search-service-muted);
  font-size: 0.87rem;
  line-height: 1.8;
}

.search-service-platform-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.search-service-platform-card li {
  padding: 7px 10px;
  border: 1px solid rgb(143 45 43 / 28%);
  background: rgb(143 45 43 / 4%);
  color: var(--search-service-red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
}

.search-service-platform-card__note {
  margin-bottom: 0;
  padding-left: 14px;
  border-left: 3px solid var(--search-service-coral);
  color: #555c5c;
  font-size: 0.75rem;
  line-height: 1.72;
}

/* Process */
.search-service-process {
  background: var(--search-service-white);
}

.search-service-process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.search-service-process__step {
  position: relative;
  min-width: 0;
  padding: 34px clamp(20px, 2.5vw, 36px);
  border-top: 1px solid var(--search-service-line);
  border-right: 1px solid var(--search-service-line);
  border-bottom: 1px solid var(--search-service-line);
}

.search-service-process__step:first-child {
  border-left: 1px solid var(--search-service-line);
}

.search-service-process__step > span:first-child {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 48px;
  place-items: center;
  background: var(--search-service-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.search-service-process__step h3 {
  margin-bottom: 12px;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.35;
}

.search-service-process__step p {
  margin-bottom: 0;
  color: var(--search-service-muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

/* Fit / not-fit boundary. */
.search-service-fit {
  background: var(--search-service-paper-deep);
}

.search-service-fit__grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--search-service-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-service-fit__panel {
  min-width: 0;
  padding: clamp(30px, 4vw, 58px);
  background: #fff;
}

.search-service-fit__panel + .search-service-fit__panel {
  border-left: 1px solid var(--search-service-line);
  background: var(--search-service-charcoal-soft);
  color: #fff;
}

.search-service-fit__panel > span:first-child {
  display: block;
  margin-bottom: 18px;
  color: var(--search-service-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.search-service-fit__panel + .search-service-fit__panel > span:first-child {
  color: #ff918b;
}

.search-service-fit__panel h3 {
  margin-bottom: 24px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.3;
}

.search-service-fit__panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-service-fit__panel li {
  position: relative;
  padding-left: 22px;
  color: var(--search-service-muted);
  font-size: 0.86rem;
  line-height: 1.72;
}

.search-service-fit__panel + .search-service-fit__panel li {
  color: #d6dada;
}

.search-service-fit__panel li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--search-service-red);
  content: "";
}

.search-service-fit__panel + .search-service-fit__panel li::before {
  border-color: #ff918b;
}

/* FAQ works with native details or the button/panel contract in search-service.js. */
.search-service-faq {
  background: var(--search-service-white);
}

.search-service-faq__layout {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 110px);
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
}

.search-service-faq__layout .search-service-section-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.search-service-faq__list {
  border-top: 1px solid var(--search-service-line);
}

.search-service-faq__item {
  border-bottom: 1px solid var(--search-service-line);
}

.search-service-faq__item > summary,
.search-service-faq__question {
  display: grid;
  width: 100%;
  min-height: 66px;
  align-items: center;
  padding: 18px 48px 18px 0;
  border: 0;
  background: transparent;
  color: var(--search-service-ink);
  font: inherit;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  font-weight: 850;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.search-service-faq__item > summary {
  position: relative;
}

.search-service-faq__item > summary::-webkit-details-marker {
  display: none;
}

.search-service-faq__question {
  position: relative;
}

.search-service-faq__item > summary::after,
.search-service-faq__question::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--search-service-red);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  content: "+";
  transform: translateY(-50%);
}

.search-service-faq__item[open] > summary::after,
.search-service-faq__question[aria-expanded="true"]::after {
  content: "−";
}

.search-service-faq__answer {
  padding: 0 54px 24px 0;
  color: var(--search-service-muted);
  font-size: 0.87rem;
  line-height: 1.85;
}

.search-service-faq__answer[hidden] {
  display: none;
}

.search-service-faq__answer > :last-child {
  margin-bottom: 0;
}

/* Honest, clickable case cards. Results and boundaries live inside the dialog. */
.search-service-cases {
  background: var(--search-service-paper);
}

.search-service-cases__grid {
  display: grid;
  gap: clamp(18px, 2.5vw, 34px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-service-case-card {
  display: grid;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--search-service-line);
  background: var(--search-service-white);
  color: var(--search-service-ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  grid-template-rows: auto 1fr;
  transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.search-service-case-card.is-visible {
  display: grid;
}

button.search-service-case-card {
  width: 100%;
  padding: 0;
  font: inherit;
}

.search-service-case-card:hover,
.search-service-case-card:focus-visible {
  border-color: rgb(143 45 43 / 60%);
  box-shadow: 0 24px 60px rgb(24 27 28 / 12%);
  color: var(--search-service-ink);
  transform: translateY(-4px);
}

.search-service-case-card__media {
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 300ms ease;
}

.search-service-case-card:hover .search-service-case-card__media img {
  transform: scale(1.018);
}

.search-service-case-card__copy {
  display: grid;
  align-content: start;
  padding: clamp(23px, 3vw, 38px);
}

.search-service-case-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 18px;
  color: var(--search-service-red);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.search-service-case-card h3 {
  margin-bottom: 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.3;
}

.search-service-case-card p {
  margin-bottom: 0;
  color: var(--search-service-muted);
  font-size: 0.84rem;
  line-height: 1.78;
}

.search-service-case-card__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 19px;
  color: var(--search-service-red);
  font-size: 0.78rem;
  font-weight: 900;
}

/* Native modal viewer. */
.search-service-viewer {
  width: min(1040px, calc(100vw - 40px));
  max-height: min(88svh, 900px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--search-service-paper);
  box-shadow: 0 36px 100px rgb(0 0 0 / 38%);
  color: var(--search-service-ink);
}

.search-service-viewer::backdrop {
  background: rgb(18 22 22 / 78%);
  backdrop-filter: blur(4px);
}

.search-service-viewer.search-service-viewer--fallback {
  position: fixed;
  inset: 5svh 20px auto;
  z-index: 10000;
  display: block;
}

.search-service-viewer__shell {
  position: relative;
  min-height: 100%;
}

.search-service-viewer__close {
  position: sticky;
  top: 14px;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  margin: 14px 14px -60px auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  background: var(--search-service-charcoal);
  color: #fff;
  font: inherit;
  font-size: 0;
  cursor: pointer;
}

.search-service-viewer__close::before,
.search-service-viewer__close::after {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.search-service-viewer__close::after {
  transform: rotate(-45deg);
}

.search-service-viewer__media {
  display: grid;
  min-height: clamp(300px, 47vw, 620px);
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-viewer__media img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
  object-position: center top;
}

.search-service-viewer__body,
.search-service-viewer__content {
  padding: clamp(28px, 5vw, 64px);
}

.search-service-viewer__kicker,
.search-service-viewer [data-viewer-kicker] {
  margin-bottom: 12px;
  color: var(--search-service-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.search-service-viewer h2,
.search-service-viewer [data-viewer-title] {
  max-width: 780px;
  margin-bottom: 20px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.16;
}

.search-service-viewer__summary,
.search-service-viewer [data-viewer-summary] {
  max-width: 760px;
  color: var(--search-service-muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.search-service-viewer__facts {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--search-service-line);
  border-left: 1px solid var(--search-service-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-service-viewer__fact {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--search-service-line);
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-viewer__fact dt,
.search-service-viewer__fact > span:first-child {
  margin-bottom: 7px;
  color: var(--search-service-red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.search-service-viewer__fact dd,
.search-service-viewer__fact p {
  margin: 0;
  color: #4e5555;
  font-size: 0.82rem;
  line-height: 1.7;
}

.search-service-viewer__deliverables,
.search-service-viewer [data-viewer-deliverables] {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.search-service-viewer__deliverables li,
.search-service-viewer [data-viewer-deliverables] li {
  position: relative;
  padding-left: 18px;
  color: #4e5555;
  font-size: 0.82rem;
  line-height: 1.68;
}

.search-service-viewer__deliverables li::before,
.search-service-viewer [data-viewer-deliverables] li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--search-service-red);
  content: "";
}

html.search-service-dialog-open,
html.search-service-dialog-open body {
  overflow: hidden;
}

/* Final conversion section. */
.search-service-final-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 9vw, 138px);
  background: var(--search-service-charcoal);
  color: #fff;
}

.search-service-final-cta::after {
  position: absolute;
  right: -7vw;
  bottom: -9vw;
  width: min(34vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgb(255 255 255 / 3%), 0 0 0 96px rgb(255 255 255 / 2%);
  content: "";
}

.search-service-final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 38px clamp(50px, 9vw, 150px);
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
}

.search-service-final-cta__copy {
  max-width: 900px;
}

.search-service-final-cta__copy > p:first-child {
  margin-bottom: 16px;
  color: #ff918b;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.search-service-final-cta h2 {
  margin-bottom: 22px;
  color: #fff;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.1;
  text-wrap: balance;
}

.search-service-final-cta__copy > p:not(:first-child) {
  max-width: 700px;
  margin-bottom: 0;
  color: #cbd1d1;
  font-size: 0.92rem;
  line-height: 1.82;
}

.search-service-final-cta__actions {
  display: grid;
  gap: 11px;
}

.search-service-final-cta .search-service-button--primary {
  background: #fff;
  color: var(--search-service-red-dark);
}

.search-service-final-cta .search-service-button--primary:hover,
.search-service-final-cta .search-service-button--primary:focus-visible {
  background: var(--search-service-yellow);
  color: #3f2b00;
}

.search-service-final-cta .search-service-button--secondary {
  border-color: rgb(255 255 255 / 45%);
  color: #fff;
}

.search-service-final-cta .search-service-button--secondary:hover,
.search-service-final-cta .search-service-button--secondary:focus-visible {
  border-color: #fff;
  background: rgb(255 255 255 / 9%);
  color: #fff;
}

/*
 * Generator compatibility layer
 *
 * The page generator intentionally uses a slightly leaner DOM than the
 * component-oriented contract above. These aliases preserve one visual system
 * without requiring presentation-only wrapper elements in generated HTML.
 */
.search-service-shell {
  width: min(100%, 1540px);
  margin-inline: auto;
  padding-inline: var(--gutter, clamp(24px, 5vw, 72px));
}

.search-service-hero__layout {
  display: grid;
  min-width: 0;
  align-items: center;
  gap: clamp(42px, 6vw, 98px);
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
}

.search-service-hero__copy h1 > span {
  display: block;
  color: var(--search-service-red);
}

.search-service-hero__note {
  display: flex;
  max-width: 620px;
  align-items: flex-start;
  gap: 9px;
  margin: 25px 0 0;
  color: #555c5c;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.65;
}

.search-service-hero__note i {
  flex: 0 0 auto;
  margin-top: 0.16em;
  color: var(--search-service-red);
  font-size: 1rem;
}

.search-service-browser-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(24 27 28 / 22%);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--search-service-shadow);
}

.search-service-hero__visual.search-service-browser-frame {
  padding: 0;
}

.search-service-hero__visual.search-service-browser-frame::before {
  display: none;
}

.search-service-browser-frame__bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-bottom: 1px solid #dde0e0;
  background: #f1f3f4;
}

.search-service-browser-frame__bar i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #d35a53;
}

.search-service-browser-frame__bar i:nth-child(2) {
  background: #d9ab42;
}

.search-service-browser-frame__bar i:nth-child(3) {
  background: #4d9d68;
}

.search-service-browser-frame__bar span {
  min-width: 0;
  margin-left: 7px;
  padding: 5px 12px;
  overflow: hidden;
  border: 1px solid #d7dadb;
  border-radius: 12px;
  background: #fff;
  color: #62696a;
  font-size: 0.66rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-service-browser-frame > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}

.search-service-browser-frame figcaption {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0;
  padding: 12px 15px;
  border-top: 1px solid #e0e2e2;
  background: #fff;
  color: #5d6464;
  font-size: 0.7rem;
  line-height: 1.55;
}

.search-service-browser-frame figcaption strong {
  color: var(--search-service-ink);
}

.search-service-source-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  color: var(--search-service-red);
  font-size: 0.76rem;
  font-weight: 850;
  text-underline-offset: 4px;
}

.search-service-value {
  border-top: 1px solid var(--search-service-line);
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-value ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.search-service-value li {
  display: grid;
  min-width: 0;
  min-height: 132px;
  align-items: start;
  gap: 16px;
  padding: 25px clamp(18px, 2.5vw, 34px);
  border-right: 1px solid var(--search-service-line);
  grid-template-columns: auto minmax(0, 1fr);
}

.search-service-value li:last-child {
  border-right: 0;
}

.search-service-value li > span {
  color: var(--search-service-red);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.search-service-value li div,
.search-service-value li strong,
.search-service-value li small {
  display: block;
  min-width: 0;
}

.search-service-value li strong {
  color: var(--search-service-ink);
  font-size: clamp(0.98rem, 1.35vw, 1.25rem);
  line-height: 1.35;
}

.search-service-value li small {
  margin-top: 8px;
  color: var(--search-service-muted);
  font-size: 0.73rem;
  line-height: 1.65;
}

.search-service-pain {
  padding-block: clamp(78px, 9vw, 142px);
  background: #fff;
}

.search-service-pain__layout {
  display: grid;
  align-items: start;
  gap: clamp(42px, 8vw, 130px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.search-service-pain__layout > div h2 {
  margin-bottom: 20px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.05rem, 4vw, 4.35rem);
  letter-spacing: -0.05em;
  line-height: 1.14;
  text-wrap: balance;
}

.search-service-pain__layout > div > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--search-service-muted);
  font-size: 0.94rem;
  line-height: 1.82;
}

.search-service-pain__layout > ul {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--search-service-line);
  list-style: none;
}

.search-service-pain__layout > ul li {
  display: grid;
  min-height: 70px;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--search-service-line);
  color: #464c4c;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.65;
  grid-template-columns: 28px minmax(0, 1fr);
}

.search-service-pain__layout > ul i {
  color: var(--search-service-red);
  font-size: 1.25rem;
}

.search-service-gallery__card > .search-service-browser-frame {
  border: 0;
  border-bottom: 1px solid var(--search-service-line);
  border-radius: 0;
  box-shadow: none;
}

.search-service-gallery__disclosure {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 28px 0 0;
  color: #555c5c;
  font-size: 0.72rem;
  line-height: 1.7;
}

.search-service-gallery__disclosure i {
  flex: 0 0 auto;
  margin-top: 0.17em;
  color: var(--search-service-red);
  font-size: 1rem;
}

.search-service-deliverables__grid > article {
  min-width: 0;
  padding: clamp(25px, 3vw, 42px);
  border-right: 1px solid var(--search-service-line-light);
  border-bottom: 1px solid var(--search-service-line-light);
  background: rgb(255 255 255 / 2%);
}

.search-service-deliverables__grid > article > span {
  display: block;
  margin-bottom: 24px;
  color: #ff918b;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.search-service-deliverables__grid > article > i {
  display: block;
  margin-bottom: 14px;
  color: #ff918b;
  font-size: 1.65rem;
}

.search-service-deliverables__grid > article h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.35;
}

.search-service-deliverables__grid > article p {
  margin-bottom: 0;
  color: #cbd1d1;
  font-size: 0.82rem;
  line-height: 1.75;
}

.search-service-process__layout {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 105px);
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
}

.search-service-process__layout .search-service-section-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.search-service-process__layout > ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-service-process__layout > ol > li {
  display: grid;
  min-width: 0;
  min-height: 250px;
  align-content: space-between;
  gap: 36px;
  padding: clamp(25px, 3vw, 38px);
  border-top: 1px solid var(--search-service-line);
  border-right: 1px solid var(--search-service-line);
  grid-template-rows: auto 1fr;
}

.search-service-process__layout > ol > li:nth-child(odd) {
  border-left: 1px solid var(--search-service-line);
}

.search-service-process__layout > ol > li:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--search-service-line);
}

.search-service-process__layout > ol > li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--search-service-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.search-service-process__layout > ol h3 {
  margin-bottom: 11px;
  font-size: clamp(1.08rem, 1.45vw, 1.38rem);
  line-height: 1.35;
}

.search-service-process__layout > ol p {
  margin-bottom: 0;
  color: var(--search-service-muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.search-service-fit__grid > article {
  min-width: 0;
  padding: clamp(30px, 4vw, 58px);
  background: #fff;
}

.search-service-fit__grid > article + article {
  border-left: 1px solid var(--search-service-line);
  background: var(--search-service-charcoal-soft);
  color: #fff;
}

.search-service-fit__grid > article h2 {
  margin-bottom: 25px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.3;
}

.search-service-fit__grid > article ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-service-fit__grid > article li {
  display: grid;
  align-items: start;
  gap: 11px;
  color: var(--search-service-muted);
  font-size: 0.86rem;
  line-height: 1.72;
  grid-template-columns: 19px minmax(0, 1fr);
}

.search-service-fit__grid > article li i {
  margin-top: 0.16em;
  color: var(--search-service-red);
  font-size: 1rem;
}

.search-service-fit__grid > article + article li {
  color: #d6dada;
}

.search-service-fit__grid > article + article li i,
.search-service-fit__grid > article + article .search-service-eyebrow {
  color: #ff918b;
}

.search-service-case-card > figure {
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-case-card > figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  transition: transform 300ms ease;
}

.search-service-case-card:hover > figure img {
  transform: scale(1.018);
}

.search-service-case-card > .search-service-case-card__type,
.search-service-case-card > h3,
.search-service-case-card > p,
.search-service-case-card > .search-service-case-card__action {
  margin-right: clamp(23px, 3vw, 38px);
  margin-left: clamp(23px, 3vw, 38px);
}

.search-service-case-card > .search-service-case-card__type {
  margin-top: clamp(23px, 3vw, 38px);
  margin-bottom: 14px;
  color: var(--search-service-red);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.search-service-case-card > h3 {
  margin-bottom: 12px;
}

.search-service-case-card > p {
  margin-bottom: 0;
}

.search-service-case-card > .search-service-case-card__action {
  margin-bottom: clamp(23px, 3vw, 38px);
}

.search-service-case-dialog {
  width: min(1040px, calc(100vw - 40px));
  max-height: min(88svh, 900px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--search-service-paper);
  box-shadow: 0 36px 100px rgb(0 0 0 / 38%);
  color: var(--search-service-ink);
}

.search-service-case-dialog::backdrop {
  background: rgb(18 22 22 / 78%);
  backdrop-filter: blur(4px);
}

.search-service-case-dialog__panel {
  position: relative;
}

.search-service-case-dialog__close {
  position: sticky;
  top: 14px;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  margin: 14px 14px -60px auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  background: var(--search-service-charcoal);
  color: #fff;
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.search-service-case-dialog__panel > figure {
  display: grid;
  min-height: clamp(300px, 47vw, 620px);
  margin: 0;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-case-dialog__panel > figure img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
  object-position: center top;
}

.search-service-case-dialog__content {
  padding: clamp(28px, 5vw, 64px);
}

.search-service-case-dialog__content > p:first-child {
  margin-bottom: 12px;
  color: var(--search-service-red);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.search-service-case-dialog__content h2 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.16;
}

.search-service-case-dialog__content dl {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--search-service-line);
  border-left: 1px solid var(--search-service-line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-service-case-dialog__content dl > div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--search-service-line);
  border-bottom: 1px solid var(--search-service-line);
  background: #fff;
}

.search-service-case-dialog__content dt {
  margin-bottom: 7px;
  color: var(--search-service-red);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.5;
}

.search-service-case-dialog__content dd {
  margin: 0;
  color: #4e5555;
  font-size: 0.82rem;
  line-height: 1.7;
}

.search-service-case-dialog__content .search-service-source-link {
  margin-top: 20px;
}

.search-service-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 9vw, 138px);
  background: var(--search-service-charcoal);
  color: #fff;
}

.search-service-cta::after {
  position: absolute;
  right: -7vw;
  bottom: -9vw;
  width: min(34vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgb(255 255 255 / 3%), 0 0 0 96px rgb(255 255 255 / 2%);
  content: "";
}

.search-service-cta__layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 38px clamp(50px, 9vw, 150px);
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
}

.search-service-cta__layout > div:first-child {
  max-width: 900px;
}

.search-service-cta h2 {
  margin-bottom: 22px;
  color: #fff;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.1;
  text-wrap: balance;
}

.search-service-cta__layout > div:first-child > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: #cbd1d1;
  font-size: 0.92rem;
  line-height: 1.82;
}

.search-service-cta .search-service-eyebrow {
  color: #ff918b;
}

.search-service-cta__actions {
  display: grid;
  gap: 11px;
}

.search-service-cta__actions .search-service-button {
  justify-content: space-between;
  text-align: left;
}

.search-service-cta__actions .search-service-button span,
.search-service-cta__actions .search-service-button small {
  display: block;
}

.search-service-cta__actions .search-service-button small {
  margin-bottom: 3px;
  font-size: 0.64rem;
  font-weight: 650;
  opacity: 0.72;
}

.search-service-cta .search-service-button--primary {
  background: #fff;
  color: var(--search-service-red-dark);
}

.search-service-cta .search-service-button--primary:hover,
.search-service-cta .search-service-button--primary:focus-visible {
  background: var(--search-service-yellow);
  color: #3f2b00;
}

.search-service-cta .search-service-button--secondary {
  border-color: rgb(255 255 255 / 45%);
  color: #fff;
}

.search-service-cta .search-service-button--secondary:hover,
.search-service-cta .search-service-button--secondary:focus-visible {
  border-color: #fff;
  background: rgb(255 255 255 / 9%);
  color: #fff;
}

/* Progressive enhancement: content is never hidden if JavaScript does not run. */
.search-service-reveal {
  opacity: 1;
  transform: none;
}

.search-service-page.search-service-reveal-ready .search-service-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.search-service-page.search-service-reveal-ready .search-service-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .search-service-hero__inner,
  .search-service-hero__layout {
    gap: 48px;
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  }

  .search-service-hero__copy h1 {
    font-size: clamp(2.7rem, 5.5vw, 4.4rem);
  }

  .search-service-proofbar__grid,
  .search-service-process__grid,
  .search-service-value ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-service-proofbar article:nth-child(2n),
  .search-service-proofbar__item:nth-child(2n),
  .search-service-process__step:nth-child(2n) {
    border-right: 0;
  }

  .search-service-proofbar article:nth-child(-n + 2),
  .search-service-proofbar__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--search-service-line);
  }

  .search-service-process__step:nth-child(3) {
    border-left: 1px solid var(--search-service-line);
  }

  .search-service-process__step:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .search-service-value li:nth-child(2n) {
    border-right: 0;
  }

  .search-service-value li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--search-service-line);
  }
}

@media (max-width: 900px) {
  .search-service-hero {
    padding-top: 54px;
  }

  .search-service-hero__inner,
  .search-service-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-service-hero__copy {
    max-width: 760px;
  }

  .search-service-hero__copy h1 {
    font-size: clamp(2.8rem, 9vw, 5.2rem);
  }

  .search-service-hero__visual {
    width: min(100%, 780px);
    margin-inline: auto;
  }

  .search-service-outcomes__grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .search-service-outcome-card > span:first-child {
    margin-bottom: 30px;
  }

  .search-service-gallery__card,
  .search-service-gallery__card--wide,
  .search-service-gallery__card:first-child:nth-last-child(odd) {
    grid-column: span 12;
  }

  .search-service-deliverables__grid,
  .search-service-platforms__grid,
  .search-service-fit__grid,
  .search-service-faq__layout,
  .search-service-final-cta__inner,
  .search-service-pain__layout,
  .search-service-process__layout,
  .search-service-cta__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-service-fit__panel + .search-service-fit__panel {
    border-top: 1px solid var(--search-service-line);
    border-left: 0;
  }

  .search-service-faq__layout .search-service-section-heading {
    position: static;
  }

  .search-service-fit__grid > article + article {
    border-top: 1px solid var(--search-service-line);
    border-left: 0;
  }

  .search-service-process__layout .search-service-section-heading {
    position: static;
  }

  .search-service-final-cta__actions,
  .search-service-cta__actions {
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .search-service-container,
  .search-service-shell {
    padding-inline: 20px;
  }

  .search-service-hero {
    padding-block: 44px 68px;
  }

  .search-service-hero::after {
    width: 48vw;
    height: 5px;
  }

  .search-service-hero__inner,
  .search-service-hero__layout {
    gap: 36px;
  }

  .search-service-hero__copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.65rem);
    letter-spacing: -0.055em;
  }

  .search-service-hero__lead {
    margin-top: 21px;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .search-service-hero__actions,
  .search-service-final-cta__actions {
    display: grid;
    width: 100%;
  }

  .search-service-button {
    width: 100%;
    min-height: 48px;
  }

  .search-service-hero__visual {
    padding: 8px 0 24px 8px;
  }

  .search-service-browser__bar {
    min-height: 38px;
  }

  .search-service-browser__address {
    margin-left: 32px;
  }

  .search-service-browser__viewport {
    min-height: 0;
  }

  .search-service-visual-stamp {
    position: relative;
    width: calc(100% - 20px);
    max-width: none;
    margin: -10px 0 0 20px;
  }

  .search-service-proofbar__grid,
  .search-service-process__grid,
  .search-service-deliverables__grid,
  .search-service-cases__grid,
  .search-service-value ul,
  .search-service-process__layout > ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-service-proofbar article,
  .search-service-proofbar__item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--search-service-line);
  }

  .search-service-proofbar article:last-child,
  .search-service-proofbar__item:last-child {
    border-bottom: 0;
  }

  .search-service-outcomes,
  .search-service-gallery,
  .search-service-deliverables,
  .search-service-process,
  .search-service-fit,
  .search-service-faq,
  .search-service-platforms,
  .search-service-cases,
  .search-service-final-cta {
    padding-block: 72px;
  }

  .search-service-section-heading {
    margin-bottom: 34px;
  }

  .search-service-section-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .search-service-gallery__media,
  .search-service-gallery__card--wide .search-service-gallery__media {
    min-height: 220px;
  }

  .search-service-process__step,
  .search-service-process__step:first-child,
  .search-service-process__step:nth-child(3) {
    border-right: 1px solid var(--search-service-line);
    border-bottom: 0;
    border-left: 1px solid var(--search-service-line);
  }

  .search-service-process__step:last-child {
    border-bottom: 1px solid var(--search-service-line);
  }

  .search-service-process__step > span:first-child {
    margin-bottom: 26px;
  }

  .search-service-faq__item > summary,
  .search-service-faq__question {
    min-height: 60px;
    padding-right: 40px;
  }

  .search-service-faq__answer {
    padding-right: 0;
  }

  .search-service-case-card__media {
    min-height: 200px;
  }

  .search-service-viewer {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }

  .search-service-viewer__media {
    min-height: 210px;
  }

  .search-service-viewer__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-service-final-cta::after {
    width: 58vw;
  }

  .search-service-browser-frame__bar {
    min-height: 38px;
  }

  .search-service-browser-frame__bar span {
    max-width: 190px;
  }

  .search-service-browser-frame figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-service-value li,
  .search-service-value li:nth-child(2n),
  .search-service-value li:nth-child(-n + 2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--search-service-line);
  }

  .search-service-value li:last-child {
    border-bottom: 0;
  }

  .search-service-pain {
    padding-block: 72px;
  }

  .search-service-process__layout > ol > li,
  .search-service-process__layout > ol > li:nth-child(odd),
  .search-service-process__layout > ol > li:nth-last-child(-n + 2) {
    min-height: 0;
    border-right: 1px solid var(--search-service-line);
    border-bottom: 0;
    border-left: 1px solid var(--search-service-line);
  }

  .search-service-process__layout > ol > li:last-child {
    border-bottom: 1px solid var(--search-service-line);
  }

  .search-service-case-card > figure {
    min-height: 200px;
  }

  .search-service-case-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }

  .search-service-case-dialog__panel > figure {
    min-height: 210px;
  }

  .search-service-case-dialog__content dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-service-cta {
    padding-block: 72px;
  }

  .search-service-cta__actions {
    max-width: none;
  }

  .search-service-cta::after {
    width: 58vw;
  }
}

@media (max-width: 390px) {
  .search-service-hero__copy h1 {
    font-size: clamp(2.25rem, 12.5vw, 3.05rem);
  }

  .search-service-browser__address {
    max-width: 150px;
  }

  .search-service-gallery__media,
  .search-service-gallery__card--wide .search-service-gallery__media,
  .search-service-case-card__media,
  .search-service-case-card > figure {
    min-height: 190px;
  }

  .search-service-viewer__body,
  .search-service-viewer__content,
  .search-service-case-dialog__content {
    padding: 28px 20px 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-service-page *,
  .search-service-page *::before,
  .search-service-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .search-service-page.search-service-reveal-ready .search-service-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Baidu SEO: a cleaner search-product hero, isolated from the other search pages. */
body.search-service-page[data-search-service="baidu-seo-ranking"] {
  --baidu-hero-blue: #315efb;
  --baidu-hero-blue-dark: #1f48d6;
  --baidu-hero-blue-soft: #eef3ff;
  --baidu-hero-blue-line: rgb(49 94 251 / 22%);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero {
  padding-block: clamp(28px, 3.2vw, 48px);
  border-top: 1px solid rgb(49 94 251 / 12%);
  background: var(--baidu-hero-blue-soft);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero::after {
  width: min(44vw, 680px);
  height: 6px;
  background: var(--baidu-hero-blue);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__inner {
  gap: clamp(36px, 4.5vw, 68px);
  padding: clamp(34px, 4vw, 62px);
  overflow: hidden;
  border: 1px solid var(--baidu-hero-blue-line);
  border-top: 4px solid var(--baidu-hero-blue);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 28px 80px rgb(34 70 174 / 14%);
  grid-template-columns: minmax(0, 0.49fr) minmax(0, 0.51fr);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-eyebrow {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid var(--baidu-hero-blue-line);
  border-radius: 999px;
  background: #f6f8ff;
  color: var(--baidu-hero-blue-dark);
  letter-spacing: 0.13em;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__copy h1 {
  max-width: 720px;
  color: #111827;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(3rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__copy h1 > span {
  color: var(--baidu-hero-blue);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__lead {
  max-width: 590px;
  margin-top: 23px;
  color: #46536c;
  line-height: 1.78;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__actions {
  margin-top: 28px;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-button--primary {
  border-color: var(--baidu-hero-blue);
  border-radius: 10px;
  background: var(--baidu-hero-blue);
  box-shadow: 0 12px 24px rgb(49 94 251 / 20%);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-button--primary:hover,
body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-button--primary:focus-visible {
  border-color: var(--baidu-hero-blue-dark);
  background: var(--baidu-hero-blue-dark);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-button--secondary {
  border-color: var(--baidu-hero-blue-line);
  border-radius: 10px;
  background: #f7f9ff;
  color: #2446a8;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-button--secondary:hover,
body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-button--secondary:focus-visible {
  border-color: var(--baidu-hero-blue);
  background: #fff;
  color: var(--baidu-hero-blue-dark);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__notes {
  gap: 10px 20px;
  margin-top: 24px;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__notes li {
  color: #556078;
  font-size: 0.78rem;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__notes li::before {
  background: var(--baidu-hero-blue);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__visual {
  padding: 16px 18px 30px 0;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__visual::before {
  top: -10px;
  right: 0;
  width: 68%;
  height: 76%;
  border-color: var(--baidu-hero-blue-line);
  border-radius: 24px;
  background: #e1e9ff;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-browser {
  border-color: rgb(49 94 251 / 32%);
  border-radius: 18px;
  box-shadow: 0 28px 62px rgb(30 65 164 / 20%);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-browser__bar {
  border-bottom-color: #dce4fb;
  background: #f4f7ff;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-browser__address {
  border-color: #d5def5;
  color: #3155b7;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-browser figcaption {
  padding: 13px 16px;
  border-top-color: #e1e7f7;
  color: #556078;
  font-size: 0.76rem;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-browser figcaption a {
  color: var(--baidu-hero-blue-dark);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-visual-stamp {
  right: 4px;
  bottom: 2px;
  max-width: 248px;
  padding: 15px 17px;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 12px;
  background: #163a9f;
  box-shadow: 0 18px 36px rgb(28 61 153 / 25%);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-visual-stamp strong {
  font-size: 0.82rem;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-visual-stamp span {
  color: #dfe7ff;
  font-size: 0.72rem;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-proofbar {
  border-color: var(--baidu-hero-blue-line);
  background: #fbfcff;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-proofbar span {
  color: var(--baidu-hero-blue-dark);
}

/* Carry the cover palette through the page without flattening card hierarchy. */
body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-section-heading > h2,
body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-fit__panel:first-child h3 {
  color: var(--baidu-hero-blue-dark);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverables .search-service-section-heading h2,
body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-fit__panel + .search-service-fit__panel h3,
body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-final-cta h2 {
  color: var(--baidu-hero-blue-soft);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverables {
  background: #111a33;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverables .search-service-section-heading {
  max-width: 850px;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverables .search-service-section-heading > p:first-child {
  border-color: rgb(255 255 255 / 22%);
  background: rgb(255 255 255 / 8%);
  color: #a9bdff;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverables__grid {
  gap: clamp(18px, 2vw, 28px);
  border: 0;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable--media {
  display: grid;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 54px rgb(4 10 29 / 26%);
  grid-template-rows: auto 1fr;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__media {
  position: relative;
  aspect-ratio: 1280 / 710;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #dce4fb;
  background: #eef3ff;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable--media:nth-child(1) .search-service-deliverable__media img,
body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable--media:nth-child(4) .search-service-deliverable__media img {
  object-position: left top;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__media figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 11px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 999px;
  background: rgb(17 26 51 / 88%);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__copy {
  padding: clamp(26px, 3vw, 38px);
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__copy > span {
  display: block;
  margin-bottom: 18px;
  color: var(--baidu-hero-blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__copy h3 {
  margin-bottom: 12px;
  color: #111827;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.35;
}

body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__copy p {
  margin-bottom: 0;
  color: #4b5563;
  font-size: 0.84rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero {
    padding-block: 28px 38px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__inner {
    gap: 38px;
    padding: clamp(30px, 6vw, 48px);
    grid-template-columns: minmax(0, 1fr);
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__copy {
    max-width: 760px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__copy h1 {
    font-size: clamp(3rem, 8.2vw, 4.6rem);
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__visual {
    width: min(100%, 760px);
    padding: 14px 18px 30px 0;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable--media {
    grid-template-columns: minmax(230px, 0.85fr) minmax(0, 1.15fr);
    grid-template-rows: minmax(260px, auto);
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__media {
    height: 100%;
    aspect-ratio: auto;
    border-right: 1px solid #dce4fb;
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero {
    padding-block: 18px 30px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__inner {
    gap: 28px;
    padding: 27px 16px 24px;
    border-top-width: 3px;
    border-radius: 22px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__copy h1 {
    font-size: clamp(1.82rem, 7.6vw, 2.3rem);
    letter-spacing: -0.045em;
    line-height: 1.1;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-eyebrow {
    margin-bottom: 16px;
    padding: 6px 10px;
    font-size: 0.65rem;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__lead {
    margin-top: 18px;
    font-size: 0.94rem;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__actions {
    margin-top: 23px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__notes {
    display: grid;
    gap: 8px;
    margin-top: 20px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__visual {
    padding: 8px 0 24px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__visual::before {
    top: 0;
    right: -8px;
    width: 82%;
    height: 72%;
    border-radius: 18px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-browser {
    border-radius: 13px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-browser figcaption {
    padding: 11px 12px;
    font-size: 0.72rem;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero .search-service-visual-stamp {
    width: calc(100% - 18px);
    margin: -9px 0 0 18px;
    border-radius: 10px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable--media {
    display: block;
    border-radius: 15px;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__media {
    height: auto;
    aspect-ratio: 1280 / 710;
    border-right: 0;
    border-bottom: 1px solid #dce4fb;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__media figcaption {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    font-size: 0.62rem;
  }

  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-deliverable__copy {
    padding: 24px 22px 28px;
  }
}

@media (max-width: 390px) {
  body.search-service-page[data-search-service="baidu-seo-ranking"] .search-service-hero__copy h1 {
    font-size: clamp(1.74rem, 7.45vw, 1.92rem);
  }
}
