/*
 * Growth 1.8 page system
 * Shared editorial layouts and restrained motion for desktop enterprise sites.
 */

:root {
  --page-shell-width: calc(100% - clamp(72px, 10vw, 220px));
  --page-shell-max: 1600px;
  --page-purple: #6857e5;
  --page-blue: #4c8ff7;
  --page-ink: #11182b;
  --page-muted: #687287;
  --page-line: rgba(205, 208, 228, .72);
}

.template-kicker,
.geo-site main .template-kicker,
.page-hero .eyebrow.template-kicker,
.growth-hero .hero-eyebrow.template-kicker {
  display: inline-flex;
  padding: 0;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3479e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: none;
  backdrop-filter: none;
}

.template-kicker::before {
  width: 10px;
  height: 16px;
  flex: 0 0 10px;
  background: currentColor;
  clip-path: polygon(58% 0, 12% 56%, 48% 56%, 34% 100%, 90% 42%, 57% 42%);
  content: "";
}

.page-hero .eyebrow.template-kicker {
  margin-bottom: 21px;
}

.growth-hero .hero-eyebrow.template-kicker {
  margin-bottom: clamp(16px, 2vh, 23px);
}

.section-kicker.template-kicker {
  margin-bottom: 0;
}

/* Homepage: stagger the introduction instead of moving it as one block. */
html.motion-enabled .growth-hero .hero-copy[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

html.motion-enabled .growth-hero .hero-copy[data-reveal] > * {
  opacity: 0;
  filter: blur(7px);
  transform: translate3d(0, 28px, 0);
  will-change: opacity, filter, transform;
}

html.motion-enabled .growth-hero .hero-copy[data-reveal].is-visible > * {
  animation: heroIntroReveal .72s cubic-bezier(.16, 1, .3, 1) forwards;
}

html.motion-enabled .growth-hero .hero-copy[data-reveal].is-visible > :nth-child(1) { animation-delay: .04s; }
html.motion-enabled .growth-hero .hero-copy[data-reveal].is-visible > :nth-child(2) { animation-delay: .13s; }
html.motion-enabled .growth-hero .hero-copy[data-reveal].is-visible > :nth-child(3) { animation-delay: .23s; }
html.motion-enabled .growth-hero .hero-copy[data-reveal].is-visible > :nth-child(4) { animation-delay: .34s; }
html.motion-enabled .growth-hero .hero-copy[data-reveal].is-visible > :nth-child(5) { animation-delay: .44s; }

@keyframes heroIntroReveal {
  from {
    opacity: 0;
    filter: blur(7px);
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

/* Shared page hero. */
.page-hero {
  position: relative;
  display: flex;
  min-height: clamp(330px, 36vh, 420px);
  padding: clamp(72px, 7.5vh, 94px) 0 clamp(62px, 6.5vh, 84px);
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 252, 255, .98), rgba(248, 248, 255, .9) 53%, rgba(240, 243, 255, .72)),
    var(--page-hero-image, linear-gradient(135deg, #f3f7fd, #fff 55%, #eef5ff)) center / cover no-repeat,
    #f7f8ff;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(104, 87, 229, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 87, 229, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  content: "";
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .58), transparent 60%);
}

.page-hero::after,
.page-hero-content::after {
  position: absolute;
  top: 50%;
  right: clamp(70px, 8vw, 170px);
  bottom: auto;
  z-index: -1;
  width: clamp(220px, 20vw, 360px);
  height: clamp(220px, 20vw, 360px);
  border: 1px solid rgba(104, 87, 229, .14);
  border-radius: 42% 58% 62% 38% / 44% 38% 62% 56%;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, .75), transparent 21%),
    linear-gradient(145deg, rgba(111, 88, 232, .12), rgba(76, 143, 247, .06));
  box-shadow: 0 30px 90px rgba(86, 75, 153, .1);
  content: "";
  transform: translateY(-50%) rotate(12deg);
}

.page-hero .shell {
  position: relative;
  z-index: 2;
  width: var(--page-shell-width);
  max-width: var(--page-shell-max);
}

.page-hero .eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 8px 12px;
  align-items: center;
  border: 1px solid rgba(104, 87, 229, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
  color: var(--page-purple);
  backdrop-filter: blur(12px);
}

.page-hero h1,
.page-hero-content h1 {
  max-width: 880px;
  color: var(--page-ink);
  font-size: clamp(52px, 4vw, 72px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.068em;
}

.page-hero p:not(.section-kicker):not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  color: var(--page-muted);
  font-size: 17px;
  line-height: 1.9;
}

.page-hero-centered {
  min-height: 330px;
  padding-top: 74px;
  padding-bottom: 66px;
  text-align: center;
}

.page-hero-services { --page-hero-image: var(--services-hero-image, linear-gradient(135deg, #eef5ff, #fff 56%, #f3f6ff)); }
.page-hero-cases { --page-hero-image: var(--cases-hero-image, linear-gradient(135deg, #f2f6ff, #fff 54%, #f4f2ff)); }
.page-hero-faq { --page-hero-image: var(--faq-hero-image, linear-gradient(135deg, #f4f7ff, #fff 52%, #eef7ff)); }
.page-hero-about { --page-hero-image: var(--about-hero-image, linear-gradient(135deg, #f6f4ff, #fff 54%, #eff6ff)); }
.page-hero-contact { --page-hero-image: var(--contact-hero-image, linear-gradient(135deg, #eef7ff, #fff 55%, #f3f4ff)); }

.page-hero-centered::before {
  mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .56) 50%, transparent);
}

.page-hero-centered::after {
  top: 56%;
  right: 8%;
  width: 230px;
  height: 230px;
  opacity: .68;
}

.page-hero-centered .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-centered h1,
.page-hero-centered p:not(.section-kicker):not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

html.motion-enabled .page-hero .shell[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

html.motion-enabled .page-hero .shell[data-reveal] > * {
  opacity: 0;
  transform: translateY(22px);
}

html.motion-enabled .page-hero .shell[data-reveal].is-visible > * {
  animation: pageHeroReveal .64s cubic-bezier(.16, 1, .3, 1) forwards;
}

html.motion-enabled .page-hero .shell[data-reveal].is-visible > :nth-child(1) { animation-delay: .03s; }
html.motion-enabled .page-hero .shell[data-reveal].is-visible > :nth-child(2) { animation-delay: .11s; }
html.motion-enabled .page-hero .shell[data-reveal].is-visible > :nth-child(3) { animation-delay: .19s; }

@keyframes pageHeroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Align all main page layouts to the same desktop rhythm. */
.about-page-grid,
.contact-page-grid,
.case-section > .shell,
.archive-section > .shell,
.faq-section > .shell,
.service-catalog-section > .shell {
  width: var(--page-shell-width);
  max-width: var(--page-shell-max);
}

.about-page,
.contact-page,
.case-section,
.archive-section,
.faq-section,
.service-catalog-section {
  position: relative;
  padding-top: clamp(64px, 6vw, 88px);
  padding-bottom: clamp(84px, 7vw, 112px);
  background: #fbfcff;
}

/* About: one composed company-profile row instead of detached stacked cards. */
.page-hero-about {
  min-height: 330px;
  padding-top: 82px;
  padding-bottom: 68px;
}

.page-hero-about .about-page-summary {
  display: -webkit-box;
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.about-page-grid {
  display: block;
}

.about-page-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(202, 205, 226, .78);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(105, 81, 255, .05)),
    url("../images/defaults/about.webp") center / cover no-repeat;
  box-shadow: 0 28px 70px rgba(70, 61, 123, .12);
}

.about-page-media::after {
  display: none;
}

.about-page-media > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: inherit;
}

.about-page-media .product-cover-fallback {
  height: 560px;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(91, 75, 255, .08)),
    url("../images/defaults/about.webp") center / cover no-repeat;
  box-shadow: none;
}

.about-page-content {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(36px, 3.5vw, 52px);
  border: 1px solid var(--page-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(34, 40, 75, .07);
}

.about-page-content::before {
  display: none;
}

.about-content-kicker {
  margin: 0 0 14px;
  color: var(--page-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.about-page-content > h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.15;
  letter-spacing: -.05em;
}

.about-page-content > .article-content {
  margin-top: 28px;
  color: #4f5f75;
  font-size: 15px;
  line-height: 1.95;
}

.about-page-content > .article-content > :first-child {
  margin-top: 0;
}

.about-page-content > .article-content h2,
.about-page-content > .article-content h3 {
  margin-top: 34px;
  color: var(--ink);
}

.about-page-content .primary-btn,
.contact-page-copy .primary-btn {
  text-decoration: none;
}

/* Service catalogue: alternating image and copy rows inspired by modern industrial sites. */
.service-catalog-section {
  background: linear-gradient(180deg, #fbfcff 0%, #f5f6fc 100%);
}

.service-showcase-section {
  padding: clamp(64px, 6vw, 88px) 0 clamp(88px, 7vw, 116px);
  background: #fff;
}

.service-showcase-list {
  width: var(--page-shell-width);
  max-width: var(--page-shell-max);
}

.service-showcase-row {
  display: grid;
  min-height: 430px;
  padding: 44px 0;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(62px, 7vw, 126px);
  border-top: 1px solid var(--page-line);
}

.service-showcase-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-showcase-row:nth-child(even) .service-showcase-media {
  grid-column: 2;
}

.service-showcase-row:nth-child(even) .service-showcase-copy {
  grid-row: 1;
  grid-column: 1;
}

.service-showcase-media {
  position: relative;
  display: block;
  height: clamp(350px, 29vw, 470px);
  overflow: hidden;
  border: 1px solid rgba(204, 209, 225, .82);
  border-radius: 29px;
  background: linear-gradient(145deg, #e9f1f7, #f8fafc);
  box-shadow: 0 28px 70px rgba(37, 48, 82, .13);
}

.service-showcase-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(19, 28, 53, .16));
  content: "";
}

.service-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.16, 1, .3, 1);
}

.service-showcase-row:hover .service-showcase-media img {
  transform: scale(1.035);
}

.service-showcase-media > span {
  position: absolute;
  right: 30px;
  bottom: 25px;
  z-index: 2;
  color: rgba(255, 255, 255, .92);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.service-showcase-copy {
  position: relative;
  padding: 34px 0;
}

.service-showcase-index,
.case-story-index {
  position: absolute;
  top: -25px;
  left: -8px;
  z-index: 0;
  color: rgba(76, 143, 247, .09);
  font-size: clamp(82px, 8vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
}

.service-showcase-copy > *:not(.service-showcase-index),
.case-story-copy > *:not(.case-story-index) {
  position: relative;
  z-index: 1;
}

.service-showcase-copy h2,
.case-story-copy h2 {
  margin: 15px 0 18px;
  color: var(--page-ink);
  font-size: clamp(34px, 2.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -.055em;
}

.service-showcase-copy h2 a,
.case-story-copy h2 a {
  color: inherit;
}

.service-showcase-copy > p:not(.section-kicker),
.case-story-copy > p:not(.section-kicker) {
  max-width: 660px;
  margin: 0;
  color: var(--page-muted);
  font-size: 16px;
  line-height: 1.95;
}

.service-showcase-copy .outline-link,
.case-story-copy .outline-link {
  margin-top: 28px;
}

.service-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2vw, 30px);
}

.service-catalog-grid .service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(34, 40, 75, .065);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.service-catalog-grid .service-card:hover {
  border-color: rgba(104, 87, 229, .28);
  box-shadow: 0 28px 62px rgba(55, 48, 107, .13);
  transform: translateY(-7px);
}

.service-catalog-grid .card-image {
  height: clamp(230px, 18vw, 290px);
  background:
    radial-gradient(circle at 74% 20%, rgba(120, 101, 237, .18), transparent 24%),
    linear-gradient(135deg, #f0efff, #edf5ff);
}

.service-catalog-grid .card-image > span {
  color: var(--page-muted);
  font-size: 17px;
  text-shadow: none;
}

.service-catalog-grid .service-card > div {
  min-height: 238px;
  padding: 27px 28px 28px;
}

.service-catalog-grid .service-card h3 {
  font-size: 23px;
  letter-spacing: -.04em;
}

/* Cases: proof is presented as a visual story rather than a dense card wall. */
.case-story-section {
  padding: clamp(88px, 8vw, 126px) 0 clamp(110px, 9vw, 150px);
  background: linear-gradient(180deg, #fbfcff, #f3f6fb);
}

.case-story-section > .shell {
  width: var(--page-shell-width);
  max-width: var(--page-shell-max);
}

.case-story-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 362px));
  justify-content: center;
  gap: clamp(20px, 2vw, 28px);
}

.case-story-row {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(37, 48, 82, .07);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.case-story-row:hover {
  border-color: rgba(71, 113, 223, .26);
  box-shadow: 0 24px 56px rgba(37, 48, 82, .12);
  transform: translateY(-5px);
}

.case-story-media {
  position: relative;
  display: block;
  height: clamp(190px, 15vw, 238px);
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(43, 59, 95, .12), rgba(99, 91, 205, .12)),
    var(--site-hero-image, url("../images/defaults/cta.webp")) center / cover no-repeat;
}

.case-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.16, 1, .3, 1);
}

.case-story-row:hover .case-story-media img {
  transform: scale(1.035);
}

.case-story-media > span {
  display: grid;
  height: 100%;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.case-story-copy {
  position: relative;
  display: flex;
  min-height: 210px;
  padding: 24px 24px 26px;
  flex: 1;
  flex-direction: column;
}

.case-story-copy .case-story-index {
  top: 18px;
  right: 18px;
  left: auto;
  color: rgba(73, 112, 218, .1);
  font-size: 54px;
}

.case-story-copy h2 {
  min-height: 58px;
  margin: 10px 0 12px;
  padding-right: 36px;
  font-size: clamp(22px, 1.55vw, 28px);
  line-height: 1.35;
}

.case-story-copy > p:not(.section-kicker) {
  display: -webkit-box;
  min-height: 50px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-story-copy .outline-link {
  margin-top: auto;
  padding-top: 20px;
}

.case-story-empty .empty-actions {
  display: flex;
  margin-top: 26px;
  justify-content: center;
  align-items: center;
  gap: 22px;
}

.case-story-section .case-story-empty {
  max-width: 900px;
  margin: 0 auto;
  padding: 76px 82px;
  border: 1px solid var(--page-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(104, 87, 229, .1), transparent 25%),
    linear-gradient(145deg, #fff, #f6f8ff);
  box-shadow: 0 28px 70px rgba(55, 48, 107, .09);
  text-align: center;
}

.case-story-section .case-story-empty > p:not(.section-kicker) {
  margin-right: auto;
  margin-left: auto;
}

/* Customer cases use the same calm, text-first rhythm as the GEO blog. */
.case-blog-page {
  min-height: 0;
  padding: clamp(64px, 5.5vw, 84px) 0 clamp(88px, 7vw, 116px);
  background: #f5f7fb;
}

.case-blog-shell {
  width: min(1180px, calc(100% - 96px));
}

.case-blog-header {
  display: flex;
  margin-bottom: 34px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.case-blog-header .eyebrow {
  margin-bottom: 10px;
}

.case-blog-header h1 {
  margin: 0;
  color: var(--page-ink);
  font-size: clamp(38px, 3.2vw, 52px);
  line-height: 1.15;
  letter-spacing: -.055em;
}

.case-blog-header p:not(.eyebrow) {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--page-muted);
  font-size: 16px;
  line-height: 1.8;
}

.case-blog-list {
  display: grid;
  gap: 18px;
}

.case-blog-item {
  min-width: 0;
}

.case-blog-card {
  display: grid;
  padding: 23px 24px 23px 30px;
  grid-template-columns: minmax(0, 1fr) 238px;
  align-items: center;
  gap: 30px;
  border: 1px solid #e3e8f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 45, 70, .055);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.case-blog-card:hover {
  border-color: rgba(80, 106, 225, .28);
  box-shadow: 0 14px 34px rgba(39, 55, 91, .1);
  transform: translateY(-3px);
}

.case-blog-copy {
  min-width: 0;
}

.case-blog-copy h2 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--page-ink);
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 600;
  line-height: 1.48;
  letter-spacing: -.012em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-blog-copy > p {
  display: -webkit-box;
  max-width: 1050px;
  margin: 12px 0 0;
  overflow: hidden;
  color: #66758c;
  font-size: 15px;
  line-height: 1.85;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-blog-meta {
  display: flex;
  margin-top: 19px;
  align-items: center;
  gap: 13px;
  color: #8490a3;
  font-size: 13px;
}

.case-blog-cover {
  display: grid;
  width: 238px;
  height: 132px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #e6eaf2;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(59, 88, 186, .06), rgba(100, 87, 229, .13)),
    var(--site-hero-image, url("../images/defaults/cta.webp")) center / cover no-repeat;
}

.case-blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

.case-blog-card:hover .case-blog-cover img {
  transform: scale(1.035);
}

.case-blog-cover span {
  color: rgba(255, 255, 255, .94);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-shadow: 0 2px 12px rgba(22, 38, 82, .24);
}

.case-blog-tag {
  padding: 4px 10px;
  border: 1px solid rgba(92, 88, 230, .12);
  border-radius: 999px;
  background: #f1efff;
  color: #6857e5;
  font-weight: 700;
}

.case-blog-meta time::before {
  margin-right: 7px;
  content: "◷";
}

.case-blog-more {
  margin-left: auto;
  color: var(--site-brand);
  font-weight: 700;
}

.case-blog-more b {
  margin-left: 6px;
  font-size: 16px;
}

.case-blog-page .pagination {
  justify-content: center;
}

.case-blog-empty {
  margin: 0 auto;
  text-align: center;
}

.case-blog-empty .empty-actions {
  display: flex;
  margin-top: 26px;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.case-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 38px);
}

.case-card {
  border-color: var(--page-line);
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(34, 40, 75, .07);
}

.case-card-media {
  height: clamp(290px, 25vw, 400px);
  background:
    radial-gradient(circle at 76% 18%, rgba(113, 96, 228, .2), transparent 24%),
    linear-gradient(135deg, #eeedff, #edf5ff);
}

.case-card-copy {
  min-height: 250px;
  padding: 30px 32px 33px;
}

.case-card-copy h2 {
  min-height: 0;
  font-size: 27px;
  line-height: 1.36;
}

/* Content library retains three columns but adopts the same soft visual system. */
.archive-card-grid {
  gap: clamp(22px, 2vw, 30px);
}

.archive-card {
  border-color: var(--page-line);
  border-radius: 23px;
  box-shadow: 0 16px 42px rgba(34, 40, 75, .06);
}

.archive-card-media {
  height: 244px;
  background: linear-gradient(135deg, #eeedff, #edf5ff);
}

.archive-card-copy {
  min-height: 250px;
  padding: 26px 27px 28px;
}

/* FAQ: two-column editorial layout, with every answer visible. */
.faq-section {
  background: linear-gradient(180deg, #fbfcff, #f4f5fb);
}

.faq-section > .faq-shell {
  max-width: var(--page-shell-max);
}

.faq-editorial-layout {
  display: grid;
  grid-template-columns: minmax(280px, .3fr) minmax(0, .7fr);
  align-items: start;
  gap: clamp(48px, 5vw, 84px);
}

.faq-editorial-intro {
  position: sticky;
  top: 122px;
  padding: 22px 0;
}

.faq-editorial-intro h2 {
  margin: 17px 0 21px;
  color: var(--page-ink);
  font-size: clamp(38px, 3vw, 54px);
  line-height: 1.16;
  letter-spacing: -.06em;
}

.faq-editorial-intro > p:not(.section-kicker) {
  max-width: 460px;
  margin: 0;
  color: var(--page-muted);
  line-height: 1.9;
}

.faq-editorial-intro .outline-link {
  margin-top: 26px;
}

.faq-list {
  display: block;
}

.faq-item {
  border: 0;
  border-top: 1px solid var(--page-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.faq-item:hover {
  border-color: rgba(104, 87, 229, .34);
  box-shadow: none;
}

.faq-item-static {
  padding: 30px 0 34px;
}

.faq-question {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.faq-question span {
  padding-top: 7px;
  color: #7ba7e7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}

.faq-question h2 {
  margin: 0;
  color: var(--page-ink);
  font-size: clamp(22px, 1.55vw, 28px);
  line-height: 1.4;
  letter-spacing: -.04em;
}

.faq-item-static .faq-answer {
  padding: 18px 0 0 72px;
}

.faq-item-static .faq-answer p {
  margin: 0;
  color: var(--page-muted);
  line-height: 1.9;
}

.faq-detail-link {
  display: inline-flex;
  margin-top: 15px;
  align-items: center;
  gap: 11px;
  color: var(--page-blue);
  font-size: 13px;
  font-weight: 800;
}

/* Contact: information cards and a simple communication process, no map. */
.contact-page {
  background:
    radial-gradient(circle at 83% 24%, rgba(109, 91, 221, .08), transparent 23%),
    #fbfcff;
}

.contact-reference-grid {
  display: grid;
  width: var(--page-shell-width);
  max-width: var(--page-shell-max);
  grid-template-columns: minmax(0, .76fr) minmax(620px, 1.24fr);
  align-items: stretch;
  gap: clamp(52px, 6vw, 108px);
}

.contact-reference-intro {
  padding: clamp(44px, 4vw, 66px);
  border: 1px solid var(--page-line);
  border-radius: 29px;
  background:
    radial-gradient(circle at 84% 18%, rgba(96, 118, 226, .13), transparent 23%),
    linear-gradient(145deg, #f5f8ff, #fff);
  box-shadow: 0 25px 65px rgba(37, 48, 82, .08);
}

.contact-reference-intro > h2,
.contact-method-heading h2 {
  margin: 17px 0 20px;
  color: var(--page-ink);
  font-size: clamp(36px, 2.8vw, 50px);
  line-height: 1.18;
  letter-spacing: -.06em;
}

.contact-reference-intro > p:not(.section-kicker) {
  margin: 0;
  color: var(--page-muted);
  line-height: 1.9;
}

.contact-process-list {
  display: grid;
  margin-top: 37px;
  gap: 0;
}

.contact-process-list article {
  display: grid;
  padding: 22px 0;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--page-line);
}

.contact-process-list article > span {
  color: #7ca5e4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.contact-process-list h3 {
  margin: 0 0 7px;
  color: var(--page-ink);
  font-size: 18px;
}

.contact-process-list p {
  margin: 0;
  color: var(--page-muted);
  font-size: 13px;
  line-height: 1.75;
}

.contact-method-panel {
  padding: clamp(42px, 4vw, 62px);
  border: 1px solid var(--page-line);
  border-radius: 29px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 72px rgba(37, 48, 82, .1);
}

.contact-method-heading h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 2.5vw, 46px);
}

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

.contact-method-card {
  position: relative;
  display: flex;
  min-height: 210px;
  padding: 27px 28px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(207, 212, 229, .86);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f7f9ff);
  color: var(--page-ink);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.contact-method-card:hover {
  border-color: rgba(76, 143, 247, .36);
  box-shadow: 0 20px 48px rgba(52, 72, 122, .11);
  transform: translateY(-4px);
}

.contact-method-card-wide {
  grid-column: 1 / -1;
  min-height: 180px;
}

.contact-method-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #edf3ff, #f2efff);
  color: #537fc9;
  font-size: 10px;
  font-weight: 800;
}

.contact-method-card small {
  color: #8993a8;
  font-size: 12px;
  font-weight: 700;
}

.contact-method-card strong {
  margin-top: 8px;
  color: var(--page-ink);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.55;
  word-break: break-word;
}

.contact-method-card b {
  margin-top: auto;
  padding-top: 20px;
  color: var(--page-blue);
  font-size: 12px;
  font-weight: 800;
}

/* Online consultation: functional CMS guestbook form and global entry. */
.contact-consult-page {
  padding: clamp(64px, 6vw, 88px) 0 clamp(88px, 7vw, 116px);
  background:
    radial-gradient(circle at 78% 18%, rgba(81, 124, 226, .08), transparent 24%),
    #f7f9fd;
}

.contact-consult-layout {
  display: grid;
  width: var(--page-shell-width);
  max-width: 1440px;
  grid-template-columns: minmax(0, .8fr) minmax(620px, 1.2fr);
  align-items: start;
  gap: clamp(70px, 8vw, 132px);
}

.contact-info-panel {
  padding: 38px 0;
}

.contact-info-panel > h2,
.consult-form-card > h2 {
  margin: 16px 0 18px;
  color: var(--page-ink);
  font-size: clamp(38px, 3vw, 52px);
  line-height: 1.16;
  letter-spacing: -.06em;
}

.contact-info-panel > p:not(.section-kicker),
.consult-form-card > p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: var(--page-muted);
  line-height: 1.9;
}

.contact-info-list {
  display: grid;
  margin-top: 34px;
}

.contact-info-list > a,
.contact-info-list > div {
  display: grid;
  min-height: 92px;
  padding: 20px 0;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--page-line);
  color: var(--page-ink);
}

.contact-info-list > div {
  grid-template-columns: 52px minmax(0, 1fr);
}

.contact-info-list > a > span,
.contact-info-list > div > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #3c83ef, #2d66cf);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 13px 28px rgba(47, 106, 211, .22);
}

.contact-info-list svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-list small {
  display: block;
  margin-bottom: 5px;
  color: #8792a8;
  font-size: 12px;
  font-weight: 700;
}

.contact-info-list strong {
  color: var(--page-ink);
  font-size: 18px;
  line-height: 1.5;
  word-break: break-word;
}

.contact-info-list b {
  color: #3a80ed;
  font-size: 18px;
}

.consult-form-card {
  scroll-margin-top: 100px;
  padding: clamp(40px, 4vw, 58px);
  border: 1px solid var(--page-line);
  border-radius: 29px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 30px 76px rgba(37, 48, 82, .11);
}

.consult-form-card > h2 {
  font-size: clamp(34px, 2.5vw, 46px);
}

.consult-form {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.consult-form label > span {
  display: block;
  margin-bottom: 9px;
  color: #5f6a80;
  font-size: 12px;
  font-weight: 800;
}

.consult-form input[type="text"],
.consult-form textarea {
  width: 100%;
  border: 1px solid #dfe4ef;
  border-radius: 13px;
  outline: 0;
  background: #f9faff;
  color: var(--page-ink);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.consult-form input[type="text"] {
  height: 52px;
  padding: 0 16px;
}

.consult-form textarea {
  min-height: 132px;
  padding: 15px 16px;
  resize: vertical;
}

.consult-form input[type="text"]:focus,
.consult-form textarea:focus {
  border-color: rgba(52, 121, 232, .62);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(52, 121, 232, .09);
}

.consult-form-wide {
  grid-column: 1 / -1;
}

.consult-captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  align-items: end;
  gap: 14px;
}

.consult-captcha[hidden] {
  display: none;
}

.consult-captcha-image {
  height: 52px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe4ef;
  border-radius: 12px;
  background: #f3f6fb;
  cursor: pointer;
}

.consult-captcha-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consult-consent {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7c879b;
  font-size: 12px;
}

.consult-consent input {
  width: 16px;
  height: 16px;
  accent-color: #3479e8;
}

.consult-consent > span {
  margin: 0 !important;
}

.consult-submit {
  display: flex;
  height: 54px;
  padding: 0 21px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #3d83ed, #2e67d2);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(46, 103, 210, .23);
  cursor: pointer;
}

.consult-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.consult-status {
  min-height: 20px;
  margin: -5px 0 0;
  font-size: 13px;
}

.consult-status.is-success { color: #238558; }
.consult-status.is-error { color: #c64242; }
.consult-status.is-loading { color: #62708a; }

.site-consult-float {
  position: fixed;
  right: 30px;
  bottom: 32px;
  z-index: 80;
  display: flex;
  min-width: 132px;
  height: 50px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: linear-gradient(135deg, #3f88f4, #2c66d3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(35, 92, 191, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.site-consult-float:hover {
  color: #fff;
  box-shadow: 0 22px 52px rgba(35, 92, 191, .37);
  transform: translateY(-4px);
}

.contact-page-grid {
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  align-items: stretch;
  gap: clamp(58px, 6vw, 108px);
}

.contact-page-copy {
  max-width: none;
  padding: clamp(34px, 3.6vw, 52px) 0;
  align-self: center;
}

.contact-page-card {
  padding: clamp(38px, 4vw, 58px);
  border-color: var(--page-line);
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(245, 243, 255, .84));
  box-shadow: 0 30px 75px rgba(55, 48, 107, .12);
}

.contact-page-card > a,
.contact-page-card > div {
  padding: 21px 0;
  border-color: rgba(205, 208, 228, .78);
}

.contact-page-card strong {
  font-size: 19px;
}

.case-section .archive-empty,
.archive-section .archive-empty {
  max-width: 820px;
  margin: 0 auto;
  padding: 76px 82px;
  border-color: var(--page-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 18%, rgba(104, 87, 229, .1), transparent 25%),
    linear-gradient(145deg, #fff, #f6f5ff);
  box-shadow: 0 28px 70px rgba(55, 48, 107, .1);
  text-align: center;
}

.case-section .archive-empty > p:not(.section-kicker),
.archive-section .archive-empty > p:not(.section-kicker) {
  margin-right: auto;
  margin-left: auto;
}

/* Detail pages share the same page language. */
.product-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 9vw, 138px) 0;
  background:
    linear-gradient(90deg, rgba(250, 251, 255, .98), rgba(244, 243, 255, .82)),
    var(--site-hero-image, url("../images/defaults/hero.webp")) center / cover no-repeat;
}

.product-hero-grid {
  width: var(--page-shell-width);
  max-width: var(--page-shell-max);
  gap: clamp(68px, 7vw, 128px);
}

.product-cover img,
.product-cover-fallback {
  height: 420px;
  border-radius: 26px;
}

.detail {
  padding: clamp(96px, 9vw, 138px) 0;
  background: #fbfcff;
}

.detail .shell.narrow {
  max-width: 940px;
  padding: 45px 52px;
  border: 1px solid var(--page-line);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(34, 40, 75, .065);
}

/* Blog articles use an editorial page instead of one long content card. */
.blog-detail {
  padding: clamp(72px, 7vw, 104px) 0 clamp(96px, 8vw, 128px);
  background: #fff;
}

.blog-detail-hero {
  padding: 0;
  border: 0;
  background: transparent;
}

.blog-detail-heading {
  max-width: 880px;
  text-align: center;
}

.blog-detail-heading .eyebrow {
  margin-bottom: 18px;
}

.blog-detail-heading h1 {
  max-width: 880px;
  margin: 0 auto;
  color: var(--page-ink);
  font-size: clamp(36px, 3.2vw, 50px);
  line-height: 1.24;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.blog-detail-date {
  margin: 22px 0 0;
  color: #7e899b;
  font-size: 14px;
}

.blog-detail-main {
  padding: 0;
  background: transparent;
}

.blog-detail-shell {
  max-width: 880px;
}

.blog-detail-cover {
  margin: 48px 0 0;
}

.blog-detail-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-detail-reading {
  max-width: 880px;
  margin: 48px auto 0;
  padding-top: 46px;
  border-top: 1px solid #e4e8ee;
}

.blog-detail-shell > .blog-detail-reading:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.blog-detail-content {
  margin-top: 0;
  color: #344357;
  font-size: 17px;
  line-height: 2;
}

.blog-detail-content h2 {
  margin-top: 52px;
  letter-spacing: 0;
}

.blog-detail-content h3,
.blog-detail-content h4 {
  letter-spacing: 0;
}

/* Product detail content uses the same generous desktop card as About, while
   giving generated process lists a clearer visual hierarchy. */
.service-detail-page {
  padding: clamp(64px, 6vw, 88px) 0 clamp(88px, 8vw, 118px);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.service-detail-content > .article-content {
  max-width: none;
  margin-top: 30px;
  color: #4f5f75;
  font-size: 15px;
  line-height: 1.95;
}

.service-detail-content > .article-content > p:first-child {
  margin: 0 0 34px;
  padding: 22px 26px;
  border: 1px solid #e2eaf2;
  border-radius: 16px;
  background: #f7fafc;
  color: #43566e;
  font-size: 16px;
}

.service-detail-content > .article-content h2 {
  margin: 38px 0 16px;
  padding-left: 15px;
  border-left: 3px solid var(--site-brand);
  font-size: 24px;
  line-height: 1.4;
}

.service-detail-content > .article-content ul {
  display: grid;
  margin: 18px 0 30px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.service-detail-content > .article-content li {
  position: relative;
  min-height: 72px;
  margin: 0;
  padding: 16px 18px 16px 42px;
  border: 1px solid #e4eaf1;
  border-radius: 14px;
  background: #fff;
}

.service-detail-content > .article-content li::before {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--site-brand);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--site-brand) 12%, transparent);
  content: "";
}

/* The first generated list is the ordered service process. Give every card a
   visible sequence number; later lists such as contact details keep the dot. */
.service-detail-content > .article-content > ul:first-of-type {
  counter-reset: service-detail-step;
}

.service-detail-content > .article-content > ul:first-of-type > li {
  min-height: 84px;
  padding: 18px 20px 18px 62px;
  counter-increment: service-detail-step;
}

.service-detail-content > .article-content > ul:first-of-type > li::before {
  display: grid;
  top: 18px;
  left: 18px;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--site-brand);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--site-brand) 22%, transparent);
  color: #fff;
  content: counter(service-detail-step);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  html.motion-enabled .growth-hero .hero-copy[data-reveal] > *,
  html.motion-enabled .page-hero .shell[data-reveal] > * {
    opacity: 1;
    filter: none;
    animation: none;
    transform: none;
  }
}
.business-credential-section {
  background: #f7f9fc;
}

/* Keep the qualification block on the same left/right grid as the company profile above. */
.business-credential-section > .shell {
  width: var(--page-shell-width);
  max-width: var(--page-shell-max);
}

.business-credential-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.business-credential-heading h2 {
  margin: 8px 0 12px;
  color: #182234;
  font-size: clamp(30px, 3vw, 44px);
}

.business-credential-heading > p:last-child {
  margin: 0;
  color: #677286;
  line-height: 1.8;
}

.business-credential-card {
  display: grid;
  padding: 34px;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: start;
  gap: 36px;
  border: 1px solid #e5eaf1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(28, 43, 68, .08);
}

.business-credential-fields {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

.business-credential-fields > div {
  padding: 17px 0;
  border-bottom: 1px solid #edf0f5;
}

.business-credential-fields dt {
  margin-bottom: 7px;
  color: #8a94a6;
  font-size: 13px;
}

.business-credential-fields dd {
  margin: 0;
  color: #253147;
  font-size: 15px;
  line-height: 1.75;
  word-break: break-word;
}

.business-credential-fields .business-credential-wide {
  grid-column: 1 / -1;
}

.business-credential-image {
  display: block;
  overflow: hidden;
  border: 1px solid #e5eaf1;
  border-radius: 16px;
  background: #f7f8fa;
}

.business-credential-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.business-credential-note {
  margin: 18px 2px 0;
  color: #8a94a6;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .business-credential-card {
    grid-template-columns: 1fr;
  }

  .business-credential-image {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .business-credential-card {
    padding: 20px;
  }

  .business-credential-fields {
    grid-template-columns: 1fr;
  }

  .business-credential-fields .business-credential-wide {
    grid-column: auto;
  }
}
