/**
 * VertexONE design system — aligned with vertexone.ai
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --vx-blue: #03a1f9;
  --vx-blue-dark: #0280c7;
  --vx-orange: #fc8606;
  --vx-green: #78be20;
  --vx-black: #000000;
  --vx-white: #ffffff;
  --vx-gray-100: #fafafa;
  --vx-gray-200: #e1f4fd;
  --vx-gray-600: #666666;
  --vx-gray-900: #1a1a1a;
  --vx-font-body: 'Calibri', 'Segoe UI', Arial, sans-serif;
  --vx-font-heading: 'Poppins', sans-serif;
  --vx-site-width: 1400px;
  --vx-gutter: 3.5rem;
  --vx-nav-height: 80px;
  --vx-topbar-height: 40px;
  --vx-radius: 4px;
  --vx-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  --vx-shadow-hover: 0 12px 26px rgba(0, 0, 0, 0.2);
}

body.homepage {
  font-family: var(--vx-font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--vx-black);
  background: var(--vx-white);
  padding-top: calc(var(--vx-nav-height) + var(--vx-topbar-height));
}

.vx-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
}

#ja-header.ja-header {
  top: var(--vx-topbar-height);
  z-index: 10000;
}

body.homepage h1,
body.homepage h2,
body.homepage h3,
body.homepage h4,
body.homepage .module-title span,
body.homepage .section-title h2 span {
  font-family: var(--vx-font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Top bar */
.vx-topbar {
  background: var(--vx-blue);
  color: var(--vx-white);
  font-size: 14px;
  line-height: var(--vx-topbar-height);
  min-height: var(--vx-topbar-height);
}

.vx-topbar .container {
  max-width: var(--vx-site-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vx-topbar a {
  color: var(--vx-white);
  text-decoration: none;
}

.vx-topbar a:hover {
  text-decoration: underline;
}

/* Header */
#ja-header.ja-header {
  background: var(--vx-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  min-height: var(--vx-nav-height);
  padding: 0;
}

#ja-header .container {
  max-width: var(--vx-site-width);
}

#ja-header .row {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  margin-left: 0;
  margin-right: 0;
  min-height: var(--vx-nav-height);
}

#ja-header .span3,
#ja-header .span9 {
  float: none;
  margin-left: 0;
  min-height: 0;
}

#ja-header .span3 {
  flex: 0 1 auto;
  max-width: min(420px, 55%);
  padding: 12px 16px 12px 0;
  width: auto;
}

#ja-header .span9 {
  flex: 1 1 auto;
  padding: 0;
  width: auto;
}

#ja-header .logo {
  float: none;
  margin: 0;
  max-width: 100%;
}

#ja-header .logo span {
  display: none;
}

#ja-header .logo-image {
  margin: 0 !important;
  max-width: 100%;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  text-align: left !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
}

#ja-header .logo-image a,
#ja-header .site-logo__link {
  background: none !important;
  display: inline-block;
  height: auto;
  line-height: normal;
  max-width: 100%;
  width: auto;
}

#ja-header .logo-img,
#ja-header .site-logo__image {
  display: block;
  height: auto;
  max-height: 52px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  width: auto;
}

#ja-header .site-slogan {
  display: none;
}

#t3-mainnav {
  float: none;
  width: 100%;
}

#t3-mainnav .navbar,
#t3-mainnav .navbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: var(--vx-nav-height);
  width: 100%;
}

#t3-mainnav .navbar-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

#t3-mainnav .nav > li > a {
  font-family: var(--vx-font-body);
  font-size: 16px;
  color: var(--vx-black);
  padding: 28px 16px;
  text-shadow: none;
  text-transform: none;
}

#t3-mainnav .nav > li > a:hover,
#t3-mainnav .nav > li.active > a {
  color: var(--vx-blue);
  background: transparent;
}

#t3-mainnav .btn-navbar {
  margin-top: 20px;
}

.t3-languages {
  float: right;
  margin: 24px 0 0 16px;
}

.t3-languages a {
  color: var(--vx-blue);
  font-size: 14px;
}

/* Language flag switcher */
.vx-topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vx-lang-switcher {
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

.vx-lang-switcher__combo {
  position: relative;
}

.vx-lang-switcher__trigger,
.vx-lang-switcher__option a {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  text-decoration: none;
}

.vx-lang-switcher__trigger {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-family: var(--vx-font, 'Poppins', sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  min-width: 130px;
  padding: 6px 10px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vx-lang-switcher__trigger:hover,
.vx-lang-switcher__trigger:focus,
.vx-lang-switcher__combo.is-open .vx-lang-switcher__trigger {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  outline: none;
}

.vx-lang-switcher__text {
  flex: 1 1 auto;
}

.vx-lang-switcher__flag {
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
  display: block;
  flex: 0 0 auto;
}

.vx-lang-switcher__caret {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  flex: 0 0 auto;
  margin-left: 2px;
  opacity: 0.85;
}

.vx-lang-switcher__dropdown {
  background: #fff;
  border: 1px solid var(--vx-border, #e2e8f0);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  display: none;
  list-style: none;
  margin: 6px 0 0;
  min-width: 170px;
  padding: 6px 0;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1200;
}

.vx-lang-switcher__combo.is-open .vx-lang-switcher__dropdown {
  display: block;
}

.vx-lang-switcher__option a {
  color: var(--vx-text, #334155);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  width: 100%;
}

.vx-lang-switcher__option a:hover {
  background: #f1f5f9;
  text-decoration: none;
}

.vx-lang-switcher__option.is-active a {
  background: rgba(3, 161, 249, 0.08);
  color: var(--vx-blue, #03a1f9);
}

.vx-lang-switcher--header {
  float: right;
  margin: 14px 0 0;
}

.vx-lang-switcher--header .vx-lang-switcher__trigger {
  background-color: #fff;
  border: 1px solid var(--vx-border, #e2e8f0);
  color: var(--vx-text, #334155);
  min-width: 120px;
}

.vx-lang-switcher--header .vx-lang-switcher__trigger:hover,
.vx-lang-switcher--header .vx-lang-switcher__trigger:focus,
.vx-lang-switcher--header .vx-lang-switcher__combo.is-open .vx-lang-switcher__trigger {
  background-color: #f8fafc;
  border-color: var(--vx-blue, #03a1f9);
}

/* Hero */
.vx-hero {
  position: relative;
  background: linear-gradient(135deg, #001428 0%, #003d66 50%, var(--vx-blue) 100%);
  color: var(--vx-white);
  padding: 120px 0 100px;
  overflow: hidden;
}

.vx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(3, 161, 249, 0.35), transparent 50%);
  pointer-events: none;
}

.vx-hero .container {
  max-width: var(--vx-site-width);
  position: relative;
  z-index: 1;
}

.vx-hero__eyebrow {
  color: var(--vx-blue);
  background: rgba(255, 255, 255, 0.12);
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--vx-radius);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.vx-hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--vx-white);
  max-width: 900px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.vx-hero h1 .highlight {
  color: var(--vx-blue);
  display: inline;
  background: none;
}

.vx-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 0 36px;
  opacity: 0.95;
}

.vx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.vx-btn {
  box-sizing: border-box;
  display: inline-block;
  font-family: var(--vx-font-heading);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  padding: 14px 28px;
  border-radius: var(--vx-radius);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.vx-btn--primary {
  background: var(--vx-blue);
  color: var(--vx-white);
  border-color: var(--vx-blue);
}

.vx-btn--primary:hover {
  background: var(--vx-blue-dark);
  color: var(--vx-white);
  text-decoration: none;
}

.vx-btn--outline {
  background: transparent;
  color: var(--vx-white);
  border-color: var(--vx-white);
  margin-left: 0;
}

.vx-btn--outline:hover {
  background: var(--vx-white);
  color: var(--vx-black);
  text-decoration: none;
}

.vx-btn--dark {
  background: var(--vx-black);
  color: var(--vx-white);
}

.vx-btn--dark:hover {
  background: var(--vx-blue);
  color: var(--vx-white);
  text-decoration: none;
}

/* Section headings */
.vx-section {
  padding: 80px 0;
}

.vx-section .container {
  max-width: var(--vx-site-width);
}

.vx-section--gray {
  background: var(--vx-gray-100);
}

.vx-section--dark {
  background: var(--vx-gray-900);
  color: var(--vx-white);
}

.vx-section__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
}

.vx-section__subtitle {
  display: block;
  color: var(--vx-blue);
  font-family: var(--vx-font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.vx-section--dark .vx-section__subtitle {
  color: var(--vx-blue);
}

.vx-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.vx-section__desc {
  font-size: 1.1rem;
  color: var(--vx-gray-600);
  margin: 0;
}

.vx-section--dark .vx-section__desc {
  color: rgba(255, 255, 255, 0.8);
}

/* Cards grid */
.vx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.vx-card {
  background: var(--vx-white);
  border-radius: var(--vx-radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--vx-shadow);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}

.vx-card:hover {
  box-shadow: var(--vx-shadow-hover);
  transform: translateY(-2px);
}

.vx-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(3, 161, 249, 0.12);
  color: var(--vx-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  font-family: var(--vx-font-heading);
  margin-bottom: 20px;
}

.vx-card__title {
  font-size: 1.15rem;
  margin: 0 0 12px;
  line-height: 1.35;
}

.vx-card__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--vx-gray-600);
  margin: 0 0 16px;
}

.vx-card__link {
  color: var(--vx-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.vx-card__link:hover {
  text-decoration: underline;
}

/* Feature split */
.vx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.vx-split__media img {
  width: 100%;
  border-radius: var(--vx-radius);
  box-shadow: var(--vx-shadow);
}

.vx-split__content h2 {
  color: var(--vx-blue);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 20px;
}

.vx-split__content p {
  margin-bottom: 24px;
}

/* Products row */
.vx-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.vx-product {
  background: var(--vx-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--vx-radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--vx-shadow);
}

.vx-product__name {
  color: var(--vx-blue);
  font-family: var(--vx-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.vx-product__desc {
  font-size: 15px;
  color: var(--vx-gray-600);
  margin: 0;
  line-height: 1.55;
}

/* Testimonials */
.vx-quote {
  background: var(--vx-white);
  border-left: 4px solid var(--vx-blue);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: var(--vx-shadow);
  border-radius: 0 var(--vx-radius) var(--vx-radius) 0;
}

.vx-quote p {
  font-style: italic;
  margin: 0 0 16px;
  font-size: 17px;
}

.vx-quote cite {
  font-style: normal;
  font-weight: 700;
  display: block;
}

.vx-quote cite span {
  font-weight: 400;
  color: var(--vx-gray-600);
  display: block;
  font-size: 15px;
}

/* Onepage module overrides */
.section.onepage {
  padding: 80px 0;
  border: none;
}

.section.onepage:nth-child(even) {
  background: var(--vx-gray-100);
}

.section.onepage .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section.onepage .section-title h2 {
  border: none;
  padding: 0;
  margin: 0 0 12px;
}

.section.onepage .section-title h2 span {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--vx-black);
}

.section.onepage .section-subtitle {
  display: block;
  color: var(--vx-blue);
  font-family: var(--vx-font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section.onepage .container {
  max-width: var(--vx-site-width);
}

/* Footer */
#ja-footer.ja-footer {
  background: var(--vx-gray-900);
  color: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 0;
}

#ja-footer .ja-copyright {
  background: transparent;
  border: none;
  padding: 60px 0 40px;
}

#ja-footer .container {
  max-width: var(--vx-site-width);
}

.vx-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.vx-footer-brand__logo {
  display: inline-flex;
  align-items: center;
  background: var(--vx-white);
  border-radius: var(--vx-radius);
  margin-bottom: 16px;
  padding: 12px 16px;
  text-decoration: none;
}

.vx-footer-brand__logo img {
  display: block;
  height: auto;
  max-height: 36px;
  max-width: 220px;
  width: auto;
}

.vx-footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
}

.vx-footer-col h4 {
  font-family: var(--vx-font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vx-white);
  margin: 0 0 16px;
}

.vx-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vx-footer-col li {
  margin-bottom: 8px;
}

.vx-footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 15px;
}

.vx-footer-col a:hover {
  color: var(--vx-blue);
}

.vx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

#ja-footer .t3-logo,
#ja-footer .back-to-top {
  display: none !important;
}

/* CTA band */
.vx-cta {
  background: var(--vx-blue);
  color: var(--vx-white);
  text-align: center;
  padding: 64px 24px;
}

.vx-cta h2 {
  color: var(--vx-white);
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.vx-cta p {
  max-width: 600px;
  margin: 0 auto 28px;
  opacity: 0.95;
}

.vx-cta .vx-btn--dark {
  background: var(--vx-white);
  color: var(--vx-blue);
  border-color: var(--vx-white);
}

.vx-cta .vx-btn--dark:hover {
  background: var(--vx-black);
  color: var(--vx-white);
}

/* Art. 240 CIRE highlight */
.vx-section--cire {
  background: linear-gradient(135deg, #021a2e 0%, #034a7a 55%, #03a1f9 100%);
  color: var(--vx-white);
  padding: 72px 0;
}

.vx-section--cire .vx-section__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.vx-section--cire .vx-section__title {
  color: var(--vx-white);
  margin-bottom: 20px;
}

.vx-cire {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1100px;
}

.vx-cire__badge {
  font-family: var(--vx-font-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 28px 24px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--vx-radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  min-width: 160px;
  white-space: pre-line;
}

.vx-cire__lead {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 24px;
  opacity: 0.95;
  max-width: 720px;
}

.vx-cire__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.vx-cire__list li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.55;
}

.vx-cire__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vx-orange);
}

.vx-cire__actions .vx-btn--outline {
  color: var(--vx-white);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.vx-cire__actions .vx-btn--outline:hover {
  background: var(--vx-white);
  color: var(--vx-blue-dark);
  border-color: var(--vx-white);
}

.vx-cire__actions .vx-btn--primary {
  background: var(--vx-orange);
  border-color: var(--vx-orange);
  color: var(--vx-white);
}

.vx-cire__actions .vx-btn--primary:hover {
  background: #e07505;
  border-color: #e07505;
}

/* AI + CITIUS */
.vx-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.vx-ai-card {
  background: var(--vx-white);
  border-top: 3px solid var(--vx-blue);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.vx-ai-card__title {
  font-family: var(--vx-font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
  color: var(--vx-black);
}

.vx-ai-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--vx-gray-600);
}

.vx-ai-actions {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 991px) {
  .vx-ai-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .vx-ai-grid {
    grid-template-columns: 1fr;
  }
}

.vx-card--featured {
  border: 2px solid var(--vx-blue);
  box-shadow: var(--vx-shadow);
  position: relative;
}

.vx-card--featured::after {
  content: 'Art. 240.º';
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--vx-font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vx-blue);
  background: var(--vx-gray-200);
  padding: 4px 8px;
  border-radius: 2px;
}

.vx-product--featured {
  border: 2px solid var(--vx-blue);
  position: relative;
}

.vx-product__tag {
  display: inline-block;
  font-family: var(--vx-font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vx-orange);
  margin-bottom: 8px;
}

@media (max-width: 991px) {
  :root {
    --vx-nav-height: 72px;
    --vx-gutter: 1.5rem;
  }

  .vx-cire {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vx-cire__badge {
    justify-self: start;
  }

  .vx-split {
    grid-template-columns: 1fr;
  }

  .vx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Single language control: topbar only */
  .vx-lang-switcher--header {
    display: none !important;
  }

  #ja-header .container,
  .vx-topbar .container,
  .vx-hero .container,
  .vx-section .container,
  .vx-footer .container,
  body.homepage .onepage .container {
    box-sizing: border-box;
    padding-left: var(--vx-gutter) !important;
    padding-right: var(--vx-gutter) !important;
    width: auto !important;
    max-width: 100%;
  }

  #ja-header .row {
    overflow: visible;
  }

  #ja-header .span3 {
    flex: 1 1 auto;
    max-width: calc(100% - 64px);
    min-width: 0;
    padding: 10px 12px 10px 0;
  }

  #ja-header .span9 {
    flex: 0 0 auto;
    width: auto;
  }

  #ja-header .logo,
  #ja-header .logo-image,
  #ja-header .logo-image a {
    max-width: 100%;
    overflow: visible !important;
  }

  #ja-header .logo-img,
  #ja-header .site-logo__image {
    max-height: 40px;
    max-width: 100%;
  }

  #t3-mainnav .navbar-inner {
    justify-content: flex-end;
    gap: 8px;
    position: relative;
  }

  #t3-mainnav .btn-navbar {
    float: none;
    margin: 0;
  }

  #t3-mainnav .nav-collapse {
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 10002;
  }

  #t3-mainnav .nav-collapse.in {
    background: var(--vx-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--vx-shadow);
  }

  #t3-mainnav .nav > li > a {
    padding: 14px 20px;
  }

  .vx-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vx-hero__actions .vx-btn {
    margin: 0;
    width: 100%;
  }

  .vx-cire__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .vx-cire__actions .vx-btn {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 767px) {
  :root {
    --vx-gutter: 1.25rem;
    --vx-nav-height: 64px;
    --vx-topbar-height: auto;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body.homepage,
  body.vx-contact-page {
    padding-top: 0 !important;
  }

  body.homepage .onepage {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .vx-topbar {
    font-size: 12px;
    line-height: 1.45;
    min-height: 0;
    padding: 10px 0;
    position: relative;
    z-index: 10001;
  }

  .vx-topbar .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .vx-topbar__right {
    flex-wrap: wrap;
    gap: 8px 12px;
    width: 100%;
  }

  #ja-header.ja-header.navbar-fixed-top {
    position: sticky !important;
    top: 0 !important;
    overflow: visible;
  }

  #ja-header .span3 {
    max-width: calc(100% - 56px);
    padding: 8px 10px 8px 0;
  }

  #ja-header .logo-img,
  #ja-header .site-logo__image {
    max-height: 34px;
    width: auto;
  }

  #t3-mainnav .btn-navbar {
    margin: 0;
    padding: 10px 12px;
  }

  .vx-hero {
    overflow: visible;
    padding: 64px 0 88px;
  }

  .vx-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .vx-hero h1 .highlight {
    display: block;
    margin-top: 0.15em;
  }

  .vx-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.4;
    max-width: 100%;
    white-space: normal;
  }

  .vx-hero__lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  .vx-hero__actions {
    padding-bottom: 8px;
  }

  .vx-section {
    padding: 48px 0;
  }

  .vx-section .container,
  .vx-hero .container {
    padding-left: var(--vx-gutter) !important;
    padding-right: var(--vx-gutter) !important;
  }

  .vx-footer-grid {
    grid-template-columns: 1fr;
  }

  #t3-mainnav .nav-collapse.in {
    background: var(--vx-white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* Keep floating chat from covering CTAs */
  .vx-hero__actions,
  .vx-cire__actions,
  .vx-ai-actions {
    padding-bottom: 56px;
  }
}

@media (max-width: 480px) {
  :root {
    --vx-gutter: 1rem;
  }

  #ja-header .logo-img,
  #ja-header .site-logo__image {
    max-height: 30px;
  }

  .vx-hero h1 {
    font-size: 1.65rem;
  }

  .vx-btn {
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 14px 18px;
  }

  .vx-topbar__right a:nth-of-type(2) {
    display: none;
  }
}

/* Contact / demo page */
body.vx-contact-page {
  font-family: var(--vx-font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--vx-black);
  background: var(--vx-white);
  padding-top: calc(var(--vx-nav-height) + var(--vx-topbar-height));
}

body.vx-contact-page h1,
body.vx-contact-page h2,
body.vx-contact-page h3 {
  font-family: var(--vx-font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vx-contact-hero {
  padding: 72px 0 56px;
  background: var(--vx-gray-100);
}

.vx-contact-hero .container {
  max-width: var(--vx-site-width);
}

.vx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}

.vx-contact-content__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--vx-black);
}

.vx-contact-content__title span {
  display: block;
  color: var(--vx-blue);
  margin-top: 8px;
}

.vx-contact-content__lead {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 32px;
  color: var(--vx-gray-900);
}

.vx-contact-content__label {
  font-family: var(--vx-font-heading);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 16px;
  color: var(--vx-black);
}

.vx-contact-benefits {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.vx-contact-benefits li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.6;
}

.vx-contact-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vx-blue);
}

.vx-contact-benefits strong {
  color: var(--vx-black);
}

.vx-contact-content__footer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--vx-gray-600);
  margin: 0;
}

.vx-contact-form-wrap {
  position: sticky;
  top: calc(var(--vx-nav-height) + var(--vx-topbar-height) + 24px);
}

.vx-contact-form-card {
  background: var(--vx-white);
  border-radius: var(--vx-radius);
  box-shadow: var(--vx-shadow);
  padding: 32px;
}

.vx-contact-form-card__title {
  font-size: 1.25rem;
  margin: 0 0 24px;
  color: var(--vx-black);
}

.vx-contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vx-contact-form__field {
  margin-bottom: 16px;
}

.vx-contact-form__field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--vx-gray-900);
}

.vx-contact-form__field input,
.vx-contact-form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--vx-radius);
  font-family: var(--vx-font-body);
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.vx-contact-form__field input:focus,
.vx-contact-form__field textarea:focus {
  outline: none;
  border-color: var(--vx-blue);
  box-shadow: 0 0 0 3px rgba(3, 161, 249, 0.15);
}

.vx-contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

.vx-contact-form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
  border: none;
}

.vx-contact-alert {
  padding: 14px 16px;
  border-radius: var(--vx-radius);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.vx-contact-alert--success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.vx-contact-alert--error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.vx-contact-logos {
  padding: 48px 0 72px;
  background: var(--vx-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.vx-contact-logos .container {
  max-width: var(--vx-site-width);
  text-align: center;
}

.vx-contact-logos__label {
  font-family: var(--vx-font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vx-gray-600);
  margin: 0 0 28px;
}

.vx-contact-logos__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 48px;
}

.vx-contact-logos__item {
  font-family: var(--vx-font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--vx-gray-600);
  opacity: 0.7;
  letter-spacing: 0.04em;
}

@media (max-width: 991px) {
  .vx-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vx-contact-form-wrap {
    position: static;
  }

  .vx-contact-form__row {
    grid-template-columns: 1fr;
  }
}
