/*
Theme Name: WQ Studio
Theme URI: https://www.linkedin.com/company/wq-studio/
Author: Waleed Qureshi
Author URI: https://www.linkedin.com/company/wq-studio/
Description: Official WQ Studio digital agency theme — game development, mobile & web apps, digital marketing. Features video hero, animated sections, multi-page layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wq-studio
Tags: one-page, portfolio, agency, animation, full-width-template, custom-menu
*/

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bd: #0a2463;
  --bm: #1565c0;
  --bb: #1e90ff;
  --bl: #5ab4ff;
  --w: #ffffff;
  --ow: #f4f8ff;
  --td: #0d1b2a;
  --tm: #5a6a7e;
  --br: #dce8f7;
  --g: linear-gradient(135deg, #0a2463 0%, #1565c0 60%, #1e90ff 100%);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--td);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===================================================
   TYPOGRAPHY - Google Fonts loaded in functions.php
=================================================== */
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; }

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.4); }
  50%       { box-shadow: 0 0 0 16px rgba(30, 144, 255, 0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes borderDraw {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes videoOverlayPulse {
  0%, 100% { opacity: 0.72; }
  50%       { opacity: 0.65; }
}

/* Scroll-reveal base states */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger-children.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay: 0.55s; }
.stagger-children.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay: 0.65s; }
.stagger-children.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay: 0.75s; }
.stagger-children.visible > *:nth-child(9) { opacity:1; transform:none; transition-delay: 0.85s; }
.stagger-children.visible > *:nth-child(10){ opacity:1; transform:none; transition-delay: 0.95s; }
.stagger-children.visible > *:nth-child(11){ opacity:1; transform:none; transition-delay: 1.05s; }
.stagger-children.visible > *:nth-child(12){ opacity:1; transform:none; transition-delay: 1.15s; }

/* ===================================================
   NAVIGATION
=================================================== */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: #0a2463;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  animation: navSlideDown 0.8s ease 0.2s both;
}
#site-header.scrolled {
  background: #0a2463;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.site-logo img {
  height: 42px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.site-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.main-navigation ul {
  display: flex; gap: 30px;
}
.main-navigation ul a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  position: relative;
  transition: color 0.3s ease;
}
.main-navigation ul a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--bl);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.main-navigation ul a:hover { color: #fff; }
.main-navigation ul a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  background: var(--bb); color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.83rem; font-weight: 600;
  padding: 10px 22px; border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(30,144,255,0.3);
}
.nav-cta:hover {
  background: var(--bl) !important; color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,144,255,0.5);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none; border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px; padding: 6px 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO SECTION — VIDEO BG
=================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--bd);
}

.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  opacity: 0.28;
  animation: videoOverlayPulse 8s ease-in-out infinite;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10,36,99,0.88) 0%,
    rgba(21,101,192,0.75) 50%,
    rgba(10,36,99,0.88) 100%
  );
}
/* Animated grid pattern overlay */
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: fadeIn 2s ease 1s both;
}

.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  padding: 120px 5% 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--bl);
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 18px;
  border: 1px solid rgba(90,180,255,0.4);
  border-radius: 30px;
  background: rgba(90,180,255,0.08);
  animation: fadeInDown 0.9s ease 0.6s both;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; color: #fff;
  line-height: 1.08; margin-bottom: 26px;
  animation: fadeInUp 1s ease 0.9s both;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--bb), var(--bl), var(--bb));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear 1.8s infinite;
}

.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.78);
  max-width: 580px; margin: 0 auto 44px;
  line-height: 1.78;
  animation: fadeInUp 1s ease 1.1s both;
}

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeInUp 1s ease 1.3s both;
}
.btn-primary {
  background: #fff; color: var(--bd);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  padding: 15px 34px; border-radius: 8px;
  border: none; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  color: var(--bd);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.55); color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 32px; border-radius: 8px;
  background: transparent; cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  color: #fff;
}

.hero-stats {
  display: flex; gap: 52px; margin-top: 72px;
  flex-wrap: wrap; justify-content: center;
  animation: fadeIn 1s ease 1.6s both;
}
.hero-stat { color: #fff; text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem; font-weight: 700;
  color: var(--bl); display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem; color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em; margin-top: 6px;
  display: block; text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: fadeIn 1s ease 2.2s both;
}
.scroll-indicator span {
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em; text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative; overflow: hidden;
}
.scroll-mouse::after {
  content: '';
  position: absolute; top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: float 1.8s ease-in-out infinite;
}

/* ===================================================
   SECTION SHARED STYLES
=================================================== */
.sec { padding: 100px 5%; }
.sec-inner { max-width: 1140px; margin: 0 auto; }
.sec-header { margin-bottom: 60px; }
.sec-header.centered { text-align: center; }
.sec-header.centered .sec-sub { margin: 0 auto; }

.sec-ey {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bb); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.sec-ey::before {
  content: '';
  display: inline-block; width: 28px; height: 2px;
  background: var(--bb); border-radius: 2px;
  flex-shrink: 0;
}
.sec-header.centered .sec-ey { justify-content: center; }

.sec-t {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; color: var(--td);
  line-height: 1.18; margin-bottom: 18px;
}

.sec-sub {
  font-size: 1rem; color: var(--tm);
  max-width: 560px; line-height: 1.8;
}

.bw { background: #fff; }
.bow { background: var(--ow); }
.bdk { background: var(--bd); }

/* ===================================================
   SERVICES SECTION
=================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  border: 1px solid var(--br); border-radius: 18px;
  padding: 34px 28px;
  background: #fff;
  position: relative; overflow: hidden;
  cursor: default;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  border-color: rgba(30,144,255,0.3);
  box-shadow: 0 16px 48px rgba(30,144,255,0.12);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(10,36,99,0.08), rgba(30,144,255,0.15));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 22px;
  transition: transform 0.3s, background 0.3s;
}
.service-card:hover .svc-icon {
  background: var(--g);
  transform: scale(1.1) rotate(-5deg);
}
.service-card h3 {
  font-size: 1.08rem; font-weight: 700;
  margin-bottom: 10px; color: var(--td);
  transition: color 0.3s;
}
.service-card:hover h3 { color: var(--bm); }
.service-card p { font-size: 0.88rem; color: var(--tm); line-height: 1.72; }

/* ===================================================
   GAMES SECTION
=================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.game-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--br); background: #fff;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s;
  cursor: default;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(30,144,255,0.18);
}
.game-thumb {
  height: 155px;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.6rem;
  position: relative; overflow: hidden;
}
.game-thumb-img {
  height: 155px; overflow: hidden; position: relative;
}
.game-thumb-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.game-card:hover .game-thumb-img img { transform: scale(1.08); }
.game-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}
.game-card:hover .game-thumb::after { background: rgba(0,0,0,0.1); }
.game-body { padding: 18px 18px 22px; }
.game-body h3 {
  font-size: 0.98rem; font-weight: 700;
  margin-bottom: 5px; color: var(--td);
}
.game-body p { font-size: 0.8rem; color: var(--tm); line-height: 1.62; }
.game-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 11px; }
.game-tag {
  font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 9px; border-radius: 20px;
  background: var(--ow); color: var(--bm);
  font-family: 'Space Grotesk', sans-serif;
  transition: background 0.3s, color 0.3s;
}
.game-card:hover .game-tag { background: var(--bb); color: #fff; }
.game-stars { color: #f5a623; font-size: 0.82rem; margin-top: 10px; font-weight: 600; }

/* ===================================================
   REVIEWS SECTION
=================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff; border-radius: 18px;
  padding: 30px 26px; border: 1px solid var(--br);
  position: relative; overflow: hidden;
  transition: box-shadow 0.4s, transform 0.4s;
}
.review-card::before {
  content: '\201C';
  position: absolute; top: 10px; right: 20px;
  font-size: 5rem; font-family: Georgia, serif;
  color: rgba(30,144,255,0.08); line-height: 1;
  pointer-events: none;
}
.review-card:hover {
  box-shadow: 0 12px 40px rgba(30,144,255,0.12);
  transform: translateY(-4px);
}
.review-stars { color: #f5a623; font-size: 1.1rem; margin-bottom: 14px; }
.review-text {
  font-size: 0.92rem; color: var(--td);
  line-height: 1.78; margin-bottom: 22px;
  font-style: italic; position: relative;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  animation: pulse-glow 3s ease-in-out infinite;
}
.review-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; font-weight: 700; color: var(--td);
}
.review-role { font-size: 0.77rem; color: var(--tm); margin-top: 2px; }

/* ===================================================
   CONTACT SECTION
=================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
  max-width: 900px; margin: 0 auto;
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 15px;
  margin-top: 30px;
}
.cd-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--g); border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.contact-detail:hover .cd-icon { transform: scale(1.1) rotate(-8deg); }
.cd-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--tm); margin-bottom: 4px;
}
.cd-val { font-size: 0.93rem; color: var(--td); font-weight: 500; }
.cd-val a { color: var(--bb); transition: color 0.3s; }
.cd-val a:hover { color: var(--bm); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%; border: 1.5px solid var(--br);
  border-radius: 11px; padding: 13px 16px;
  font-family: 'Inter', sans-serif; font-size: 0.91rem;
  color: var(--td); background: #fff; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--bb);
  box-shadow: 0 0 0 4px rgba(30,144,255,0.1);
  transform: translateY(-1px);
}
.contact-form textarea { min-height: 130px; }
.contact-form .submit-btn {
  background: var(--g); color: #fff; border: none; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 11px;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 20px rgba(10,36,99,0.3);
  position: relative; overflow: hidden;
}
.contact-form .submit-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s;
}
.contact-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,36,99,0.4);
}
.contact-form .submit-btn:hover::after { background: rgba(255,255,255,0.08); }

/* ===================================================
   ABOUT PAGE
=================================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start; margin-bottom: 60px;
}
.about-facts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px;
}
.fact-card {
  background: var(--ow); border: 1px solid var(--br);
  border-radius: 12px; padding: 18px 20px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.fact-card:hover {
  border-color: var(--bb);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,144,255,0.1);
}
.fact-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tm); margin-bottom: 5px;
}
.fact-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.97rem; font-weight: 700; color: var(--bd);
}
.about-visual-card {
  background: var(--g); border-radius: 22px;
  padding: 48px 40px; color: #fff;
  position: relative; overflow: hidden;
}
.about-visual-card::before {
  content: 'WQ';
  position: absolute; bottom: -24px; right: -12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10rem; font-weight: 700;
  color: rgba(255,255,255,0.06); line-height: 1;
  pointer-events: none;
}
.about-visual-card::after {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.about-visual-card h3 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; line-height: 1.4;
}
.about-visual-card p { font-size: 0.94rem; color: rgba(255,255,255,0.82); line-height: 1.82; }
.av-pill {
  display: inline-block; margin-top: 28px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 22px; padding: 6px 16px;
  font-size: 0.8rem; color: var(--bl);
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}
.mission-box {
  background: var(--ow); border-radius: 20px;
  padding: 48px; border: 1px solid var(--br);
}
.mission-box h3 {
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 16px; color: var(--bd);
}
.mission-box p { font-size: 0.96rem; color: var(--tm); line-height: 1.88; }

/* ===================================================
   PRIVACY PAGE
=================================================== */
.privacy-wrap { max-width: 820px; margin: 0 auto; }
.priv-section { margin-top: 40px; }
.priv-section h3 {
  font-size: 1.02rem; font-weight: 700;
  color: #0a2463; margin-bottom: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--bb);
}
.priv-section p,
.priv-section li { font-size: 0.91rem; color: #000; line-height: 1.82; }
.priv-section ul { padding-left: 20px; margin-top: 6px; }
.priv-section a { color: var(--bb); }
#page-privacy .sec-sub { color: #000; }

/* ===================================================
   FOOTER
=================================================== */
#site-footer {
  background: #060e1f;
  color: rgba(255,255,255,0.55);
  padding: 52px 5% 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
#site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--bb), transparent);
}
.footer-logo img { height: 34px; margin: 0 auto 14px; opacity: 0.88; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: 16px; max-width: 420px; margin-left: auto; margin-right: auto; }
.footer-nav {
  display: flex; gap: 24px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 20px;
}
.footer-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.83rem; color: rgba(255,255,255,0.5);
  font-weight: 500;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--bl); }
.footer-copy { font-size: 0.8rem; }
.footer-copy a { color: var(--bl); }

/* ===================================================
   PAGE WRAPPER — show/hide pages
=================================================== */
.wq-page { display: none; }
.wq-page.active { display: block; }

/* Safety net: content inside non-home pages is always visible,
   independent of scroll-reveal JS timing */
#page-about .reveal,
#page-about .reveal-left,
#page-about .reveal-right,
#page-about .stagger-children,
#page-about .stagger-children > *,
#page-privacy .reveal,
#page-privacy .priv-section {
  opacity: 1 !important;
  transform: none !important;
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-facts-grid { grid-template-columns: 1fr 1fr; }
  .mission-box { padding: 30px 24px; }
}
@media (max-width: 768px) {
  .main-navigation { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(10,36,99,0.97); padding: 24px 5%; backdrop-filter: blur(14px); }
  .main-navigation.open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero-stats { gap: 28px; }
  .hero-title { font-size: 2.6rem; }
  .sec { padding: 70px 5%; }
  .about-facts-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
