

/* WASTRAQ Shared Navigation & Footer Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0a2016;
  --green-800: #0f3422;
  --green-700: #14502e;
  --green-600: #166534;
  --green-500: #16a34a;
  --green-400: #22c55e;
  --green-300: #4ade80;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --bg: #f8faf7;
  --bg-card: #ffffff;
  --text: #0d1f0b;
  --text-muted: #4b5e47;
  --text-light: #7c9177;
  --border: #e2ead0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 24px rgba(10,32,22,.07);
  --shadow-lg: 0 8px 48px rgba(10,32,22,.12);
  --font: 'Plus Jakarta Sans', sans-serif;
  --mono: 'DM Mono', monospace;
  --nav-h: 72px;
}
.wq-container-fluid {
  width: min(100% - 40px, 1480px);
  margin-inline: auto;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wq-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  color: var(--green-900);
  flex-shrink: 0;
  text-decoration: none;
}

.wq-nav-logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: var(--font), Arial, sans-serif;
  margin-left: 0;
  background: linear-gradient(
    90deg,
    #8adf54 0%,
    #1db1b3 25%,
    #4569a2 50%,
    #0d369c 75%,
    #0d369c 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1;
}

.tm {
  font-size: 10px;
  font-weight: 800;
  color: #0d369c;
  -webkit-text-fill-color: #0d369c;
  position: relative;
  top: -8px;
  left: 2px;
  margin-left: 0;
  line-height: 1;
}

/* Footer smaller size */
.wq-footer .logo-text {
  font-size: 1.35rem;
  margin-left: 0;
}

.wq-footer .tm {
  color: #4ade80;
  -webkit-text-fill-color: #4ade80;
  font-size: 10px;
  top: -8px;
  left: 2px;
}
/* ── NAV ─────────────────────────────────────── */
.wq-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,250,247,0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(10,32,22,.04);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.wq-nav.scrolled { border-color: var(--border); box-shadow: var(--shadow); background: rgba(248,250,247,.97); }
.wq-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.wq-logo-light span { color: white; }
.wq-nav-links { list-style: none; display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.wq-nav-links a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--text-muted); transition: color .2s, background .2s; white-space: nowrap; }
.wq-nav-links a:hover, 
.wq-nav-links li.active > a {
  color: var(--green-700);
  background: var(--green-50);
  text-decoration: none;
}
.wq-nav-links li.has-dropdown {
  position: relative;
}
/* Invisible hover bridge so the cursor can travel from the nav link down to the dropdown */
.wq-nav-links li.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.wq-dropdown {
  position: absolute; top:(100%); left: 0; min-width: 240px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease;
}
.wq-dropdown a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .875rem; color: var(--text-muted); }
.wq-dropdown a:hover { background: var(--green-50); color: var(--green-700); }
.wq-nav-links li.has-dropdown:hover .wq-dropdown,
.wq-dropdown:hover {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}


/* ── BUTTONS ─────────────────────────────────── */
:root {
  --btn-gradient: linear-gradient(90deg, #6FBB59 0%, #159D91 45%, #0750AD 100%);
}

/* Button and mobile-nav classes (.wq-btn-*, .wq-hamburger, .wq-mobile-menu)
   are intentionally not redefined here — they're byte-for-byte identical
   to css/index.css and css/nav-footer.css, so this page inherits the
   shared button look/behavior directly rather than duplicating it. */

/* ── TICKER ──────────────────────────────────── */
.wq-ticker { background: var(--green-900); color: white; padding: 14px 0; overflow: hidden; }
.wq-ticker-track { display: flex; gap: 0; animation: ticker 30s linear infinite; white-space: nowrap; width: max-content; }
.wq-ticker-track:hover { animation-play-state: paused; }
.wq-ticker-item { display: flex; align-items: center; gap: 10px; padding: 0 28px; font-size: .875rem; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.wq-ticker-item .dot { width: 6px; height: 6px; background: var(--green-400); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HERO ────────────────────────────────────── */
.wq-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 32px 80px;
  background: linear-gradient(160deg, var(--green-50) 0%, var(--bg) 50%, white 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.wq-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.12) 0%, transparent 70%);
  pointer-events: none;
}
.wq-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.wq-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.wq-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin: 0 auto 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wq-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--green-900);
  margin: 0 auto 24px;
  text-align: center;
  max-width: 880px;
}
.wq-hero h1 span { color: var(--green-500); }
.wq-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.75;
  text-align: center;
}
.wq-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto;
}
.wq-hero-visual { position: relative; }
.wq-hero-mockup { background: white; border-radius: 20px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--border); overflow: hidden; }
.wq-hero-mockup-bar { background: var(--green-900); padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.wq-hero-mockup-bar span { width: 10px; height: 10px; border-radius: 50%; }
.wq-hero-mockup-bar span:nth-child(1) { background: #ff5f57; }
.wq-hero-mockup-bar span:nth-child(2) { background: #ffbd2e; }
.wq-hero-mockup-bar span:nth-child(3) { background: #28c840; }
.wq-hero-mockup-bar .wq-url { flex: 1; background: rgba(255,255,255,.1); border-radius: 6px; padding: 4px 12px; font-size: .75rem; color: rgba(255,255,255,.5); font-family: var(--mono); margin-left: 8px; }
.wq-mockup-body { padding: 24px; background: var(--bg); }
.wq-mockup-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.wq-mockup-stat { background: white; border-radius: 10px; padding: 14px; border: 1px solid var(--border); }
.wq-mockup-stat .label { font-size: .7rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.wq-mockup-stat .val { font-size: 1.4rem; font-weight: 800; color: var(--green-700); margin-top: 2px; }
.wq-mockup-stat .badge { display: inline-block; font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 100px; background: var(--green-100); color: var(--green-600); margin-top: 4px; }
.wq-mockup-map { background: white; border-radius: 10px; padding: 16px; border: 1px solid var(--border); }
.wq-mockup-map-placeholder { background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%); border-radius: 8px; height: 140px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.wq-map-route { position: absolute; }
.wq-map-pin { width: 10px; height: 10px; background: var(--green-500); border-radius: 50%; border: 2px solid white; box-shadow: 0 2px 6px rgba(0,0,0,.2); position: absolute; }
.wq-map-label { font-size: .65rem; color: var(--text-light); font-weight: 600; }

/* ── TRUSTED BY ──────────────────────────────── */
.wq-trusted { padding: 40px 0 10px; background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.wq-trusted-label { text-align: center; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: 32px; }
/* .wq-logos-track { display: flex; gap: 0; animation: logos 24s linear infinite; width: max-content; } */
/* .wq-logos-track:hover { animation-play-state: paused; } */
.wq-logo-item { padding: 0 48px; display: flex; align-items: center; }
.wq-logo-item:hover { opacity: 1; filter: grayscale(0); }
.wq-logo-item .logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
@keyframes logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ────────────────────────────────── */
.wq-section { padding: 40px 32px; }
.wq-section-inner { max-width: 1280px; margin: 0 auto; }
.wq-section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-600); margin-bottom: 14px; }
.wq-section-tag::before { content: ''; width: 20px; height: 2px; background: var(--green-400); border-radius: 2px; }
h2.wq-section-title { font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--green-900); margin-bottom: 16px; }
.wq-section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.wq-section-header { margin-bottom: 56px; }
.wq-section-header.center { text-align: center; }
.wq-section-header.center .wq-section-tag { justify-content: center; }
.wq-section-header.center .wq-section-sub { margin: 0 auto; }

/* ── PLATFORM SECTION ────────────────────────── */
.wq-platform { background: white; }
.wq-platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wq-platform-tabs { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.wq-tab { border: none; background: none; text-align: left; padding: 16px 20px; border-radius: var(--radius); cursor: pointer; transition: background .2s; font-family: var(--font); border-left: 3px solid transparent; }
.wq-tab:hover { background: var(--green-50); }
.wq-tab.active { background: var(--green-50); border-left-color: var(--green-500); }
.wq-tab .tab-title { font-weight: 700; font-size: .95rem; color: var(--green-900); }
.wq-tab .tab-desc {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* Description should show only on hover/focus, not by default */
.wq-tab:hover .tab-desc,
.wq-tab:focus-within .tab-desc {
  max-height: 90px;
  opacity: 1;
  transform: translateY(0);
}
.wq-tab {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.wq-tab:hover {
  background: var(--green-50);
  border-left-color: var(--green-500);
  box-shadow: 0 18px 45px rgba(10, 32, 22, 0.10);
  transform: translateY(-2px);
}
.wq-tab-visual { position: relative; border-radius: 20px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow-lg); }
.wq-tab-panel { display: none; }
.wq-tab-panel.active { display: block; }

/* ── FEATURE BLOCKS ──────────────────────────── */
.wq-feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 80px 32px; }
.wq-feature-block.reverse { direction: rtl; }
.wq-feature-block.reverse > * { direction: ltr; }
.wq-feature-block-inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.wq-feature-text h2 { font-size: clamp(1.7rem, 2.5vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--green-900); margin-bottom: 16px; }
.wq-feature-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; font-size: 1.02rem; }
.wq-feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.wq-feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--text-muted); }
.wq-feature-list li::before { content: ''; width: 20px; height: 20px; background: var(--green-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2316a34a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.wq-visual-card { background: white; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.wq-visual-card-header { background: linear-gradient(135deg, var(--green-700), var(--green-500)); padding: 24px; color: white; }
.wq-visual-card-header h3 { font-size: 1rem; font-weight: 700; }
.wq-visual-card-header p { font-size: .85rem; opacity: .8; margin-top: 4px; }
.wq-visual-card-body { padding: 20px; }

/* ── STATS ───────────────────────────────────── */
.wq-stats { background: var(--green-900); padding: 80px 32px; }
.wq-stats-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.wq-stats-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--green-400); margin-bottom: 12px; }
.wq-stats-subtitle { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 60px; letter-spacing: -.02em; }
.wq-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.wq-stat-item { padding: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); transition: background .3s; }
.wq-stat-item:hover { background: rgba(255,255,255,.07); }
.wq-stat-num { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; color: var(--green-400); letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.wq-stat-label { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.7); }

/* ── TESTIMONIALS ────────────────────────────── */
.wq-testimonials { background: var(--bg); }
.wq-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wq-testimonial-card { background: white; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.wq-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wq-testimonial-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.wq-testimonial-card blockquote { font-size: .95rem; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.wq-testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.wq-testimonial-card .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: var(--green-700); flex-shrink: 0; }
.wq-testimonial-card .author-name { font-weight: 700; font-size: .9rem; color: var(--green-900); }
.wq-testimonial-card .author-role { font-size: .8rem; color: var(--text-light); }

/* ── CTA BANNER ──────────────────────────────── */
.wq-cta { background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%); padding: 40px 32px 80px; text-align: center; }
.wq-cta-inner { max-width: 680px; margin: 0 auto; }
.wq-cta h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: white; margin-bottom: 14px; letter-spacing: -.03em; }
.wq-cta p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 36px; }
.wq-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* .wq-btn-white / .wq-btn-outline-white intentionally not redefined —
   inherits the shared gradient look from css/index.css. */

/* ── FOOTER ──────────────────────────────────── */
.wq-footer { background: var(--green-900); color: rgba(255,255,255,.75); }
.wq-footer-top { max-width: 1280px; margin: 0 auto; padding: 72px 32px 48px; display: grid; grid-template-columns: 280px 1fr; gap: 64px; }
.wq-footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,.5); }
.wq-social { display: flex; gap: 14px; margin-top: 24px; }
.wq-social a { color: rgba(255,255,255,.4); transition: color .2s; }
.wq-social a:hover { color: var(--green-400); }
.wq-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.wq-footer-col h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.wq-footer-col a { display: block; font-size: .875rem; color: rgba(255,255,255,.6); padding: 4px 0; transition: color .2s; }
.wq-footer-col a:hover { color: var(--green-400); }
.wq-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 32px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.35); }
.wq-footer-bottom strong { color: rgba(255,255,255,.6); }

/* ── PAGE HERO (inner pages) ─────────────────── */
.wq-page-hero { padding: calc(var(--nav-h) + 80px) 32px 80px; background: linear-gradient(160deg, var(--green-50) 0%, white 100%); text-align: center; }
.wq-page-hero-inner { max-width: 760px; margin: 0 auto; }
.wq-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--green-900); margin-bottom: 16px; }
.wq-page-hero p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }

/* ── CARDS ───────────────────────────────────── */
.wq-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wq-card { background: white; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s; }
.wq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-300); }
.wq-card-icon { width: 48px; height: 48px; background: var(--green-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--green-600); }
.wq-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-900); margin-bottom: 8px; }
.wq-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.wq-card .wq-link { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 700; color: var(--green-600); margin-top: 14px; transition: gap .2s; }
.wq-card .wq-link:hover { gap: 10px; }

/* ── ANIMATIONS ──────────────────────────────── */
.anim { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.anim.anim-in { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }
.anim-delay-5 { transition-delay: .5s; }

/* ── FORM ────────────────────────────────────── */
.wq-form { display: grid; gap: 16px; }
.wq-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wq-field { display: flex; flex-direction: column; gap: 6px; }
.wq-field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.wq-field input, .wq-field textarea, .wq-field select { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: .9rem; color: var(--text); background: white; transition: border-color .2s, box-shadow .2s; outline: none; }
.wq-field input:focus, .wq-field textarea:focus, .wq-field select:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.wq-field textarea { resize: vertical; min-height: 120px; }

/* ── MISC ────────────────────────────────────── */
.wq-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; font-size: .78rem; font-weight: 700; background: var(--green-100); color: var(--green-700); }
.wq-divider { height: 1px; background: var(--border); margin: 0; }
.wq-bg-white { background: white; }
.wq-bg-dark { background: var(--green-900); }
.wq-text-center { text-align: center; }
.wq-mt-0 { margin-top: 0 !important; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .wq-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .wq-platform-grid { grid-template-columns: 1fr; gap: 32px; }
  .wq-feature-block { display: flex; flex-direction: column; gap: 40px; }
  .wq-feature-block.reverse { direction: ltr; }
  .wq-stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .wq-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .wq-cards-grid { grid-template-columns: 1fr 1fr; }
  .wq-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .wq-footer-cols { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .wq-nav-links, .wq-nav-actions { display: none; }
  .wq-hamburger { display: flex; margin-left: auto; }
  .wq-stats-grid { grid-template-columns: 1fr; }
  .wq-testimonials-grid { grid-template-columns: 1fr; }
  .wq-cards-grid { grid-template-columns: 1fr; }
  .wq-footer-cols { grid-template-columns: 1fr 1fr; }
  .wq-form-row { grid-template-columns: 1fr; }
  .wq-section { padding: 64px 20px; }
  .wq-hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
}
/* ── RESPONSIVE ENHANCEMENTS ─────────────────────────────── */

/* Utility classes for inline-styled feature blocks */
.wq-fb-section { padding: 80px 32px; }
.wq-fb-grid    { max-width: 1280px; margin: 0 auto; }

/* ── Tablet (≤1024px) ──────────────────────────────────── */
@media (max-width: 1024px) {
  .wq-fb-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ── Mobile (≤768px) ───────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Nav */
  /* .wq-nav-inner { padding: 0 20px; } */

  /* Hero */
  .wq-hero { padding: calc(var(--nav-h) + 32px) 20px 60px; }
  .wq-hero-actions { flex-direction: column; align-items: stretch; }
  .wq-hero-actions a { width: 100%; text-align: center; display: flex; justify-content: center; box-sizing: border-box; }
  .wq-hero-pills { gap: 6px; }
  .wq-pill { font-size: .72rem; padding: 5px 11px; }
  .wq-floating-badge { display: none !important; }

  /* News strip */
  .wq-news-strip { padding: 0 20px; }
  .wq-news-strip-inner { flex-direction: column; align-items: flex-start; }
  .wq-news-label { border-right: none; border-bottom: 1px solid var(--border); padding: 10px 0 8px; margin-right: 0; width: 100%; }
  .wq-news-item { padding: 8px 0 12px; font-size: .82rem; }

  /* Sections */
  .wq-section { padding: 56px 20px; }
  .wq-fb-section { padding: 48px 20px !important; }
  .wq-fb-grid { gap: 32px !important; }

  /* Platform tabs */
  .wq-tab { padding: 12px 16px; }

  /* Stats */
  .wq-stats { padding: 56px 20px; }
  .wq-stats-grid { gap: 16px; }

  /* Testimonials */
  .wq-testimonials-grid { gap: 16px; }

  /* CTA */
  .wq-cta { padding: 56px 20px; }
  .wq-cta-actions { flex-direction: column; align-items: stretch; }
  .wq-btn-white,
  .wq-btn-outline-white { width: 100%; text-align: center; display: block; }

  /* Footer */
  .wq-footer-top    { padding: 48px 20px 32px; }
  .wq-footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 20px; }

  /* Trusted logos */
  .wq-trusted { padding: 40px 0; }
}

/* ── Small mobile (≤480px) ─────────────────────────────── */
@media (max-width: 480px) {
  /* Nav */
  /* .wq-nav-inner { padding: 0 16px; } */

  /* Hero */
  .wq-hero { padding: calc(var(--nav-h) + 24px) 16px 48px; }
  .wq-hero h1 { font-size: 2rem; }

  /* Mockup: reduce padding and stat columns */
  .wq-mockup-body { padding: 16px; }
  .wq-mockup-stat-row { grid-template-columns: 1fr 1fr !important; }


  /* Sections */
  .wq-section    { padding: 44px 16px; }
  .wq-fb-section { padding: 36px 16px !important; }
  .wq-stats      { padding: 44px 16px; }
  .wq-cta        { padding: 44px 16px; }

  /* News */
  .wq-news-strip { padding: 0 16px; }

  /* Module cards */
  .wq-module-card { padding: 18px 12px; }
  .wq-module-grid { gap: 12px; }

  /* Footer */
  .wq-footer-top    { padding: 40px 16px 28px; }
  .wq-footer-bottom { padding: 14px 16px; }

  /* About team: 1 col on very small mobile */
  .wq-about-team-grid { grid-template-columns: 1fr; }

  /* Page heroes on very small screens */
  .about-hero,
  .contact-hero,
  .par-hero,
  .sol-hero,
  .wq-product-hero { padding: calc(var(--nav-h) + 24px) 16px 40px !important; }

  /* Contact form card */
  .contact-form-card { padding: 24px 16px; }
  .contact-grid      { padding: 24px 16px !important; }

  /* Product & solution sections */
  .wq-product-section { padding: 36px 16px !important; }
  .sol-section        {padding: 10px 16px 44px !important; }

  /* ── SMALL MOBILE TYPOGRAPHY REFINEMENT ── */

body {
  font-size: 14.5px;
  line-height: 1.65;
}

.wq-hero h1 {
  font-size: 1.9rem;
  line-height: 1.2;
}

h2.wq-section-title {
  font-size: 1.5rem;
  line-height: 1.25;
}

.wq-hero p,
.wq-section-sub {
  font-size: 0.92rem;
  line-height: 1.7;
}

.wq-feature-text p {
  font-size: 0.9rem;
}

.wq-card p {
  font-size: 0.88rem;
}

.wq-testimonial-card blockquote {
  font-size: 0.9rem;
}
}

/* ── Inner-page grid classes (add to HTML elements) ─────────── */

/* about.html */
.wq-about-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wq-about-team-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wq-about-sustain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* partnership.html */
.wq-par-types-grid        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wq-par-testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* solutions.html */
.wq-sol-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ── Inner-page responsive overrides ───────────────────────── */
@media (max-width: 1024px) {
  .wq-about-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .wq-about-sustain-grid { grid-template-columns: 1fr; gap: 40px; }
  .wq-par-types-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* About */
  .wq-about-mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .wq-about-team-grid    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wq-about-sustain-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Partnership */
  .wq-par-types-grid        { grid-template-columns: 1fr; gap: 20px; }
  .wq-par-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Solutions */
  .wq-sol-compare-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Page hero padding */
  .about-hero,
  .contact-hero,
  .par-hero,
  .sol-hero,
  .wq-product-hero { padding: calc(var(--nav-h) + 40px) 20px 48px !important; }

  /* Contact grid */
  .contact-grid { padding: 40px 20px !important; }

  /* Product & solution sections */
  .wq-product-section { padding: 48px 20px !important; }
  .sol-section        { padding: 56px 20px !important; }

  /* CTA button width fix */
  .wq-btn-white,
  .wq-btn-outline-white { box-sizing: border-box; }

  /* ── MOBILE TYPOGRAPHY IMPROVEMENTS ── */

body {
  font-size: 15px;
  line-height: 1.65;
}

/* Headings */
.wq-hero h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2.wq-section-title {
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Paragraphs */
.wq-hero p,
.wq-section-sub {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Feature text */
.wq-feature-text p {
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Cards */
.wq-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.wq-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Testimonials */
.wq-testimonial-card blockquote {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Buttons text */
.wq-btn-primary,
.wq-btn-outline,
.wq-btn-white,
.wq-btn-outline-white {
  font-size: 0.9rem;
}
}
/* ── UNIVERSAL BUTTON HOVER FIX ── */

/* Ensure all clickable buttons get transition */
button,
a.wq-btn-primary,
a.wq-btn-outline,
a.wq-btn-ghost,
a.wq-btn-white,
a.wq-btn-outline-white {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

/* Hover effect */
button:hover,
a.wq-btn-primary:hover,
a.wq-btn-outline:hover,
a.wq-btn-ghost:hover,
a.wq-btn-white:hover,
a.wq-btn-outline-white:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
} 
/* WASTRAQ DYNAMIC RESPONSIVE FIX
   Paste this at the very bottom of wastraq.css
*/

/* 1. Dynamic container sizes */
:root {
  --container-max: 1480px;
  --container-wide: 1640px;
}

/* 2. Make main site containers wider on desktop */
.wq-container-fluid,
.wq-nav-inner,
.wq-section-inner,
.wq-feature-block-inner,
.wq-stats-inner,
.wq-footer-top,
.wq-footer-bottom,
.wq-fb-grid {
  width: min(100% - 40px, var(--container-max));
  max-width: var(--container-max);
  margin-inline: auto;
}

/* Homepage news strip also needs dynamic width */
.wq-news-strip-inner {
  width: min(100% - 40px, var(--container-max)) !important;
  max-width: var(--container-max) !important;
  margin-inline: auto !important;
}

/* 3. Hero Centered Layout */
.wq-hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: clamp(60px, 12vh, 120px) 24px 80px !important;
  background: linear-gradient(160deg, var(--green-50) 0%, var(--bg) 50%, white 100%);
  position: relative;
  overflow: hidden;
}

.wq-hero-inner {
  width: 100% !important;
  max-width: 960px !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  grid-template-columns: none !important;
}

.wq-hero-content {
  width: 100% !important;
  max-width: 900px !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wq-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
}

.wq-hero h1 {
  width: 100% !important;
  max-width: 880px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.wq-hero p,
#wq-hero-subtitle {
  width: 100% !important;
  max-width: 680px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.wq-hero-actions {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
}

.wq-hero-pills {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
}

/* 6. Ultra-wide screens */
@media (min-width: 1800px) {
  .wq-container-fluid,
  .wq-nav-inner,
  .wq-section-inner,
  .wq-feature-block-inner,
  .wq-stats-inner,
  .wq-footer-top,
  .wq-footer-bottom,
  .wq-fb-grid {
    width: min(100% - 56px, var(--container-wide));
    max-width: var(--container-wide);
  }

  .wq-news-strip-inner {
    width: min(100% - 56px, var(--container-wide)) !important;
    max-width: var(--container-wide) !important;
  }
}

/* 7. Tablet */
@media (max-width: 1024px) {
  .wq-hero {
    padding: 56px 24px 64px !important;
  }

  .wq-hero-inner {
    width: min(100%, 760px);
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }

  .wq-hero-content {
    max-width: 720px;
    margin-inline: auto;
  }

  .wq-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .wq-hero-actions,
  .wq-hero-pills {
    justify-content: center;
  }

  .wq-hero-visual {
    max-width: 680px;
    justify-self: center;
  }
}

/* 8. Mobile */
@media (max-width: 600px) {
  .wq-container-fluid,
  .wq-nav-inner,
  .wq-section-inner,
  .wq-feature-block-inner,
  .wq-stats-inner,
  .wq-footer-top,
  .wq-footer-bottom,
  .wq-fb-grid {
    width: min(100% - 32px, var(--container-max));
  }

  .wq-news-strip-inner {
    width: min(100% - 32px, var(--container-max)) !important;
  }

  .wq-hero {
    padding: 38px 16px 46px !important;
  }

  .wq-hero-inner {
    width: 100%;
    gap: 32px;
  }

  .wq-hero h1 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .wq-hero p {
    font-size: 0.95rem;
  }

  .wq-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wq-hero-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .wq-mockup-stat-row {
    grid-template-columns: 1fr;
  }
}
/* HERO REAL VIDEO REPLACEMENT */

.wq-hero-video-card {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #eaf8ef;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  position: relative;
}

.wq-hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0) 36%
    );
}

.wq-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Make video bigger on large desktop */
@media (min-width: 1440px) {
  .wq-hero-video-card {
    max-width: 720px;
  }
}

@media (min-width: 1800px) {
  .wq-hero-video-card {
    max-width: 780px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .wq-hero-video-card {
    max-width: 680px;
    margin-inline: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .wq-hero-video-card {
    aspect-ratio: 16 / 11;
    border-radius: 16px;
  }
}

/* Respect reduced motion users */
@media (prefers-reduced-motion: reduce) {
  .wq-hero-video {
    animation: none;
  }
}
/* =========================================================
   PREMIUM HERO VIDEO GLASS EFFECT
   Paste this at the bottom of wastraq.css
========================================================= */

/* Hero visual wrapper */
.wq-hero-visual {
  position: relative;
  isolation: isolate;
}

/* Soft background glow behind video */
.wq-hero-visual::before {
  content: "";
  position: absolute;
  inset: -45px -55px;
  z-index: -2;
  border-radius: 42px;
  background:
    radial-gradient(circle at 65% 20%, rgba(34, 197, 94, 0.22), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(22, 101, 52, 0.16), transparent 48%);
  filter: blur(18px);
  opacity: 0.9;
}

/* Premium glass card */
.wq-hero-mockup,
.wq-hero-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 30px 80px rgba(10, 32, 22, 0.22),
    0 12px 32px rgba(10, 32, 22, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transform: translateZ(0);
}

/* Thin premium green outline */
.wq-hero-mockup::before,
.wq-hero-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

/* Elegant highlight shine */
.wq-hero-mockup::after,
.wq-hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  /* background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.12) 22%,
      transparent 48%
    ); */
  opacity: 0.7;
}

/* Browser top bar glass effect */
.wq-hero-mockup-bar {
  height: 42px;
  padding: 0 18px !important;
  background:
    linear-gradient(
      180deg,
      rgba(10, 32, 22, 0.96),
      rgba(10, 32, 22, 0.88)
    ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* URL pill inside top bar */
.wq-hero-mockup-bar .wq-url {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 252, 231, 0.82) !important;
  letter-spacing: 0.04em;
}

/* Video frame */
.wq-video-frame,
.wq-hero-video-card {
  background: rgba(240, 253, 244, 0.7);
}

/* Real video */
.wq-dashboard-video,
.wq-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.05) brightness(1.12);
  transform: translateZ(0) scale(1.002);
  backface-visibility: hidden;
}

/* Soft video overlay for premium cinematic look */
.wq-video-frame::after,
.wq-hero-video-card .wq-hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Moving glass light streak */
.wq-video-frame::before,
.wq-hero-video-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  z-index: 6;
  width: 70%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 42%,
      rgba(255, 255, 255, 0.34) 50%,
      rgba(255, 255, 255, 0.12) 58%,
      transparent 100%
    );
  transform: skewX(-18deg);
  animation: wqHeroVideoShine 7s ease-in-out infinite;
}

@keyframes wqHeroVideoShine {
  0%, 55% {
    left: -120%;
  }

  100% {
    left: 140%;
  }
}

/* Floating savings badge - glass style */
.wq-floating-badge {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 20px 45px rgba(10, 32, 22, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

/* Slight hover lift on desktop */
@media (hover: hover) {
  .wq-hero-mockup,
  .wq-hero-video-card {
    transition:
      transform 0.45s ease,
      box-shadow 0.45s ease,
      border-color 0.45s ease;
  }

  /* .wq-hero-mockup:hover,
  .wq-hero-video-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(34, 197, 94, 0.36);
    box-shadow:
      0 38px 95px rgba(10, 32, 22, 0.26),
      0 16px 38px rgba(10, 32, 22, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  } */
}

/* Mobile: keep it clean, not too heavy */
@media (max-width: 768px) {
  .wq-hero-visual::before {
    inset: -24px;
    filter: blur(14px);
  }

  .wq-hero-mockup,
  .wq-hero-video-card {
    border-radius: 18px !important;
    box-shadow:
      0 18px 50px rgba(10, 32, 22, 0.18),
      0 8px 22px rgba(10, 32, 22, 0.1);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wq-video-frame::before,
  .wq-hero-video-card::before {
    animation: none;
    display: none;
  }

  .wq-hero-mockup,
  .wq-hero-video-card {
    transition: none;
  }
}
/* FORCE SAME HERO VIDEO SIZE ON SERVER */

.wq-hero-visual {
  width: 100%;
  max-width: 600px !important;
  justify-self: end;
  position: relative;
}

.wq-hero-video-card,
.wq-hero-mockup,
.media-shell {
  width: 100%;
  max-width: 600px !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
}

.wq-hero-video,
.wq-dashboard-video,
.hero-video-wrap video,
.wq-hero-video-card video,
.wq-hero-mockup video,
.media-shell video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.hero-video-wrap {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
}

@media (min-width: 1440px) {
  .wq-hero-visual,
  .wq-hero-video-card,
  .wq-hero-mockup,
  .media-shell {
    max-width: 640px !important;
  }
}

@media (max-width: 1024px) {
  .wq-hero-visual,
  .wq-hero-video-card,
  .wq-hero-mockup,
  .media-shell {
    max-width: 620px !important;
    justify-self: center;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .wq-hero-visual,
  .wq-hero-video-card,
  .wq-hero-mockup,
  .media-shell {
    max-width: 100% !important;
  }
}
/* MAKE HERO VIDEO MUCH TALLER */

.wq-hero-visual {
  width: 100%;
  max-width: 760px !important;
  justify-self: end;
  position: relative;
}

.wq-hero-mockup,
.wq-hero-video-card,
.media-shell {
  width: 100%;
  max-width: 760px !important;
  overflow: hidden !important;
  border-radius: 26px !important;
}

/* This is the main height control */
.hero-video-wrap,
.wq-hero-video-card {
  aspect-ratio: 16 / 13 !important;
  height: auto !important;
}

.hero-video-wrap video,
.wq-hero-video,
.wq-dashboard-video,
.wq-hero-mockup video,
.media-shell video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Large desktop */
@media (min-width: 1440px) {
  .wq-hero-visual,
  .wq-hero-mockup,
  .wq-hero-video-card,
  .media-shell {
    max-width: 820px !important;
  }

  .hero-video-wrap,
  .wq-hero-video-card {
    aspect-ratio: 16 / 13.5 !important;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .wq-hero-visual,
  .wq-hero-mockup,
  .wq-hero-video-card,
  .media-shell {
    max-width: 700px !important;
    justify-self: center;
    margin-inline: auto;
  }

  .hero-video-wrap,
  .wq-hero-video-card {
    aspect-ratio: 16 / 12.5 !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .wq-hero-visual,
  .wq-hero-mockup,
  .wq-hero-video-card,
  .media-shell {
    max-width: 100% !important;
  }

  .hero-video-wrap,
  .wq-hero-video-card {
    aspect-ratio: 19 / 17 !important;
  }
}

/* === wastraq.css === */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0a2016;
  --green-800: #0f3422;
  --green-700: #14502e;
  --green-600: #166534;
  --green-500: #16a34a;
  --green-400: #22c55e;
  --green-300: #4ade80;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --bg: #f8faf7;
  --bg-card: #ffffff;
  --text: #0d1f0b;
  --text-muted: #4b5e47;
  --text-light: #7c9177;
  --border: #e2ead0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 24px rgba(10,32,22,.07);
  --shadow-lg: 0 8px 48px rgba(10,32,22,.12);
  --font: 'Plus Jakarta Sans', sans-serif;
  --mono: 'DM Mono', monospace;
  --nav-h: 72px;
}
.wq-container-fluid {
  width: min(100% - 40px, 1480px);
  margin-inline: auto;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wq-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.01em;
  color: var(--green-900);
  flex-shrink: 0;
  text-decoration: none;
}

.wq-nav-logo-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: var(--font), Arial, sans-serif;
  margin-left: 0;
  background: linear-gradient(
    90deg,
    #8adf54 0%,
    #1db1b3 25%,
    #4569a2 50%,
    #0d369c 75%,
    #0d369c 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1;
}

.tm {
  font-size: 10px;
  font-weight: 800;
  color: #0d369c;
  -webkit-text-fill-color: #0d369c;
  position: relative;
  top: -8px;
  left: 2px;
  margin-left: 0;
  line-height: 1;
}

/* Footer smaller size */
.wq-footer .logo-text {
  font-size: 1.35rem;
  margin-left: 0;
}

.wq-footer .tm {
  color: #4ade80;
  -webkit-text-fill-color: #4ade80;
  font-size: 10px;
  top: -8px;
  left: 2px;
}
/* ── NAV ─────────────────────────────────────── */
.wq-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,250,247,0.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(10,32,22,.04);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.wq-nav.scrolled { border-color: var(--border); box-shadow: var(--shadow); background: rgba(248,250,247,.97); }
.wq-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.wq-logo-light span { color: white; }
.wq-nav-links { list-style: none; display: flex; align-items: center; gap: 4px; margin-left: 8px; flex: 1; }
.wq-nav-links a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--text-muted); transition: color .2s, background .2s; white-space: nowrap; }
.wq-nav-links a:hover, 
.wq-nav-links li.active > a {
  color: var(--green-700);
  background: var(--green-50);
  text-decoration: none;
}
.wq-nav-links li.has-dropdown {
  position: relative;
}
/* Invisible hover bridge so the cursor can travel from the nav link down to the dropdown */
.wq-nav-links li.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.wq-dropdown {
  position: absolute; top:(100%); left: 0; min-width: 240px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease;
}
.wq-dropdown a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .875rem; color: var(--text-muted); }
.wq-dropdown a:hover { background: var(--green-50); color: var(--green-700); }
.wq-nav-links li.has-dropdown:hover .wq-dropdown,
.wq-dropdown:hover {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}


/* ── BUTTONS ─────────────────────────────────── */
:root {
  --btn-gradient: linear-gradient(90deg, #6FBB59 0%, #159D91 45%, #0750AD 100%);
}

/* Button and mobile-nav classes (.wq-btn-*, .wq-hamburger, .wq-mobile-menu)
   are intentionally not redefined here — they're byte-for-byte identical
   to css/index.css and css/nav-footer.css, so this page inherits the
   shared button look/behavior directly rather than duplicating it. */

/* ── TICKER ──────────────────────────────────── */
.wq-ticker { background: var(--green-900); color: white; padding: 14px 0; overflow: hidden; }
.wq-ticker-track { display: flex; gap: 0; animation: ticker 30s linear infinite; white-space: nowrap; width: max-content; }
.wq-ticker-track:hover { animation-play-state: paused; }
.wq-ticker-item { display: flex; align-items: center; gap: 10px; padding: 0 28px; font-size: .875rem; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.wq-ticker-item .dot { width: 6px; height: 6px; background: var(--green-400); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HERO ────────────────────────────────────── */
.wq-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 32px 80px;
  background: linear-gradient(160deg, var(--green-50) 0%, var(--bg) 50%, white 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.wq-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.12) 0%, transparent 70%);
  pointer-events: none;
}
.wq-hero-inner {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.wq-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.wq-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin: 0 auto 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wq-hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--green-900);
  margin: 0 auto 24px;
  text-align: center;
  max-width: 880px;
}
.wq-hero h1 span { color: var(--green-500); }
.wq-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.75;
  text-align: center;
}
.wq-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 auto;
}
.wq-hero-visual { position: relative; }
.wq-hero-mockup { background: white; border-radius: 20px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--border); overflow: hidden; }
.wq-hero-mockup-bar { background: var(--green-900); padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.wq-hero-mockup-bar span { width: 10px; height: 10px; border-radius: 50%; }
.wq-hero-mockup-bar span:nth-child(1) { background: #ff5f57; }
.wq-hero-mockup-bar span:nth-child(2) { background: #ffbd2e; }
.wq-hero-mockup-bar span:nth-child(3) { background: #28c840; }
.wq-hero-mockup-bar .wq-url { flex: 1; background: rgba(255,255,255,.1); border-radius: 6px; padding: 4px 12px; font-size: .75rem; color: rgba(255,255,255,.5); font-family: var(--mono); margin-left: 8px; }
.wq-mockup-body { padding: 24px; background: var(--bg); }
.wq-mockup-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.wq-mockup-stat { background: white; border-radius: 10px; padding: 14px; border: 1px solid var(--border); }
.wq-mockup-stat .label { font-size: .7rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.wq-mockup-stat .val { font-size: 1.4rem; font-weight: 800; color: var(--green-700); margin-top: 2px; }
.wq-mockup-stat .badge { display: inline-block; font-size: .65rem; font-weight: 700; padding: 2px 7px; border-radius: 100px; background: var(--green-100); color: var(--green-600); margin-top: 4px; }
.wq-mockup-map { background: white; border-radius: 10px; padding: 16px; border: 1px solid var(--border); }
.wq-mockup-map-placeholder { background: linear-gradient(135deg, var(--green-50) 0%, var(--green-100) 100%); border-radius: 8px; height: 140px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.wq-map-route { position: absolute; }
.wq-map-pin { width: 10px; height: 10px; background: var(--green-500); border-radius: 50%; border: 2px solid white; box-shadow: 0 2px 6px rgba(0,0,0,.2); position: absolute; }
.wq-map-label { font-size: .65rem; color: var(--text-light); font-weight: 600; }

/* ── TRUSTED BY ──────────────────────────────── */
.wq-trusted { padding: 40px 0 10px; background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.wq-trusted-label { text-align: center; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); margin-bottom: 32px; }
/* .wq-logos-track { display: flex; gap: 0; animation: logos 24s linear infinite; width: max-content; } */
/* .wq-logos-track:hover { animation-play-state: paused; } */
.wq-logo-item { padding: 0 48px; display: flex; align-items: center; }
.wq-logo-item:hover { opacity: 1; filter: grayscale(0); }
.wq-logo-item .logo-text { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
@keyframes logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ────────────────────────────────── */
.wq-section { padding: 40px 32px; }
.wq-section-inner { max-width: 1280px; margin: 0 auto; }
.wq-section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green-600); margin-bottom: 14px; }
.wq-section-tag::before { content: ''; width: 20px; height: 2px; background: var(--green-400); border-radius: 2px; }
h2.wq-section-title { font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--green-900); margin-bottom: 16px; }
.wq-section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.wq-section-header { margin-bottom: 56px; }
.wq-section-header.center { text-align: center; }
.wq-section-header.center .wq-section-tag { justify-content: center; }
.wq-section-header.center .wq-section-sub { margin: 0 auto; }

/* ── PLATFORM SECTION ────────────────────────── */
.wq-platform { background: white; }
.wq-platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wq-platform-tabs { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.wq-tab { border: none; background: none; text-align: left; padding: 16px 20px; border-radius: var(--radius); cursor: pointer; transition: background .2s; font-family: var(--font); border-left: 3px solid transparent; }
.wq-tab:hover { background: var(--green-50); }
.wq-tab.active { background: var(--green-50); border-left-color: var(--green-500); }
.wq-tab .tab-title { font-weight: 700; font-size: .95rem; color: var(--green-900); }
.wq-tab .tab-desc {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);

  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* Description should show only on hover/focus, not by default */
.wq-tab:hover .tab-desc,
.wq-tab:focus-within .tab-desc {
  max-height: 90px;
  opacity: 1;
  transform: translateY(0);
}
.wq-tab {
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.wq-tab:hover {
  background: var(--green-50);
  border-left-color: var(--green-500);
  box-shadow: 0 18px 45px rgba(10, 32, 22, 0.10);
  transform: translateY(-2px);
}
.wq-tab-visual { position: relative; border-radius: 20px; overflow: hidden; background: var(--bg); box-shadow: var(--shadow-lg); }
.wq-tab-panel { display: none; }
.wq-tab-panel.active { display: block; }

/* ── FEATURE BLOCKS ──────────────────────────── */
.wq-feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 80px 32px; }
.wq-feature-block.reverse { direction: rtl; }
.wq-feature-block.reverse > * { direction: ltr; }
.wq-feature-block-inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.wq-feature-text h2 { font-size: clamp(1.7rem, 2.5vw, 2.4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: var(--green-900); margin-bottom: 16px; }
.wq-feature-text p { color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; font-size: 1.02rem; }
.wq-feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.wq-feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--text-muted); }
.wq-feature-list li::before { content: ''; width: 20px; height: 20px; background: var(--green-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2316a34a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.wq-visual-card { background: white; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.wq-visual-card-header { background: linear-gradient(135deg, var(--green-700), var(--green-500)); padding: 24px; color: white; }
.wq-visual-card-header h3 { font-size: 1rem; font-weight: 700; }
.wq-visual-card-header p { font-size: .85rem; opacity: .8; margin-top: 4px; }
.wq-visual-card-body { padding: 20px; }

/* ── STATS ───────────────────────────────────── */
.wq-stats { background: var(--green-900); padding: 80px 32px; }
.wq-stats-inner { max-width: 1280px; margin: 0 auto; text-align: center; }
.wq-stats-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--green-400); margin-bottom: 12px; }
.wq-stats-subtitle { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 60px; letter-spacing: -.02em; }
.wq-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.wq-stat-item { padding: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); transition: background .3s; }
.wq-stat-item:hover { background: rgba(255,255,255,.07); }
.wq-stat-num { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 800; color: var(--green-400); letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.wq-stat-label { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.7); }

/* ── TESTIMONIALS ────────────────────────────── */
.wq-testimonials { background: var(--bg); }
.wq-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wq-testimonial-card { background: white; border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.wq-testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.wq-testimonial-card .stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.wq-testimonial-card blockquote { font-size: .95rem; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.wq-testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.wq-testimonial-card .author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-100); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; color: var(--green-700); flex-shrink: 0; }
.wq-testimonial-card .author-name { font-weight: 700; font-size: .9rem; color: var(--green-900); }
.wq-testimonial-card .author-role { font-size: .8rem; color: var(--text-light); }

/* ── CTA BANNER ──────────────────────────────── */
.wq-cta { background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%); padding: 40px 32px 80px; text-align: center; }
.wq-cta-inner { max-width: 680px; margin: 0 auto; }
.wq-cta h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: white; margin-bottom: 14px; letter-spacing: -.03em; }
.wq-cta p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 36px; }
.wq-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* .wq-btn-white / .wq-btn-outline-white intentionally not redefined —
   inherits the shared gradient look from css/index.css. */

/* ── FOOTER ──────────────────────────────────── */
.wq-footer { background: var(--green-900); color: rgba(255,255,255,.75); }
.wq-footer-top { max-width: 1280px; margin: 0 auto; padding: 72px 32px 48px; display: grid; grid-template-columns: 280px 1fr; gap: 64px; }
.wq-footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,.5); }
.wq-social { display: flex; gap: 14px; margin-top: 24px; }
.wq-social a { color: rgba(255,255,255,.4); transition: color .2s; }
.wq-social a:hover { color: var(--green-400); }
.wq-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.wq-footer-col h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.wq-footer-col a { display: block; font-size: .875rem; color: rgba(255,255,255,.6); padding: 4px 0; transition: color .2s; }
.wq-footer-col a:hover { color: var(--green-400); }
.wq-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 32px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.35); }
.wq-footer-bottom strong { color: rgba(255,255,255,.6); }

/* ── PAGE HERO (inner pages) ─────────────────── */
.wq-page-hero { padding: calc(var(--nav-h) + 80px) 32px 80px; background: linear-gradient(160deg, var(--green-50) 0%, white 100%); text-align: center; }
.wq-page-hero-inner { max-width: 760px; margin: 0 auto; }
.wq-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--green-900); margin-bottom: 16px; }
.wq-page-hero p { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }

/* ── CARDS ───────────────────────────────────── */
.wq-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wq-card { background: white; border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s, border-color .3s; }
.wq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green-300); }
.wq-card-icon { width: 48px; height: 48px; background: var(--green-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--green-600); }
.wq-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-900); margin-bottom: 8px; }
.wq-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }
.wq-card .wq-link { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 700; color: var(--green-600); margin-top: 14px; transition: gap .2s; }
.wq-card .wq-link:hover { gap: 10px; }

/* ── ANIMATIONS ──────────────────────────────── */
.anim { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.anim.anim-in { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }
.anim-delay-5 { transition-delay: .5s; }

/* ── FORM ────────────────────────────────────── */
.wq-form { display: grid; gap: 16px; }
.wq-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wq-field { display: flex; flex-direction: column; gap: 6px; }
.wq-field label { font-size: .85rem; font-weight: 600; color: var(--text); }
.wq-field input, .wq-field textarea, .wq-field select { padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: .9rem; color: var(--text); background: white; transition: border-color .2s, box-shadow .2s; outline: none; }
.wq-field input:focus, .wq-field textarea:focus, .wq-field select:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.wq-field textarea { resize: vertical; min-height: 120px; }

/* ── MISC ────────────────────────────────────── */
.wq-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px; font-size: .78rem; font-weight: 700; background: var(--green-100); color: var(--green-700); }
.wq-divider { height: 1px; background: var(--border); margin: 0; }
.wq-bg-white { background: white; }
.wq-bg-dark { background: var(--green-900); }
.wq-text-center { text-align: center; }
.wq-mt-0 { margin-top: 0 !important; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
  .wq-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .wq-platform-grid { grid-template-columns: 1fr; gap: 32px; }
  .wq-feature-block { display: flex; flex-direction: column; gap: 40px; }
  .wq-feature-block.reverse { direction: ltr; }
  .wq-stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .wq-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .wq-cards-grid { grid-template-columns: 1fr 1fr; }
  .wq-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .wq-footer-cols { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .wq-nav-links, .wq-nav-actions { display: none; }
  .wq-hamburger { display: flex; margin-left: auto; }
  .wq-stats-grid { grid-template-columns: 1fr; }
  .wq-testimonials-grid { grid-template-columns: 1fr; }
  .wq-cards-grid { grid-template-columns: 1fr; }
  .wq-footer-cols { grid-template-columns: 1fr 1fr; }
  .wq-form-row { grid-template-columns: 1fr; }
  .wq-section { padding: 64px 20px; }
  .wq-hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
}
/* ── RESPONSIVE ENHANCEMENTS ─────────────────────────────── */

/* Utility classes for inline-styled feature blocks */
.wq-fb-section { padding: 80px 32px; }
.wq-fb-grid    { max-width: 1280px; margin: 0 auto; }

/* ── Tablet (≤1024px) ──────────────────────────────────── */
@media (max-width: 1024px) {
  .wq-fb-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
}

/* ── Mobile (≤768px) ───────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Nav */
  /* .wq-nav-inner { padding: 0 20px; } */

  /* Hero */
  .wq-hero { padding: calc(var(--nav-h) + 32px) 20px 60px; }
  .wq-hero-actions { flex-direction: column; align-items: stretch; }
  .wq-hero-actions a { width: 100%; text-align: center; display: flex; justify-content: center; box-sizing: border-box; }
  .wq-hero-pills { gap: 6px; }
  .wq-pill { font-size: .72rem; padding: 5px 11px; }
  .wq-floating-badge { display: none !important; }

  /* News strip */
  .wq-news-strip { padding: 0 20px; }
  .wq-news-strip-inner { flex-direction: column; align-items: flex-start; }
  .wq-news-label { border-right: none; border-bottom: 1px solid var(--border); padding: 10px 0 8px; margin-right: 0; width: 100%; }
  .wq-news-item { padding: 8px 0 12px; font-size: .82rem; }

  /* Sections */
  .wq-section { padding: 56px 20px; }
  .wq-fb-section { padding: 48px 20px !important; }
  .wq-fb-grid { gap: 32px !important; }

  /* Platform tabs */
  .wq-tab { padding: 12px 16px; }

  /* Stats */
  .wq-stats { padding: 56px 20px; }
  .wq-stats-grid { gap: 16px; }

  /* Testimonials */
  .wq-testimonials-grid { gap: 16px; }

  /* CTA */
  .wq-cta { padding: 56px 20px; }
  .wq-cta-actions { flex-direction: column; align-items: stretch; }
  .wq-btn-white,
  .wq-btn-outline-white { width: 100%; text-align: center; display: block; }

  /* Footer */
  .wq-footer-top    { padding: 48px 20px 32px; }
  .wq-footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 16px 20px; }

  /* Trusted logos */
  .wq-trusted { padding: 40px 0; }
}

/* ── Small mobile (≤480px) ─────────────────────────────── */
@media (max-width: 480px) {
  /* Nav */
  /* .wq-nav-inner { padding: 0 16px; } */

  /* Hero */
  .wq-hero { padding: calc(var(--nav-h) + 24px) 16px 48px; }
  .wq-hero h1 { font-size: 2rem; }

  /* Mockup: reduce padding and stat columns */
  .wq-mockup-body { padding: 16px; }
  .wq-mockup-stat-row { grid-template-columns: 1fr 1fr !important; }


  /* Sections */
  .wq-section    { padding: 44px 16px; }
  .wq-fb-section { padding: 36px 16px !important; }
  .wq-stats      { padding: 44px 16px; }
  .wq-cta        { padding: 44px 16px; }

  /* News */
  .wq-news-strip { padding: 0 16px; }

  /* Module cards */
  .wq-module-card { padding: 18px 12px; }
  .wq-module-grid { gap: 12px; }

  /* Footer */
  .wq-footer-top    { padding: 40px 16px 28px; }
  .wq-footer-bottom { padding: 14px 16px; }

  /* About team: 1 col on very small mobile */
  .wq-about-team-grid { grid-template-columns: 1fr; }

  /* Page heroes on very small screens */
  .about-hero,
  .contact-hero,
  .par-hero,
  .sol-hero,
  .wq-product-hero { padding: calc(var(--nav-h) + 24px) 16px 40px !important; }

  /* Contact form card */
  .contact-form-card { padding: 24px 16px; }
  .contact-grid      { padding: 24px 16px !important; }

  /* Product & solution sections */
  .wq-product-section { padding: 36px 16px !important; }
  .sol-section        {padding: 10px 16px 44px !important; }

  /* ── SMALL MOBILE TYPOGRAPHY REFINEMENT ── */

body {
  font-size: 14.5px;
  line-height: 1.65;
}

.wq-hero h1 {
  font-size: 1.9rem;
  line-height: 1.2;
}

h2.wq-section-title {
  font-size: 1.5rem;
  line-height: 1.25;
}

.wq-hero p,
.wq-section-sub {
  font-size: 0.92rem;
  line-height: 1.7;
}

.wq-feature-text p {
  font-size: 0.9rem;
}

.wq-card p {
  font-size: 0.88rem;
}

.wq-testimonial-card blockquote {
  font-size: 0.9rem;
}
}

/* ── Inner-page grid classes (add to HTML elements) ─────────── */

/* about.html */
.wq-about-mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wq-about-team-grid    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wq-about-sustain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* partnership.html */
.wq-par-types-grid        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wq-par-testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* solutions.html */
.wq-sol-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ── Inner-page responsive overrides ───────────────────────── */
@media (max-width: 1024px) {
  .wq-about-mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .wq-about-sustain-grid { grid-template-columns: 1fr; gap: 40px; }
  .wq-par-types-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* About */
  .wq-about-mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .wq-about-team-grid    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wq-about-sustain-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Partnership */
  .wq-par-types-grid        { grid-template-columns: 1fr; gap: 20px; }
  .wq-par-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Solutions */
  .wq-sol-compare-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Page hero padding */
  .about-hero,
  .contact-hero,
  .par-hero,
  .sol-hero,
  .wq-product-hero { padding: calc(var(--nav-h) + 40px) 20px 48px !important; }

  /* Contact grid */
  .contact-grid { padding: 40px 20px !important; }

  /* Product & solution sections */
  .wq-product-section { padding: 48px 20px !important; }
  .sol-section        { padding: 56px 20px !important; }

  /* CTA button width fix */
  .wq-btn-white,
  .wq-btn-outline-white { box-sizing: border-box; }

  /* ── MOBILE TYPOGRAPHY IMPROVEMENTS ── */

body {
  font-size: 15px;
  line-height: 1.65;
}

/* Headings */
.wq-hero h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2.wq-section-title {
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* Paragraphs */
.wq-hero p,
.wq-section-sub {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Feature text */
.wq-feature-text p {
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Cards */
.wq-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.wq-card p {
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Testimonials */
.wq-testimonial-card blockquote {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Buttons text */
.wq-btn-primary,
.wq-btn-outline,
.wq-btn-white,
.wq-btn-outline-white {
  font-size: 0.9rem;
}
}
/* ── UNIVERSAL BUTTON HOVER FIX ── */

/* Ensure all clickable buttons get transition */
button,
a.wq-btn-primary,
a.wq-btn-outline,
a.wq-btn-ghost,
a.wq-btn-white,
a.wq-btn-outline-white {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

/* Hover effect */
button:hover,
a.wq-btn-primary:hover,
a.wq-btn-outline:hover,
a.wq-btn-ghost:hover,
a.wq-btn-white:hover,
a.wq-btn-outline-white:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
} 
/* WASTRAQ DYNAMIC RESPONSIVE FIX
   Paste this at the very bottom of wastraq.css
*/

/* 1. Dynamic container sizes */
:root {
  --container-max: 1480px;
  --container-wide: 1640px;
}

/* 2. Make main site containers wider on desktop */
.wq-container-fluid,
.wq-nav-inner,
.wq-section-inner,
.wq-feature-block-inner,
.wq-stats-inner,
.wq-footer-top,
.wq-footer-bottom,
.wq-fb-grid {
  width: min(100% - 40px, var(--container-max));
  max-width: var(--container-max);
  margin-inline: auto;
}

/* Homepage news strip also needs dynamic width */
.wq-news-strip-inner {
  width: min(100% - 40px, var(--container-max)) !important;
  max-width: var(--container-max) !important;
  margin-inline: auto !important;
}

/* 3. Hero Centered Layout */
.wq-hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: clamp(60px, 12vh, 120px) 24px 80px !important;
  background: linear-gradient(160deg, var(--green-50) 0%, var(--bg) 50%, white 100%);
  position: relative;
  overflow: hidden;
}

.wq-hero-inner {
  width: 100% !important;
  max-width: 960px !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  grid-template-columns: none !important;
}

.wq-hero-content {
  width: 100% !important;
  max-width: 900px !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.wq-hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
}

.wq-hero h1 {
  width: 100% !important;
  max-width: 880px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.wq-hero p,
#wq-hero-subtitle {
  width: 100% !important;
  max-width: 680px !important;
  margin-inline: auto !important;
  text-align: center !important;
}

.wq-hero-actions {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
}

.wq-hero-pills {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  margin-inline: auto !important;
}

/* 6. Ultra-wide screens */
@media (min-width: 1800px) {
  .wq-container-fluid,
  .wq-nav-inner,
  .wq-section-inner,
  .wq-feature-block-inner,
  .wq-stats-inner,
  .wq-footer-top,
  .wq-footer-bottom,
  .wq-fb-grid {
    width: min(100% - 56px, var(--container-wide));
    max-width: var(--container-wide);
  }

  .wq-news-strip-inner {
    width: min(100% - 56px, var(--container-wide)) !important;
    max-width: var(--container-wide) !important;
  }
}

/* 7. Tablet */
@media (max-width: 1024px) {
  .wq-hero {
    padding: 56px 24px 64px !important;
  }

  .wq-hero-inner {
    width: min(100%, 760px);
    max-width: 760px;
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }

  .wq-hero-content {
    max-width: 720px;
    margin-inline: auto;
  }

  .wq-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .wq-hero-actions,
  .wq-hero-pills {
    justify-content: center;
  }

  .wq-hero-visual {
    max-width: 680px;
    justify-self: center;
  }
}

/* 8. Mobile */
@media (max-width: 600px) {
  .wq-container-fluid,
  .wq-nav-inner,
  .wq-section-inner,
  .wq-feature-block-inner,
  .wq-stats-inner,
  .wq-footer-top,
  .wq-footer-bottom,
  .wq-fb-grid {
    width: min(100% - 32px, var(--container-max));
  }

  .wq-news-strip-inner {
    width: min(100% - 32px, var(--container-max)) !important;
  }

  .wq-hero {
    padding: 38px 16px 46px !important;
  }

  .wq-hero-inner {
    width: 100%;
    gap: 32px;
  }

  .wq-hero h1 {
    font-size: 2.15rem;
    line-height: 1.08;
  }

  .wq-hero p {
    font-size: 0.95rem;
  }

  .wq-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wq-hero-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .wq-mockup-stat-row {
    grid-template-columns: 1fr;
  }
}
/* HERO REAL VIDEO REPLACEMENT */

.wq-hero-video-card {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  background: #eaf8ef;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  position: relative;
}

.wq-hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.18),
      rgba(255,255,255,0) 36%
    );
}

.wq-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Make video bigger on large desktop */
@media (min-width: 1440px) {
  .wq-hero-video-card {
    max-width: 720px;
  }
}

@media (min-width: 1800px) {
  .wq-hero-video-card {
    max-width: 780px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .wq-hero-video-card {
    max-width: 680px;
    margin-inline: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .wq-hero-video-card {
    aspect-ratio: 16 / 11;
    border-radius: 16px;
  }
}

/* Respect reduced motion users */
@media (prefers-reduced-motion: reduce) {
  .wq-hero-video {
    animation: none;
  }
}
/* =========================================================
   PREMIUM HERO VIDEO GLASS EFFECT
   Paste this at the bottom of wastraq.css
========================================================= */

/* Hero visual wrapper */
.wq-hero-visual {
  position: relative;
  isolation: isolate;
}

/* Soft background glow behind video */
.wq-hero-visual::before {
  content: "";
  position: absolute;
  inset: -45px -55px;
  z-index: -2;
  border-radius: 42px;
  background:
    radial-gradient(circle at 65% 20%, rgba(34, 197, 94, 0.22), transparent 42%),
    radial-gradient(circle at 20% 80%, rgba(22, 101, 52, 0.16), transparent 48%);
  filter: blur(18px);
  opacity: 0.9;
}

/* Premium glass card */
.wq-hero-mockup,
.wq-hero-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 30px 80px rgba(10, 32, 22, 0.22),
    0 12px 32px rgba(10, 32, 22, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transform: translateZ(0);
}

/* Thin premium green outline */
.wq-hero-mockup::before,
.wq-hero-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(34, 197, 94, 0.22);
}

/* Elegant highlight shine */
.wq-hero-mockup::after,
.wq-hero-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  /* background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.12) 22%,
      transparent 48%
    ); */
  opacity: 0.7;
}

/* Browser top bar glass effect */
.wq-hero-mockup-bar {
  height: 42px;
  padding: 0 18px !important;
  background:
    linear-gradient(
      180deg,
      rgba(10, 32, 22, 0.96),
      rgba(10, 32, 22, 0.88)
    ) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* URL pill inside top bar */
.wq-hero-mockup-bar .wq-url {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(220, 252, 231, 0.82) !important;
  letter-spacing: 0.04em;
}

/* Video frame */
.wq-video-frame,
.wq-hero-video-card {
  background: rgba(240, 253, 244, 0.7);
}

/* Real video */
.wq-dashboard-video,
.wq-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.05) brightness(1.12);
  transform: translateZ(0) scale(1.002);
  backface-visibility: hidden;
}

/* Soft video overlay for premium cinematic look */
.wq-video-frame::after,
.wq-hero-video-card .wq-hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Moving glass light streak */
.wq-video-frame::before,
.wq-hero-video-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  z-index: 6;
  width: 70%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.16) 42%,
      rgba(255, 255, 255, 0.34) 50%,
      rgba(255, 255, 255, 0.12) 58%,
      transparent 100%
    );
  transform: skewX(-18deg);
  animation: wqHeroVideoShine 7s ease-in-out infinite;
}

@keyframes wqHeroVideoShine {
  0%, 55% {
    left: -120%;
  }

  100% {
    left: 140%;
  }
}

/* Floating savings badge - glass style */
.wq-floating-badge {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 20px 45px rgba(10, 32, 22, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

/* Slight hover lift on desktop */
@media (hover: hover) {
  .wq-hero-mockup,
  .wq-hero-video-card {
    transition:
      transform 0.45s ease,
      box-shadow 0.45s ease,
      border-color 0.45s ease;
  }

  /* .wq-hero-mockup:hover,
  .wq-hero-video-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(34, 197, 94, 0.36);
    box-shadow:
      0 38px 95px rgba(10, 32, 22, 0.26),
      0 16px 38px rgba(10, 32, 22, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.78);
  } */
}

/* Mobile: keep it clean, not too heavy */
@media (max-width: 768px) {
  .wq-hero-visual::before {
    inset: -24px;
    filter: blur(14px);
  }

  .wq-hero-mockup,
  .wq-hero-video-card {
    border-radius: 18px !important;
    box-shadow:
      0 18px 50px rgba(10, 32, 22, 0.18),
      0 8px 22px rgba(10, 32, 22, 0.1);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wq-video-frame::before,
  .wq-hero-video-card::before {
    animation: none;
    display: none;
  }

  .wq-hero-mockup,
  .wq-hero-video-card {
    transition: none;
  }
}
/* FORCE SAME HERO VIDEO SIZE ON SERVER */

.wq-hero-visual {
  width: 100%;
  max-width: 600px !important;
  justify-self: end;
  position: relative;
}

.wq-hero-video-card,
.wq-hero-mockup,
.media-shell {
  width: 100%;
  max-width: 600px !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
}

.wq-hero-video,
.wq-dashboard-video,
.hero-video-wrap video,
.wq-hero-video-card video,
.wq-hero-mockup video,
.media-shell video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.hero-video-wrap {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
}

@media (min-width: 1440px) {
  .wq-hero-visual,
  .wq-hero-video-card,
  .wq-hero-mockup,
  .media-shell {
    max-width: 640px !important;
  }
}

@media (max-width: 1024px) {
  .wq-hero-visual,
  .wq-hero-video-card,
  .wq-hero-mockup,
  .media-shell {
    max-width: 620px !important;
    justify-self: center;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .wq-hero-visual,
  .wq-hero-video-card,
  .wq-hero-mockup,
  .media-shell {
    max-width: 100% !important;
  }
}
/* MAKE HERO VIDEO MUCH TALLER */

.wq-hero-visual {
  width: 100%;
  max-width: 760px !important;
  justify-self: end;
  position: relative;
}

.wq-hero-mockup,
.wq-hero-video-card,
.media-shell {
  width: 100%;
  max-width: 760px !important;
  overflow: hidden !important;
  border-radius: 26px !important;
}

/* This is the main height control */
.hero-video-wrap,
.wq-hero-video-card {
  aspect-ratio: 16 / 13 !important;
  height: auto !important;
}

.hero-video-wrap video,
.wq-hero-video,
.wq-dashboard-video,
.wq-hero-mockup video,
.media-shell video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Large desktop */
@media (min-width: 1440px) {
  .wq-hero-visual,
  .wq-hero-mockup,
  .wq-hero-video-card,
  .media-shell {
    max-width: 820px !important;
  }

  .hero-video-wrap,
  .wq-hero-video-card {
    aspect-ratio: 16 / 13.5 !important;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .wq-hero-visual,
  .wq-hero-mockup,
  .wq-hero-video-card,
  .media-shell {
    max-width: 700px !important;
    justify-self: center;
    margin-inline: auto;
  }

  .hero-video-wrap,
  .wq-hero-video-card {
    aspect-ratio: 16 / 12.5 !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .wq-hero-visual,
  .wq-hero-mockup,
  .wq-hero-video-card,
  .media-shell {
    max-width: 100% !important;
  }

  .hero-video-wrap,
  .wq-hero-video-card {
    aspect-ratio: 19 / 17 !important;
  }
}

/* === cookie-consent.css === */
#wastraq-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999999;
  display: none;
}

.wastraq-cookie-box {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #061b22, #0b3431);
  color: #ffffff;
  border: 1px solid rgba(79, 174, 91, 0.35);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wastraq-cookie-box h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.wastraq-cookie-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 14px;
}

.wastraq-cookie-box a {
  color: #4fae5b;
  font-weight: 700;
  text-decoration: none;
}

.wastraq-cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.wastraq-cookie-actions button {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
}

#wastraq-accept-cookies {
  background: #4fae5b;
  color: #041017;
}

#wastraq-reject-cookies {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

@media (max-width: 768px) {
  .wastraq-cookie-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .wastraq-cookie-actions {
    width: 100%;
  }

  .wastraq-cookie-actions button {
    flex: 1;
  }
}

/* === wastraq-intro.css === */
/* ── WASTRAQ CINEMATIC INTRO & BIDIRECTIONAL SCROLL ANIMATION ── */

/* Lock body viewport on Stage 1 to prevent scrollbars or edge strips */
body.intro-active,
body.hero-pending {
  overflow: hidden !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fullscreen Overlay Intro Container (Landfill First Screen) */
#wastraq-intro-experience {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  background-color: #0b0f14;
  overflow: hidden;
  margin: 0;
  padding: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s;
  will-change: transform, opacity;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

#wastraq-intro-experience.intro-dismissed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Landfill Background View with Full-Bleed Viewport Coverage */
.wq-intro-stage1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wq-intro-bg-wrapper {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  overflow: hidden;
  z-index: 1;
}

.wq-intro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(0.86) contrast(1.1) saturate(1.04);
  transform-origin: 52% 64%;
  transform: scale(1.01) translate(0, 0);
  will-change: transform;
  animation: loaderRoadMove 14s ease-in-out infinite alternate;
}

/* Subtle, realistic movement of front loader along the landfill road */
@keyframes loaderRoadMove {
  0% {
    transform: scale(1.01) translate(0, 0);
  }
  25% {
    transform: scale(1.02) translate(-0.35%, 0.38%);
  }
  50% {
    transform: scale(1.034) translate(-0.75%, 0.78%);
  }
  75% {
    transform: scale(1.044) translate(-1.05%, 1.1%);
  }
  100% {
    transform: scale(1.052) translate(-1.35%, 1.4%);
  }
}

/* Subtle Excavator Working Micro-Motion in Midground */
.wq-excavator-motion {
  position: absolute;
  top: 24%;
  left: 40%;
  width: 48%;
  height: 32%;
  background: radial-gradient(ellipse at 15% 45%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  animation: excavatorWorkingVibe 8s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes excavatorWorkingVibe {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-1.5px) scale(1.008);
    opacity: 0.85;
  }
  100% {
    transform: translateY(1px) scale(1.002);
    opacity: 0.6;
  }
}

/* Natural Organic Steam & Smoke Plumes Drifting and Rising Gently */
.wq-smoke-plume {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  will-change: transform, opacity;
}

/* Plume 1: Rising from the left excavator / waste heap mound */
.wq-smoke-plume.plume-left {
  top: 14%;
  left: 28%;
  width: 26%;
  height: 38%;
  background: radial-gradient(ellipse 65% 55% at 50% 65%, rgba(240, 245, 240, 0.16) 0%, rgba(220, 230, 225, 0.08) 45%, transparent 75%);
  filter: blur(12px);
  animation: smokeRiseLeft 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes smokeRiseLeft {
  0% {
    transform: translateY(6px) scale(0.92);
    opacity: 0.25;
  }
  45% {
    transform: translateY(-14px) scale(1.06) rotate(1deg);
    opacity: 0.65;
  }
  100% {
    transform: translateY(-34px) scale(1.22) rotate(2.5deg);
    opacity: 0;
  }
}

/* Plume 2: Gentle heat haze & steam across center-right waste mounds */
.wq-smoke-plume.plume-center {
  top: 28%;
  left: 54%;
  width: 32%;
  height: 28%;
  background: radial-gradient(ellipse 70% 50% at 50% 55%, rgba(240, 245, 240, 0.12) 0%, rgba(220, 230, 225, 0.05) 50%, transparent 80%);
  filter: blur(15px);
  animation: smokeRiseCenter 12s cubic-bezier(0.4, 0, 0.2, 1) infinite 2s;
}

@keyframes smokeRiseCenter {
  0% {
    transform: translateY(4px) scale(0.95);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-16px) scale(1.08);
    opacity: 0.55;
  }
  100% {
    transform: translateY(-30px) scale(1.18);
    opacity: 0;
  }
}

/* Plume 3: Distant ambient mist in the valley */
.wq-smoke-plume.plume-right {
  top: 32%;
  left: 70%;
  width: 24%;
  height: 22%;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(240, 245, 240, 0.1) 0%, transparent 70%);
  filter: blur(10px);
  animation: smokeRiseRight 10s ease-in-out infinite alternate 1s;
}

@keyframes smokeRiseRight {
  0% {
    transform: translateY(0) scale(0.98);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-12px) scale(1.1);
    opacity: 0.65;
  }
}

.wq-intro-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(10, 20, 15, 0.18) 0%, rgba(4, 10, 8, 0.58) 100%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.48) 100%);
  z-index: 4;
  pointer-events: none;
}

.wq-intro-steam-fx {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 60%, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
  z-index: 3;
  animation: steamPulse 6s ease-in-out infinite alternate;
}

@keyframes steamPulse {
  0% { opacity: 0.4; transform: translateY(0); }
  100% { opacity: 0.85; transform: translateY(-15px) scale(1.05); }
}

/* Center Typewriter Text (First Screen) */
.wq-intro-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 1200px;
  margin-bottom: 70px;
}

.wq-typewriter-heading {
  font-size: clamp(1.2rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.9);
  min-height: 1.3em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  max-width: 95vw;
}

.wq-typewriter-text {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wq-typewriter-cursor {
  display: none !important;
}

/* Floating White Taskbar Anchor */
.wq-taskbar-anchor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wq-taskbar-anchor.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wq-scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  animation: bounceHint 2s infinite ease-in-out;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* The White Colour Taskbar */
.wq-white-taskbar {
  width: min(92%, 520px);
  background: #ffffff;
  border-radius: 36px 36px 0 0;
  padding: 16px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.28), 0 0 1px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: none;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.wq-white-taskbar:hover {
  transform: translateY(-4px);
  box-shadow: 0 -12px 40px rgba(34, 197, 94, 0.35);
}

.wq-taskbar-text {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0a2016;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── FLYING & ROTATING CIRCULAR LOGO (CENTER <-> TOP-LEFT NAVBAR) ── */
#wq-intro-flying-logo-wrap {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: top 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              visibility 0.3s ease;
}

/* Larger Center Logo state */
#wq-intro-flying-logo-wrap.animating-center {
  opacity: 1;
  visibility: visible;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 195px;
  height: 195px;
}

@media (max-width: 768px) {
  #wq-intro-flying-logo-wrap.animating-center {
    width: 155px;
    height: 155px;
  }
}

#wq-intro-flying-logo-wrap.flying-to-nav {
  opacity: 1;
  visibility: visible;
  top: 36px;
  left: calc(max(32px, (100vw - 1280px) / 2 + 32px));
  transform: translate(0, -50%);
  width: 38px;
  height: 38px;
}

@media (max-width: 900px) {
  #wq-intro-flying-logo-wrap.flying-to-nav {
    left: 20px;
    top: 36px;
    width: 34px;
    height: 34px;
  }
}

/* Flying Logo Inner Container */
.wq-flying-logo-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.25s ease;
}

/* Centered WASTRAQ Typography Text underneath the logo */
.wq-flying-logo-text-wrap {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 14px);
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.25s ease;
  z-index: 3;
}

.wq-centered-logo-text {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.015em;
  background: linear-gradient(90deg, #6FBB59 0%, #159D91 32%, #1E88A8 58%, #0750AD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

@media (max-width: 768px) {
  .wq-centered-logo-text {
    font-size: 28px;
  }
}

/* When text is faded out or flying to nav */
#wq-intro-flying-logo-wrap.text-faded-out .wq-flying-logo-text-wrap,
#wq-intro-flying-logo-wrap.flying-to-nav .wq-flying-logo-text-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate(-50%, 24px) scale(0.94) !important;
}

/* Full Circular PCB Circuit-Board Container & Traces */
.wq-circuit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

@media (max-width: 768px) {
  .wq-circuit-container {
    width: 290px;
    height: 290px;
  }
}

#wq-intro-flying-logo-wrap.animating-center .wq-circuit-container {
  opacity: 1;
}

#wq-intro-flying-logo-wrap.flying-to-nav .wq-circuit-container {
  opacity: 0;
}

.wq-circuit-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Symmetrical PCB traces extending outward with pure transition-based reversibility */
.wq-pcb-trace path {
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  opacity: 0;
  transition: stroke-dashoffset 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.wq-pcb-node {
  transform: scale(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.38s,
              opacity 0.25s ease 0.38s;
}

/* Micro-staggered delays for electronic flow feeling */
.wq-pcb-trace.t-top-1 path, .wq-pcb-trace.t-bot-1 path { transition-delay: 0.02s; }
.wq-pcb-trace.t-top-2 path, .wq-pcb-trace.t-bot-2 path { transition-delay: 0.05s; }
.wq-pcb-trace.t-right-1 path, .wq-pcb-trace.t-left-1 path { transition-delay: 0.04s; }
.wq-pcb-trace.t-right-2 path, .wq-pcb-trace.t-left-2 path { transition-delay: 0.07s; }
.wq-pcb-trace.t-tr-1 path, .wq-pcb-trace.t-bl-1 path { transition-delay: 0.09s; }
.wq-pcb-trace.t-tr-2 path, .wq-pcb-trace.t-bl-2 path { transition-delay: 0.12s; }
.wq-pcb-trace.t-br-1 path, .wq-pcb-trace.t-tl-1 path { transition-delay: 0.10s; }
.wq-pcb-trace.t-br-2 path, .wq-pcb-trace.t-tl-2 path { transition-delay: 0.14s; }
.wq-pcb-trace.t-top-3 path, .wq-pcb-trace.t-bot-3 path { transition-delay: 0.08s; }
.wq-pcb-trace.t-top-4 path, .wq-pcb-trace.t-bot-4 path { transition-delay: 0.11s; }
.wq-pcb-trace.t-right-3 path, .wq-pcb-trace.t-left-3 path { transition-delay: 0.09s; }
.wq-pcb-trace.t-right-4 path, .wq-pcb-trace.t-left-4 path { transition-delay: 0.13s; }

/* When circuit-active is toggled, PCB paths draw outward and connection nodes activate */
#wq-intro-flying-logo-wrap.circuit-active .wq-pcb-trace path {
  stroke-dashoffset: 0;
  opacity: 0.95;
}

#wq-intro-flying-logo-wrap.circuit-active .wq-pcb-node {
  transform: scale(1);
  opacity: 1;
}

/* Once navbar is settled or hero is revealed, hide flying intro logo so only the navbar's single WASTRAQ logo is displayed */
body.navbar-settled #wq-intro-flying-logo-wrap,
body.hero-revealed #wq-intro-flying-logo-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.wq-flying-logo-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(22, 163, 74, 0.4));
  transform-origin: center center;
  transform: rotate(0deg);
  transition: transform 1.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

#wq-intro-flying-logo-wrap.rotating-360 .wq-flying-logo-img {
  transform: rotate(360deg);
}

/* ── NAVBAR HORIZONTAL EXPANSION / REVEAL FROM THE SETTLED LOGO ── */
.wq-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(248, 250, 247, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 12px rgba(10, 32, 22, 0.04) !important;
  transform-origin: left center !important;
  transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease !important;
}

.wq-nav-inner {
  position: relative;
  overflow: visible;
}

/* 1. INITIAL STATE: Hide the entire navbar completely until logo settles */
body.intro-active .wq-nav,
body.hero-pending .wq-nav {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip-path: inset(0 100% 0 0) !important;
  transition: clip-path 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

/* 2. RETRACTING STATE: Navbar smoothly slides back into the logo */
body.nav-retracting .wq-nav {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  clip-path: inset(0 100% 0 0) !important;
  transition: clip-path 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

/* 3. REVEAL STATE: ONLY when logo settles, navbar expands from left to right */
body.navbar-settled .wq-nav,
body.hero-revealed .wq-nav {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  clip-path: inset(0 0 0 0) !important;
  transition: clip-path 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.15s ease !important;
}

/* Static logo inside navbar */
body.intro-active .wq-logo .wq-nav-logo-icon,
body.hero-pending .wq-logo .wq-nav-logo-icon {
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Static logo permanently visible once settled and on all pages */
body.navbar-settled .wq-logo .wq-nav-logo-icon,
body.hero-revealed .wq-logo .wq-nav-logo-icon,
.wq-logo .wq-nav-logo-icon {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Navbar items reveal naturally as the navbar expands from behind the logo */
body.intro-active .wq-logo .logo-text,
body.intro-active .wq-logo .tm,
body.hero-pending .wq-logo .logo-text,
body.hero-pending .wq-logo .tm {
  opacity: 0 !important;
  transform: translateX(-15px) !important;
  transition: opacity 0.3s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

body.intro-active .wq-nav-links,
body.hero-pending .wq-nav-links {
  opacity: 0 !important;
  transform: translateX(-20px) !important;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.intro-active .wq-nav-actions,
body.hero-pending .wq-nav-actions,
body.intro-active .wq-hamburger,
body.hero-pending .wq-hamburger {
  opacity: 0 !important;
  transform: translateX(-25px) !important;
  transition: opacity 0.3s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Expanded state: items settle into place with subtle staggered timing */
body.navbar-settled .wq-logo .logo-text,
body.navbar-settled .wq-logo .tm,
body.hero-revealed .wq-logo .logo-text,
body.hero-revealed .wq-logo .tm {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.04s;
}

body.navbar-settled .wq-nav-links,
body.hero-revealed .wq-nav-links {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

body.navbar-settled .wq-nav-actions,
body.navbar-settled .wq-hamburger,
body.hero-revealed .wq-nav-actions,
body.hero-revealed .wq-hamburger {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

@media (max-width: 900px) {
  #wq-intro-flying-logo-wrap.flying-to-nav {
    left: 20px;
    top: 36px;
    width: 34px;
    height: 34px;
  }
}

/* ── HERO SEQUENTIAL REVEAL & REVERSE ── */
.wq-ticker,
.wq-hero-content,
.wq-hero-visual {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.intro-active .wq-ticker,
body.hero-pending .wq-ticker {
  opacity: 0;
  transform: translateY(-10px);
}

body.intro-active .wq-hero-content,
body.hero-pending .wq-hero-content {
  opacity: 0;
  transform: translateY(20px);
}

body.intro-active .wq-hero-visual,
body.hero-pending .wq-hero-visual {
  opacity: 0;
  transform: translateY(30px);
}

body.hero-revealed .wq-ticker {
  opacity: 1;
  transform: translateY(0);
}

body.hero-revealed .wq-hero-content,
body.hero-revealed .wq-hero-visual {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Headline & Subtitle Typewriter Styling */
.wq-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--green-900);
  min-height: 2.3em;
}

.wq-hero h1 span.green-accent {
  color: var(--green-500);
}

.wq-hero-cursor {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  vertical-align: -0.05em;
  background-color: var(--green-500);
  margin-left: 4px;
  animation: cursorBlink 0.9s infinite;
}

#wq-hero-subtitle {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#wq-hero-subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}

.wq-hero-actions,
.wq-hero-pills {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.wq-hero-actions.visible,
.wq-hero-pills.visible {
  opacity: 1;
  transform: translateY(0);
}


/* === curved-reveal.css === */
.wq-curved-reveal {
  position: relative;
  width: 100%;
  height: 230vh; /* tune as needed: extra height = scroll room for settle/animate/hold/transition */
  min-height: 230vh;
  padding: 0;
  margin: 0;
  /* Pulls this section's pin range up so it engages the instant the previous
     sticky section (Smart Operations) releases, instead of leaving a full
     viewport-height of plain in-flow scrolling — an empty white/grey gap —
     between the two. Standard technique for seamlessly stacking adjacent
     position:sticky scenes.

     NOTE: this must stay at exactly -100vh (not more). A larger negative
     margin seems like an easy way to make this section engage *before* Smart
     Operations finishes, but position:sticky doesn't work that way — until
     this section's own wrapper top reaches the viewport top, its sticky
     child renders at its normal in-flow position instead of pinned full-
     screen, which looks like a broken partial overlap, not a clean rising
     curtain. The actual "green scene already rising as Smart Operations
     exits" effect is done inside Smart Operations' own pinned scene (see
     .wq-smartops-handoff in smart-operations.css/js) so it can be driven by
     transform/height with no sticky-layout side effects, and this section
     picks up cleanly the instant that finishes. */
  margin-top: -100vh;
  margin-top: -100dvh;
  overflow: visible;
  background: #0f172a;
  /* Default hidden for the same reason as .wq-reveal-card below: this
     wrapper's own opaque background would otherwise bleed into view (in its
     normal in-flow position) before the card is actually stuck. Flipped to
     visible by curved-reveal.js the instant it genuinely engages. */
  visibility: hidden;
}

.wq-reveal-card {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #112d2c 100%);
  box-shadow: none;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
  /* Default hidden: this section's wrapper is pulled up to close the gap to
     Smart Operations (see .wq-curved-reveal's margin-top), which means this
     card would otherwise bleed into view from the bottom, in its normal
     (not-yet-stuck) flow position, well before it's actually meant to appear
     — covering Smart Operations' own still-active content underneath.
     curved-reveal.js flips this to visible the instant the card is genuinely
     stuck (top:0), so Smart Operations' own handoff curtain is what's seen
     rising instead. */
  visibility: hidden;
}

.wq-reveal-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 12, 0.25), rgba(6, 18, 13, 0.5)),
    radial-gradient(circle at top left, rgba(110, 231, 183, 0.46), transparent 28%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.24), transparent 36%),
    linear-gradient(135deg, #0b1d1b 0%, #123326 28%, #0e2f2a 62%, #0f172a 100%);
}

.wq-reveal-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.34));
}

.wq-reveal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 90%;
  text-align: center;
  transform: translate(-50%, -50%);
  color: #ffffff;
}

.wq-reveal-content h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.wq-reveal-content p {
  margin: 16px 0 0;
  font-size: 15px;
  opacity: 0.88;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wq-reveal-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.wq-reveal-mask path {
  fill: #f4f4f4;
}

@media (max-width: 640px) {
  .wq-curved-reveal {
    width: min(100%, calc(100% - 24px));
  }

  .wq-reveal-card {
    min-height: 300px;
    height: min(64vw, 360px);
    border-radius: 24px;
  }

  .wq-reveal-content p {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wq-reveal-mask,
  .wq-reveal-card,
  .wq-reveal-image,
  .wq-reveal-content {
    transition: none !important;
  }
}


/* === smart-operations.css === */
.wq-smart-operations {
  position: relative;
  width: 100%;
  height: 300vh; /* compressed so all 10 features + entry/exit fit in ~3 scroll gestures */
  min-height: 300vh;
  padding: 0;
  margin: 0;
  overflow: visible;
  background: #ffffff;
  color: #111111;
}

.wq-smartops-pin {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f1 100%);
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
}

.wq-smartops-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.wq-smartops-header {
  position: absolute;
  top: calc(var(--nav-h, 72px) + clamp(14px, 2.6vh, 32px));
  left: clamp(18px, 3vw, 42px);
  width: min(820px, 62vw);
  z-index: 5;
  pointer-events: none;
}

.wq-smartops-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #222;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.wq-smartops-label::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 100px;
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
}

.wq-smartops-header h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.wq-smartops-header p {
  max-width: 660px;
  margin-top: 16px;
  color: var(--text-muted, #5f665d);
  font-size: 15px;
  line-height: 1.65;
}

.wq-smartops-page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: linear-gradient(90deg, #fafaf8 0%, #f5f4ee 100%);
  box-shadow: none;
  margin: 0;
  padding: 0;
}

.wq-smartops-circle {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(circle at 46% 46%, #ffffff 0%, #ffffff 75%, #fafaf8 100%);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 28px 0 62px rgba(0, 0, 0, 0.04);
  pointer-events: none;
  opacity: 0;
  will-change: opacity, transform;
}

.wq-smartops-cycle {
  position: absolute;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  opacity: 0;
}

.wq-smartops-cycle-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
  color: #7c8480;
  font-size: 16px;
  transform: translate(-50%, -50%);
  transition: width 0.38s cubic-bezier(0.22, 0.75, 0.22, 1), height 0.38s cubic-bezier(0.22, 0.75, 0.22, 1), font-size 0.38s cubic-bezier(0.22, 0.75, 0.22, 1), opacity 0.3s ease, box-shadow 0.38s ease, border-color 0.38s ease;
  will-change: left, top, transform;
}

.wq-smartops-cycle-icon i {
  color: #7c8480;
}

.wq-smartops-cycle-icon.active {
  width: 68px;
  height: 68px;
  font-size: 28px;
  background: #ffffff;
  border: 1px solid rgba(21, 157, 145, 0.24);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.wq-smartops-cycle-icon.active i {
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wq-smartops-arc {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
}

.wq-smartops-arc-item {
  position: absolute;
  width: 190px;
  height: 42px;
  transform: translate(-100%, -50%);
  transform-origin: right center;
  pointer-events: none;
  will-change: left, top, opacity, transform;
}

.wq-smartops-arc-label {
  position: absolute;
  right: 23px;
  top: 50%;
  max-width: 162px;
  transform: translateY(-50%);
  white-space: nowrap;
  text-align: right;
  overflow: visible;
  text-overflow: clip;
  color: #b7b8b4;
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  transition: right 0.3s ease, font-size 0.3s ease, opacity 0.3s ease, font-weight 0.3s ease;
  pointer-events: none;
}

.wq-smartops-arc-dot {
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #d1d2ce;
  transition: width 0.3s ease, height 0.3s ease, right 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.wq-smartops-arc-item.active .wq-smartops-arc-label {
  right: 28px;
  max-width: 280px;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
  font-size: clamp(14px, 1.08vw, 19px);
  font-weight: 700;
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  z-index: 99;
  pointer-events: none;
}

.wq-smartops-arc-item.active .wq-smartops-arc-dot {
  right: -7px;
  width: 12px;
  height: 12px;
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
  box-shadow: 0 0 0 5px #fff, 0 0 0 6px rgba(0, 0, 0, 0.055);
}

.wq-smartops-right {
  position: absolute;
  left: 57%;
  top: 50%;
  z-index: 30;
  width: min(38%, 600px);
  transform: translateY(-50%);
  pointer-events: auto;
  opacity: 0;
}

.wq-smartops-right-inner {
  transition: opacity 0.32s cubic-bezier(0.22, 0.75, 0.22, 1), transform 0.38s cubic-bezier(0.22, 0.75, 0.22, 1);
  will-change: opacity, transform;
}

/* Bloom-in: each feature settles up from slightly below and slightly smaller. */
.wq-smartops-right-inner.switching {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.wq-smartops-right-title {
  max-width: 560px;
  margin-bottom: 28px;
  color: #292929;
  font-size: clamp(30px, 2.3vw, 43px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.wq-smartops-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 0;
}

.wq-smartops-feature-list li {
  position: relative;
  padding-left: 29px;
  color: #70726f;
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.5;
}

.wq-smartops-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
}

/* Entry/scrub/exit opacity and transform for the circle, arc, icon ring, and
   right panel are all driven continuously from scroll progress in
   smart-operations.js (no CSS transition — smoothness comes from the
   per-scroll-frame updates, same approach as the curved-reveal section). */

/* Handoff curtain: during the last stretch of this section's own scroll
   range, a sliver of the Better Decisions section's dark/green background
   rises from the bottom, covering the composition above it — so the next
   scene is already visibly arriving before this one finishes, instead of
   Smart Operations fading to its own plain background first. Colors mirror
   .wq-reveal-image so the handoff into the real section is seamless. Height
   is driven continuously from scroll progress in smart-operations.js. */
.wq-smartops-handoff {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  z-index: 500;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 18, 12, 0.25), rgba(6, 18, 13, 0.5)),
    radial-gradient(circle at top left, rgba(110, 231, 183, 0.46), transparent 28%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.24), transparent 36%),
    linear-gradient(135deg, #0b1d1b 0%, #123326 28%, #0e2f2a 62%, #0f172a 100%);
  border-radius: 50% 50% 0 0 / 42px 42px 0 0;
  will-change: height;
}

@media (max-width: 760px) {
  .wq-smart-operations {
    height: 280vh;
    min-height: 280vh;
  }

  .wq-smartops-pin {
    height: 100vh;
    height: 100dvh;
  }

  .wq-smartops-container {
    width: 100vw;
    padding: 0;
  }

  .wq-smartops-header {
    top: calc(var(--nav-h, 60px) + 16px);
    left: 18px;
    width: calc(100vw - 36px);
    margin-bottom: 0;
  }

  .wq-smartops-page {
    width: 100vw;
    height: 100%;
    min-height: 0;
  }

  .wq-smartops-right {
    left: 18px;
    top: auto;
    bottom: 120px;
    width: calc(100vw - 36px);
    transform: none;
  }

  .wq-smartops-right-title {
    font-size: 28px;
    margin-bottom: 21px;
  }

  .wq-smartops-feature-list {
    gap: 14px;
  }

  .wq-smartops-cycle-icon {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .wq-smartops-cycle-icon.active {
    width: 52px;
    height: 52px;
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wq-smartops-cycle-icon,
  .wq-smartops-arc-label,
  .wq-smartops-arc-dot,
  .wq-smartops-right-inner,
  .wq-smartops-circle,
  .wq-smartops-arc,
  .wq-smartops-cycle,
  .wq-smartops-right {
    transition: none !important;
  }
}



/* === smart-story.css === */
.wq-smart-story {
  position: relative;
  width: 100%;
  padding: 72px 0 62px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f1 100%);
  color: #111111;
}

.wq-smart-story-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.wq-smart-story-header {
  max-width: 860px;
  margin: 0 auto 30px;
  text-align: center;
}

.wq-smart-story-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #222;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.wq-smart-story-label::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 100px;
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
}

.wq-smart-story-header h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.wq-smart-story-header p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--text-muted, #5f665d);
  font-size: 15px;
  line-height: 1.7;
}

.wq-smart-story-track {
  position: relative;
  margin-top: 12px;
}

.wq-story-line {
  position: absolute;
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 2px;
  transform: translateX(-50%);
  background: #deded9;
  overflow: hidden;
}

.wq-story-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
  will-change: height;
}

.wq-story-block {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr 82px 1fr;
  align-items: center;
  padding: 12px 0;
  transform-origin: center center;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wq-story-block + .wq-story-block {
  margin-top: 4px;
}

.wq-story-block.scroll-down {
  transform: scale(0.94) translateY(18px);
  opacity: 0.55;
}

.wq-story-block.scroll-up {
  transform: scale(1.04) translateY(-10px);
  opacity: 0.62;
}

.wq-story-block.active {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.wq-story-copy {
  max-width: 450px;
  opacity: 0.28;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wq-story-block.active .wq-story-copy {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wq-story-copy.left {
  grid-column: 1;
  justify-self: end;
  padding-right: 24px;
}

.wq-story-copy.right {
  grid-column: 3;
  justify-self: start;
  padding-left: 24px;
}

.wq-story-title {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.wq-story-description {
  margin: 10px 0 0;
  color: var(--text-muted, #5f665d);
  font-size: 13px;
  line-height: 1.55;
}

.wq-story-node {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 9;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #ddddda;
  color: #a4a49f;
  font-size: 18px;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.05);
  transform: scale(0.84);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.wq-story-block.active .wq-story-node {
  transform: scale(1);
  border-color: rgba(21, 157, 145, 0.25);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.wq-story-block.active .wq-story-node i {
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wq-automation-visual,
.wq-onboarding-visual {
  grid-column: 3;
  width: 100%;
  max-width: 500px;
  padding-left: 24px;
  display: grid;
  gap: 6px;
}

.wq-workflow-card,
.wq-onboard-step {
  display: grid;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 9px 12px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid var(--border, #e6e6e1);
  opacity: 0.24;
  transform: translateX(14px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.48s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}

.wq-story-block.active .wq-workflow-card,
.wq-story-block.active .wq-onboard-step {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.wq-story-block.active .wq-workflow-card:nth-child(1),
.wq-story-block.active .wq-onboard-step:nth-child(1) {
  transition-delay: 0.03s;
}

.wq-story-block.active .wq-workflow-card:nth-child(2),
.wq-story-block.active .wq-onboard-step:nth-child(2) {
  transition-delay: 0.07s;
}

.wq-story-block.active .wq-workflow-card:nth-child(3),
.wq-story-block.active .wq-onboard-step:nth-child(3) {
  transition-delay: 0.11s;
}

.wq-story-block.active .wq-workflow-card:nth-child(4),
.wq-story-block.active .wq-onboard-step:nth-child(4) {
  transition-delay: 0.15s;
}

.wq-story-block.active .wq-workflow-card:nth-child(5) {
  transition-delay: 0.19s;
}

.wq-workflow-card:hover,
.wq-onboard-step:hover {
  transform: translateX(4px) scale(1.01);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.wq-workflow-card {
  grid-template-columns: 38px 1fr auto;
}

.wq-workflow-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f2;
}

.wq-workflow-icon i {
  font-size: 13px;
  color: #111;
}

.wq-workflow-card.active-step .wq-workflow-icon i {
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wq-workflow-card h4,
.wq-onboard-step h4,
.wq-team-benefit h4 {
  margin: 0 0 2px;
  font-size: 12px;
}

.wq-workflow-card p,
.wq-onboard-step p,
.wq-team-benefit p {
  margin: 0;
  color: #9b9c97;
  font-size: 9px;
  line-height: 1.45;
}

.wq-workflow-tag {
  color: #a0a19d;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.wq-team-benefits {
  grid-column: 1;
  justify-self: end;
  width: 100%;
  max-width: 470px;
  padding-right: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.wq-team-benefit {
  min-height: 120px;
  padding: 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border, #e6e6e1);
  opacity: 0.25;
  transform: scale(0.95) translateY(14px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}

.wq-story-block.active .wq-team-benefit {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.wq-story-block.active .wq-team-benefit:nth-child(1) { transition-delay: 0.03s; }
.wq-story-block.active .wq-team-benefit:nth-child(2) { transition-delay: 0.07s; }
.wq-story-block.active .wq-team-benefit:nth-child(3) { transition-delay: 0.11s; }
.wq-story-block.active .wq-team-benefit:nth-child(4) { transition-delay: 0.15s; }

.wq-team-benefit:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.wq-team-benefit-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #f5f5f2;
}

.wq-team-benefit-icon i {
  font-size: 13px;
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.wq-onboard-step {
  grid-template-columns: 38px 1fr;
  gap: 11px;
  padding: 10px 12px;
}

.wq-step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.wq-story-block.active .wq-onboard-step:first-child .wq-step-number {
  background: linear-gradient(90deg, #6fbb59 0%, #159d91 45%, #0750ad 100%);
}

.wq-story-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wq-story-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wq-smart-story-cta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.wq-story-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wq-story-cta-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.13);
}

.wq-story-cta-link i {
  transition: transform 0.22s ease;
}

.wq-story-cta-link:hover i {
  transform: translateX(3px);
}

@media (max-width: 1050px) {
  .wq-smart-story-container {
    width: min(calc(100% - 44px), 1280px);
  }

  .wq-story-line {
    left: 30px;
  }

  .wq-story-block {
    min-height: auto;
    grid-template-columns: 64px 1fr;
    padding: 34px 0;
  }

  .wq-story-node {
    grid-column: 1;
    grid-row: 1;
    width: 50px;
    height: 50px;
  }

  .wq-story-copy.left,
  .wq-story-copy.right,
  .wq-automation-visual,
  .wq-team-benefits,
  .wq-onboarding-visual {
    grid-column: 2;
    justify-self: stretch;
    padding: 0 0 0 16px;
    max-width: none;
  }

  .wq-story-copy {
    margin-bottom: 16px;
  }

  .wq-automation-visual,
  .wq-team-benefits,
  .wq-onboarding-visual {
    grid-row: 2;
  }
}

@media (max-width: 650px) {
  .wq-smart-story {
    padding: 52px 0 56px;
  }

  .wq-smart-story-container {
    width: calc(100% - 28px);
  }

  .wq-story-line {
    left: 21px;
  }

  .wq-story-block {
    grid-template-columns: 46px 1fr;
    padding: 28px 0;
  }

  .wq-story-node {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .wq-story-copy.left,
  .wq-story-copy.right,
  .wq-automation-visual,
  .wq-team-benefits,
  .wq-onboarding-visual {
    padding-left: 10px;
  }

  .wq-story-title {
    font-size: 28px;
  }

  .wq-story-description {
    font-size: 12px;
  }

  .wq-workflow-card {
    grid-template-columns: 34px 1fr;
    min-height: 50px;
    padding: 9px 10px;
  }

  .wq-workflow-tag {
    display: none;
  }

  .wq-workflow-icon {
    width: 31px;
    height: 31px;
  }

  .wq-team-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .wq-team-benefit {
    min-height: 108px;
    padding: 12px;
  }

  .wq-onboard-step {
    padding: 9px 10px;
  }

  .wq-smart-story-cta {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wq-story-block,
  .wq-story-copy,
  .wq-story-node,
  .wq-workflow-card,
  .wq-team-benefit,
  .wq-onboard-step,
  .wq-story-reveal,
  .wq-story-cta-link,
  .wq-story-cta-link i {
    transition: none !important;
  }
}


/* === kuppam_blog.html inline styles === */

    /* Specific styles for Kuppam page to match video */
    .kuppam-hero {
      background: #011a12;
      position: relative;
      padding-top: 180px;
      padding-bottom: 120px;
      min-height: 90vh;
      overflow: hidden;
    }

    .hero-bg-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      opacity: 1;
      /* Full video clarity */
    }

    .kuppam-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(1, 26, 18, 0.45);
      /* Lighter overlay for better video visibility */
      z-index: 1;
    }

    .kuppam-hero .wq-hero-inner {
      position: relative;
      z-index: 2;
    }

    .kuppam-hero h1 {
      font-size: clamp(3rem, 6vw, 5.5rem);
      color: white;
      line-height: 1.1;
      margin-bottom: 12px;
    }

    .kuppam-hero h1 span {
      color: #4ade80;
    }

    .kuppam-hero h2 {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.7);
      letter-spacing: 0.15em;
      text-transform: uppercase;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .kuppam-hero p {
      color: rgba(255, 255, 255, 0.85);
      font-size: 1.15rem;
    }

    .kuppam-scroll-indicator {
      margin-top: 60px;
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.2em;
      color: rgba(255, 255, 255, 0.5);
      text-transform: uppercase;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    .wq-cards-grid {
      display: flex;
      gap: 24px;
      max-width: 1200px;
      margin: 40px auto 0;
      height: 420px;
    }

    .wq-card {
      position: relative;
      flex: 1;
      background: var(--bg);
      border-radius: 32px;
      padding: 40px;
      transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
      overflow: hidden;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      gap: 0;
      border: 1px solid var(--border);
    }

    .wq-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      height: 4px;
      width: 0%;
      background: var(--green-500);
      z-index: 10;
      transition: none;
    }

    .wq-cards-grid:hover .wq-card {
      flex: 1;
      background: var(--bg);
      border-color: var(--border);
      box-shadow: none;
    }

    .wq-cards-grid .wq-card:hover {
      flex: 3;
      background: var(--green-50);
      border-color: var(--green-100);
      gap: 32px;
      box-shadow: var(--shadow);
    }

    .wq-cards-grid:not(:hover) .wq-card.autoscroll-active {
      flex: 3;
      background: var(--green-50);
      border-color: var(--green-100);
      gap: 32px;
      box-shadow: var(--shadow);
    }

    .wq-cards-grid:not(:hover) .wq-card.autoscroll-active::before {
      width: 100%;
      transition: width 2s linear;
    }

    .wq-card-inner {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 200px;
      position: relative;
      z-index: 2;
    }

    .wq-card h3 {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--green-900);
      margin-bottom: 16px;
      line-height: 1.2;
      transition: all 0.4s ease;
      white-space: normal;
    }

    .wq-cards-grid .wq-card:hover h3,
    .wq-cards-grid:not(:hover) .wq-card.autoscroll-active h3 {
      font-size: 2.2rem;
    }

    .wq-card p {
      font-size: 1rem;
      color: var(--text-muted);
      line-height: 1.6;
      opacity: 0;
      max-height: 0;
      transform: translateY(10px);
      transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
      overflow: hidden;
    }

    .wq-cards-grid .wq-card:hover p,
    .wq-cards-grid:not(:hover) .wq-card.autoscroll-active p {
      opacity: 1;
      max-height: 200px;
      transform: translateY(0);
      transition-delay: 0.1s;
    }

    .wq-card-arrow {
      margin-top: auto;
      width: 48px;
      height: 48px;
      background: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #9ca3af;
      /* fallback for text-muted */
      transition: all 0.4s ease;
      flex-shrink: 0;
    }

    .wq-cards-grid .wq-card:hover .wq-card-arrow,
    .wq-cards-grid:not(:hover) .wq-card.autoscroll-active .wq-card-arrow {
      transform: rotate(-45deg);
      color: var(--green-900);
    }

    .wq-card-visual {
      width: 0;
      height: 100%;
      border-radius: 24px;
      overflow: hidden;
      opacity: 0;
      transform: translateX(40px) scale(0.9);
      transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
      flex-shrink: 0;
      z-index: 1;
      position: relative;
    }

    .wq-cards-grid .wq-card:hover .wq-card-visual,
    .wq-cards-grid:not(:hover) .wq-card.autoscroll-active .wq-card-visual {
      width: 320px;
      opacity: 1;
      transform: translateX(0) scale(1);
    }

    .wq-card-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.1);
      transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .wq-cards-grid .wq-card:hover .wq-card-visual img,
    .wq-cards-grid:not(:hover) .wq-card.autoscroll-active .wq-card-visual img {
      transform: scale(1);
    }

    /* ── TIMELINE REDESIGN ── */
    .timeline-wrapper {
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 20px;
      /* Hide scrollbar for Chrome, Safari and Opera */
      -ms-overflow-style: none;
      /* IE and Edge */
      scrollbar-width: none;
      /* Firefox */
    }

    .timeline-wrapper::-webkit-scrollbar {
      display: none;
    }

    .timeline-container {
      width: 100%;
      min-width: 860px;
      max-width: 1060px;
      margin: 0 auto;
      position: relative;
      height: 380px;
      /* top-label + SVG zone + bottom-label */
    }

    /* The SVG is centred vertically in the container */
    .timeline-svg {
      width: 100%;
      height: 180px;
      position: absolute;
      top: 100px;
      /* leave 100px above for top labels */
      left: 0;
      overflow: visible;
    }

    /* Path drawing animation */
    #kp-timeline-path {
      stroke-dasharray: 0;
      stroke-dashoffset: 0;
      transition: none;
    }

    /* Traveler dot on the path */
    #kp-tl-traveler {
      fill: #22c55e;
      filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.9)) drop-shadow(0 0 14px rgba(34, 197, 94, 0.5));
      transition: none;
    }

    /* ── Node circles ── */
    .tl-node-wrapper {
      position: absolute;
      width: 68px;
      height: 68px;
      transform: translate(-50%, -50%) scale(0);
      z-index: 10;
      transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
      opacity: 0;
    }

    .tl-node-wrapper.tl-node-visible {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }

    /* outer glow ring (mimics reference) */
    .tl-node-wrapper::after {
      content: '';
      position: absolute;
      inset: -10px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(34, 197, 94, 0.18) 0%, transparent 70%);
      z-index: -1;
      opacity: 0;
      transition: opacity 0.4s ease 0.2s;
    }

    .tl-node-wrapper.tl-node-visible::after {
      opacity: 1;
    }

    .tl-icon {
      width: 68px;
      height: 68px;
      background: #f0fdf4;
      /* very light green fill like reference */
      border: 2.5px solid #22c55e;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      color: #16a34a;
      box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.10);
    }

    /* Number badge — top-right of circle */
    .tl-num {
      position: absolute;
      top: -6px;
      right: -6px;
      width: 22px;
      height: 22px;
      background: #22c55e;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 800;
      border: 2px solid white;
      z-index: 2;
    }

    /* ── Label blocks — positioned inline with their node ── */
    .tl-label-block {
      position: absolute;
      width: 160px;
      text-align: center;
      transform: translateX(-50%);
      opacity: 0;
      transition: opacity 0.5s ease 0.15s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
    }

    /* Labels above (for top nodes: nodes 1 & 3) */
    .tl-label-block.tl-label-top {
      transform: translateX(-50%) translateY(-10px);
    }

    /* Labels below (for bottom nodes: nodes 2 & 4) */
    .tl-label-block.tl-label-bottom {
      transform: translateX(-50%) translateY(10px);
    }

    .tl-label-block.tl-text-visible {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .tl-label-block h4 {
      font-size: 1rem;
      font-weight: 800;
      color: #0a2016;
      margin: 0 0 6px;
      line-height: 1.2;
    }

    .tl-label-block p {
      font-size: 0.78rem;
      color: #4b6b5a;
      line-height: 1.55;
      margin: 0;
    }

    .timeline-checkmarks {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px 24px;
      margin-top: 32px;
    }

    .timeline-check {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text);
    }

    .timeline-check::before {
      content: '✓';
      color: #16a34a;
      font-weight: 900;
    }

    .wq-section {
      padding: 60px 20px;
    }

    .wq-section-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .wq-section-header {
      max-width: 800px;
      margin: 0 auto 40px;
    }

    .wq-section-tag {
      font-size: 0.85rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      color: var(--green-500);
      text-transform: uppercase;
      display: block;
      margin-bottom: 16px;
    }

    .wq-section-title {
      font-size: clamp(2.5rem, 4vw, 3.5rem);
      font-weight: 800;
      color: var(--green-900);
      margin-bottom: 24px;
      line-height: 1.1;
    }

    .wq-section-sub {
      font-size: 1.15rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .center {
      text-align: center;
    }

    /* HOW IT WORKS / FEATURE BLOCKS */
    .wq-feature-block {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto 30px;
      padding: 20px 0;
    }

    .wq-feature-block.reverse {
      direction: rtl;
    }

    .wq-feature-block.reverse>* {
      direction: ltr;
    }

    .wq-visual-card {
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .wq-visual-card img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }

    .wq-feature-list {
      list-style: none;
      padding: 0;
      margin: 24px 0 0;
      color: var(--text-muted);
    }

    .wq-feature-list li {
      margin-bottom: 12px;
    }

    .wq-feature-list li::before {
      content: '•' !important;
      background: none !important;
      background-image: none !important;
      width: auto !important;
      height: auto !important;
      color: #22c55e !important;
      font-size: 1.5rem !important;
      line-height: 0.8 !important;
      margin-right: 10px !important;
      margin-top: 2px !important;
      display: inline-block !important;
    }

    /* PHOTO MARQUEE */
    .photo-marquee-wrapper {
      overflow: hidden;
      width: 100%;
      max-width: none;
      margin: 0 auto;
      background: #0a2016;
      /* optional dark background if desired, but we leave transparent */
    }

    .photo-marquee-track {
      display: flex;
      width: max-content;
      animation: marquee 20s linear infinite;
    }

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

    @keyframes marquee {
      0% {
        transform: translateX(0);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    .photo-card {
      position: relative;
      border-radius: 0;
      overflow: hidden;
      box-shadow: var(--shadow);
      width: 450px;
      flex-shrink: 0;
    }

    .photo-card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      transition: transform 0.3s;
    }

    .photo-card:hover img {
      transform: scale(1.05);
    }

    .photo-badge {
      position: absolute;
      bottom: 16px;
      left: 16px;
      background: rgba(1, 26, 18, 0.85);
      color: white;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .diff-table {
      max-width: 900px;
      margin: 40px auto 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .diff-header {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 8px;
    }

    .diff-title {
      font-size: 0.8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .diff-title.before {
      color: #dc2626;
    }

    .diff-title.after {
      color: #166534;
    }

    .diff-title.before::before {
      content: '';
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #fca5a5;
    }

    .diff-title.after::before {
      content: '';
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #86efac;
    }

    .diff-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 16px 20px;
      background: white;
    }

    .diff-cell {
      font-size: 0.95rem;
      color: var(--text-muted);
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .diff-cell.before {
      position: relative;
      color: #991b1b;
      opacity: 0.8;
      transition: opacity 0.5s 0.2s ease;
    }

    .diff-row.kp-hit .diff-cell.before {
      opacity: 0.4;
    }

    .diff-cell.before::after {
      content: '';
      position: absolute;
      left: 18px;
      top: 50%;
      height: 2px;
      background: #ef4444;
      width: 0;
      transition: width 0.5s 0.2s cubic-bezier(0.8, 0, 0.2, 1);
    }

    .diff-row.kp-hit .diff-cell.before::after {
      width: calc(100% - 28px);
    }

    .diff-cell.after {
      color: #166534;
      font-weight: 600;
    }

    .diff-cell.before::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #ef4444;
      flex-shrink: 0;
      margin-top: 8px;
    }

    .diff-cell.after::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #22c55e;
      flex-shrink: 0;
      margin-top: 8px;
    }

    .diff-badge {
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #166534;
      margin-left: auto;
    }

    .success-quote {
      border-left: 4px solid var(--green-400);
      background: var(--green-50);
      padding: 24px;
      border-radius: 0 12px 12px 0;
      margin-top: 24px;
    }

    .success-quote p {
      font-size: 1.05rem;
      font-style: italic;
      color: var(--green-700);
      margin-bottom: 12px;
    }

    .success-quote cite {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--green-900);
      font-style: normal;
    }

    .bottom-cta {
      background: var(--green-900);
      padding: 100px 32px;
      text-align: center;
    }

    .bottom-cta h2 {
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 800;
      color: white;
      line-height: 1.15;
      margin-bottom: 24px;
    }

    .bottom-cta p {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.7);
      max-width: 680px;
      margin: 0 auto 40px;
    }

    .bottom-logos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 24px;
      margin-top: 48px;
      padding-top: 32px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.85rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.5);
    }

    .step-number {
      font-size: 4rem;
      font-weight: 900;
      color: var(--green-400);
      line-height: 1;
      margin-bottom: 8px;
    }

    @media (max-width: 1024px) {

      .diff-header,
      .diff-row {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .diff-header {
        display: none;
      }

      .diff-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }

      .diff-cell.before {
        border-bottom: 1px solid var(--border);
        margin-bottom: 12px;
        padding-bottom: 0;
        width: 100%;
      }

      .photo-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 768px) {
      .photo-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .wq-stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px;
      }

      .wq-hero-inner h1 {
        font-size: 3rem;
      }

      /* Reduce section subtitle on mobile */
      .wq-section-sub {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        padding: 0 10px;
      }

      /* Reduce hero button sizes */
      .wq-hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }

      .wq-hero-actions a {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        width: 100%;
        max-width: 260px;
        justify-content: center;
      }

      .wq-feature-block {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
      }

      .wq-feature-block.reverse {
        direction: ltr;
      }

      /* Mobile Accordion Cards */
      .wq-cards-grid {
        flex-direction: column;
        height: auto;
      }

      .wq-card-visual {
        display: none !important;
      }

      .wq-card-inner {
        min-width: 100%;
      }
    }


    @media (max-width: 480px) {
      .wq-stats-grid {
        grid-template-columns: 1fr !important;
      }

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

    /* ── SCROLL PROGRESS BAR ── */
    #kp-scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 3px;
      z-index: 99999;
      background: linear-gradient(90deg, #6FBB59, #22c55e, #159D91);
      transition: width 0.05s linear;
      pointer-events: none;
    }

    /* ── REVEAL ANIMATION BASE ── */
    .kp-reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .kp-reveal.from-left {
      transform: translateX(-40px);
    }

    .kp-reveal.from-right {
      transform: translateX(40px);
    }

    .kp-reveal.scale-in {
      transform: translateY(16px) scale(0.95);
    }

    .kp-reveal.visible {
      opacity: 1 !important;
      transform: none !important;
    }

    .kp-delay-1 {
      transition-delay: 0.1s !important;
    }

    .kp-delay-2 {
      transition-delay: 0.2s !important;
    }

    .kp-delay-3 {
      transition-delay: 0.3s !important;
    }

    .kp-delay-4 {
      transition-delay: 0.4s !important;
    }

    .kp-delay-5 {
      transition-delay: 0.5s !important;
    }

    .kp-delay-6 {
      transition-delay: 0.6s !important;
    }

    /* ── HERO ENTRANCE ANIMATIONS ── */
    @keyframes kp-hero-badge {
      from {
        opacity: 0;
        transform: translateY(-16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes kp-hero-title {
      from {
        opacity: 0;
        transform: translateY(28px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes kp-hero-sub {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes kp-hero-body {
      from {
        opacity: 0;
        transform: translateY(16px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes kp-hero-btns {
      from {
        opacity: 0;
        transform: translateY(12px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes kp-scroll-bounce {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(8px);
      }
    }

    .kuppam-hero .wq-hero-badge {
      animation: kp-hero-badge 0.8s 0.2s ease both;
    }

    .kuppam-hero h1 {
      animation: kp-hero-title 0.9s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .kuppam-hero h2 {
      animation: kp-hero-sub 0.8s 0.5s ease both;
    }

    .kuppam-hero p {
      animation: kp-hero-body 0.8s 0.6s ease both;
    }

    .wq-hero-actions {
      animation: kp-hero-btns 0.8s 0.75s ease both;
    }

    .kuppam-scroll-indicator {
      animation: kp-hero-btns 0.8s 0.9s ease both;
    }

    .kuppam-scroll-indicator::after {
      content: '↓';
      display: block;
      animation: kp-scroll-bounce 1.6s ease-in-out infinite;
      font-size: 1.1rem;
    }

    /* ── CARD HOVER LIFT (Moved to top) ── */

    /* ── STAT COUNTER: number highlight flash ── */
    @keyframes kp-num-pop {
      0% {
        transform: scale(1)
      }

      50% {
        transform: scale(1.1);
        color: #4ade80;
      }

      100% {
        transform: scale(1)
      }
    }

    .wq-stat-num.popped {
      animation: kp-num-pop 0.45s ease;
    }

    /* ── DIFF ROW HIGHLIGHT ON SCROLL ── */
    .diff-row {
      transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .diff-row.kp-hit {
      border-color: rgba(34, 197, 94, 0.4);
      box-shadow: 0 4px 18px rgba(22, 163, 74, 0.09);
      transform: translateX(4px);
    }

    .diff-row.kp-hit .diff-badge {
      opacity: 1;
    }

    .diff-badge {
      opacity: 0;
      transition: opacity 0.35s 0.2s ease;
    }

    /* ── PHOTO CARD ENTRY ── */
    .photo-card {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .photo-card.visible {
      opacity: 1;
      transform: none;
    }

    /* ── TIMELINE SVG PATH DRAW ANIMATION ── */
    .timeline-svg {
      overflow: visible;
      filter: drop-shadow(0 4px 6px rgba(34, 197, 94, 0.15));
    }

    #kp-timeline-path {
      stroke-dasharray: 1500;
      stroke-dashoffset: 1500;
      transition: stroke-dashoffset 1.5s ease-in-out;
    }

    .timeline-container.visible #kp-timeline-path {
      stroke-dashoffset: 0;
    }

    /* timeline node pulse */
    .kp-tl-node {
      opacity: 0;
      transform: scale(0.5);
      transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .kp-tl-node.visible {
      opacity: 1;
      transform: scale(1);
    }

    /* timeline label ─ slide up */
    .kp-tl-label {
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .kp-tl-label.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── FEATURE BLOCK IMAGE ZOOM-IN ── */
    .wq-visual-card img {
      transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .wq-visual-card:hover img {
      transform: scale(1.04);
    }

    /* ── TIMELINE CHECK TAG STAGGER ── */
    .timeline-check {
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.45s ease, transform 0.45s ease;
    }

    .timeline-check.visible {
      opacity: 1;
      transform: none;
    }



    @media (max-width: 768px) {
      .kuppam-hero {
        background-attachment: scroll;
      }
    }

    /* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
       MOBILE RESPONSIVE ANIMATIONS & LAYOUT FIXES
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
    @media (max-width: 768px) {

      /* ── Hero ── */
      .kuppam-hero h1 {
        font-size: 2.8rem !important;
      }

      .kuppam-scroll-indicator {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
      }

      /* ── Reduce section padding so sections don't have huge gaps ── */
      .wq-section {
        padding: 40px 16px !important;
      }

      /* ── Section header spacing ── */
      .wq-section-header {
        margin-bottom: 24px !important;
      }

      /* ── Feature blocks stacked ── */
      .wq-feature-block {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 16px 0 !important;
        margin: 0 auto 20px !important;
      }

      .wq-feature-block.reverse {
        direction: ltr !important;
      }

      /* ── Timeline - fit to screen, scaled down ── */
      /* ── Timeline - fit to screen, scaled down ── */
      .timeline-wrapper {
        overflow: hidden;
        /* no horizontal scroll needed anymore */
        margin: 0;
        padding: 0;
      }

      .timeline-container {
        min-width: 100% !important;
        /* Force override any other min-widths */
        height: 140px;
        /* Reduced blank space */
      }

      .timeline-svg {
        top: 40px !important;
        /* Move SVG up */
        height: 60px !important;
        /* Flatter sine wave */
      }

      /* Scale down nodes */
      .tl-node-wrapper,
      .tl-icon {
        width: 36px !important;
        height: 36px !important;
      }

      .tl-icon i {
        font-size: 0.9rem !important;
      }

      .tl-node-wrapper::after {
        inset: -4px !important;
      }

      .tl-num {
        display: none !important;
        /* Hide number badges to make it cleaner */
      }

      /* Re-align nodes to the scaled 60px sine wave */
      /* Peak y=40 in 180 viewBox -> (40/180) * 60 = 13px + 40px top = 53px */
      .tl-node-wrapper[style*="left:12.5%"],
      .tl-node-wrapper[style*="left:62.5%"] {
        top: 53px !important;
      }

      /* Trough y=140 in 180 viewBox -> (140/180) * 60 = 47px + 40px top = 87px */
      .tl-node-wrapper[style*="left:37.5%"],
      .tl-node-wrapper[style*="left:87.5%"] {
        top: 87px !important;
      }

      /* Scale down and re-align labels */
      .tl-label-block {
        width: 80px !important;
        max-width: 80px !important;
      }

      .tl-label-top {
        top: 15px !important;
      }

      .tl-label-bottom {
        top: 105px !important;
      }

      .tl-label-block h4 {
        font-size: 0.7rem !important;
        margin-bottom: 0 !important;
      }

      /* Only show icon and name on mobile - hide paragraph */
      .tl-label-block p {
        display: none !important;
      }


      /* ── Photo marquee ── */
      .photo-card {
        width: 260px !important;
      }

      .photo-card img {
        height: 200px !important;
      }

      /* ── Stats grid ── */
      .wq-stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
      }

      .wq-stat-item .wq-card-icon {
        font-size: 2rem !important;
      }

      .wq-stat-num {
        font-size: clamp(1.8rem, 5vw, 2.8rem) !important;
      }

      /* ── Before/After diff table ── */
      .diff-table {
        padding: 0 4px;
      }

      .diff-row {
        display: flex;
        flex-direction: column;
        gap: 8px;
        transform: none !important;
        /* disable horizontal shift on mobile */
      }

      .diff-row.kp-hit {
        transform: none !important;
      }

      .diff-cell.before::after {
        display: none !important;
        /* Hide the absolute single line on mobile because it fails on multiline text */
      }

      .diff-row.kp-hit .diff-cell.before {
        text-decoration-color: rgba(239, 68, 68, 0.6) !important;
      }

      .diff-cell.before {
        margin-bottom: 8px;
        padding-bottom: 0;
        border-bottom: 1px solid rgba(239, 68, 68, 0.2);

        /* Multi-line strikethrough support */
        text-decoration: line-through;
        text-decoration-thickness: 2px;
        text-decoration-color: transparent;
        transition: text-decoration-color 0.6s ease;
      }

      /* ── Reveal animations: reduce translateX on mobile to prevent overflow ── */
      .kp-reveal.from-left {
        transform: translateX(-20px);
      }

      .kp-reveal.from-right {
        transform: translateX(20px);
      }

      /* ── Success section ── */
      .success-quote {
        padding: 16px;
      }

      /* ── Bottom CTA ── */
      .bottom-cta {
        padding: 60px 20px !important;
      }

      .bottom-cta h2 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
      }
    }

    @media (max-width: 480px) {

      /* ── Stats single column on very small screens ── */
      .wq-stats-grid {
        grid-template-columns: 1fr !important;
      }

      /* ── Timeline even smaller ── */
      .timeline-container {
        min-width: 100% !important;
      }

      /* ── Photo cards ── */
      .photo-card {
        width: 220px !important;
      }

      .photo-card img {
        height: 160px !important;
      }

      /* ── Feature block text ── */
      .wq-feature-text h2 {
        font-size: 1.4rem !important;
      }
    }
  