:root {
  --ink: #22152f;
  --muted: #5a5265;
  --violet: #6231a5;
  --contact-fill: linear-gradient(104deg,#6334ba,#8335a3 42%,#a64155 72%,#ad4019);
  --brand-spectrum: linear-gradient(96deg,#bc9dff 8%,#e49eef 29%,#ff9a76 69%,#ffcf96);
  --orange: #ffae61;
  --line: #eae3f0;
}
::selection { background: #e8d2ff; color: #271539; }
body { background: #fdfbff; }
.top {
  position: fixed;
  inset: 16px max(22px, calc((100% - 1330px)/2)) auto;
  z-index: 5;
  border: 1px solid #ece5f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 46px #1d093334;
}
.top .wrap {
  width: 100%; min-height: 60px; padding-inline: 20px 16px;
  display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
}
.top .brand { justify-self: start; }
.top .brand img { width: 132px; }
.top .contact-pill { justify-self: end; }
:target { scroll-margin-top: 98px; }
#inicio { scroll-margin-top: 0; }
.nav a, .nav-developments summary {
  color: #453058; font-size: .8rem; letter-spacing: .025em;
  transition: color .18s, background-color .18s; padding: 5px 8px; border-radius: 6px;
}
.nav a:hover, .nav-developments summary:hover { color: var(--violet); background: #f4ecfb; }
.contact-pill,.hero .button-orange,.custom .button {
  background: var(--contact-fill); color: #fff; border: 0; border-radius: 999px;
  box-shadow: 0 7px 20px #7940a73d;
}
.contact-pill { min-height: 38px; padding: 8px 19px; font-size: .84rem; }
.button { transition: background-color .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-ghost { background: #29183b72; border-color: #b8a0d5a3; border-radius: 999px; backdrop-filter: blur(8px); }
.button-ghost:hover { background: #382254; }
.hero {
  position: relative; border-bottom: 1px solid #593586; background: #180b2b;
}
.hero-image { object-position: 57% center; inset: auto -10px -10px auto; height: calc(100% + 20px); width: calc(100% + 20px); }
.hero::before { background: linear-gradient(90deg,#180b2bf0 0%,#1a0d34bc 31%,#1a0d3414 64%,#1a0d3400 82%); }
.hero-effect {
  position: absolute; z-index: -1; pointer-events: none; inset: 0; overflow: hidden;
  mask-image: linear-gradient(90deg,transparent 36%,black 71%,black);
}
.hero-effect::before {
  content: ""; position: absolute; inset: -70% -38%;
  background: linear-gradient(115deg,transparent 44%,#f4d6ff0b 47%,#ffedad2a 49%,#eabfff07 51%,transparent 53%);
  transform: translateX(-45%); opacity: 0;
}
.hero .wrap { min-height: clamp(560px,45vw,714px); padding-block: 126px 65px; }
.hero h1 { font-size: clamp(2.8rem,5.65vw,6.15rem); }
.hero h1 > span { color: #f0defe; }
@supports (background-clip:text) { .hero h1 > span { background: var(--brand-spectrum); background-clip: text; color: transparent; } }
.hero h1::before { width: 59px; background: linear-gradient(90deg,#ffad55,#be81ff); box-shadow: 0 0 18px #ffb76b28; }
.hero p { max-width: 440px; color: #f2e9fb; }
.catalog { padding-block: 58px 65px; }
.catalog-heading {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px;
  margin-bottom: 21px;
}
.catalog-heading h2 { font-size: clamp(1.8rem,3.1vw,2.9rem); line-height: 1.08; letter-spacing: -.05em; }
.catalog-heading a { color: var(--violet); font-size: .91rem; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.project {
  --hue: #683c9a;
  --stage-light: #3e2459;
  position: relative; padding: clamp(22px,3.3vw,44px); margin-top: 19px;
  border: 1px solid var(--line); border-radius: 23px;
  background: linear-gradient(148deg,#fff 57%,#f4edff);
  box-shadow: 0 12px 36px #33214507;
}
.project:nth-of-type(even) { --hue: #9e5b37; --stage-light: #513044; background: linear-gradient(148deg,#fff 57%,#fff2e8); }
.project:last-child { border-bottom: 1px solid var(--line); }
.project-grid { gap: clamp(23px,4vw,61px); }
.section-label { color: #663da0; }
.intro h2 { font-size: clamp(1.8rem,3.2vw,3.15rem); }
.project-actions a { font-size: .88rem; }
.disclosure summary { transition: background-color .2s; }
.disclosure summary:hover { background: #e9dcf8; }
.stage {
  isolation: isolate; min-height: 286px;
  border: 1px solid #3a235b28; border-radius: 14px; padding: 28px 24px;
  background: radial-gradient(ellipse at 80% 11%,var(--hue),transparent 67%),
              radial-gradient(ellipse at 14% 94%,var(--stage-light),transparent 70%), #1b102d;
  box-shadow: 0 16px 34px #29153b21;
}
.stage.warm { background: radial-gradient(ellipse at 86% 12%,#884d53,transparent 73%),
                          radial-gradient(ellipse at 10% 90%,#513048,transparent 68%),#201027; }
.stage::before, .stage::after {
  content: ""; z-index: -1; pointer-events: none; position: absolute; inset: 0;
}
.stage::before {
  background: repeating-linear-gradient(0deg,#e9c4ff15 0 1px,transparent 1px 32px),
              repeating-linear-gradient(90deg,#e9c4ff17 0 1px,transparent 1px 32px);
  mask-image: radial-gradient(ellipse at center,black,transparent 82%);
}
.stage::after {
  background: radial-gradient(ellipse at var(--mx,70%) var(--my,30%),#ffd3fa23,transparent 62%);
  opacity: 0; transition: opacity .25s;
}
.stage:hover::after { opacity: 1; }
.stage img, .stage .wit-sample, .stage .editor { transition: transform .38s cubic-bezier(.2,.65,.25,1); }
.stage:hover img, .stage:hover .wit-sample, .stage:hover .editor { transform: translateY(-3px); }
.stage .screen { box-shadow: 0 15px 36px #12091b70,0 0 22px #ce9dff29; border-color: #f4ddffbd; }
.stage .wit-sample, .stage .editor { box-shadow: 0 15px 36px #12091b60; }
.stage .robot { filter: drop-shadow(0 16px 14px #16091b97); }
.stage figcaption { color: #f4e7ff; margin-top: 12px; }
.custom {
  isolation: isolate; position: relative; overflow: hidden; padding-block: 83px;
  color: #fff; background: radial-gradient(ellipse at 92% 3%,#6b384e,transparent 50%),
               radial-gradient(ellipse at 62% 112%,#502d83,transparent 64%),#1c0f33;
}
.custom .lead, .steps span { color: #eee1f8; }
.custom .steps strong { color: #ffcc9e; }
.custom .steps li { border-left: 1px solid #c197e2a0; }

footer { background: #fff; }
@keyframes float-hero {
  0%,100% { transform: translate3d(0,4px,0) scale(1.005); }
  50% { transform: translate3d(-9px,-9px,0) scale(1.065); }
}
@keyframes light-pass {
  0%,20% { opacity: 0; transform: translateX(-39%); }
  30% { opacity: .85; }
  67%,100% { opacity: 0; transform: translateX(39%); }
}
@media (prefers-reduced-motion:no-preference) {
  .hero-image { animation: float-hero 6.5s ease-in-out infinite; }
  .hero-effect::before { animation: light-pass 9s linear infinite; }
  .project[data-reveal] .stage { animation: section-in .65s cubic-bezier(.22,.64,.34,1) both; }
  @keyframes section-in { from { opacity: .65; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width:1060px) {
  .hero::before { background: linear-gradient(90deg,#180b2bfa,#180b2baa 40%,#180b2b06 77%); }
  .hero-image { object-position: 58% center; }
}
@media (max-width:750px) {
  .top { inset: 9px 10px auto; border-radius: 13px; }
  .top .wrap { min-height: 0; grid-template-columns: 1fr 1fr; padding: 7px 10px 4px; gap: 3px 10px; }
  .top .brand img { width: 111px; }
  .top .contact-pill { min-height: 35px; padding: 7px 15px; font-size: .8rem; }
  .top .nav { grid-row: 2; grid-column: 1/-1; display: flex; justify-content: center; gap: clamp(2px,2vw,20px); }
  .nav a, .nav-developments summary { font-size: .75rem; letter-spacing: 0; }
  :target { scroll-margin-top: 99px; }
  #inicio { scroll-margin-top: 0; }
  .hero .wrap { min-height: 0; padding-block: 121px clamp(225px,57vw,330px); }
  .hero h1 { font-size: clamp(2.48rem,9.5vw,4.4rem); }
  .hero-image {
    inset: auto -6px -8px; width: calc(100% + 12px); height: clamp(239px,59vw,346px);
    object-position: 93% 53%;
  }
  .hero::before { background: linear-gradient(180deg,#180b2b 0%,#180b2b 43%,#180b2b00 70%); }
  .hero p { max-width: 490px; }
  .hero-effect { display: none; }
  .catalog { padding-block: 37px 45px; }
  .project { border-radius: 15px; padding: 21px; }
  .stage { padding: 15px; min-height: 174px; }
  .stage .wit-sample { padding: 9px; font-size: .72rem; line-height: 1.4; }
  .custom { padding-block: 50px; }
}
@media(max-width:380px) {
  .project { padding: 16px; }
  .stage .pair { grid-template-columns: 1fr; }
  .stage .pair img { max-height: 150px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .button:hover,.stage:hover img,.stage:hover .wit-sample,.stage:hover .editor { transform: none; }
}

.hero h1 > span {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: .04em .14em .13em 0;
  margin-bottom: -.13em;
  letter-spacing: -.053em;
}
.hero .button-orange { background: var(--contact-fill); color: #fff; }
.hero .button-ghost { background: transparent; color: #fff; border-color: #e9d9feb3; }
.hero .button-ghost:hover { border-color: #fff; }

.project > .disclosure { margin-top: 20px; }
.details-close, .disclosure[open] .details-open { display: none; }
.disclosure[open] .details-close { display: inline; }
.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 39px);
  margin-top: 16px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #e9e0f2;
  border-radius: 15px;
  background: #faf7fe;
}
.detail-copy { color: var(--muted); font-size: 13px; }
.detail-copy + .detail-copy { border-left: 1px solid #e5daee; padding-left: clamp(18px, 3vw, 39px); }
.detail-copy h3 { margin: 0 0 7px; color: #3d2464; font-size: 1.02rem; line-height: 1.4; }
.detail-copy p + h3, .detail-copy ul + h3 { margin-top: 19px; }
.detail-copy ul { margin: 0; padding-left: 1.2em; }
.detail-copy li + li { margin-top: 8px; }
.detail-copy strong { color: var(--ink); }
@media (max-width: 750px) {
  .detail-columns { grid-template-columns: minmax(0, 1fr); }
  .detail-copy + .detail-copy { border: 0; border-top: 1px solid #e5daee; padding: 17px 0 0; }
}

.stage.stage-product-art {
  min-height: 0;
  padding: 0;
  background: #fff;
  border-color: #e5e3eb;
  box-shadow: 0 14px 32px #24193313;
}
.stage-product-art img {
  max-height: none;
  width: 100%;
  height: auto;
}
.stage-product-art:hover img { transform: none; }
.stage-product-art figcaption {
  color: var(--violet);
  margin: 0;
  padding: 8px 13px;
  font-weight: 600;
}
.stage-product-art figcaption a { text-decoration: underline; text-underline-offset: 3px; }

.nav-developments { position: relative; }
.nav-developments summary {
  display: flex; align-items: center; gap: 7px; list-style: none; cursor: pointer;
}
.nav-developments summary::-webkit-details-marker { display: none; }
.nav-developments summary::after {
  content: ""; width: 6px; height: 6px; border: solid currentColor;
  border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg);
}
.nav-developments[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-submenu {
  position: absolute; z-index: 1; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); width: max-content; max-width: min(260px, calc(100vw - 32px));
  padding: 6px; margin: 0; list-style: none; background: #fff; border: 1px solid #ece5f2;
  border-radius: 12px; box-shadow: 0 12px 30px #1d093326;
}
.nav-submenu a { display: block; padding: 9px 11px; }
@media (max-width: 750px) {
  .nav-submenu { left: 0; transform: translateX(-20%); max-width: min(240px, calc(100vw - 86px)); }
  .top .nav > a, .nav-developments summary { padding-inline: 4px; }
}

.technology {
  text-align: center; padding-block: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(ellipse at 50% 55%, #f9f7ff, transparent 68%),
    radial-gradient(circle, #d5cedf 1px, transparent 1.2px) center / 22px 22px,
    #f1f1f4;
  border-block: 1px solid #e6e3ec;
}
.technology h2 { font-size: clamp(1.75rem, 3vw, 2.65rem); line-height: 1.15; letter-spacing: -.035em; }
.technology-copy { max-width: 660px; margin: 16px auto 0; color: var(--muted); }
.technology-copy p + p { margin-top: 8px; }
.technology-group { margin-top: 32px; }
.technology-group h3 { margin: 0 0 15px; color: #483560; font-size: .95rem; }
.technology-group ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin: 0; padding: 0; list-style: none; }
.technology-group li {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex: 0 1 175px; min-height: 66px; padding: 10px 14px;
  background: linear-gradient(145deg,#fff 35%,#f7f5fb);
  border: 1px solid #fff; border-radius: 11px;
  box-shadow: 0 12px 22px -11px #4a35644c, inset 0 0 0 1px #e9e3f1;
  color: #322840; font-size: .79rem; font-weight: 650;
}
.technology-group img { flex: 0 0 36px; width: 36px; height: 36px; object-fit: contain; }
.detail-close-loop { margin-top: 20px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 16px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--violet); font-size: .87rem; font-weight: 680; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) {
  .technology-group ul { gap: 10px; }
  .technology-group li { flex-basis: calc((100% - 10px) / 2); min-width: 0; padding-inline: 8px; }
  .technology-group img { flex-basis: 29px; width: 29px; height: 29px; }
  .footer-links { justify-content: center; }
  footer .wrap { flex-direction: column; }
}
.wit-details { background: #fff; }
.wit-details h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wit-detail-icon {
  display: inline-grid; flex: 0 0 34px; height: 34px; place-items: center;
  border-radius: 9px; background: #f0e8fb; color: #5a2a92;
}
.wit-details p + p { margin-top: 8px; }
.wit-detail-ai { margin-top: 16px; padding: 13px; border: 1px solid #e4d4f3; border-radius: 12px; background: #faf5ff; }
.wit-use-cases li + li { border-top: 1px solid #eee8f3; padding-top: 8px; }
.wit-industries { margin-top: 14px; border-top: 1px solid #eee8f3; padding-top: 12px; }
.wit-details .wit-industry-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin-top: 9px; }
.wit-industry-tags li { margin: 0; padding: 3px 8px; border: 1px solid #e7dcee; border-radius: 999px; background: #fcfaff; }
.wit-details .wit-industry-tags li + li { margin: 0; }
.wit-clients-link { display: inline-block; margin-top: 9px; color: #5a2a92; text-decoration: underline; }

.technology > .wrap { width: 100%; max-width: none; }
.technology h2, .technology-copy, .technology-note { padding-inline: 20px; }
.logo-carousel h3 { text-align: center; }
.logo-viewport { overflow: hidden; }
.logo-track ul { padding: 6px 12px 18px; }
.logo-track[data-moving] { display: flex; width: max-content; animation: logo-drift var(--logo-duration) linear infinite; }
.logo-track[data-moving] ul { flex: none; flex-wrap: nowrap; padding-inline: 0 13px; }
.logo-track[data-moving] li { flex: 0 0 174px; width: 174px; }
.technology-note { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
@keyframes logo-drift { to { transform: translateX(calc(-1 * var(--logo-distance))); } }
@media (max-width: 480px) {
  .logo-track[data-moving] ul { padding-right: 10px; }
  .logo-track[data-moving] li { flex-basis: 151px; width: 151px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track[data-moving] { display: block; width: auto; animation: none; transform: none; }
  .logo-track[data-moving] ul { flex-wrap: wrap; padding-inline: 12px; }
  .logo-track [aria-hidden="true"] { display: none; }
}
