/* Biosan · depth for the light sections, the sanitary-backing banner, the sector panel */
:root { --pl-ease: cubic-bezier(.23,1,.32,1); --pl-navy: #06162b; --pl-teal: #19c3b1;
  --pl-shadow: 0 1px 2px rgba(6,22,43,.06), 0 12px 32px -12px rgba(6,22,43,.18);
  --pl-shadow-hi: 0 2px 4px rgba(6,22,43,.06), 0 24px 48px -16px rgba(6,22,43,.26); }

/* a soft dot grid that fades out toward the bottom: the light grounds get a texture */
.emp, #como, #preguntas, #cotizar { position: relative; isolation: isolate; }
.emp::before, #como::before, #preguntas::before, #cotizar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(15,58,107,.13) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 70% at 85% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(120% 70% at 85% 0%, #000 0%, transparent 70%); }
.emp { background: linear-gradient(180deg, #ffffff 0%, #f1f7fb 100%); }
#preguntas { background: linear-gradient(180deg, #f1f7fb 0%, #ffffff 100%); }
#preguntas::before { -webkit-mask-image: radial-gradient(90% 70% at 10% 10%, #000 0%, transparent 70%); mask-image: radial-gradient(90% 70% at 10% 10%, #000 0%, transparent 70%); }
#cotizar { background: linear-gradient(180deg, #ffffff 0%, #eef5fa 100%); }
#como { background: linear-gradient(180deg, #eef5fa 0%, #e6f0f7 100%); }

/* ---------- empresa: metrics as raised cards ---------- */
.emp .sx-stats { border: 0; gap: 14px; }
.emp .sx-stats > div, .emp .sx-stats > div:nth-child(odd), .emp .sx-stats > div:nth-child(even) { position: relative; padding: 22px 22px 20px; border: 1px solid rgba(15,58,107,.08); border-radius: 18px; background: #fff;
  box-shadow: var(--pl-shadow); overflow: hidden; transition: opacity .9s var(--pl-ease), filter .9s var(--pl-ease), transform .7s var(--pl-ease), box-shadow .45s var(--pl-ease); transition-delay: var(--d, 0ms); }
.emp .sx-stats > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--pl-teal), #6fe3d6); transform: scaleX(.18); transform-origin: left; transition: transform .7s var(--pl-ease); }
.emp .sx-stats > div.sx-in::before, .emp .sx-stats > div:hover::before { transform: scaleX(1); }
.emp .sx-stats > div::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(25,195,177,.14), transparent 70%); }
@media (hover: hover) { .emp .sx-stats > div:hover { transform: translateY(-3px); box-shadow: var(--pl-shadow-hi); } }
.emp .sx-stats dd { color: var(--pl-navy); }
.emp .sx-photo { box-shadow: var(--pl-shadow-hi); }

/* ---------- respaldo: an institutional banner with seals ---------- */
main > section.rs { background: linear-gradient(180deg, #ffffff 0%, #eef5fa 100%); }
.rs__card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(28px, 4.4vw, 64px); color: #fff;
  --ink: #ffffff; --bg: #0a2342; --accent: #33d6c4;
  background: radial-gradient(70% 90% at 100% 0%, rgba(25,195,177,.28) 0%, transparent 60%), linear-gradient(135deg, #0f3a6b 0%, #06162b 70%);
  box-shadow: 0 50px 90px -40px rgba(6,22,43,.55); display: grid; gap: clamp(28px, 4vw, 52px); }
.rs__card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%); mask-image: linear-gradient(120deg, transparent 30%, #000 100%); }
.rs__card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(51,214,196,.25); box-shadow: 0 0 0 40px rgba(51,214,196,.04), 0 0 0 80px rgba(51,214,196,.03); z-index: -1; }
.rs__text { display: grid; gap: 16px; }
.rs .mo-wh__text { color: #fff; max-width: 30ch; font-size: clamp(26px, 2.2vw + 10px, 44px); }
.rs__seals { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rs__item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .9s var(--pl-ease), filter .9s var(--pl-ease), background .35s, border-color .35s, transform .7s var(--pl-ease); transition-delay: var(--d, 0ms); }
@media (hover: hover) { .rs__item:hover { background: rgba(255,255,255,.1); border-color: rgba(51,214,196,.5); transform: translateY(-3px); } .rs__item:hover .rs__seal { transform: rotate(-12deg) scale(1.05); } }
.rs__item h3 { margin: 0 0 4px; font: 600 17px/1.2 var(--font-display); color: #fff; }
.rs__item p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.72); }
.rs__seal { flex: none; width: 68px; height: 68px; transition: transform .7s cubic-bezier(.34,1.56,.64,1); }
.rs__seal-edge { fill: #19c3b1; }
.rs__seal-in { fill: #0a2342; }
.rs__seal-ring { fill: none; stroke: rgba(51,214,196,.55); stroke-width: 1.5; stroke-dasharray: 3 4; }
.rs__seal-ico { color: #5fe0d2; }
.rs__item.sx-in .rs__seal { animation: rs-stamp .8s cubic-bezier(.34,1.56,.64,1) backwards; animation-delay: calc(var(--d, 0ms) + .15s); }
@keyframes rs-stamp { from { transform: scale(1.5) rotate(-25deg); opacity: 0; } }

/* ---------- the three steps on cards ---------- */
.tl__card { margin-top: 22px; padding: 22px 22px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(15,58,107,.08); box-shadow: var(--pl-shadow);
  border-top: 3px solid rgba(15,58,107,.1); transition: opacity .9s var(--pl-ease), filter .9s var(--pl-ease), border-color .5s, box-shadow .45s var(--pl-ease), transform .7s var(--pl-ease); transition-delay: var(--d, 0ms); }
.tl__card h3 { margin-top: 0 !important; }
.tl__step.is-on .tl__card { border-top-color: var(--pl-teal); }
@media (hover: hover) { .tl__card:hover { transform: translateY(-4px); box-shadow: var(--pl-shadow-hi); } .tl__card:hover .tl__photo img { transform: scale(1.03); } }
.tl__card .tl__photo { margin-top: 18px; border-radius: 14px; }
.tl__photo img { transition: transform .8s var(--pl-ease); }
@media (max-width: 1023px) { .tl__card { margin-top: 0; } }

/* ---------- questions as cards ---------- */
#preguntas .acc { border: 0; gap: 12px; }
#preguntas .acc__item { border: 1px solid rgba(15,58,107,.08); border-left: 3px solid transparent; border-radius: 16px; background: #fff; padding: 0 22px; box-shadow: var(--pl-shadow);
  transition: opacity .9s var(--pl-ease), filter .9s var(--pl-ease), border-color .35s, box-shadow .45s var(--pl-ease), transform .7s var(--pl-ease); transition-delay: var(--d, 0ms); }
#preguntas .acc__item.is-open { border-left-color: var(--pl-teal); box-shadow: var(--pl-shadow-hi); }
@media (hover: hover) { #preguntas .acc__item:not(.is-open):hover { transform: translateY(-2px); box-shadow: var(--pl-shadow-hi); } }
#preguntas .acc__btn { padding: 20px 0; }
#preguntas .acc__panel p { padding-right: 40px; }
#preguntas .sx-photo { box-shadow: var(--pl-shadow-hi); }

/* ---------- quote: the contact details on a card ---------- */
#cotizar .sx-contact { border: 1px solid rgba(15,58,107,.08); border-radius: 18px; background: #fff; padding: 6px 22px; box-shadow: var(--pl-shadow); }
#cotizar .sx-contact > div:last-child { border-bottom: 0; }
#cotizar .sx-contact dt { display: flex; align-items: center; gap: 8px; }
#cotizar .sx-contact dt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pl-teal); box-shadow: 0 0 0 4px rgba(25,195,177,.15); }
#cotizar .sx-quote-photo { box-shadow: var(--pl-shadow-hi); }
#cotizar .sx-formcard { box-shadow: 0 50px 90px -40px rgba(6,22,43,.6), 0 0 0 1px rgba(25,195,177,.12); }

/* ---------- sectors: the button and the clients panel ---------- */
.sc-more { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(15,58,107,.2); background: #fff; color: var(--pl-navy);
  font: 600 14px/1 var(--font-text); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .16s var(--pl-ease); }
.sc-more span { transition: transform .35s var(--pl-ease); }
@media (hover: hover) { .sc-more:hover { background: var(--pl-navy); color: #fff; border-color: var(--pl-navy); } .sc-more:hover span { transform: translateX(4px); } }
.sc-more:active { transform: scale(.97); }
.sc-more:focus-visible { outline: 2px solid var(--pl-teal); outline-offset: 3px; }
.sc-pic { cursor: pointer; }
html.sc-lock { overflow: hidden; }

.sc-dlg { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: #fff; overflow: hidden; }
.sc-dlg::backdrop { background: rgba(4,14,28,.0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); transition: background .3s, backdrop-filter .3s; }
.sc-dlg.is-open::backdrop { background: rgba(4,14,28,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sc-dlg__in { position: absolute; left: 50%; top: 50%; width: min(1080px, calc(100% - 48px)); max-height: calc(100% - 48px); display: grid; grid-template-columns: 340px minmax(0, 1fr);
  border-radius: 26px; overflow: hidden; background: #0a2342; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 60px 120px -40px rgba(0,0,0,.7);
  transform: translate(-50%, -48%) scale(.96); opacity: 0; transition: transform .38s var(--pl-ease), opacity .25s var(--pl-ease); }
.sc-dlg.is-open .sc-dlg__in { transform: translate(-50%, -50%); opacity: 1; }
.sc-dlg__side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.sc-dlg__side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-dlg__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,22,43,.1) 0%, rgba(6,22,43,.88) 62%, #06162b 100%); }
.sc-dlg__side-tx { position: relative; z-index: 1; padding: 28px; display: grid; gap: 12px; }
.sc-dlg__side-tx h2 { margin: 0; font: 600 32px/1.05 var(--font-display); letter-spacing: -.02em; }
.sc-dlg__side-tx > p:not(.sc-dlg__k) { margin: 0; color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; }
.sc-dlg__k { margin: 0; font: 600 11px/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: #33d6c4; }
.sc-dlg__sum { margin: 6px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-dlg__sum > div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.sc-dlg__sum dt { font-size: 12px; color: rgba(255,255,255,.66); }
.sc-dlg__sum dd { margin: 4px 0 0; font: 600 26px/1 var(--font-display); }
.sc-dlg__main { padding: 30px 30px 26px; overflow-y: auto; display: grid; gap: 16px; align-content: start; }
.sc-dlg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-row { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px;
  transition: background .3s, border-color .3s; }
@media (hover: hover) { .sc-row:hover { background: rgba(255,255,255,.08); border-color: rgba(51,214,196,.45); } }
.sc-dlg.is-open .sc-row { animation: sc-rise .55s var(--pl-ease) backwards; animation-delay: calc(var(--i) * 60ms + .12s); }
@keyframes sc-rise { from { opacity: 0; transform: translateY(12px); } }
.sc-row__head { display: flex; gap: 14px; align-items: center; }
.sc-row__mark { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #19c3b1, #0f8f87); color: #06162b; font: 700 14px/1 var(--font-display); letter-spacing: .02em; }
.sc-row h3 { margin: 0; font: 600 17px/1.2 var(--font-display); }
.sc-row__head p { margin: 3px 0 0; font-size: 14px; color: rgba(255,255,255,.68); }
.sc-row__facts { margin: 0; display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 10px; }
.sc-row__facts > div { padding: 10px 12px; border-radius: 12px; background: rgba(6,22,43,.45); }
.sc-row__facts dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.sc-row__facts dd { margin: 4px 0 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.sc-row__facts > div:first-child dd { font: 600 22px/1 var(--font-display); color: #5fe0d2; }
.sc-dlg__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
.sc-dlg__note { font-size: 12px; color: rgba(255,255,255,.45); }
.sc-dlg__x { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(6,22,43,.6); color: #fff; cursor: pointer;
  transition: transform .3s var(--pl-ease), border-color .2s; }
@media (hover: hover) { .sc-dlg__x:hover { transform: rotate(90deg); border-color: #fff; } }
.sc-dlg__x:focus-visible { outline: 2px solid var(--pl-teal); outline-offset: 2px; }

@media (max-width: 1023px) {
  .rs__seals { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sc-dlg__in { left: 0; top: auto; bottom: 0; width: 100%; max-height: 92%; grid-template-columns: 1fr; border-radius: 24px 24px 0 0; transform: translateY(40px); overflow-y: auto; }
  .sc-dlg.is-open .sc-dlg__in { transform: none; }
  .sc-dlg__side { min-height: 220px; }
  .sc-dlg__main { overflow: visible; padding: 22px 18px 28px; }
  .sc-row__facts { grid-template-columns: 1fr 1fr; }
  .sc-row__facts > div:last-child { grid-column: 1 / -1; }
  .emp .sx-stats { gap: 10px; }
  .emp .sx-stats > div, .emp .sx-stats > div:nth-child(odd), .emp .sx-stats > div:nth-child(even) { padding: 16px 14px; }
  .rs__card { border-radius: 22px; }
  #preguntas .acc__item { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .sc-dlg__in, .sc-dlg::backdrop { transition-duration: .15s; } }
.sc-more { width: fit-content; justify-self: start; align-self: flex-start; }
.rs__item { text-align: left; }
.rs__text { justify-items: center; text-align: center; }

/* ===== titles on light grounds: navy title, the key word in solid brand blue with a letter wave =====
   (was: a floating blue square + a blue-to-teal gradient on the word; backup in polish.antes-titulos.css) */
.tq { position: relative; width: fit-content; color: #0b2a52; }
#como .tq, #sectores .tq { margin-inline: auto; }

/* key word: solid brand blue, no box behind it.
   Its letters (split by the small script at the end of index.html) do one wave once the title has risen in:
   each letter hops up a little and turns from navy to blue, one after another. */
.tq .hl, .tq .hl .sx-wi { color: #1560b8; }
.tq .hl .tq-l { display: inline-block; }
/* room above the word so the hop is not clipped by the word-rise mask */
.sx-js .tq .hl .sx-w { padding-top: .2em; margin-top: -.2em; }
.sx-js .tq.sx-split .hl .tq-l { color: #0b2a52; }
.sx-js .tq.sx-split.sx-in .hl .tq-l {
  animation: tq-wave .7s cubic-bezier(.34,1.4,.64,1) both;
  animation-delay: calc(.55s + var(--i, 0) * 45ms);
}
@keyframes tq-wave {
  0%   { transform: translateY(0); color: #0b2a52; }
  40%  { transform: translateY(-.16em); color: #1560b8; }
  100% { transform: translateY(0); color: #1560b8; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-js .tq.sx-split .hl .tq-l, .sx-js .tq.sx-split.sx-in .hl .tq-l { animation: none; color: #1560b8; }
}

/* more colour in the words of the light sections */
:is(.emp, #sectores, #como, #preguntas, #cotizar) .section-head > p:not(.t-label),
#sectores .mo-ph__head > p { color: #2f5378; }
:is(.emp, #como, #preguntas, #cotizar) .sx-kick { color: #0e8f86; }
.emp .sx-stats dt { color: #1d5a9a; font-weight: 500; }
.emp .sx-stats dd { color: #0b2a52; }
.emp .sx-note { color: #2f5378; }
#sectores .mo-ph__ch h3 { color: #0b2a52; }
#sectores .mo-ph__ch p { color: #2f5378; }
.tl__card h3, #preguntas .acc__btn { color: #0b2a52; }
.tl__card p { color: #2f5378; }
#preguntas .acc__item.is-open .acc__btn { color: #0f5fa8; }
#cotizar .sx-contact dt { color: #1d5a9a; }
#cotizar .sx-contact dd { color: #0b2a52; }

/* ===== "Dónde trabajamos": three boxes side by side ===== */
.sc__head { text-align: center; justify-items: center; margin-inline: auto; max-width: 46ch; }
.sc__head > p { color: #2f5378; }
.sc__grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.sc__card { display: grid; gap: 8px; align-content: start; }
.sc__pic { margin: 0 0 12px; min-height: 0; aspect-ratio: 4 / 5; max-height: 44svh; width: 100%; border-radius: 18px; overflow: hidden; box-shadow: var(--pl-shadow); }
.sc__pic img { width: 100%; height: 100%; object-fit: cover; }
.sc__card h3 { margin: 0; font: 500 clamp(19px, .5vw + 15px, 22px)/1.3 var(--font-text); letter-spacing: -.01em; color: #0b2a52; }
.sc__card p { margin: 0; max-width: 44ch; color: #2f5378; }
@media (max-width: 767px) {
  .sc__grid { grid-template-columns: 1fr; margin-top: 36px; }
  .sc__pic { aspect-ratio: 16 / 10; max-height: none; }
}
.sc__head { max-width: none; }
.sc__head .tq { max-width: none; white-space: nowrap; }
.sc__head > p { max-width: 46ch; }

/* ===== preguntas frecuentes: colour, a picture that follows the question, links that take you there ===== */
#preguntas.fq { background: linear-gradient(160deg, #eaf3fb 0%, #dcebf7 55%, #e4f6f3 100%); overflow: clip; }
#preguntas.fq::before { -webkit-mask-image: radial-gradient(80% 60% at 0% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(80% 60% at 0% 0%, #000 0%, transparent 70%); }
.fq__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fq__glow span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: fq-drift 16s ease-in-out infinite alternate; }
.fq__glow span:first-child { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(25,195,177,.55), transparent 65%); }
.fq__glow span:last-child { width: 620px; height: 620px; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(21,96,184,.38), transparent 65%); animation-duration: 20s; animation-direction: alternate-reverse; }
@keyframes fq-drift { to { transform: translate(-60px, 50px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .fq__glow span { animation: none; } }

.fq__side { display: grid; gap: 16px; align-content: start; }
.fq__side .sx-kick { color: #0e8f86; }
.fq__lead { margin: 0; color: #2f5378; font-size: 18px; max-width: 34ch; }
.fq__stage { position: relative; margin-top: 8px; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 70% at 50% 60%, #1b4f86 0%, #0a2342 70%); box-shadow: 0 40px 70px -35px rgba(6,22,43,.55), 0 0 0 1px rgba(15,58,107,.08); }
.fq__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08);
  transition: opacity .6s cubic-bezier(.23,1,.32,1), transform 1.2s cubic-bezier(.16,1,.3,1); }
.fq__pic.is-on { opacity: 1; transform: none; }
.fq__pic--cut { object-fit: contain; padding: 8% 12% 6%; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.fq__count { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 7px 12px; border-radius: 999px; font: 600 12px/1 var(--font-text); letter-spacing: .1em; color: rgba(255,255,255,.8);
  background: rgba(6,22,43,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }
.fq__count b { color: #5fe0d2; }
.fq__help { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--pl-shadow); border: 1px solid rgba(15,58,107,.08); }
.fq__help strong { display: block; color: #0b2a52; font: 600 16px/1.2 var(--font-display); }
.fq__help span { font-size: 14px; color: #2f5378; }

/* the questions */
#preguntas .fq__list { gap: 12px; align-content: start; }
#preguntas .fq__item { position: relative; overflow: hidden; border: 1px solid rgba(15,58,107,.1); border-radius: 18px; padding: 0 22px; background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: var(--pl-shadow); }
#preguntas .fq__item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #19c3b1, #1560b8); transform: scaleY(0); transform-origin: top; transition: transform .6s cubic-bezier(.16,1,.3,1); }
#preguntas .fq__item.is-open { background: linear-gradient(135deg, #0f3a6b 0%, #0a2342 100%); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(6,22,43,.6); }
#preguntas .fq__item.is-open::before { transform: scaleY(1); }
#preguntas .fq__item .acc__btn { gap: 16px; padding: 20px 0; justify-content: flex-start; }
.fq__q { flex: 1; }
.fq__n { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 600 14px/1 var(--font-display); color: #0e8f86; background: rgba(25,195,177,.12); border: 1px solid rgba(25,195,177,.35);
  transition: background .4s, color .4s, transform .6s cubic-bezier(.34,1.56,.64,1); }
#preguntas .fq__item.is-open .fq__n { background: #19c3b1; color: #06162b; border-color: #19c3b1; transform: rotate(-6deg) scale(1.06); }
#preguntas .fq__item.is-open .acc__btn { color: #fff; }
#preguntas .fq__item.is-open .acc__icon { color: #06162b; }
#preguntas .fq__item.is-open .acc__panel p { color: rgba(255,255,255,.82); }
#preguntas .fq__item .acc__panel p { padding: 0 0 14px 54px; }
@media (hover: hover) { #preguntas .fq__item:not(.is-open):hover { transform: translateY(-2px); box-shadow: var(--pl-shadow-hi); border-color: rgba(25,195,177,.45); } #preguntas .fq__item:not(.is-open):hover .fq__n { transform: rotate(-6deg); } }
.fq__go { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px 54px; padding: 10px 16px; border-radius: 999px; background: #19c3b1; color: #06162b; font: 600 14px/1 var(--font-text); text-decoration: none;
  opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s cubic-bezier(.16,1,.3,1), background .25s; }
.fq__go span { transition: transform .35s cubic-bezier(.23,1,.32,1); }
.fq__item.is-open .fq__go { opacity: 1; transform: none; transition-delay: .15s; }
@media (hover: hover) { .fq__go:hover { background: #33d6c4; } .fq__go:hover span { transform: translateX(4px); } }
.fq__go:active { transform: scale(.97); }
.fq__go:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* where the link lands: a short glow around the section and a note under the menu */
.fq-hit { animation: fq-hit 1.8s cubic-bezier(.23,1,.32,1); }
@keyframes fq-hit { 0% { box-shadow: inset 0 0 0 0 rgba(25,195,177,0); } 20% { box-shadow: inset 0 0 0 4px rgba(25,195,177,.9), inset 0 0 80px rgba(25,195,177,.25); } 100% { box-shadow: inset 0 0 0 0 rgba(25,195,177,0); } }
.fq-toast { position: fixed; z-index: 3000; left: 50%; top: calc(var(--nav, 72px) + 14px); display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  background: rgba(6,22,43,.92); color: #fff; font: 600 14px/1 var(--font-text); box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; transform: translate(-50%, -10px) scale(.96); pointer-events: none; transition: opacity .3s, transform .45s cubic-bezier(.16,1,.3,1); }
.fq-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.fq-toast__dot { width: 8px; height: 8px; border-radius: 50%; background: #19c3b1; box-shadow: 0 0 0 4px rgba(25,195,177,.25); }
@media (max-width: 1023px) { .fq__list { margin-top: 28px; } .fq__stage { aspect-ratio: 16 / 10; } }
@media (max-width: 639px) {
  #preguntas .fq__item { padding: 0 16px; }
  #preguntas .fq__item .acc__panel p { padding-left: 0; }
  .fq__go { margin-left: 0; }
  .fq__n { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
  .fq__help .btn { width: 100%; }
}
/* on one column the picture would sit far from the questions: keep the list close to the title */
@media (max-width: 1023px) { .fq__stage { display: none; } .fq__side { order: 0; } .fq__help { order: 3; } }

/* "Dónde trabajamos": the client list scrolls inside the panel, with a thin bar and a fade that says there is more */
.sc-dlg__in { grid-template-rows: minmax(0, 1fr); }
.sc-dlg__main { min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(51,214,196,.55) transparent; }
.sc-dlg__main::-webkit-scrollbar { width: 6px; }
.sc-dlg__main::-webkit-scrollbar-thumb { background: rgba(51,214,196,.55); border-radius: 6px; }
.sc-dlg__foot { position: sticky; bottom: -26px; margin: 0 -30px -26px; padding: 18px 30px 22px; background: linear-gradient(180deg, rgba(6,22,43,0) 0%, #06162b 34%); }
.sc-dlg__hint { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.55); }
.sc-dlg__hint svg { animation: sc-nudge 1.6s ease-in-out infinite; }
@keyframes sc-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (max-width: 767px) {
  .sc-dlg__in { overscroll-behavior: contain; grid-template-rows: auto; }
  .sc-dlg__foot { bottom: -28px; margin: 0 -18px -28px; padding: 16px 18px 24px; }
}
.sc-dlg__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-right: 52px; }
@media (max-width: 767px) { .sc-dlg__foot { bottom: 0; } }
