/* The homepage uses regular WordPress blocks so all visible copy is editable. */
.nq-home-hero {
  --nq-pink: #c43e9e;
  --nq-image-height: clamp(330px, 36.8vw, 520px);
  --nq-frame-width: 76%;
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: min(100svh, 1120px); overflow: hidden;
  box-sizing: border-box; margin: 0!important; max-width: none!important;
  color: white; text-align: start;
  background: radial-gradient(ellipse at 86% 37%, #2671c7a6, transparent 42%),
    radial-gradient(ellipse at 9% 43%, #8b369544, transparent 36%),
    linear-gradient(125deg,#1e3a8a 0%,#203da4 49%,#2c56b4 100%);
}
.nq-home-hero::before {content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:linear-gradient(#fff1 1px,transparent 1px),linear-gradient(90deg,#fff1 1px,transparent 1px);
  background-size:60px 60px; opacity:.35; mask-image:linear-gradient(#000, #0006);}
.nq-home-hero::after {content:""; position:absolute; inset-inline-start:10%; top:8.5%; width:68px; height:68px; border:2px solid #ffffff12; border-radius:16px; transform:rotate(45deg); pointer-events:none; z-index:-1;}
.nq-home-hero .nq-hero-grid {width:min(100%,1590px); max-width:none; box-sizing:border-box; margin:0 auto; padding:clamp(110px,13vh,146px) clamp(26px,5.85vw,92px) clamp(46px,8vh,98px);
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:auto auto auto;
  grid-template-areas:"intro visual" "story visual" "closing visual"; column-gap:clamp(32px,3.55vw,64px); align-items:start;}
.nq-home-hero .nq-hero-grid :where(.wp-block-group,p,h1,figure,.wp-block-buttons) {margin-block:0; box-sizing:border-box;}
.nq-home-hero .nq-hero-grid :where(p,h1) {color:inherit;}
.nq-home-hero .nq-hero-intro {grid-area:intro; align-self:end;}
.nq-home-hero .nq-hero-closing {grid-area:closing;}
.nq-home-hero .nq-partners {display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:24px;}
.nq-home-hero .nq-partner, .nq-home-hero .nq-slide-title {width:fit-content; display:flex; align-items:center; gap:10px; font-size:clamp(.77rem,1.07vw,.95rem); font-weight:700; line-height:1.35; padding:.65em 1.05em; border:1px solid #ffffff29; border-radius:40px; background:#ffffff18;}
.nq-home-hero .nq-partner::before {content:""; display:grid; place-items:center; flex:none; width:31px; height:31px; border-radius:9px; background-color:white; color:#633853; font:600 9px/1 system-ui,sans-serif; direction:ltr;}
.nq-home-hero .nq-partner-1::before {background-image:linear-gradient(90deg,transparent 44%,white 45%,white 54%,transparent 55%),linear-gradient(transparent 44%,white 45%,white 54%,transparent 55%),linear-gradient(135deg,#10c1ed,#0076bf); background-repeat:no-repeat; background-size:16px 16px; background-position:center;}
.nq-home-hero .nq-partner-2::before {content:"odoo"; letter-spacing:-.08em; color:#6b5966;}
.nq-home-hero h1.nq-hero-title {font-family:inherit; font-weight:800; font-size:clamp(2.4rem,3.65vw,3.65rem); line-height:1.17; letter-spacing:-.025em; text-wrap:balance; margin:0 0 26px;}
.nq-home-hero .nq-hero-title strong {font-weight:inherit; color:#d54e9e; text-decoration:underline; text-underline-offset:.12em; text-decoration-thickness:.075em;}
.nq-home-hero .nq-hero-slides,.nq-home-hero .nq-hero-slide {display:contents;}
.nq-home-hero .nq-hero-slide~.nq-hero-slide,.nq-home-hero .nq-hero-slide[hidden] {display:none!important;}
.nq-home-hero.nq-hero-ready .nq-hero-slide.nq-current:not([hidden]) {display:contents!important;}
.nq-home-hero .nq-slide-story {grid-area:story; min-width:0;}
.nq-home-hero .nq-slide-title {padding:.6em 1em; border:0; border-radius:18px; background:#0273bc54; margin-bottom:20px;}
.nq-home-hero .nq-slide-title::before,.nq-home-hero .nq-active-caption::before,.nq-home-hero .nq-cta-secondary a::before {content:""; display:inline-block; width:1em; height:1em; flex:none;
  background:linear-gradient(currentColor 0 0) 0 0 / 45% 45%,linear-gradient(currentColor 0 0) 100% 0 / 45% 45%,linear-gradient(currentColor 0 0) 0 100% / 45% 45%,linear-gradient(currentColor 0 0) 100% 100% / 45% 45%; background-repeat:no-repeat;}
.nq-home-hero .nq-slide-detail {font-size:clamp(1.08rem,1.52vw,1.4rem); line-height:1.65; color:#ffffffdf; max-width:39em; margin-bottom:28px;}
.nq-home-hero .nq-hero-actions {display:flex; flex-wrap:wrap; gap:14px; justify-content:flex-start; margin:0 0 35px;}
.nq-home-hero .nq-hero-actions .wp-block-button {margin:0;}
.nq-home-hero .nq-hero-actions .wp-element-button {display:inline-flex; align-items:center; justify-content:center; gap:.8em; padding:.86em 1.65em; border:2px solid transparent; border-radius:14px; background:var(--nq-pink); color:#fff; text-decoration:none; font-size:1rem; font-weight:700; line-height:1.55; transition:background .2s,transform .2s; box-shadow:0 9px 24px #a2307a35;}
.nq-home-hero .nq-hero-actions .wp-element-button:hover {transform:translateY(-2px); background:#ac308b;}
.nq-home-hero .nq-hero-actions .nq-cta-secondary a {border-color:#ffffff4d; background:#ffffff18; box-shadow:none;}
.nq-home-hero .nq-hero-actions .nq-cta-secondary a:hover {background:#ffffff30;}
.nq-home-hero .nq-cta-primary a::before {content:""; display:inline-block; width:1em; height:.9em; box-sizing:border-box; border:1.5px solid currentColor; border-top-width:4px; border-radius:3px;}
.nq-home-hero .nq-stats {display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px;}
.nq-home-hero .nq-stat-value {font-size:clamp(1.7rem,2.5vw,2.4rem); font-weight:800; line-height:1.15; font-variant-numeric:tabular-nums;}
.nq-home-hero .nq-stat-label {font-size:.83rem; line-height:1.45; color:#ffffffbf; margin-top:.45em;}
.nq-home-hero .nq-slide-visual {grid-area:visual; align-self:center; position:relative; width:100%; padding-top:10px; text-align:center;}
.nq-home-hero figure.nq-slide-frame {position:relative; z-index:0; width:var(--nq-frame-width); height:var(--nq-image-height); margin-inline:auto; border-radius:22px; overflow:visible; background:#0a1740; box-shadow:0 14px 45px #0a184d65; isolation:isolate;}
.nq-home-hero .nq-slide-frame img {position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; border:1px solid #ffffff2e; border-radius:inherit;}
.nq-home-hero .nq-slide-frame::before,.nq-home-hero .nq-slide-frame::after {content:""; position:absolute; inset:0; border-radius:inherit; z-index:-1; background:#14203e var(--nq-card-image,none) center/cover; border:1px solid #ffffff2b; filter:brightness(.54);}
.nq-home-hero .nq-slide-frame::before{transform:scale(.93,.92) translateX(-12%); box-shadow:-1.8vw 0 0 -.5vw #101c43;}
.nq-home-hero .nq-slide-frame::after{transform:scale(.93,.92) translateX(12%); box-shadow:1.8vw 0 0 -.5vw #101c43;}
.nq-home-hero .nq-visual-label {grid-area:visual; position:relative; z-index:1; justify-self:end; align-self:start; margin-inline-end:0; transform:translateY(-8px); padding:.28em .8em; border-radius:24px; color:white; background:linear-gradient(100deg,#6232fb,#cb418b); font-size:.72rem; font-weight:700;}
.nq-home-hero .nq-active-caption {display:flex; justify-content:center; align-items:center; gap:10px; margin-top:clamp(23px,3.3vw,52px); color:#fff; font-size:1.12rem; font-weight:700;}
.nq-home-hero .nq-active-caption::before {color:#d550a1;}
.nq-home-hero .nq-slide-caption {margin-top:clamp(20px,3vw,46px); font-size:.88rem; line-height:1.5; color:#ffffffb9;}
.nq-home-hero .nq-active-caption + .nq-slide-caption {margin-top:.4em;}
.nq-home-hero .nq-controls {display:flex; justify-content:center; align-items:center; gap:2px; margin-top:6px; direction:ltr;}
.nq-home-hero .nq-controls button,.nq-home-hero .nq-frame-arrow {appearance:none; cursor:pointer; font-family:inherit; margin:0; padding:0; border:0; color:#fff;}
.nq-home-hero .nq-controls button {position:relative; display:grid; place-items:center; width:25px; height:27px; border-radius:20px; background:transparent;}
.nq-home-hero .nq-controls button::before {content:""; display:block; background:#ffffff50; width:8px; height:8px; border-radius:16px; transition:width .22s,background .22s;}
.nq-home-hero .nq-controls button[aria-pressed="true"]::before {width:23px; background:var(--nq-pink);}
.nq-home-hero .nq-frame-arrow {position:absolute; inset-block-start:calc(var(--nq-image-height) * .54); transform:translateY(-50%); display:grid; place-items:center; z-index:2; height:40px; width:40px; border-radius:100%; font:400 21px/1 system-ui; background:#ffffff18; border:1px solid #ffffff3a; backdrop-filter:blur(8px); direction:ltr;}
.nq-home-hero .nq-frame-arrow:hover {background:#ffffff4a;}
.nq-home-hero .nq-arrow-left {left:2.3%;}
.nq-home-hero .nq-arrow-right {right:2.3%;}
.nq-home-hero :focus-visible {outline:3px solid #fff; outline-offset:3px;}
@media(min-width:1001px){.nq-home-hero .nq-hero-grid{min-height:min(100svh,1120px); align-content:center;}}
@media(max-width:1000px){
  .nq-home-hero {--nq-frame-width:88%; --nq-image-height:clamp(225px,43vw,370px); min-height:auto; text-align:center;}
  .nq-home-hero .nq-hero-grid {width:min(100%,790px); grid-template-columns:minmax(0,1fr); grid-template-areas:"intro" "story" "closing" "visual"; padding:100px 22px 42px;}
  .nq-home-hero .nq-partners,.nq-home-hero .nq-hero-actions {justify-content:center;}
  .nq-home-hero h1.nq-hero-title {font-size:clamp(2rem,6vw,3rem); margin-bottom:18px;}
  .nq-home-hero .nq-partners {margin-bottom:18px;}
  .nq-home-hero .nq-partner::before {width:22px;height:22px;border-radius:6px;background-size:13px 13px;}
  .nq-home-hero .nq-slide-title {margin:0 auto 13px;}
  .nq-home-hero .nq-slide-detail {margin:0 auto 22px;}
  .nq-home-hero .nq-hero-actions {margin-bottom:23px;}
  .nq-home-hero .nq-hero-closing {margin-bottom:32px;}
  .nq-home-hero .nq-slide-frame {border-radius:16px;}
  .nq-home-hero .nq-active-caption,.nq-home-hero .nq-slide-caption {margin-top:20px;}
  .nq-home-hero .nq-active-caption + .nq-slide-caption {margin-top:.35em;}
  .nq-home-hero .nq-arrow-left {left:1%;}
  .nq-home-hero .nq-arrow-right {right:1%;}
}
@media(max-width:560px){
  .nq-home-hero .nq-hero-grid {padding:94px 16px 34px;}
  .nq-home-hero .nq-partners {gap:6px;}
  .nq-home-hero .nq-partner {font-size:.7rem; padding:.45em .7em; gap:5px;}
  .nq-home-hero .nq-hero-actions {gap:8px;}
  .nq-home-hero .nq-hero-actions .wp-element-button {padding:.72em .95em; border-radius:11px; font-size:.87rem;}
  .nq-home-hero .nq-stats {align-items:start; gap:5px;}
  .nq-home-hero .nq-stat-label {font-size:.72rem;}
  .nq-home-hero .nq-frame-arrow {width:34px; height:34px;}
}
@media(prefers-reduced-motion:reduce){.nq-home-hero *{transition:none!important;}}
.nq-home-hero .nq-partner-logo::before {display:none;}
.nq-home-hero .nq-badge-icon {height:31px; width:31px; display:grid; place-items:center; padding:5px; background:#fff; border-radius:9px;}
.nq-home-hero .nq-badge-icon img {height:100%; width:100%; object-fit:contain;}
.nq-home-hero .nq-partner-name {font:inherit;}
@media(max-width:1000px){.nq-home-hero .nq-badge-icon{height:22px;width:22px;padding:3px;border-radius:6px;}}
@media(max-width:639px){
  .nq-home-hero .nq-hero-actions {flex-direction:column; align-items:center;}
  .nq-home-hero .nq-stats {grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 20px; max-width:410px; margin-inline:auto;}
}
.nq-home-hero .wp-block-group__inner-container{display:contents}

/* Small behavior-specific additions to the company's original responsive stylesheet. */
[data-nq-carousel] [data-nq-deck]{touch-action:pan-y}
[data-nq-carousel] [data-nq-step]:focus-visible,[data-nq-carousel] [data-nq-select]:focus-visible{outline:2px solid white;outline-offset:2px}
[data-nq-home-section] .nq-insert{display:contents}
@media (prefers-reduced-motion:reduce){[data-nq-home-section] *,[data-nq-home-section] *::before,[data-nq-home-section] *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Keep each full diagram visible at both carousel breakpoints. */
[data-nq-carousel] [data-nq-deck] {height:auto;aspect-ratio:3/2}
[data-nq-carousel] [data-nq-frame] img,
[data-nq-carousel] [data-nq-slide] img {object-fit:contain;background:#080f26}
[data-nq-carousel] [data-nq-slide] > .relative {height:auto;background:#0c1934}
[data-nq-carousel] [data-nq-slide] img {position:static!important;display:block;width:100%;height:auto!important;aspect-ratio:3/2}
[data-nq-carousel] [data-nq-slide] img + .absolute {display:none}
[data-nq-carousel] [data-nq-slide] .bottom-0 {position:static;padding:.7rem 1rem .85rem}
@media (min-width:640px) and (max-width:1023px) {
  [data-nq-carousel] [data-nq-slide] img {max-height:min(56svh,32rem)}
}
.nq-expand-diagram {display:inline-grid;place-items:center;align-self:center;width:2.1rem;height:2.1rem;border:1px solid #ffffff70;border-radius:50%;color:white;background:#122a58;margin-inline-start:.55rem;cursor:zoom-in}
.nq-expand-diagram:focus-visible,.nq-art-viewer button:focus-visible {outline:2px solid #83ebff;outline-offset:2px}
.nq-art-viewer {position:fixed;inset:0;margin:auto;width:min(96vw,94rem);max-width:96vw;max-height:95dvh;padding:0;border:1px solid #667da5;border-radius:12px;color:white;background:#080f26}
.nq-art-viewer::backdrop {background:#03091de8}
.nq-art-viewer header {position:static;display:flex;align-items:center;gap:.6rem;padding:.55rem .8rem;background:#122244;color:white}
.nq-art-viewer strong {margin-inline-end:auto;font-size:clamp(.875rem,2vw,1.05rem);line-height:1.35}
.nq-art-viewer button {border:1px solid #96acd1;border-radius:.4rem;padding:.35rem .65rem;color:white;background:#152c50;cursor:pointer;white-space:nowrap}
.nq-art-scroll {overflow:auto;max-height:calc(92dvh - 4rem);direction:ltr;overscroll-behavior:contain}
.nq-art-scroll img {display:block;width:100%;max-width:100%;height:auto;max-height:calc(92dvh - 4rem);object-fit:contain;margin-inline:auto}
.nq-art-scroll[data-detail] img {width:max(100%,1248px);max-width:none;max-height:none}

/* Keep the eight sector symbols visible when their badges wrap. */
[data-nq-home-section="partners"] .rounded-full > svg.text-lg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
[data-nq-home-section="partners"] .rounded-full > svg.text-lg + span {
  white-space: nowrap;
}
@media (min-width: 700px) and (max-width: 899px) {
  [data-nq-home-section="partners"] .flex-wrap:has(> .rounded-full > svg.text-lg) {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    gap: .7rem;
  }
  [data-nq-home-section="partners"] .flex-wrap > .rounded-full:has(> svg.text-lg) {
    justify-content: center;
    padding-inline: .65rem;
  }
}
@media (min-width: 900px) and (max-width: 1100px) {
  [data-nq-home-section="partners"] .flex-wrap:has(> .rounded-full > svg.text-lg) {
    gap: .5rem;
  }
  [data-nq-home-section="partners"] .flex-wrap > .rounded-full:has(> svg.text-lg) {
    padding-inline: .65rem;
  }
}
