:root {
  color-scheme: light;
  --ink: #454b60;
  --muted: #7a8193;
  --line: #e2e6ee;
  --soft: #f9fafe;
  --paper: #ffffff;
  --purple: #321f50;
  --purple-light: #f0ecf6;
  --mint: #6fc7b2;
  --mint-light: #e9f7f3;
  --cyan: #6ec1e4;
  --cyan-light: #eaf7fc;
  --green: var(--mint);
  --green-dark: #368d78;
  --shadow: 0 20px 50px rgba(50, 31, 80, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#experiencia,
#integraciones,
#enfoque,
#lead {
  scroll-margin-top: 82px;
}

body {
  margin: 0;
  background: #f8fafc;
  color: var(--ink);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: .6rem .8rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.main-nav,
.hero-actions,
.card-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.footer-links {
  min-width: 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 164px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--purple);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.product-icon {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 8px;
  width: 2.35rem;
  background: var(--mint-light);
  color: var(--green-dark);
  font-weight: 800;
}

.product-icon.large {
  width: 3.2rem;
  margin-bottom: 1rem;
}

.main-nav {
  gap: .2rem;
  justify-content: flex-end;
}

.main-nav > a,
.nav-trigger,
.footer-links a {
  padding: .55rem .7rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .94rem;
}

.main-nav > a:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"],
.footer-links a:hover,
.text-link:hover {
  color: var(--purple);
}

.nav-dropdown {
  position: relative;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.chevron {
  width: .45rem;
  height: .45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.nav-trigger[aria-expanded="true"] .chevron {
  transform: translateY(2px) rotate(225deg);
}

.solutions-menu {
  position: absolute;
  top: calc(100% + .8rem);
  right: 0;
  width: min(680px, calc(100vw - 2rem));
  padding: .75rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--mint);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-dropdown:hover .solutions-menu,
.nav-dropdown:focus-within .solutions-menu,
.nav-dropdown.is-open .solutions-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.solutions-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem;
}

.solution-menu-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding: .75rem;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.solution-menu-item:hover,
.solution-menu-item:focus-visible {
  background: var(--soft);
  outline: none;
}

.solution-menu-item > span:last-child {
  display: grid;
  min-width: 0;
}

.solution-menu-item strong {
  color: var(--purple);
  line-height: 1.3;
}

.solution-menu-item small {
  overflow: hidden;
  color: var(--muted);
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solutions-menu-all {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .55rem;
  padding: .8rem .75rem .2rem;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}

.page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.page-compact {
  padding-top: clamp(2rem, 6vw, 4rem);
}

.hero,
.product-hero,
.campaign-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: max(620px, calc(100vh - 140px));
  padding: clamp(2.5rem, 7vw, 6rem) 0;
}

.hero::before,
.product-hero::before,
.campaign-hero::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: #f6f3fa;
  border-bottom: 1px solid #e7e0ee;
  transform: translateX(-50%);
}

.hero-visual {
  width: min(100%, 560px);
  margin: 0;
  justify-self: center;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  animation: hero-float 5.5s ease-in-out infinite;
}

.hero-experience {
  display: flex;
  min-height: clamp(520px, calc(100svh - 120px), 720px);
  align-items: center;
  padding: clamp(3.5rem, 10vw, 7rem) 0;
  color: #fff;
}

.hero-experience::before {
  z-index: 1;
  background: rgba(25, 18, 35, .48);
  border-bottom-color: rgba(255, 255, 255, .18);
}

.hero-background {
  position: absolute;
  inset: 0 50%;
  z-index: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(-50%);
}

.hero-experience .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-experience h1,
.hero-experience .hero-text {
  color: #fff;
}

.hero-experience .eyebrow {
  color: #9ce7d3;
}

.hero-experience .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--purple);
}

.hero-experience .button.secondary {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(25, 18, 35, .34);
  color: #fff;
}

.hero-copy {
  animation: hero-copy-in .7s ease both;
}

.hero-visual {
  animation: hero-visual-in .8s .1s ease both;
}

.hero-copy,
.page-title {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 8vw, 5.65rem);
  line-height: .96;
  letter-spacing: 0;
  color: var(--ink);
}

.product-hero h1,
.campaign-hero h1,
.page-title h1 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 6vw, 4.7rem);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
}

.hero-text,
.page-title p,
.section-heading p {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions,
.card-actions {
  gap: .8rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .8rem 1rem;
  border: 1px solid var(--purple);
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--purple);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--purple);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(50, 31, 80, .14);
}

.system-panel,
.summary-box,
.product-card,
.campaign-card,
.lead-form,
.stacked article,
.three-columns article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.system-panel {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1rem;
  background: var(--purple);
  color: #fff;
  font-size: .9rem;
}

.module-row {
  display: grid;
  gap: .15rem;
  padding: 1.05rem 1rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.module-row:hover {
  background: var(--mint-light);
}

.module-row span {
  font-weight: 760;
}

.module-row small {
  color: var(--muted);
  font-size: .86rem;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.catalog-section {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem);
}

.band-mint,
.band-cyan {
  position: relative;
  isolation: isolate;
}

.band-mint::before,
.band-cyan::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%);
}

.band-mint::before {
  background: #edf8f5;
}

.band-cyan::before {
  background: #edf7fb;
}

.section-heading {
  display: grid;
  gap: .2rem;
  margin-bottom: 1.5rem;
}

.experience-heading {
  max-width: 560px;
  margin-bottom: 0;
}

.experience-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.experience-section::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: #f6f3fa;
  border-top: 1px solid #e7e0ee;
  border-bottom: 1px solid #e7e0ee;
  transform: translateX(-50%);
}

.experience-grid {
  display: grid;
  gap: 0;
  margin: 0;
}

.experience-grid article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(50, 31, 80, .18);
}

.experience-grid article:last-child {
  border-bottom: 1px solid rgba(50, 31, 80, .18);
}

.experience-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--green-dark);
}

.experience-icon svg {
  width: 22px;
  height: 22px;
}

.experience-grid h3 {
  grid-column: 2;
  margin-bottom: .2rem;
  color: var(--purple);
  font-size: 1.16rem;
}

.experience-grid p {
  grid-column: 2;
  margin-bottom: 0;
  color: var(--muted);
}

.product-grid,
.campaign-grid,
.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.case-accent-purple { --case-accent: #7b5aa3; --case-soft: #f1ebf7; }
.case-accent-cyan { --case-accent: #267f9e; --case-soft: #e9f5f9; }
.case-accent-green { --case-accent: #34795e; --case-soft: #eaf5ef; }
.case-accent-blue { --case-accent: #346b9b; --case-soft: #eaf2f9; }
.case-accent-rose { --case-accent: #a54f70; --case-soft: #faedf2; }
.case-accent-teal { --case-accent: #27887d; --case-soft: #e8f6f2; }
.case-accent-indigo { --case-accent: #5261a5; --case-soft: #eef0fa; }

.cases-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: end;
  padding: clamp(4rem, 9vw, 7rem) 0;
  color: #fff;
}

.cases-intro::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: linear-gradient(90deg, rgba(21, 17, 31, .94) 0%, rgba(31, 23, 47, .78) 43%, rgba(31, 23, 47, .22) 100%);
  transform: translateX(-50%);
}

.cases-intro-image {
  position: absolute;
  inset: 0 50%;
  z-index: -2;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  transform: translateX(-50%);
}

.cases-intro .eyebrow,
.case-hero .eyebrow,
.case-next .eyebrow {
  color: #8bddc8;
}

.cases-intro h1 {
  max-width: 12ch;
  margin-bottom: 0;
  color: #fff;
}

.cases-intro > p {
  margin-bottom: .4rem;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.cases-catalog {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.case-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-top: 4px solid var(--case-accent);
  border-radius: 8px;
  background: #fff;
  transition: box-shadow .25s ease, transform .25s ease;
}

.case-card:hover {
  box-shadow: 0 20px 44px rgba(50, 31, 80, .14);
  transform: translateY(-3px);
}

.case-card-image-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.case-card-image-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(22, 17, 33, .76));
}

.case-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .45s ease;
}

.case-card:hover .case-card-image {
  transform: scale(1.035);
}

.case-client-mark {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  min-width: 92px;
  min-height: 46px;
  padding: .55rem .7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 820;
  box-shadow: 0 8px 24px rgba(19, 14, 29, .22);
}

.case-client-mark img {
  display: block;
  width: auto;
  max-width: 175px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.case-client-mark strong {
  color: var(--ink);
}

.case-accent-teal .case-client-mark,
.case-accent-teal .case-hero-client {
  border-color: rgba(255, 255, 255, .22);
  background: #173453;
}

.case-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.case-industry {
  margin-bottom: .65rem;
  color: var(--case-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card h2 {
  margin-bottom: .75rem;
  font-size: 1.45rem;
  line-height: 1.18;
}

.case-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.case-card-body > p:not(.case-industry) {
  color: var(--muted);
}

.case-stack-preview,
.case-stack {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.case-stack-preview {
  margin: auto 0 1.25rem;
}

.case-stack-preview span,
.case-stack span {
  padding: .42rem .62rem;
  border-radius: 5px;
  background: var(--case-soft);
  color: var(--case-accent);
  font-size: .76rem;
  font-weight: 760;
}

.case-card .text-link {
  color: var(--case-accent);
}

.cases-principle {
  position: relative;
  isolation: isolate;
  max-width: 820px;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.cases-principle::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: #edf8f5;
  border-block: 1px solid var(--line);
  transform: translateX(-50%);
}

.case-detail {
  --case-accent: #65448d;
  --case-soft: #f0eaf7;
}

.case-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100vw;
  min-height: clamp(560px, 72vh, 700px);
  margin-left: calc(50% - 50vw);
  align-items: flex-end;
  overflow: hidden;
}

.case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(24, 17, 37, .92) 0%, rgba(24, 17, 37, .68) 48%, rgba(24, 17, 37, .18) 100%);
}

.case-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
  color: #fff;
}

.case-hero-client {
  display: inline-flex;
  min-width: 120px;
  min-height: 58px;
  margin-bottom: 1rem;
  padding: .65rem .85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(19, 14, 29, .2);
}

.case-hero-client img {
  display: block;
  width: auto;
  max-width: 230px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.case-hero-client strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 820;
}

.case-hero h1 {
  max-width: 13ch;
  color: #fff;
}

.case-hero .hero-text {
  max-width: 660px;
  color: rgba(255, 255, 255, .86);
}

.case-note {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .8rem 1rem;
  border-left: 4px solid var(--case-accent);
  background: var(--case-soft);
  font-size: .88rem;
}

.case-note span {
  color: var(--muted);
}

.case-story-heading {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.case-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.case-story-grid article {
  padding: .5rem clamp(1.25rem, 3vw, 2.25rem) 1rem;
  border-left: 1px solid var(--line);
}

.case-story-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-story-grid article > span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--case-accent);
  font-size: .8rem;
  font-weight: 800;
}

.case-story-grid h3 {
  margin-bottom: .65rem;
  color: var(--ink);
  font-size: 1.35rem;
}

.case-story-grid p {
  color: var(--muted);
}

.case-capabilities {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.case-capabilities::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: var(--case-soft);
  border-block: 1px solid var(--line);
  transform: translateX(-50%);
}

.case-capabilities aside {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 8px;
  background: #281944;
  color: #fff;
}

.case-capabilities aside .eyebrow {
  color: #8bddc8;
}

.case-capabilities aside .case-stack span {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.case-next {
  position: relative;
  isolation: isolate;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: clamp(3rem, 7vw, 5rem) 0;
  color: #fff;
}

.case-next::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: #281944;
  transform: translateX(-50%);
}

.case-next h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: #fff;
}

.case-next .button.primary {
  flex: 0 0 auto;
  border-color: #fff;
  background: #fff;
  color: var(--purple);
}

.integrations-section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  overflow: hidden;
}

.integrations-heading {
  max-width: 780px;
}

.integration-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.integration-track,
.integration-set {
  display: flex;
  width: max-content;
  align-items: center;
}

.integration-track {
  animation: integration-scroll 28s linear infinite;
}

.integration-marquee:hover .integration-track {
  animation-play-state: paused;
}

.integration-set {
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-right: clamp(2.5rem, 5vw, 5rem);
}

.integration-logo-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .85rem;
  min-width: max-content;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
}

.integration-logo-item img {
  display: block;
  width: auto;
  max-width: 142px;
  height: 38px;
  object-fit: contain;
}

.integration-own-mark {
  display: grid;
  place-items: center;
  min-width: 52px;
  height: 38px;
  padding: 0 .6rem;
  border-radius: 6px;
  background: var(--purple);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}

.variant-card h3,
.qconnect-note h3 {
  margin-bottom: .35rem;
  color: var(--purple);
}

.variant-card p,
.qconnect-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.integration-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--purple-light);
  color: var(--purple);
  font-size: .78rem;
  font-weight: 800;
}

.qbot-variants .section-heading {
  max-width: 800px;
}

.variant-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.variant-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--mint);
  border-radius: 8px;
  background: #fff;
}

.variant-card .check-list {
  margin-top: 1.25rem;
}

.variant-label {
  display: inline-block;
  margin-bottom: .8rem;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.qconnect-note {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(50, 31, 80, .18);
  border-radius: 8px;
  background: #f6f3fa;
}

.qconnect-note .eyebrow {
  margin-bottom: .25rem;
}

.product-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}

.product-theme-qbot { --accent: #65448d; --accent-soft: #f0eaf7; }
.product-theme-qdocuments { --accent: #27887d; --accent-soft: #e8f6f2; }
.product-theme-qdesk { --accent: #2f70a7; --accent-soft: #eaf3fa; }
.product-theme-qinfra { --accent: #247f95; --accent-soft: #e8f5f7; }
.product-theme-qendo { --accent: #a14870; --accent-soft: #faedf3; }
.product-theme-qfinance { --accent: #347958; --accent-soft: #ebf5ef; }
.product-theme-accountant { --accent: #4f5fa5; --accent-soft: #eef0fa; }
.product-theme-gestyturnos { --accent: #a85b4a; --accent-soft: #faefec; }

.product-card,
.campaign-card,
.three-columns article {
  padding: 1.25rem;
}

.product-card {
  overflow: hidden;
  border-top: 3px solid var(--accent, var(--mint));
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-card:hover {
  border-top-color: var(--accent, var(--mint));
  box-shadow: 0 18px 38px rgba(50, 31, 80, .14);
  transform: translateY(-2px);
}

.product-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.product-card-image-link {
  display: block;
  width: calc(100% + 2.5rem);
  margin: -1.25rem -1.25rem 1.15rem;
  overflow: hidden;
  background: var(--soft);
}

.product-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-card:hover .product-card-image {
  transform: scale(1.035);
}

.product-card p,
.campaign-card p,
.summary-box p,
.stacked p,
.three-columns p,
.lead-section p,
.footer p {
  color: var(--muted);
}

.product-card .card-outcome {
  margin-bottom: 1.5rem;
  color: var(--ink);
  line-height: 1.55;
}

.product-card .card-topline {
  color: var(--accent, var(--muted));
  font-weight: 760;
}

.product-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.product-card h3 a:hover,
.product-card .text-link:not(.muted) {
  color: var(--accent, var(--purple));
}

.product-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(520px, 72vh, 690px);
  align-items: flex-end;
  padding: clamp(4rem, 10vw, 7rem) 0;
  color: #fff;
}

.product-banner::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: 1;
  width: 100vw;
  background: rgba(23, 18, 32, .58);
  transform: translateX(-50%);
}

.product-banner-image {
  position: absolute;
  inset: 0 50%;
  z-index: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(-50%);
}

.product-banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.product-banner h1,
.product-banner .hero-text {
  color: #fff;
}

.product-banner .eyebrow {
  color: #b3f0df;
}

.product-banner .button.primary {
  border-color: #fff;
  background: #fff;
  color: var(--accent, var(--purple));
}

.product-banner .button.secondary {
  border-color: rgba(255, 255, 255, .82);
  background: rgba(23, 18, 32, .38);
  color: #fff;
}

.product-outcome-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.product-outcome-section::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: var(--accent-soft, var(--purple-light));
  transform: translateX(-50%);
}

.product-outcome-section h2 {
  max-width: 22ch;
  margin-bottom: 0;
  color: var(--accent, var(--purple));
}

.product-problem {
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-left: 4px solid var(--accent, var(--mint));
}

.product-problem p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.product-detail-columns article {
  border-top: 4px solid var(--accent, var(--mint));
}

.product-detail-columns article:nth-child(2) {
  background: var(--accent-soft, var(--purple-light));
}

.product-detail-columns article:nth-child(3) {
  background: #eef6fa;
}

.product-detail-columns h2 {
  color: var(--accent, var(--purple));
}

.detail-label {
  margin-bottom: 1rem;
  color: var(--accent, var(--green-dark)) !important;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-integrations-section {
  position: relative;
  isolation: isolate;
  color: #fff;
}

.product-integrations-section::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: #241735;
  transform: translateX(-50%);
}

.product-integrations-section h2,
.product-integrations-section .eyebrow {
  color: #fff;
}

.product-integrations-section .tag-cloud span {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.approach-section {
  position: relative;
  isolation: isolate;
  color: #fff;
}

.approach-section::before {
  content: "";
  position: absolute;
  inset: 0 50%;
  z-index: -1;
  width: 100vw;
  background: var(--purple);
  transform: translateX(-50%);
}

.approach-section .eyebrow,
.approach-section .step-number {
  color: #9ce7d3;
}

.approach-section h2,
.approach-section h3,
.approach-section p,
.approach-section .stacked p {
  color: #fff;
}

.approach-section .stacked article {
  border-color: rgba(255, 255, 255, .18);
  border-left: 3px solid var(--mint);
  background: rgba(255, 255, 255, .08);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .8rem;
  color: var(--muted);
  font-size: .88rem;
}

.product-card h3 {
  margin-bottom: .5rem;
}

.product-card .card-actions {
  margin-top: auto;
}

.text-link {
  color: var(--purple);
  font-weight: 760;
  text-decoration: none;
}

.text-link.muted {
  color: var(--muted);
}

.split,
.lead-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.stacked {
  display: grid;
  gap: .8rem;
}

.stacked article {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem;
}

.stacked h3 {
  margin-bottom: .25rem;
}

.stacked p {
  margin-bottom: 0;
}

.step-number {
  flex: 0 0 auto;
  color: var(--mint);
  font-size: .82rem;
  font-weight: 800;
}

.summary-box {
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}

.three-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.check-list {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62rem;
  width: .45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--mint);
}

.product-qbot {
  background: var(--purple-light);
  color: var(--purple);
}

.product-qdocuments,
.product-gestyturnos,
.product-accountant {
  background: var(--mint-light);
  color: #297562;
}

.product-qdesk {
  background: var(--cyan-light);
  color: #28799b;
}

.product-qinfra {
  background: #eef0f5;
  color: var(--ink);
}

.product-qendo {
  background: rgba(28, 157, 165, .13);
  color: #147b82;
}

.product-qfinance {
  background: rgba(50, 31, 80, .12);
  color: var(--purple);
}

.tag-cloud {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .65rem .8rem;
  background: #f4f0f8;
  color: var(--ink);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease var(--reveal-delay, 0ms), transform .55s ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes integration-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.campaign-card {
  display: grid;
  gap: .7rem;
  min-height: 260px;
}

.campaign-card span {
  color: var(--green-dark);
  font-size: .88rem;
  font-weight: 800;
}

.campaign-card h2 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.lead-section {
  margin: clamp(3rem, 8vw, 6rem) 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  border-top: 3px solid var(--mint);
}

.lead-form {
  display: grid;
  gap: .9rem;
  padding: 1rem;
}

label {
  display: grid;
  gap: .35rem;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 720;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .75rem .8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--green-dark);
  font-size: .92rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: var(--purple);
  color: #fff;
}

.footer p,
.footer a {
  color: #c8d2df;
}

.whatsapp-button {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 95, 46, .24);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-button svg {
  width: 28px;
  height: 28px;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  color: #fff;
  box-shadow: 0 16px 34px rgba(18, 95, 46, .3);
  outline: 3px solid rgba(37, 211, 102, .28);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .site-header,
  .footer,
  .hero,
  .product-hero,
  .campaign-hero,
  .split,
  .lead-section,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .variant-grid {
    grid-template-columns: 1fr;
  }

  .cases-intro,
  .case-capabilities {
    grid-template-columns: 1fr;
  }

  .cases-intro {
    gap: 1.25rem;
    align-items: start;
  }

  .cases-intro::before {
    background: linear-gradient(180deg, rgba(21, 17, 31, .74) 0%, rgba(31, 23, 47, .94) 88%);
  }

  .cases-intro-image {
    object-position: 70% center;
  }

  .case-story-grid {
    grid-template-columns: 1fr;
  }

  .case-story-grid article,
  .case-story-grid article:first-child {
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .case-story-grid article:last-child {
    border-bottom: 1px solid var(--line);
  }

  .case-story-grid article > span {
    margin-bottom: .75rem;
  }

  .case-next {
    display: grid;
    align-items: start;
  }

  .case-hero {
    min-height: 600px;
  }

  .case-hero::after {
    background: linear-gradient(180deg, rgba(24, 17, 37, .22) 5%, rgba(24, 17, 37, .9) 78%);
  }

  .case-hero-content {
    padding: 4rem 0 3.5rem;
  }

  .case-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-section,
  .approach-section {
    display: none;
  }

  .nav-approach {
    display: none;
  }

  .footer {
    display: grid;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 72px;
    padding-top: .7rem;
    padding-bottom: .7rem;
  }

  .menu-toggle {
    display: inline-grid;
    place-content: center;
    gap: 5px;
    justify-self: end;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer-links {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: .15rem;
    width: 100%;
    max-height: calc(100vh - 72px);
    padding: .65rem 1rem 1rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 36px rgba(50, 31, 80, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a,
  .nav-trigger {
    width: 100%;
    min-height: 46px;
    padding: .75rem;
    border-radius: 6px;
    color: var(--ink);
    text-align: left;
  }

  .main-nav > a:hover,
  .main-nav > a:focus-visible,
  .nav-trigger:hover,
  .nav-trigger:focus-visible {
    background: var(--soft);
    outline: none;
  }

  .nav-trigger {
    justify-content: space-between;
  }

  .nav-dropdown {
    width: 100%;
  }

  .solutions-menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    border-width: 0;
    box-shadow: none;
    opacity: 0;
    transform: none;
  }

  .nav-dropdown:hover .solutions-menu,
  .nav-dropdown:focus-within .solutions-menu {
    max-height: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
  }

  .nav-dropdown.is-open .solutions-menu {
    max-height: 780px;
    margin-top: .4rem;
    padding: .55rem;
    border-width: 1px;
    border-top-width: 3px;
    opacity: 1;
    visibility: visible;
  }

  .hero,
  .product-hero,
  .campaign-hero {
    min-height: auto;
  }

  .product-banner {
    min-height: 520px;
    padding: 4rem 0;
  }

  .product-outcome-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-experience {
    min-height: auto;
    padding: 2.75rem 0 3rem;
  }

  .hero-background {
    object-position: 62% center;
  }

  .hero-experience .hero-actions .button.primary {
    display: none;
  }

  .hero-experience .hero-actions .button.secondary {
    border-color: #fff;
    background: #fff;
    color: var(--purple);
  }

  .section-solutions {
    padding-top: 2.75rem;
  }

  .integrations-section {
    padding: 3.5rem 0;
  }

  .integration-marquee {
    padding: 1.15rem 0;
  }

  .integration-logo-item img {
    max-width: 124px;
    height: 34px;
  }

  .hero-visual {
    width: min(86%, 420px);
    margin-top: .5rem;
  }

  .product-card.reveal,
  .product-card.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  h1,
  .product-hero h1,
  .campaign-hero h1,
  .page-title h1 {
    max-width: 12ch;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 1rem, 1180px);
  }

  .button {
    width: 100%;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card-body {
    padding: 1.15rem;
  }

  .case-hero {
    min-height: 560px;
  }

  .brand img {
    width: 142px;
  }

  .solutions-menu-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-button {
    right: .75rem;
    bottom: .75rem;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
