/* sx-query: search > ad > landing page > enquiry, laid out in space (Google Ads). */
.sx-q__stage { position: relative; aspect-ratio: 2 / 1; container-type: inline-size; border-radius: 32px; background: radial-gradient(60% 70% at 30% 80%, rgba(250, 255, 0, .05), rgba(250, 255, 0, 0) 60%), radial-gradient(90% 90% at 70% 20%, #18181A, #0A0A0B 70%); box-shadow: inset 0 0 0 1px var(--x-line); overflow: hidden; perspective: 1800px; }
.sx-q__stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 4cqw 4cqw; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.sx-q__path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sx-q__path path { fill: none; stroke: rgba(241, 240, 236, .14); stroke-width: 2; stroke-dasharray: 2 7; }
.sx-q__path .sx-q__trail { stroke: var(--x-acc); stroke-dasharray: 1 1; stroke-dashoffset: 1; stroke-width: 2.5; }
.sx-q__dot { fill: var(--x-acc); filter: drop-shadow(0 0 8px rgba(250, 255, 0, .8)); }
.sx-q__p { position: absolute; z-index: 2; transform: translate(-50%, -50%) rotateY(var(--ry, -10deg)) rotateX(4deg) scale(.95); transform-style: preserve-3d; opacity: .38; filter: saturate(.4); transition: opacity .6s var(--x-ease), transform .9s var(--x-ease), filter .6s; }
.sx-q__p--1 { left: 14%; top: 78%; width: 24cqw; --ry: 12deg; }
.sx-q__p--2 { left: 38%; top: 38%; width: 25cqw; --ry: 8deg; }
.sx-q__p--3 { left: 64%; top: 60%; width: 23cqw; --ry: -8deg; }
.sx-q__p--4 { left: 88%; top: 30%; width: 20cqw; --ry: -12deg; }
.sx-q__stage[data-q-step='1'] .sx-q__p--1, .sx-q__stage[data-q-step='2'] .sx-q__p:is(.sx-q__p--1, .sx-q__p--2), .sx-q__stage[data-q-step='3'] .sx-q__p:not(.sx-q__p--4), .sx-q__stage[data-q-step='4'] .sx-q__p { opacity: 1; filter: none; }
.sx-q__stage[data-q-step='1'] .sx-q__p--1, .sx-q__stage[data-q-step='2'] .sx-q__p--2, .sx-q__stage[data-q-step='3'] .sx-q__p--3, .sx-q__stage[data-q-step='4'] .sx-q__p--4 { transform: translate(-50%, -50%) rotateY(calc(var(--ry) * .4)) scale(1.02); z-index: 3; }
.sx-q__stage[data-q-step='1'] .sx-q__p--1 .sx-q__win, .sx-q__stage[data-q-step='2'] .sx-q__p--2 .sx-q__win, .sx-q__stage[data-q-step='3'] .sx-q__p--3 .sx-q__win, .sx-q__stage[data-q-step='4'] .sx-q__p--4 .sx-q__win { box-shadow: 0 0 0 1.5px var(--x-acc), 0 50px 90px -40px rgba(0, 0, 0, 1); }
.sx-q__win { display: block; overflow: hidden; border-radius: 1.3cqw; background: #F6F5F1; color: #141414; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95); font-family: var(--x-d); transition: box-shadow .5s; }
/* 1 search */
.sx-q__field { display: flex; align-items: center; gap: .8cqw; height: 3.8cqw; margin: 1.1cqw; padding: 0 1.3cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 0 0 1px #DEDCD6, 0 6px 16px -8px rgba(0, 0, 0, .25); font-size: 1.3cqw; }
.sx-q__field svg { width: 1.5cqw; height: 1.5cqw; flex: 0 0 auto; fill: none; stroke: #6E6B64; stroke-width: 2; stroke-linecap: round; }
.sx-q__caret { width: 1.5px; height: 1.6cqw; background: #141414; animation: sxQBlink 1s steps(1) infinite; }
@keyframes sxQBlink { 50% { opacity: 0; } }
.sx-q__sug { display: grid; gap: .2cqw; padding: 0 1.1cqw 1.1cqw; }
.sx-q__sug span { padding: .55cqw 1.3cqw; border-radius: .8cqw; font-size: 1.05cqw; color: #55524C; }
.sx-q__sug b { font-weight: 600; color: #141414; }
.sx-q__sug span:first-child { background: #ECEAE4; }
/* 2 result */
.sx-q__res { position: relative; padding: 1.4cqw 1.5cqw 1.2cqw; }
.sx-q__spon { display: block; margin-bottom: .6cqw; font-size: .9cqw; font-weight: 700; color: #141414; }
.sx-q__hit { display: grid; gap: .45cqw; padding-bottom: 1.2cqw; border-bottom: 1px solid #E2DFD8; }
.sx-q__hit b { font-size: 1cqw; font-weight: 600; color: #3F3C37; }
.sx-q__t { font-size: 1.45cqw; line-height: 1.2; font-weight: 600; color: #1A3EBF; }
.sx-q__d { font-size: 1cqw; line-height: 1.45; color: #4E4B45; }
.sx-q__chips { display: flex; gap: .5cqw; margin-top: .2cqw; }
.sx-q__chips i { padding: .45cqw .9cqw; border-radius: 2cqw; box-shadow: inset 0 0 0 1px #D2CFC8; font-style: normal; font-size: .9cqw; font-weight: 600; color: #1A3EBF; }
.sx-q__ghost { display: grid; gap: .5cqw; padding-top: 1.1cqw; }
.sx-q__ghost i { height: .7cqw; border-radius: .4cqw; background: #E5E2DB; }
.sx-q__ghost i:first-child { width: 60%; height: .95cqw; background: #D7D4CC; }
.sx-q__ghost i:nth-child(2) { width: 92%; } .sx-q__ghost i:nth-child(3) { width: 74%; }
.sx-q__tap { position: absolute; left: 36%; top: 34%; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: rgba(250, 255, 0, .55); box-shadow: 0 0 0 2px rgba(20, 20, 20, .35); opacity: 0; transform: scale(.4); }
.sx-q__stage.is-tap .sx-q__tap { animation: sxQTap .8s var(--x-ease); }
@keyframes sxQTap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }
/* 3 landing page */
.sx-q__lp { background: #111; color: #fff; }
.sx-q__top { display: flex; align-items: center; justify-content: space-between; padding: 1cqw 1.3cqw; }
.sx-q__top b { font: 800 1.5cqw/1 var(--x-d); letter-spacing: -.02em; }
.sx-q__top b i { font-style: normal; color: #FF6B1A; }
.sx-q__top em { padding: .5cqw 1cqw; border-radius: 2cqw; background: #FF6B1A; color: #111; font: 700 .95cqw/1 var(--x-d); font-style: normal; }
.sx-q__hero { display: grid; gap: .9cqw; padding: 2cqw 1.6cqw 1.8cqw; background: #FF6B1A; color: #111; }
.sx-q__hh { font: 800 3.1cqw/.9 'HX Cond', 'Archivo', sans-serif; font-stretch: 72%; letter-spacing: -.03em; text-transform: uppercase; }
.sx-q__hp { font-size: 1.05cqw; line-height: 1.4; font-weight: 500; max-width: 90%; }
.sx-q__hb { display: flex; gap: .6cqw; }
.sx-q__hb i { padding: .7cqw 1.1cqw; border-radius: 2cqw; background: #111; color: #fff; font: 700 .95cqw/1 var(--x-d); font-style: normal; }
.sx-q__hb i + i { background: transparent; box-shadow: inset 0 0 0 1.5px #111; color: #111; }
.sx-q__ticks { display: grid; gap: .55cqw; padding: 1.4cqw 1.6cqw 1.6cqw; }
.sx-q__ticks i { display: flex; align-items: center; gap: .7cqw; font-style: normal; font-size: 1.05cqw; color: #DAD8D2; }
.sx-q__ticks i::before { content: ''; width: .7cqw; height: .7cqw; border-radius: 50%; background: #FF6B1A; }
/* 4 enquiry */
.sx-q__form { position: relative; display: grid; gap: .8cqw; padding: 1.6cqw; }
.sx-q__fh { font: 700 1.6cqw/1.1 var(--x-d); letter-spacing: -.02em; }
.sx-q__in { display: grid; gap: .3cqw; }
.sx-q__in em { font-style: normal; font-size: .85cqw; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8A867E; }
.sx-q__in b { min-height: 2.8cqw; padding: .75cqw .9cqw; border-radius: .7cqw; background: #fff; box-shadow: inset 0 0 0 1px #DAD7D0; font-size: 1.1cqw; font-weight: 500; line-height: 1.3; }
.sx-q__send { margin-top: .3cqw; padding: .95cqw; border-radius: 2cqw; background: #141414; color: #fff; text-align: center; font-size: 1.1cqw; font-weight: 600; }
.sx-q__ok { position: absolute; left: 1.6cqw; right: 1.6cqw; bottom: 1.6cqw; display: flex; align-items: center; justify-content: center; gap: .6cqw; padding: .95cqw; border-radius: 2cqw; background: var(--x-acc); color: #0A0A0A; font-size: 1.1cqw; font-weight: 700; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--x-ease); }
.sx-q__ok svg { width: 1.4cqw; height: 1.4cqw; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.sx-q__stage.is-done .sx-q__ok { opacity: 1; transform: none; }
/* labels */
.sx-query .sx-cap { margin-top: 16px; }
.sx-q__legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.sx-q__legend li { padding-top: 16px; border-top: 1px solid var(--x-line); transition: border-color .4s; }
.sx-q__legend li span { display: block; margin-bottom: 12px; font: 600 12px/1 var(--x-d); letter-spacing: .08em; color: var(--x-grey); transition: color .4s; }
.sx-q__legend li b { display: block; font: 600 20px/1.15 var(--x-d); letter-spacing: -.02em; color: var(--x-white); }
.sx-q__legend li em { display: block; margin-top: 6px; font-style: normal; font-size: 14.5px; line-height: 1.5; color: var(--x-soft); }
.sx-q__legend li.is-on { border-color: var(--x-acc); }
.sx-q__legend li.is-on span { color: var(--x-acc); }
@media (max-width: 1023px) {
  .sx-q__stage { aspect-ratio: auto; display: grid; gap: 18px; padding: 26px; container-type: normal; perspective: none; }
  .sx-q__path { display: none; }
  .sx-q__p { position: relative; left: auto; top: auto; width: min(100%, 440px); justify-self: center; transform: none !important; opacity: 1; filter: none; font-size: 16px; }
  .sx-q__p--1, .sx-q__p--3 { justify-self: start; } .sx-q__p--2, .sx-q__p--4 { justify-self: end; }
  .sx-q__win { border-radius: 16px; }
  .sx-q__legend { grid-template-columns: 1fr 1fr; row-gap: 24px; }
}
@media (max-width: 1023px) {
  /* below 1024 the panels stack and use fixed sizes */
  .sx-q__field { height: 46px; margin: 14px; padding: 0 16px; font-size: 16px; gap: 10px; border-radius: 30px; }
  .sx-q__field svg { width: 18px; height: 18px; }
  .sx-q__caret { height: 18px; }
  .sx-q__sug { padding: 0 14px 14px; } .sx-q__sug span { padding: 7px 14px; font-size: 14px; border-radius: 10px; }
  .sx-q__res { padding: 18px; } .sx-q__spon { font-size: 12px; margin-bottom: 8px; }
  .sx-q__hit { gap: 6px; padding-bottom: 14px; } .sx-q__hit b { font-size: 13px; } .sx-q__t { font-size: 18px; } .sx-q__d { font-size: 13.5px; }
  .sx-q__chips { gap: 6px; } .sx-q__chips i { padding: 6px 12px; font-size: 12px; border-radius: 20px; }
  .sx-q__ghost { gap: 6px; padding-top: 14px; } .sx-q__ghost i { height: 9px; } .sx-q__ghost i:first-child { height: 12px; }
  .sx-q__tap { width: 34px; height: 34px; }
  .sx-q__top { padding: 14px 18px; } .sx-q__top b { font-size: 20px; } .sx-q__top em { padding: 7px 13px; font-size: 13px; border-radius: 20px; }
  .sx-q__hero { gap: 12px; padding: 26px 20px 22px; } .sx-q__hh { font-size: 42px; } .sx-q__hp { font-size: 14px; } .sx-q__hb { gap: 8px; } .sx-q__hb i { padding: 9px 14px; font-size: 13px; border-radius: 20px; }
  .sx-q__ticks { gap: 8px; padding: 18px 20px 20px; } .sx-q__ticks i { gap: 9px; font-size: 14px; } .sx-q__ticks i::before { width: 8px; height: 8px; }
  .sx-q__form { gap: 11px; padding: 20px; } .sx-q__fh { font-size: 21px; } .sx-q__in { gap: 4px; } .sx-q__in em { font-size: 11px; } .sx-q__in b { min-height: 38px; padding: 9px 12px; font-size: 15px; border-radius: 9px; }
  .sx-q__send, .sx-q__ok { padding: 12px; font-size: 15px; border-radius: 26px; } .sx-q__ok { left: 20px; right: 20px; bottom: 20px; gap: 8px; } .sx-q__ok svg { width: 18px; height: 18px; }
}
@media (max-width: 767px) {
  .sx-q__stage { padding: 16px; border-radius: 24px; }
  .sx-q__p { width: 100%; }
  .sx-q__legend { grid-template-columns: 1fr; }
}
