/* ============================================================
   OneClicQ — main.css
   "Corporate Blue" design system
   Bootstrap 5 provides grid/components; this file owns the
   premium OneClicQ visual identity (tokens, type, components).
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* =========================================
     OneClicq Brand Colors
     ========================================= */

  --brand-navy: #011C53;
  --brand-blue: #073ED6;
  --brand-cyan: #02D9F9;
  --brand-gray: #A3A9B1;
  --brand-light: #EAEAEA;

  /* Light surfaces */
  --ink: #FFFFFF;
  --ink-2: #EAEAEA;
  --panel: #FFFFFF;
  --panel-2: #EAEAEA;

  --hairline: rgba(1, 28, 83, .10);
  --hairline-2: rgba(1, 28, 83, .18);

  /* Secondary surfaces */
  --paper: #EAEAEA;
  --paper-2: #FFFFFF;
  --paper-line: rgba(1, 28, 83, .10);

  /* Text */
  --platinum: #011C53;
  --mist: #A3A9B1;
  --mist-2: #A3A9B1;
  --slate: #011C53;
  --slate-mut: #A3A9B1;

  /* Brand accents */
  --azure: #073ED6;
  --azure-hi: #073ED6;
  --violet: #073ED6;
  --cyan: #02D9F9;

  /* Brand gradient */
  --aurora: linear-gradient(
    115deg,
    #011C53 0%,
    #073ED6 52%,
    #02D9F9 100%
  );

  --aurora-soft: linear-gradient(
    115deg,
    rgba(1, 28, 83, .10),
    rgba(7, 62, 214, .10) 50%,
    rgba(2, 217, 249, .12)
  );

  /* Effects */
  --glass: rgba(255, 255, 255, .78);
  --glass-line: rgba(1, 28, 83, .10);

  --shadow-s: 0 2px 10px rgba(1, 28, 83, .07);
  --shadow-m: 0 16px 40px rgba(1, 28, 83, .13);
  --shadow-glow: 0 20px 60px rgba(7, 62, 214, .20);

  /* Typography */
  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm */
  --nav-h: 76px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --container-max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. RESET / BASE ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--platinum);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
h1,h2,h3,h4,h5 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--platinum); }
p { margin: 0; }
ul { margin: 0; }

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

/* Selection */
::selection { background: rgba(37,84,235,.28); color: #fff; }

/* Focus visibility (a11y) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--azure-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #C7D0E0; border-radius: 20px; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #A9B6CE; }

/* ---------- 3. TYPE SCALE / UTILITIES ---------- */
.display-hero {
  font-size: clamp(2.5rem, 6.2vw, 4.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.h-xl { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.03em; }
.h-lg { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.lead-txt { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--mist); font-weight: 400; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--azure-hi);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px;
  background: var(--aurora); display: inline-block;
}
.eyebrow.center::after {
  content: ""; width: 26px; height: 1px;
  background: var(--aurora); display: inline-block;
}

.grad-text {
  background: var(--aurora);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-mist { color: var(--mist) !important; }
.text-platinum { color: var(--platinum) !important; }

/* Aurora hairline — the repeating structural device */
.aurora-rule { height: 1px; width: 100%; background: linear-gradient(
    90deg,
    transparent,
    #011C53,
    #073ED6,
    #02D9F9,
    transparent
  ); opacity: .5; border: 0; }

/* ---------- 4. SECTIONS ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.bg-ink   { background: var(--ink); }
.bg-ink-2 { background: var(--ink-2); }
.bg-paper { background: var(--paper); color: var(--slate); }
.bg-paper h1,.bg-paper h2,.bg-paper h3,.bg-paper h4 { color: var(--slate); }
.bg-paper .lead-txt { color: var(--slate-mut); }
.bg-paper .eyebrow { color: var(--azure); }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Ambient brand glow blobs */
.glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .8; pointer-events: none; z-index: 0; }
.glow--azure {
  background: radial-gradient(
    circle,
    rgba(7, 62, 214, .18),
    transparent 70%
  );
}

.glow--violet {
  background: radial-gradient(
    circle,
    rgba(1, 28, 83, .14),
    transparent 70%
  );
}

.glow--cyan {
  background: radial-gradient(
    circle,
    rgba(2, 217, 249, .16),
    transparent 70%
  );
}
.section > .container { position: relative; z-index: 1; }

/* ---------- 5. BUTTONS ---------- */
.btn { font-family: var(--f-body); font-weight: 600; border-radius: var(--r-pill); border: 0; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); display: inline-flex; align-items: center; gap: .55rem; letter-spacing: -.01em; }
.btn:active { transform: translateY(1px); }

.btn-aurora {
  background: linear-gradient(
    115deg,
    #011C53 0%,
    #073ED6 52%,
    #02D9F9 100%
  );
  color: #FFFFFF;
  padding: .82rem 1.6rem;
  box-shadow: 0 10px 26px rgba(7, 62, 214, .28);
  background-size: 160% 160%;
  background-position: 0% 50%;
}

.btn-aurora:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 16px 36px rgba(7, 62, 214, .36);
}
.btn-ghost {
  background: #EAEAEA;
  color: #011C53;
  border: 1px solid rgba(1, 28, 83, .18);
  padding: .78rem 1.5rem;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  color: #073ED6;
  border-color: #073ED6;
  background: rgba(2, 217, 249, .10);
  transform: translateY(-2px);
}
.btn-dark { background: var(--slate); color: #fff; padding: .82rem 1.6rem; }
.btn-dark:hover { color:#fff; background:#161e35; transform: translateY(-2px); box-shadow: var(--shadow-m); }

.btn-lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.link-arrow { font-family: var(--f-body); font-weight: 600; color: var(--azure-hi); display: inline-flex; align-items:center; gap: .4rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--cyan); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- 6. CARDS ---------- */
.card-q {
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 2rem 1.85rem;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-s);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card-q::before {
  content:""; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: var(--aurora);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s var(--ease); pointer-events:none;
}
.card-q:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: transparent; }
.card-q:hover::before { opacity: 1; }

.card-q .ico {
  width: 54px; height: 54px; border-radius: 15px; display:grid; place-items:center;
  background: var(--aurora-soft); border: 1px solid var(--hairline-2);
  color: var(--azure-hi); font-size: 1.5rem; margin-bottom: 1.25rem;
}
.card-q h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.card-q p  { color: var(--mist); font-size: .96rem; }

.tech-chip {
  display:inline-block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .02em;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: rgba(15,23,42,.045); border: 1px solid var(--hairline);
  color: var(--mist); margin: .25rem .25rem 0 0;
}
.card-q:hover .tech-chip { border-color: var(--hairline-2); color: var(--platinum); }

/* Light-surface card variant */
.bg-paper .card-q { background: var(--paper-2); border-color: var(--paper-line); box-shadow: 0 1px 3px rgba(9,16,32,.05); }
.bg-paper .card-q h3 { color: var(--slate); }
.bg-paper .card-q p  { color: var(--slate-mut); }
.bg-paper .card-q .tech-chip { background: #eef2f9; color: var(--slate-mut); border-color: var(--paper-line); }
.bg-paper .card-q:hover { box-shadow: 0 20px 46px rgba(11,16,32,.12); }

/* Glass card */
.glass {
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(16px); border-radius: var(--r-lg); box-shadow: var(--shadow-m);
}

/* ---------- 7. NAVBAR ---------- */
.q-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 1050; display: flex; align-items: center; backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.q-logo-img { width: 150px; height: auto; display: block; object-fit: contain; }
.q-logo:hover .q-logo-img { opacity: .92; }
.q-nav.scrolled { top: 10px; left: 0; right: 0; width: calc(100% - 24px); max-width: 1450px; height: 64px; margin-inline: auto; border-radius: 999px; background: rgba(255, 255, 255, 0.562); border: 1px solid var(--hairline); box-shadow: 0 10px 35px rgba(1, 28, 83, 0.10), 0 2px 10px rgba(1, 28, 83, 0.05); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); overflow: visible; }

.q-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1360px; }

.q-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.03em; color: var(--platinum); }
.q-logo .mark { width: 34px; height: 34px; border-radius: 10px; background: var(--aurora); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37,84,235,.35); position: relative; }
.q-logo .mark::after { content:""; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.q-logo b { color: var(--azure-hi); }

.q-menu { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.q-menu > li > a { display: inline-flex; align-items:center; gap:.3rem; padding: .55rem .58rem; font-size: .93rem; font-weight: 500; color: var(--mist); border-radius: 10px; white-space: nowrap; }
.q-menu > li > a:hover, .q-menu > li.active > a { color: var(--platinum); background: rgba(15,23,42,.05); }
.q-menu > li > a .caret { font-size: .7rem; opacity: .7; transition: transform .2s var(--ease); }
.q-menu > li:hover > a .caret { transform: rotate(180deg); }

.q-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.q-actions .btn { padding: .58rem .95rem; font-size: .88rem; white-space: nowrap; flex-shrink: 0; }

/* Mega menu */
.mega-wrap { position: static; }
.mega {
  position: absolute; top: calc(var(--nav-h) - 8px); left: 50%; transform: translateX(-50%) translateY(10px);
  width: min(960px, 94vw);
  background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-m); padding: 1.6rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 1060;
}
.mega-wrap:hover .mega, .mega.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.mega-col h6 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--azure-hi); margin-bottom: .8rem; }
.mega-col a { display: block; font-size: .9rem; color: var(--mist); padding: .32rem 0; }
.mega-col a:hover { color: var(--platinum); transform: translateX(3px); }
.mega-foot { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--hairline); display:flex; align-items:center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mega-foot span { color: var(--mist); font-size: .9rem; }

/* Mobile nav */
.q-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--hairline-2); background: rgba(15,23,42,.03); color: var(--platinum); font-size: 1.3rem; align-items:center; justify-content:center; }
.q-mobile {
  position: fixed; inset: 0; z-index: 1040;
  background: var(--ink); padding: calc(var(--nav-h) + 14px) 1.3rem 2rem;
  overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.q-mobile.open { transform: translateX(0); visibility: visible; }
.q-mobile .m-item { border-bottom: 1px solid var(--hairline); }
.q-mobile .m-link { display:flex; align-items:center; justify-content: space-between; padding: 1.05rem .2rem; font-family: var(--f-display); font-size: 1.18rem; font-weight: 500; color: var(--platinum); width:100%; background:none; border:0; text-align:left; }
.q-mobile .m-link .chev { transition: transform .3s var(--ease); color: var(--mist); }
.q-mobile .m-item.open .m-link .chev { transform: rotate(90deg); color: var(--azure-hi); }
.q-mobile .m-sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.q-mobile .m-item.open .m-sub { max-height: 640px; }
.q-mobile .m-sub a { display:block; padding: .55rem .2rem .55rem 1rem; color: var(--mist); font-size: .98rem; border-left: 2px solid var(--hairline); margin-left: .3rem; }
.q-mobile .m-sub a:hover { color: var(--platinum); border-color: var(--azure); }
.q-mobile .m-cta { margin-top: 1.6rem; display: grid; gap: .7rem; }
.q-mobile .m-cta .btn { justify-content: center; width: 100%; }

@media (max-width: 1360px) { .q-menu, .q-actions { display: none; } .q-burger { display: inline-flex; } .q-nav.scrolled { top: 8px; width: calc(100% - 20px); max-width: 1450px; height: 62px; border-radius: 999px; } }
@media (max-width: 600px) { .q-logo-img { width: 130px; } .q-nav.scrolled { top: 7px; width: calc(100% - 16px); height: 58px; border-radius: 999px; } .q-nav.scrolled .container { padding-left: 14px; padding-right: 14px; } }


/* ---------- 8. STAT / COUNTER ---------- */
.stat-num { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; background: var(--aurora); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); margin-top: .6rem; }

/* ---------- 9. HERO NETWORK ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 60px; overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { /* soft fade */
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(ellipse at 70% 30%, rgba(37,84,235,.07), transparent 60%),
              linear-gradient(180deg, transparent 55%, var(--ink) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge { display:inline-flex; align-items:center; gap:.5rem; font-family: var(--f-mono); font-size:.75rem; letter-spacing:.12em; color: var(--platinum); background: var(--glass); border:1px solid var(--glass-line); padding:.45rem .9rem; border-radius: var(--r-pill); backdrop-filter: blur(8px); box-shadow: var(--shadow-s); }
.hero-badge .dot { width:7px; height:7px; border-radius:50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(14,165,164,.22); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ---------- 10. MARQUEE / LOGO STRIP ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.2rem; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--f-mono); font-size: .95rem; letter-spacing: .08em; color: var(--mist); white-space: nowrap; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- 11. PROCESS TIMELINE ---------- */
.proc-line { position: relative; }
.proc-step { position: relative; padding-left: 3.4rem; padding-bottom: 2.4rem; }
.proc-step::before { content:""; position:absolute; left: 15px; top: 6px; bottom: -6px; width: 2px; background: linear-gradient(var(--azure), transparent); }
.proc-step:last-child::before { display:none; }
.proc-num { position:absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--hairline-2); display:grid; place-items:center; font-family: var(--f-mono); font-size:.8rem; color: var(--azure-hi); }

/* ---------- 12. TESTIMONIAL ---------- */
.quote-card { background: var(--panel); border:1px solid var(--hairline); border-radius: var(--r-lg); padding: 2.2rem; height:100%; box-shadow: var(--shadow-s); }
.quote-card .stars { color: #F5A623; letter-spacing: .1em; margin-bottom: .9rem; }
.quote-card p { color: var(--platinum); font-size: 1.05rem; }
.quote-card .who { display:flex; align-items:center; gap:.8rem; margin-top:1.4rem; }
.quote-card .who .av { width: 44px; height:44px; border-radius:50%; background: var(--aurora-soft); border:1px solid var(--hairline-2); display:grid; place-items:center; font-family: var(--f-display); font-weight:600; color: var(--platinum); }
.quote-card .who b { display:block; font-size:.95rem; }
.quote-card .who small { color: var(--mist); }

/* ---------- 13. FORM ---------- */
.q-field { margin-bottom: 1.1rem; }
.q-field label { display:block; font-size:.82rem; font-weight:500; margin-bottom:.4rem; color: var(--mist); }
.q-input {
  width: 100%; padding: .8rem 1rem; border-radius: var(--r-sm);
  background: rgba(15,23,42,.025); border: 1px solid var(--hairline);
  color: var(--platinum); font-family: var(--f-body); font-size: .95rem; transition: border-color .2s, background .2s;
}
.q-input::placeholder { color: var(--mist-2); }
.q-input:focus { outline: none; border-color: var(--azure); background: rgba(37,84,235,.04); }
select.q-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%238A97B4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }

/* ---------- 14. FOOTER ---------- */
.q-foot {
  background: #060911;
  --platinum: #E9EDF7;
  --mist: #93A0BE;
  --mist-2: #64708c;
  --hairline: rgba(255,255,255,.09);
  --hairline-2: rgba(255,255,255,.14);
  --azure-hi: #6ea0ff;
  border-top: 1px solid var(--hairline); padding-top: clamp(56px, 7vw, 92px);
}
.q-foot h6 { font-family: var(--f-mono); font-size:.68rem; letter-spacing:.18em; text-transform:uppercase; color: var(--azure-hi); margin-bottom: 1rem; }
.q-foot a { display:block; color: var(--mist); font-size:.92rem; padding:.28rem 0; }
.q-foot a:hover { color: var(--platinum); transform: translateX(3px); }
.q-foot .brand-line { color: var(--mist); max-width: 320px; font-size: .95rem; }
.q-foot .socials { display:flex; gap:.6rem; margin-top:1.2rem; }
.q-foot .socials a { width:40px; height:40px; border-radius:11px; border:1px solid var(--hairline); display:grid; place-items:center; color: var(--mist); }
.q-foot .socials a:hover { color:#fff; border-color: var(--azure-hi); background: rgba(110,160,255,.16); transform: translateY(-2px); }
.q-foot .foot-bottom { border-top: 1px solid var(--hairline); margin-top: 3rem; padding: 1.6rem 0; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap: wrap; }
.q-foot .foot-bottom small { color: var(--mist-2); }
.q-foot .foot-bottom .flinks { display:flex; gap:1.4rem; flex-wrap:wrap; }
.q-foot .foot-bottom .flinks a { display:inline; padding:0; font-size:.85rem; }

/* ---------- 15. BREADCRUMB / PAGE HERO ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 clamp(48px,7vw,92px); overflow: hidden; }
.crumb { font-family: var(--f-mono); font-size:.76rem; letter-spacing:.06em; color: var(--mist); display:flex; gap:.5rem; align-items:center; margin-bottom: 1.4rem; }
.crumb a:hover { color: var(--azure-hi); }
.crumb i { font-size:.6rem; opacity:.6; }

/* ---------- 16. REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Image treatment */
.img-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); position: relative; }
.img-frame img { width:100%; height:100%; object-fit: cover; }
.img-frame.glowing { box-shadow: var(--shadow-glow); }

/* ---------- 17. CHAT WIDGET ---------- */
.chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 1100;
  width: 60px; height: 60px; border-radius: 50%; border: 0;
  background: var(--aurora); color: #fff; font-size: 1.4rem;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 30px rgba(37,84,235,.32);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37,84,235,.4); }

.chat-panel {
  position: fixed; bottom: 96px; right: 24px; z-index: 1100;
  width: 360px; max-width: calc(100vw - 32px);
  height: 480px; max-height: calc(100vh - 140px);
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-m); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.chat-widget.open .chat-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.chat-head { background: var(--aurora); padding: 1rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-shrink: 0; }
.chat-head-info { display: flex; align-items: center; gap: .7rem; color: #fff; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.chat-head-info b { display: block; font-family: var(--f-display); font-size: .95rem; }
.chat-head-info small { color: rgba(255,255,255,.85); font-size: .74rem; }
.chat-close { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.chat-close:hover { background: rgba(255,255,255,.28); }

.chat-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.chat-msg { max-width: 84%; padding: .6rem .85rem; border-radius: 14px; font-size: .88rem; line-height: 1.45; }
.chat-msg.bot { align-self: flex-start; background: var(--panel-2); color: var(--platinum); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--aurora); color: #fff; border-bottom-right-radius: 4px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chat-chip { font-family: var(--f-body); font-size: .78rem; font-weight: 500; padding: .4rem .8rem; border-radius: var(--r-pill); background: rgba(37,84,235,.08); border: 1px solid var(--hairline); color: var(--azure-hi); cursor: pointer; transition: background .2s var(--ease); }
.chat-chip:hover { background: rgba(37,84,235,.14); }
.chat-typing { align-self: flex-start; display: flex; gap: 4px; padding: .6rem .85rem; background: var(--panel-2); border-radius: 14px; border-bottom-left-radius: 4px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); animation: chatTyping 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatTyping { 0%,60%,100% { opacity:.3; transform: translateY(0); } 30% { opacity:1; transform: translateY(-3px); } }

.chat-input-row { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--hairline); flex-shrink: 0; }
.chat-input { flex: 1; padding: .65rem .9rem; border-radius: var(--r-pill); border: 1px solid var(--hairline); background: rgba(15,23,42,.025); color: var(--platinum); font-family: var(--f-body); font-size: .88rem; }
.chat-input:focus { outline: none; border-color: var(--azure); background: rgba(37,84,235,.04); }
.chat-send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--aurora); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: transform .2s var(--ease); }
.chat-send:hover { transform: scale(1.06); }

.mobile-nav-open .chat-widget { display: none; }

@media (max-width: 480px) {
  .chat-panel { right: 16px; bottom: 88px; }
  .chat-fab { right: 16px; bottom: 16px; }
}

/* ---------- 18. RESPONSIVE ---------- */
@media (max-width: 991px) {
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .section { padding: 60px 0; }
  .hero { min-height: auto; }
}

/* ---------- 19. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

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



/* ============================================================
   20. RESPONSIVE HOMEPAGE PATCH
   Professional responsive behavior for desktop, tablet,
   mobile and small mobile screens.
   ============================================================ */

/* Prevent long words/URLs from creating horizontal overflow */


html, body { max-width: 100%; overflow-x: hidden; }
.container, .container-fluid { width: 100%; }

/* ---------- Large desktop ---------- */
@media (max-width: 1399.98px) { .q-nav .container { max-width: 1240px; } .hero .container { padding-left: 24px; padding-right: 24px; } }

/* ---------- Desktop / laptop ---------- */
@media (max-width: 1199.98px) { .section { padding: clamp(58px, 7vw, 96px) 0; } .display-hero { font-size: clamp(2.7rem, 5.5vw, 4.35rem); } .h-xl { font-size: clamp(1.9rem, 4vw, 3rem); } .card-q { padding: 1.75rem 1.55rem; } .mega { width: min(900px, calc(100vw - 32px)); } .mega-grid { gap: 1rem; } }

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) { .q-nav .container { width: 100%; max-width: 100%; padding-left: 20px; padding-right: 20px; } .hero { min-height: 760px; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 72px; } .hero .container { padding-left: 20px; padding-right: 20px; } .display-hero { max-width: 820px; font-size: clamp(2.65rem, 6.2vw, 4rem); } .section-head { max-width: 680px; } .lead-txt { font-size: clamp(1rem, 1.8vw, 1.18rem); } .mega { width: min(760px, calc(100vw - 32px)); } .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .img-frame { max-width: 100%; } .q-mobile { padding-left: 1.25rem; padding-right: 1.25rem; } .chat-panel { width: 350px; } }

/* ---------- Small tablet / large phone ---------- */
@media (max-width: 767.98px) { .section { padding: 56px 0; } .section--tight { padding: 44px 0; } .display-hero { font-size: clamp(2.35rem, 9vw, 3.35rem); line-height: 1.04; } .h-xl { font-size: clamp(1.85rem, 7vw, 2.7rem); } .h-lg { font-size: clamp(1.5rem, 5.5vw, 2.15rem); } .lead-txt { font-size: 1rem; line-height: 1.65; } .hero { min-height: 720px; align-items: center; padding-top: calc(var(--nav-h) + 42px); padding-bottom: 64px; } .hero .container { padding-left: 18px; padding-right: 18px; } .hero-badge { font-size: .68rem; letter-spacing: .08em; padding: .42rem .75rem; } .hero .d-flex.gap-3 .btn { width: auto; } .card-q { padding: 1.55rem 1.35rem; } .card-q h3 { font-size: 1.18rem; } .card-q p { font-size: .94rem; } .img-frame { border-radius: var(--r-md); } .proc-step { padding-left: 3rem; padding-bottom: 2rem; } .quote-card { padding: 1.7rem; } .mega { width: calc(100vw - 24px); padding: 1.2rem; } .mega-grid { grid-template-columns: 1fr; } .mega-foot { align-items: flex-start; flex-direction: column; } .mega-foot .btn { width: 100%; justify-content: center; } }

/* ---------- Mobile ---------- */
@media (max-width: 575.98px) { :root { --nav-h: 68px; } .section { padding: 52px 0; } .section--tight { padding: 40px 0; } .container { padding-left: 16px; padding-right: 16px; } .q-nav .container { padding-left: 16px; padding-right: 16px; } .q-logo-img { width: 128px; max-width: 128px; } .q-nav.scrolled { width: calc(100% - 16px); height: 58px; top: 7px; } .q-nav.scrolled .container { padding-left: 13px; padding-right: 13px; } .q-burger { width: 42px; height: 42px; flex: 0 0 42px; } .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 58px; } .hero .container { padding-left: 16px; padding-right: 16px; } .display-hero { font-size: clamp(2.15rem, 10.5vw, 3rem); line-height: 1.05; letter-spacing: -.045em; } .hero-badge { max-width: 100%; white-space: normal; line-height: 1.35; } .hero .lead-txt { max-width: 100% !important; } .hero .d-flex.flex-wrap.gap-3 { width: 100%; flex-direction: column; align-items: stretch; } .hero .d-flex.flex-wrap.gap-3 .btn { width: 100%; justify-content: center; } .hero .d-flex.flex-wrap.gap-4 { gap: .75rem !important; flex-direction: column; align-items: flex-start; font-size: .72rem !important; } .stat-num { font-size: clamp(2rem, 10vw, 2.7rem); } .stat-label { font-size: .62rem; letter-spacing: .11em; } .marquee-track { gap: 2rem; } .marquee-track span { font-size: .8rem; } .section-head, .section-head.center { max-width: 100%; } .section-head .lead-txt { font-size: .98rem; } .card-q { padding: 1.45rem 1.25rem; border-radius: 20px; } .card-q .ico { width: 50px; height: 50px; border-radius: 14px; font-size: 1.35rem; } .card-q h3 { font-size: 1.12rem; line-height: 1.2; } .card-q p { font-size: .92rem; line-height: 1.6; } .tech-chip { font-size: .66rem; padding: .28rem .58rem; } .btn-lg { padding: .85rem 1.35rem; font-size: .95rem; } .img-frame img { min-height: 230px; object-fit: cover; } .proc-step { padding-left: 2.7rem; } .proc-step::before { left: 14px; } .proc-num { width: 30px; height: 30px; } .quote-card { padding: 1.45rem; border-radius: 20px; } .q-foot .foot-bottom { align-items: flex-start; flex-direction: column; } .q-foot .foot-bottom .flinks { gap: .8rem 1rem; } .chat-fab { width: 56px; height: 56px; right: 16px; bottom: 16px; } .chat-panel { left: 12px; right: 12px; bottom: 84px; width: auto; max-width: none; height: min(480px, calc(100vh - 120px)); max-height: calc(100vh - 120px); border-radius: 22px; } .chat-input-row { padding: .65rem; } }

/* ---------- Extra-small phones ---------- */
@media (max-width: 390px) { .container, .q-nav .container, .hero .container { padding-left: 14px; padding-right: 14px; } .q-logo-img { width: 118px; max-width: 118px; } .q-nav.scrolled .container { padding-left: 11px; padding-right: 11px; } .q-burger { width: 40px; height: 40px; flex-basis: 40px; } .display-hero { font-size: clamp(2rem, 10.8vw, 2.55rem); } .h-xl { font-size: clamp(1.7rem, 8vw, 2.15rem); } .section { padding: 48px 0; } .stat-num { font-size: 1.9rem; } .stat-label { font-size: .57rem; } .card-q { padding: 1.3rem 1.1rem; } .chat-panel { left: 8px; right: 8px; } }

/* ---------- Ultra-small phones ---------- */
@media (max-width: 340px) { .q-logo-img { width: 108px; max-width: 108px; } .display-hero { font-size: 1.9rem; } .hero-badge { font-size: .62rem; } .stat-label { letter-spacing: .08em; } .q-mobile { padding-left: 1rem; padding-right: 1rem; } }

