/* Homepage product gallery and FAQ. Decorative shapes stay behind the content. */
.tx-reference-page #work.tx-productsSection {
  background: radial-gradient(ellipse at 92% 12%, #e3edfc 0, transparent 32%),
    radial-gradient(ellipse at 2% 28%, #edf0ff 0, transparent 30%), #f7f9fd !important;
}

.tx-reference-page .tx-productGallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  gap: 20px !important;
  margin-top: 44px;
}

.tx-reference-page .tx-productGallery .tx-productCard {
  --gallery-accent: #4274b6;
  --gallery-tint: #e8f1ff;
  grid-column: auto;
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 24px !important;
  border-radius: 28px !important;
  border: 1px solid #fff !important;
  background: linear-gradient(145deg, #ffffffed 15%, var(--gallery-tint)) !important;
  box-shadow: 0 12px 30px #29497908, inset 0 0 0 1px #4274b609 !important;
  align-items: flex-start;
  text-align: start;
  transform: none !important;
  transform-style: flat;
  will-change: auto;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

.tx-reference-page .tx-productGallery .tx-productCard::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0 100%,
    transparent 0 116px, var(--gallery-accent) 117px 118px,
    transparent 119px 146px, var(--gallery-accent) 147px 148px,
    transparent 149px 176px, var(--gallery-accent) 177px 178px, transparent 179px);
  box-shadow: none;
  opacity: .08;
  z-index: -1;
  pointer-events: none;
  transform: none;
}

.tx-reference-page .tx-productGallery .tx-productCard::after { content: none; }
.tx-reference-page .tx-productGallery .tx-productCard > * { transform: none; }
.tx-reference-page .tx-productGallery .tx-productCard--travel {
  grid-row: span 2;
  padding: 32px !important;
  background: radial-gradient(circle at 45% 38%, #ffffff 0, #ffffff00 42%),
    linear-gradient(150deg, #edf6ff, #dae8fc 65%, #e9e7ff) !important;
}
.tx-reference-page .tx-productGallery .tx-productCard--appointments { --gallery-tint: #eaf3ff; }
.tx-reference-page .tx-productGallery .tx-productCard--agency { --gallery-accent: #1a7884; --gallery-tint: #e6f5f3; }
.tx-reference-page .tx-productGallery .tx-productCard--people { --gallery-accent: #9c3277; --gallery-tint: #f9ecf5; }
.tx-reference-page .tx-productGallery .tx-productCard--ai { --gallery-accent: #6153a8; --gallery-tint: #eeebfc; }

.tx-productCategory {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gallery-accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.tx-productCategory::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px #ffffffa0;
}
.tx-reference-page .tx-productGallery .tx-productCard__logoWrap {
  position: relative;
  mix-blend-mode: multiply;
  min-height: 86px;
  margin: 14px 0 16px;
  padding: 8px;
}
.tx-reference-page .tx-productGallery .tx-productCard__logo {
  width: 100%;
  max-width: 184px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
  position: relative;
  z-index: 1;
}
.tx-reference-page .tx-productGallery .tx-productCard--travel .tx-productCard__logoWrap {
  flex: 1;
  min-height: 230px;
  margin-block: 26px;
  isolation: isolate;
}
.tx-productCard--travel .tx-productCard__logoWrap::before,
.tx-productCard--travel .tx-productCard__logoWrap::after {
  content: "";
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  max-width: 310px;
  border-radius: 50%;
  border: 1px solid #ffffffdf;
  box-shadow: 0 0 0 22px #ffffff24, 0 0 0 23px #4274b61c, 0 0 0 47px #ffffff24;
  background: radial-gradient(circle at 30% 22%, #ffffffcf, #ffffff12 72%);
  z-index: -1;
}
.tx-productCard--travel .tx-productCard__logoWrap::after {
  width: 12px;
  height: 12px;
  inset: 18% auto auto 10%;
  background: #78a3e0;
  box-shadow: 0 3px 14px #4274b640;
}
.tx-reference-page .tx-productGallery .tx-productCard--travel .tx-productCard__logo {
  max-width: 265px;
  height: 114px;
}
.tx-reference-page .tx-productGallery .tx-productCard__title {
  width: 100%;
  margin: 0 0 8px !important;
  text-align: start !important;
  font-size: 20px !important;
  line-height: 1.45;
  color: #12294d;
}
.tx-reference-page .tx-productGallery .tx-productCard--travel .tx-productCard__title { font-size: 30px !important; }
.tx-reference-page .tx-productGallery .tx-productCard__text {
  margin: 0 0 20px !important;
  text-align: start;
  color: #566982 !important;
  font-size: 15px !important;
  line-height: 1.7;
}
.tx-productExplore {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border-top: 1px solid #4274b619;
  padding-top: 12px;
  color: #28538e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.tx-productExplore span,
.tx-faqContact span { font-family: Arial, sans-serif; font-size: 20px; }
.tx-productExplore span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffffc9;
}
.tx-productExplore:focus-visible,
.tx-faqContact:focus-visible { outline: 2px solid #4274b6; outline-offset: 5px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) {
  .tx-reference-page .tx-productGallery .tx-productCard:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 40px #29497912 !important;
  }
  .tx-reference-page .tx-productGallery .tx-productCard:hover::before { opacity: .08; }
  .tx-productExplore:hover, .tx-faqContact:hover { color: #163c71; }
}

/* A blue field with quiet dots and contour rings replaces the empty white band. */
.tx-reference-page #faq.tx-faqSection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 88px !important;
  background: radial-gradient(ellipse at 100% 70%, #dbe9fc 0, transparent 56%),
    linear-gradient(120deg, #f3f8ff, #edf4ff) !important;
}
.tx-faqSection::before,
.tx-faqSection::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.tx-faqSection::before {
  inset: 0;
  background-image: radial-gradient(#4274b64a .8px, transparent .8px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 38%, transparent 65%, #000);
  opacity: .48;
}
.tx-faqSection::after {
  width: 720px;
  height: 720px;
  right: -360px;
  bottom: -470px;
  border: 1px solid #4274b625;
  border-radius: 50%;
  box-shadow: 0 0 0 40px #ffffff28, 0 0 0 41px #4274b61c,
    0 0 0 90px #ffffff28, 0 0 0 91px #4274b618, 0 0 0 145px #ffffff28, 0 0 0 146px #4274b614;
}
.tx-reference-page .tx-faqLayout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.tx-reference-page .tx-faqLayout .tx-faqHead {
  align-items: flex-start;
  text-align: start;
  padding-top: 12px;
}
.tx-faqEyebrow { color: #4274b6; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.tx-reference-page .tx-faqLayout .tx-faqHead__sub { margin: 16px 0 0; color: #5c7091; }
.tx-faqArtwork {
  position: relative;
  display: grid;
  place-items: center;
  width: 172px;
  height: 172px;
  margin: 24px 18px 28px;
  border: 1px solid #4274b624;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff83, #ffffff00 68%);
}
.tx-faqArtwork::before {
  content: "";
  position: absolute;
  inset: 16px -16px;
  border: 1px solid #4274b629;
  border-radius: 50%;
  transform: rotate(-32deg);
}
.tx-faqArtwork span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding-bottom: 8px;
  border-radius: 28px 28px 8px 28px;
  background: linear-gradient(145deg, #6192d1, #3869aa);
  color: #fff;
  font-size: 66px;
  line-height: 1;
  box-shadow: 0 15px 26px #4274b62b, inset 0 1px 1px #ffffff70;
  transform: rotate(-9deg);
}
.tx-faqArtwork i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #8db6ee; top: 26px; left: 9px; box-shadow: 0 0 0 5px #ffffff83; }
.tx-faqArtwork i:last-child { width: 7px; height: 7px; top: auto; left: auto; right: 14px; bottom: 30px; background: #4274b6; }
.tx-faqContactText { margin: 0 0 4px; color: #5c7091; font-size: 14px; }
.tx-faqContact { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: #28538e; font-size: 15px; font-weight: 600; text-decoration: none; }
.tx-reference-page .tx-faqLayout .tx-faq { width: 100%; min-width: 0; margin: 0; gap: 14px; }
.tx-reference-page .tx-faqLayout .tx-faqItem {
  border: 1px solid #ffffff !important;
  border-radius: 18px;
  background: #ffffffd9;
  box-shadow: 0 8px 24px #4274b609 !important;
}
.tx-reference-page .tx-faqLayout .tx-faqItem[open] { background: #fff; border-color: #a9c6ed !important; }
.tx-reference-page .tx-faqLayout .tx-faqItem summary { padding: 22px 24px; line-height: 1.65; }
.tx-faqItem summary bdi { white-space: nowrap; }
.tx-reference-page .tx-faqLayout .tx-faqItem summary::after {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  line-height: 1;
  border-radius: 50%;
  background: #edf4ff;
}
.tx-reference-page .tx-faqLayout .tx-faqItem__a { padding: 0 24px 24px; }

@media (max-width: 1100px) {
  .tx-reference-page .tx-productGallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx-reference-page .tx-productGallery .tx-productCard--travel { grid-column: 1 / -1; grid-row: auto; }
  .tx-reference-page .tx-productGallery .tx-productCard--travel .tx-productCard__logoWrap { min-height: 180px; }
  .tx-productCard--travel .tx-productCard__logoWrap::before { max-width: 200px; }
}
@media (max-width: 820px) {
  .tx-reference-page .tx-faqLayout { grid-template-columns: 1fr; gap: 30px; }
  .tx-reference-page .tx-faqLayout .tx-faqHead { align-items: center; text-align: center; padding: 0; }
  .tx-faqArtwork { display: none; }
  .tx-faqContactText { margin-top: 20px; }
  .tx-reference-page #faq.tx-faqSection { padding-block: 60px !important; }
}
@media (max-width: 600px) {
  .tx-reference-page .tx-productGallery { grid-template-columns: minmax(0, 1fr); gap: 16px !important; margin-top: 30px; }
  .tx-reference-page .tx-productGallery .tx-productCard,
  .tx-reference-page .tx-productGallery .tx-productCard--travel { padding: 24px !important; grid-column: auto; border-radius: 24px !important; }
  .tx-reference-page .tx-productGallery .tx-productCard--travel .tx-productCard__logoWrap { min-height: 170px; margin-block: 20px; }
  .tx-reference-page .tx-productGallery .tx-productCard--travel .tx-productCard__logo { max-width: 220px; height: 100px; }
  .tx-reference-page .tx-productGallery .tx-productCard--travel .tx-productCard__title { font-size: 25px !important; }
  .tx-reference-page .tx-faqLayout .tx-faqItem summary { padding: 18px; gap: 12px; }
  .tx-reference-page .tx-faqLayout .tx-faqItem__a { padding: 0 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .tx-reference-page .tx-productGallery .tx-productCard { transition: none !important; }
  .tx-reference-page .tx-productGallery .tx-productCard:hover { transform: none !important; }
}
