@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --aiviq-body: 'Manrope', Arial, sans-serif;
  --aiviq-display: 'Space Grotesk', Arial, sans-serif;
  --aiviq-ink: #080706;
  --aiviq-gold: #c7a45b;
  --aiviq-cream: #f0ebe0;
}

html { scroll-padding-top: 108px; }
body { font-family: var(--aiviq-body) !important; font-size: 17.5px; line-height: 1.7; }
h1, h2, h3, h4, h5, h6,
.hero h1, .section h2, .card h2, .card h3, .price, .package-price,
.portfolio-header h2, .case-content h3, .service-row h3 {
  font-family: var(--aiviq-display) !important;
  font-variation-settings: normal !important;
  letter-spacing: -0.025em;
}

p, li, td, summary, label, input, select, textarea, button { font-family: var(--aiviq-body) !important; }
p, li { font-size: max(1rem, 16px); }
.lead, .intro, .hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem) !important; line-height: 1.75 !important; }
.eyebrow, .tag, .kicker, .section-tag, .hero-tag, .meta, .more,
.service-label, .case-meta, .case-link, .fine, footer, .footer-right {
  font-family: var(--aiviq-body) !important;
  font-size: max(.78rem, 13px) !important;
  letter-spacing: .09em !important;
}
.fine { line-height: 1.65; }

body > nav,
body > header:not(.aiviq-global-header) { display: none !important; }

.aiviq-global-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: rgba(8, 7, 6, .96);
  border-bottom: 1px solid rgba(199, 164, 91, .24);
  backdrop-filter: blur(18px);
}

.aiviq-global-header__inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.aiviq-global-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  flex: 0 0 auto;
  color: var(--aiviq-cream);
  text-decoration: none;
}

.aiviq-global-brand img {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 50%;
}

.aiviq-global-brand__text { display: flex; flex-direction: column; line-height: 1; }
.aiviq-global-brand__text strong {
  font: 700 1.38rem/1 var(--aiviq-display);
  letter-spacing: .13em;
}
.aiviq-global-brand__text small {
  margin-top: .42rem;
  color: rgba(240, 235, 224, .58);
  font: 600 .62rem/1 var(--aiviq-body);
  letter-spacing: .19em;
  text-transform: uppercase;
}

.aiviq-global-nav {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  width: auto;
  min-height: 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.8vw, 1.7rem);
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  transform: none !important;
}
.aiviq-global-nav a {
  color: rgba(240, 235, 224, .72);
  text-decoration: none;
  font: 600 .82rem/1 var(--aiviq-body);
  letter-spacing: .01em;
  white-space: nowrap;
}
.aiviq-global-nav a:hover,
.aiviq-global-nav a:focus-visible { color: #fff; }
.aiviq-global-nav .aiviq-global-nav__cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 1.15rem;
  background: var(--aiviq-gold);
  color: var(--aiviq-ink);
}

:focus-visible { outline: 3px solid #e2bd71 !important; outline-offset: 4px !important; }

@media (max-width: 980px) {
  .aiviq-global-header__inner {
    width: min(100% - 28px, 1240px);
    min-height: 0;
    padding: .8rem 0 .75rem;
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
  }
  .aiviq-global-brand img { width: 50px; height: 50px; }
  .aiviq-global-nav {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
    overflow: visible;
  }
  .aiviq-global-nav a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .45rem .25rem;
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: .67rem;
    text-align: center;
  }
  .aiviq-global-nav .aiviq-global-nav__cta { min-height: 38px; padding: .45rem .25rem; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .aiviq-global-brand__text strong { font-size: 1.18rem; }
}

.aiviq-agent-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12000;
  color: #f0ebe0;
  font-family: var(--aiviq-body);
}

.aiviq-agent-launcher__toggle {
  min-width: 148px;
  min-height: 58px;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: #c4a362;
  color: #0c0a08;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
  cursor: pointer;
  text-align: left;
}

.aiviq-agent-launcher__toggle strong,
.aiviq-agent-launcher__toggle small { display: block; }
.aiviq-agent-launcher__toggle strong { font: 800 .84rem/1.05 var(--aiviq-body); }
.aiviq-agent-launcher__toggle small { margin-top: .24rem; font: 600 .66rem/1 var(--aiviq-body); opacity: .7; }
.aiviq-agent-launcher__pulse {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: #1e5b32;
  box-shadow: 0 0 0 5px rgba(30, 91, 50, .13);
}

.aiviq-agent-launcher__panel {
  width: min(360px, calc(100vw - 28px));
  margin: 0 0 .75rem auto;
  padding: 1.4rem;
  border: 1px solid rgba(196, 163, 98, .38);
  background: #11100e;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}
.aiviq-agent-launcher__panel[hidden] { display: none !important; }
.aiviq-agent-launcher__eyebrow {
  margin: 0 0 .65rem !important;
  color: #c4a362 !important;
  font: 700 .65rem/1 var(--aiviq-body) !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.aiviq-agent-launcher__panel h2 {
  margin: 0 !important;
  color: #f0ebe0 !important;
  font: 800 2.3rem/.9 var(--aiviq-display) !important;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.aiviq-agent-launcher__panel > p:not(.aiviq-agent-launcher__eyebrow) {
  margin: .9rem 0 1rem !important;
  color: rgba(240, 235, 224, .68) !important;
  font: 500 .88rem/1.5 var(--aiviq-body) !important;
}
.aiviq-agent-launcher__actions { display: grid; gap: .5rem; }
.aiviq-agent-launcher__actions a {
  min-height: 48px;
  padding: .75rem .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #f0ebe0 !important;
  font: 700 .8rem/1 var(--aiviq-body) !important;
  text-decoration: none !important;
}
.aiviq-agent-launcher__actions .aiviq-agent-launcher__soon {
  min-height: 48px;
  padding: .75rem .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px dashed rgba(255, 255, 255, .16);
  color: rgba(240, 235, 224, .6);
  font: 700 .8rem/1 var(--aiviq-body);
}
.aiviq-agent-launcher__actions .aiviq-agent-launcher__soon span { font-size: .68rem; font-weight: 600; }
.aiviq-agent-launcher__actions a:first-child { border-color: #c4a362; background: #c4a362; color: #0c0a08 !important; }
.aiviq-agent-launcher__actions a span { font-size: .68rem; font-weight: 600; opacity: .7; }
.aiviq-agent-launcher__panel small {
  display: block;
  margin-top: .9rem;
  color: rgba(240, 235, 224, .48);
  font: 500 .68rem/1.45 var(--aiviq-body);
}
.aiviq-agent-launcher__toggle:focus-visible,
.aiviq-agent-launcher__actions a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 560px) {
  .aiviq-agent-launcher { right: 12px; bottom: 12px; }
  .aiviq-agent-launcher__toggle { min-width: 132px; min-height: 54px; }
  .aiviq-agent-launcher__panel { max-height: calc(100vh - 94px); overflow-y: auto; }
}
