/* =============================================================================
   JitQ.tech — Enterprise AI Site
   Pure CSS: minimal, responsive, premium enterprise aesthetic
   ============================================================================= */

:root {
  --black: #000000;
  --off-white: #f5f5f5;
  --dark-gray: #1a1a1a;
  --light-gray: #dadada;
  --white: #ffffff;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --border-thin: 1px solid var(--light-gray);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 76px;
  /* Matches LogoBOW / Q mark matte */
  --header-bg: #f9f9f9;
  --transition: 0.25s ease;
  --font-sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* -----------------------------------------------------------------------------
   Layout
   ----------------------------------------------------------------------------- */

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--alt {
  background: var(--white);
  border-block: var(--border-thin);
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  color: var(--black);
  line-height: 1.2;
}

.section__lead {
  max-width: 640px;
  margin: 0 0 2.5rem;
  color: var(--dark-gray);
  opacity: 0.92;
  line-height: 1.65;
}

/* -----------------------------------------------------------------------------
   Header (sticky)
   ----------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: var(--border-thin);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

.logo__mark {
  display: block;
  height: clamp(36px, 8.5vw, 48px);
  width: auto;
  max-height: calc(var(--header-h) - 18px);
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
  background: var(--header-bg);
  border-radius: 8px;
  overflow: hidden;
}

.logo__text {
  line-height: 1;
}

.logo__tld {
  font-weight: 500;
  opacity: 0.65;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.nav a:hover {
  background: rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.nav a.is-active {
  color: var(--black);
  background: rgba(0, 0, 0, 0.08);
}

/* -----------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: var(--border-thin);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow var(--transition), background var(--transition);
  font-family: inherit;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn--primary {
  background: var(--black);
  color: var(--off-white);
  border-color: var(--black);
}

.btn--primary:hover {
  background: var(--dark-gray);
  border-color: var(--dark-gray);
  color: var(--off-white);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 8px 28px rgba(0, 0, 0, 0.22);
}

.btn--ghost {
  background: var(--white);
  color: var(--black);
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  border-bottom: var(--border-thin);
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-gray);
  opacity: 0.75;
  margin: 0 0 1rem;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--black);
}

.hero__tagline {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 520px;
  margin: 0 0 1.75rem;
  color: var(--dark-gray);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  border: var(--border-thin);
  border-radius: var(--radius);
  background: var(--dark-gray);
  color: var(--off-white);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  }
  50% {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  }
}

.hero__visual p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.92;
}

.hero__visual strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* Hero — dark AI variant with abstract background */
.hero--ai {
  position: relative;
  overflow: hidden;
  /* No hard border — blends into platform-preview via matching blacks + soft fade */
  background: var(--black);
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 11vw, 6.5rem) 0;
  padding-bottom: clamp(4.5rem, 11vw, 7rem);
}

.hero--ai .hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--black);
  touch-action: none;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.62) 42%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.hero--ai .hero__eyebrow {
  color: #b8b8b8;
  opacity: 1;
}

.hero--ai .hero__title {
  color: var(--off-white);
}

.hero--ai .hero__tagline {
  color: #c8c8c8;
  max-width: 34rem;
}

.hero--ai .hero__visual {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero--ai .btn--ghost {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero--ai .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
}

/* -----------------------------------------------------------------------------
   Header cluster (nav + social)
   ----------------------------------------------------------------------------- */

.site-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1rem;
  flex: 1;
  flex-wrap: nowrap;
}

/* -----------------------------------------------------------------------------
   Social icons
   ----------------------------------------------------------------------------- */

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--dark-gray);
  border: 1px solid transparent;
  transition: color var(--transition), background var(--transition), transform 0.2s ease,
    border-color var(--transition), box-shadow var(--transition);
}

.social-icon:hover {
  color: var(--black);
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.social-icon__svg {
  width: 18px;
  height: 18px;
}

.social-icons--footer .social-icon {
  width: 44px;
  height: 44px;
  color: var(--light-gray);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.social-icons--footer .social-icon:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.social-icons--footer .social-icon__svg {
  width: 20px;
  height: 20px;
}

.footer__connect {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__connect-title {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--off-white);
  opacity: 0.9;
}

.social-icons--footer {
  justify-content: center;
  gap: 0.75rem;
}

/* -----------------------------------------------------------------------------
   Scroll reveal (ui.js toggles .is-visible)
   ----------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* -----------------------------------------------------------------------------
   Product / expertise visuals
   ----------------------------------------------------------------------------- */

.card__figure {
  margin: -1.5rem -1.75rem 1.25rem;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: var(--border-thin);
  background: var(--black);
}

.card--product {
  overflow: hidden;
}

.card__figure img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.96;
}

.card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}

.card--expertise {
  padding-top: 1.5rem;
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 560px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product page — full-width visual */
.product-showcase {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border-thin);
  background: var(--black);
  box-shadow: var(--shadow-soft);
}

.product-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* Security page visuals */
.security-visuals {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .security-visuals {
    grid-template-columns: repeat(2, 1fr);
  }
}

.security-visuals figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border-thin);
  background: var(--black);
  box-shadow: var(--shadow-card);
}

.security-visuals img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------------------------
   Scroll to top + WhatsApp float (ui.js)
   ----------------------------------------------------------------------------- */

.scroll-to-top {
  position: fixed;
  bottom: 6rem;
  right: 1.25rem;
  z-index: 198;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top.is-visible:hover {
  transform: scale(1.06) translateY(0);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.scroll-to-top:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(245, 245, 245, 0.06);
  }
  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 12px rgba(245, 245, 245, 0);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 197;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #e8e8e8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
  background: #222;
  color: #fff;
  text-decoration: none;
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.whatsapp-float__icon {
  width: 28px;
  height: 28px;
}

.whatsapp-float::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--black);
  color: var(--off-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.whatsapp-float:hover::after {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 520px) {
  .whatsapp-float::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .scroll-to-top {
    bottom: 5.5rem;
    right: 1rem;
  }

  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
    width: 52px;
    height: 52px;
  }
}

/* -----------------------------------------------------------------------------
   Platform preview (AI in Action) + client logos
   ----------------------------------------------------------------------------- */

.platform-preview {
  /* Seamless from hero: pure black at top, then gentle lift — no bright divider */
  background: linear-gradient(
    180deg,
    #000000 0%,
    #030303 12%,
    #0a0a0a 45%,
    #0c0c0c 100%
  );
  color: var(--off-white);
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(3.25rem, 7vw, 5rem);
  position: relative;
}

/* Soft atmospheric fade at the seam (no hard rule) */
.platform-preview::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0%, rgba(255, 255, 255, 0) 100%);
}

.platform-preview__title,
.platform-preview .section__title {
  color: var(--off-white);
}

.platform-preview__lead,
.platform-preview .section__lead {
  color: #b8b8b8;
  max-width: 42rem;
}

.platform-preview__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .platform-preview__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    grid-template-rows: auto auto auto;
  }

  .dash-card--chart {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .dash-card--qly {
    grid-column: 1 / -1;
  }
}

.dash-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.dash-card[data-dash-card] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dash-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 0.75rem;
}

.dash-card__score {
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin: 0 0 1rem;
  font-variant-numeric: tabular-nums;
}

.dash-card__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dash-card__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #555, #f0f0f0);
  transition: width 0.1s linear;
}

.dash-card__hint {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: #777;
}

.dash-chart-wrap {
  margin-top: 0.5rem;
  height: min(140px, 28vw);
  min-height: 100px;
}

.dash-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dash-feed {
  position: relative;
  min-height: 4.5rem;
  margin: 0;
}

.dash-feed__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #d0d0d0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.dash-feed__line.is-visible {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.dash-feed__tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.dash-feed__tag--ok {
  background: rgba(200, 200, 200, 0.12);
  color: #c8c8c8;
}

.dash-feed__tag--alert {
  background: rgba(255, 255, 255, 0.1);
  color: #eee;
}

.dash-feed__tag--info {
  background: rgba(255, 255, 255, 0.06);
  color: #aaa;
}

.dash-card__metric {
  margin: 0 0 1rem;
}

.dash-card__metric-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--off-white);
  font-variant-numeric: tabular-nums;
}

.dash-card__metric-unit {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.25rem;
}

.dash-qly-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: #9a9a9a;
}

.dash-qly-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-qly-list strong {
  color: #e4e4e4;
  font-weight: 600;
}

.clients-trust {
  text-align: center;
}

.clients-trust__title {
  margin-left: auto;
  margin-right: auto;
}

.clients-trust__lead {
  margin-left: auto;
  margin-right: auto;
}

/* Dark “segment showcase” — mesh, glass tiles, icons (home + product) */
.clients-trust--showcase {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #06060a;
  color: #e8e8ee;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(3rem, 7vw, 4.75rem) 0;
}

.clients-trust--showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 55% at 50% -15%, rgba(100, 140, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(255, 180, 100, 0.07), transparent 50%),
    radial-gradient(ellipse 40% 40% at 0% 80%, rgba(120, 220, 200, 0.05), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

@media (prefers-reduced-motion: no-preference) {
  .clients-trust--showcase::before {
    animation: clientsTrustGlow 16s ease-in-out infinite alternate;
  }
}

@keyframes clientsTrustGlow {
  0% {
    filter: hue-rotate(0deg) saturate(1);
    opacity: 1;
  }
  100% {
    filter: hue-rotate(18deg) saturate(1.08);
    opacity: 0.94;
  }
}

.clients-trust--showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 100%);
}

.clients-trust__showcase-inner {
  position: relative;
  z-index: 1;
}

.clients-trust--showcase .section__title,
.clients-trust--showcase .clients-trust__title {
  color: #f4f4f7;
}

.clients-trust--showcase .section__lead,
.clients-trust--showcase .clients-trust__lead {
  color: #a9a9b5;
  max-width: 36rem;
}

.clients-trust--showcase-compact {
  padding: clamp(2rem, 5vw, 2.75rem) 0;
}

.clients-trust__compact-title {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-gray);
}

.clients-trust__compact-title--on-dark {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.45);
}

.segments-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2.25rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (min-width: 640px) {
  .segments-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .segments-bento {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
}

.segments-bento--compact {
  margin-top: 0.25rem;
  max-width: 900px;
}

@media (min-width: 900px) {
  .segments-bento--compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.segment-tile {
  position: relative;
  margin: 0;
  padding: 1.35rem 0.85rem 1.45rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease,
    background 0.35s ease;
}

.segment-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  transition: opacity 0.35s ease;
}

.segment-tile:hover::after {
  opacity: 1;
}

.segment-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.segment-tile--compact {
  padding: 1rem 0.55rem 1.1rem;
  border-radius: 14px;
}

.segment-tile__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b8c8f0;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.segment-tile:hover .segment-tile__icon {
  color: #e4ebff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.segment-tile--compact .segment-tile__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.65rem;
  border-radius: 12px;
}

.segment-tile__svg {
  width: 26px;
  height: 26px;
  display: block;
}

.segment-tile--compact .segment-tile__svg {
  width: 22px;
  height: 22px;
}

.segment-tile__title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #ececf2;
}

.segment-tile--compact .segment-tile__title {
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Scroll reveal: stagger segment tiles */
.clients-trust--showcase[data-reveal]:not(.is-visible) .segment-tile {
  opacity: 0;
  transform: translateY(20px);
}

.clients-trust--showcase[data-reveal].is-visible .segment-tile {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.clients-trust--showcase[data-reveal].is-visible .segment-tile:nth-child(1) {
  transition-delay: 0.05s;
}

.clients-trust--showcase[data-reveal].is-visible .segment-tile:nth-child(2) {
  transition-delay: 0.1s;
}

.clients-trust--showcase[data-reveal].is-visible .segment-tile:nth-child(3) {
  transition-delay: 0.15s;
}

.clients-trust--showcase[data-reveal].is-visible .segment-tile:nth-child(4) {
  transition-delay: 0.2s;
}

.clients-trust--showcase[data-reveal].is-visible .segment-tile:nth-child(5) {
  transition-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .dash-card[data-dash-card] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .whatsapp-float {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .clients-trust--showcase::before {
    animation: none;
  }

  .clients-trust--showcase[data-reveal] .segment-tile {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .segment-tile:hover {
    transform: none;
  }
}

/* -----------------------------------------------------------------------------
   Cards & grids
   ----------------------------------------------------------------------------- */

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: var(--border-thin);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--black);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.card li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.card__meta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-gray);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

/* -----------------------------------------------------------------------------
   Trust — centered statement block (minimal, premium)
   ----------------------------------------------------------------------------- */

.trust {
  text-align: center;
  background: var(--off-white);
  padding-block: clamp(4.5rem, 12vw, 6.5rem);
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  border-block: var(--border-thin);
}

.trust .container {
  max-width: 720px;
  margin-inline: auto;
}

.trust .section__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--black);
}

.trust .section__lead {
  margin: 0 auto;
  max-width: 38rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--dark-gray);
  text-align: center;
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: var(--off-white);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.site-footer a {
  color: var(--light-gray);
}

.site-footer a:hover {
  color: var(--off-white);
}

.footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0 0 0.75rem;
  color: var(--off-white);
}

.footer__brand-mark {
  display: block;
  height: clamp(26px, 6vw, 34px);
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center center;
  padding: 3px;
  box-sizing: content-box;
  background: var(--header-bg);
  border-radius: 10px;
}

.footer__copy {
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 0;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
  opacity: 0.8;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li {
  margin-bottom: 0.5rem;
}

.footer__col a {
  font-size: 0.9rem;
  text-decoration: none;
}

.footer__col a:hover {
  text-decoration: underline;
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  opacity: 0.65;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* -----------------------------------------------------------------------------
   Page header (inner pages)
   ----------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--white);
  border-bottom: var(--border-thin);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--black);
}

.page-hero p {
  margin: 0;
  max-width: 640px;
  color: var(--dark-gray);
}

/* -----------------------------------------------------------------------------
   Lists & prose (legal, careers)
   ----------------------------------------------------------------------------- */

.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--black);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.job-card {
  margin-bottom: 2rem;
}

.job-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

/* -----------------------------------------------------------------------------
   Contact form
   ----------------------------------------------------------------------------- */

.form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#contact-form.card {
  position: relative;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--dark-gray);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--black);
  outline-offset: 2px;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-details {
  border: var(--border-thin);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.contact-details a {
  font-weight: 600;
  color: var(--black);
}

/* -----------------------------------------------------------------------------
   Mobile nav
   ----------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--off-white);
    border-bottom: var(--border-thin);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.25rem;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav.is-open {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
}

/* -----------------------------------------------------------------------------
   Qyra Chatbot — floating UI
   ----------------------------------------------------------------------------- */

.qyra-launcher {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow var(--transition);
}

.qyra-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.qyra-launcher[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}

.qyra-launcher__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.qyra-panel {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 201;
  width: min(400px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 6rem));
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.97);
  transition: opacity 0.38s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s;
  will-change: transform, opacity;
}

.qyra-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.qyra-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--dark-gray);
}

.qyra-panel__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qyra-panel__actions {
  display: flex;
  gap: 0.25rem;
}

.qyra-panel__btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.qyra-panel__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.qyra-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
  max-height: 320px;
}

.qyra-msg {
  max-width: 88%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  animation: msgIn 0.35s ease;
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qyra-msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--off-white);
}

.qyra-msg--user {
  align-self: flex-end;
  background: var(--white);
  color: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qyra-typing {
  align-self: flex-start;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: none;
  align-items: center;
  gap: 4px;
}

.qyra-typing.is-visible {
  display: flex;
}

.qyra-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #aaa);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
  animation: typingBounce 1.15s ease-in-out infinite;
}

.qyra-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.qyra-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.qyra-panel__messages .qyra-typing {
  margin-top: auto;
}

.qyra-quick {
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qyra-chip,
.qyra-quick button {
  font-size: 0.72rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--off-white);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.qyra-chip:hover,
.qyra-quick button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.qyra-panel__input {
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--dark-gray);
}

.qyra-panel__input input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 0.875rem;
  font-family: inherit;
}

.qyra-panel__input input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.qyra-panel__input input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.qyra-panel__send {
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-family: inherit;
  transition: opacity var(--transition);
}

.qyra-panel__send:hover {
  opacity: 0.92;
}

.qyra-panel__send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .qyra-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    max-height: 85vh;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .qyra-launcher {
    bottom: 1rem;
    right: 1rem;
  }
}

/* -----------------------------------------------------------------------------
   Qyra live demo + credit report + voice
   ----------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.qyra-demo-form {
  max-width: 640px;
  margin-bottom: 1.75rem;
}

.qyra-demo-input {
  width: 100%;
  padding: 1rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  border: var(--border-thin);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark-gray);
  resize: vertical;
  min-height: 5.5rem;
  box-shadow: var(--shadow-card);
}

.qyra-demo-input:focus {
  outline: 2px solid rgba(0, 0, 0, 0.2);
  outline-offset: 2px;
}

.qyra-demo-hint {
  margin: 0.5rem 0 1rem;
  font-size: 0.85rem;
  color: #555;
}

.qyra-demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.qyra-demo-panel {
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1a1a1a 0%, #252525 100%);
  color: var(--off-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  white-space: pre-wrap;
  font-size: 0.92rem;
  line-height: 1.65;
}

.qyra-credit-report {
  margin-top: 1.5rem;
}

.qyra-cr-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.qyra-cr-card {
  background: #1a1a1a;
  color: var(--off-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.qyra-cr-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.qyra-cr-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 245, 245, 0.55);
  margin: 0 0 0.75rem;
}

.qyra-cr-summary {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

.qyra-cr-score-wrap {
  text-align: center;
}

.qyra-cr-score-big {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  color: var(--white);
}

.qyra-cr-score-bar {
  margin-top: 1rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.qyra-cr-score-bar__fill {
  height: 100%;
  border-radius: inherit;
  width: 0%;
  background: linear-gradient(90deg, #4a9eff, #7cdb8a);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.qyra-cr-meta h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--white);
}

.qyra-cr-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.75);
}

.qyra-cr-risk {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qyra-cr-risk--low {
  background: rgba(52, 199, 89, 0.18);
  color: #7cdb8a;
  border-color: rgba(124, 219, 138, 0.45);
}

.qyra-cr-risk--medium {
  background: rgba(255, 193, 7, 0.15);
  color: #ffd54f;
  border-color: rgba(255, 213, 79, 0.4);
}

.qyra-cr-risk--high {
  background: rgba(255, 82, 82, 0.18);
  color: #ff8a8a;
  border-color: rgba(255, 138, 138, 0.45);
}

.qyra-cr-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(245, 245, 245, 0.88);
}

.qyra-cr-kv {
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.qyra-cr-kv div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.qyra-cr-kv span:first-child {
  color: rgba(245, 245, 245, 0.55);
}

.qyra-cr-kv strong {
  color: var(--white);
  font-weight: 600;
}

.qyra-cr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.qyra-cr-tag {
  font-size: 0.72rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 245, 0.9);
}

.qyra-voice__inner {
  text-align: center;
}

.qyra-voice__lead {
  max-width: 520px;
  margin-inline: auto;
}

.qyra-voice__controls {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.qyra-voice-mic {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--dark-gray);
  background: var(--white);
  color: var(--dark-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.qyra-voice-mic:hover:not(:disabled) {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.qyra-voice-mic.is-listening {
  background: var(--dark-gray);
  color: var(--white);
  border-color: var(--dark-gray);
  animation: qyra-mic-pulse 1.2s ease-in-out infinite;
}

.qyra-voice-mic.is-disabled,
.qyra-voice-mic:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.qyra-voice-mic__svg {
  width: 40px;
  height: 40px;
}

.qyra-voice__label {
  margin: 0.25rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.qyra-voice-status {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  min-height: 1.4em;
}

.qyra-voice-transcript {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--dark-gray);
  max-width: 560px;
}

.qyra-voice-response {
  margin-top: 0.75rem;
  padding: 1rem 1.15rem;
  max-width: 560px;
  text-align: left;
  border-radius: var(--radius);
  background: #1a1a1a;
  color: var(--off-white);
  font-size: 0.88rem;
  line-height: 1.6;
  white-space: pre-wrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes qyra-mic-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 26, 26, 0.35);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(26, 26, 26, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .qyra-voice-mic.is-listening {
    animation: none;
  }

  .qyra-cr-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 300;
  padding: 0.5rem 1rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}
