/*
Theme Name: Qatar Exports — Trade Missions Platform
Theme URI: https://qatarexports.qa/
Author: Qatar Exports
Description: Professional, bilingual (EN/AR) WordPress theme for the Qatar Exports international B2B trade mission platform. Powered by Qatar Development Bank.
Version: 2.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: qatar-exports
License: GPL-2.0-or-later
Tags: business, international, trade, bilingual, rtl-language-support, custom-menu, custom-logo, full-width-template, post-thumbnails
*/

/* ========================================================================
   DESIGN TOKENS
   ======================================================================== */
:root {
  --qe-wine:        #8b1744;
  --qe-wine-dark:   #65152f;
  --qe-wine-deep:   #3d0d1c;
  --qe-gold:        #c9a96e;
  --qe-gold-light:  #e8d5b0;
  --qe-ink:         #1a1720;
  --qe-ink-soft:    #2d2a31;
  --qe-muted:       #6b6570;
  --qe-cream:       #f8f5f0;
  --qe-paper:       #ffffff;
  --qe-line:        #ebe4dc;
  --qe-line-soft:   #f0ece7;
  --qe-success:     #1a7a42;
  --qe-warning:     #b85c00;
  --qe-radius:      3px;
  --qe-shadow-sm:   0 4px 16px rgba(26,23,32,.07);
  --qe-shadow:      0 12px 40px rgba(26,23,32,.12);
  --qe-shadow-lg:   0 24px 64px rgba(26,23,32,.16);
  --qe-content:     1240px;
  --qe-gutter:      32px;
  --qe-font-en:     'Inter', Arial, sans-serif;
  --qe-font-ar:     'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
  --qe-transition:  0.22s ease;
}

@media (max-width: 1024px) {
  :root { --qe-gutter: 24px; }
}
@media (max-width: 768px) {
  :root { --qe-gutter: 20px; }
}
@media (max-width: 480px) {
  :root { --qe-gutter: 16px; }
}

/* ========================================================================
   RESET & BASE
   ======================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--qe-paper);
  color: var(--qe-ink);
  font-family: var(--qe-font-en);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.qe-rtl { font-family: var(--qe-font-ar); direction: rtl; }
a { color: var(--qe-wine); text-decoration: none; transition: color var(--qe-transition); }
a:hover { color: var(--qe-wine-dark); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul,ol { padding-left: 1.4em; }
body.qe-rtl ul, body.qe-rtl ol { padding-left: 0; padding-right: 1.4em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ========================================================================
   TOPLINE BAR
   ======================================================================== */
.qe-topline {
  background: var(--qe-wine-deep);
  color: rgba(255,255,255,.82);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.qe-topline-inner {
  width: 100%;
  max-width: var(--qe-content);
  margin-inline: auto;
  padding-inline: var(--qe-gutter);
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (max-width: 600px) {
  .qe-topline-inner {
    padding-block: 6px;
    font-size: 9.5px;
  }
}
.qe-topline-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qe-topline-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--qe-gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,.18);
}

/* ========================================================================
   HEADER
   ======================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--qe-line);
  box-shadow: var(--qe-shadow-sm);
  transition: box-shadow var(--qe-transition);
}
.qe-header-inner {
  width: 100%;
  max-width: var(--qe-content);
  margin-inline: auto;
  padding-inline: var(--qe-gutter);
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.qe-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--qe-transition);
  min-width: 0;
  flex-shrink: 0;
}
.qe-brand:hover { transform: translateY(-1px); }
.qe-brand-logo {
  width: 180px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
}
.qe-brand-logo.custom-logo { display: block; }
.qe-brand-sep {
  width: 1px; height: 40px;
  background: var(--qe-line);
  flex-shrink: 0;
}
.qe-brand-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.qe-brand-label small {
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--qe-wine);
  font-weight: 600;
}
.qe-brand-label strong {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--qe-ink);
  font-weight: 800;
}
.qe-header-nav-area {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.qe-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.2vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.qe-nav li { position: relative; }
.qe-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--qe-ink-soft);
  white-space: nowrap;
  transition: color var(--qe-transition);
}
.qe-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 2px;
  height: 1.5px;
  background: var(--qe-wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.2,.75,.25,1);
}
body.qe-rtl .qe-nav a::after { transform-origin: right; }
.qe-nav a:hover,
.qe-nav .current-menu-item > a,
.qe-nav .current_page_item > a { color: var(--qe-wine); }
.qe-nav a:hover::after,
.qe-nav .current-menu-item > a::after,
.qe-nav .current_page_item > a::after { transform: scaleX(1); }

.qe-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 12px 18px;
  background: var(--qe-wine);
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--qe-radius);
  transition: background var(--qe-transition), transform var(--qe-transition);
  flex-shrink: 0;
}
.qe-header-cta:hover { background: var(--qe-wine-dark); transform: translateY(-2px); color: #fff !important; }
.qe-header-cta span { font-size: 14px; line-height: 1; }

.qe-mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  color: var(--qe-wine);
  padding: 0;
}
.qe-mobile-toggle span {
  width: 18px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s ease;
  display: block;
}
.qe-mobile-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.qe-mobile-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ========================================================================
   LAYOUT HELPERS
   ======================================================================== */
.qe-container {
  width: 100%;
  max-width: var(--qe-content);
  margin-inline: auto;
  padding-inline: var(--qe-gutter);
}
.qe-section {
  padding: clamp(48px, 7vw, 96px) 0;
  width: 100%;
}
.qe-section--cream,
.qe-section--alt { background: var(--qe-cream); }
.qe-section--wine { background: var(--qe-wine-dark); color: #fff; }
.qe-section--dark { background: var(--qe-wine-deep); color: #fff; }
.qe-section--wine h2, .qe-section--wine h3, .qe-section--dark h2, .qe-section--dark h3 { color: #fff; }

.qe-section-header,
.qe-section-head { max-width: 740px; margin: 0 0 48px; }
.qe-section-header h2,
.qe-section-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.qe-section-header p,
.qe-section-head p { color: var(--qe-muted); font-size: 17px; margin: 0; }
.qe-section--wine .qe-section-header p,
.qe-section--wine .qe-section-head p { color: rgba(255,255,255,.72); }

.qe-lead { font-size: 18px; line-height: 1.7; color: var(--qe-ink-soft); }

/* Grid Helpers */
.qe-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.qe-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.qe-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
@media (max-width: 900px) {
  .qe-grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .qe-grid-3 { grid-template-columns: 1fr; }
  .qe-grid-4 { grid-template-columns: 1fr; }
}

/* General Cards & Feature Cards */
.qe-card {
  background: #fff;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  box-shadow: var(--qe-shadow-sm);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease;
}
.qe-card:hover { transform: translateY(-4px); box-shadow: var(--qe-shadow); }

.qe-feature-card {
  background: #fff;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  padding: 32px 24px;
  box-shadow: var(--qe-shadow-sm);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease;
}
.qe-feature-card:hover { transform: translateY(-4px); box-shadow: var(--qe-shadow); }
.qe-feature-card__icon { font-size: 32px; margin-bottom: 16px; display: inline-block; }
.qe-feature-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--qe-ink); }
.qe-feature-card p { font-size: 14px; color: var(--qe-muted); line-height: 1.65; margin: 0; }

/* CTA Banner */
.qe-cta-banner {
  background: linear-gradient(135deg, var(--qe-wine-dark) 0%, var(--qe-wine-deep) 100%);
  color: #fff;
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Visibility */
.qe-hide-mobile { display: block; }
@media (max-width: 768px) { .qe-hide-mobile { display: none; } }

/* Article / Editorial Content Body */
.qe-content-body { line-height: 1.85; font-size: 16px; color: var(--qe-ink-soft); }
.qe-content-body h1, .qe-content-body h2, .qe-content-body h3, .qe-content-body h4 { color: var(--qe-ink); margin-top: 1.4em; margin-bottom: .6em; }
.qe-content-body p { margin-bottom: 1.25em; }
.qe-content-body ul, .qe-content-body ol { margin-bottom: 1.25em; padding-left: 1.6em; }
.qe-content-body blockquote { border-left: 3px solid var(--qe-wine); margin: 1.5em 0; padding: .5em 0 .5em 1.2em; font-style: italic; color: var(--qe-muted); }
body.qe-rtl .qe-content-body blockquote { border-left: 0; border-right: 3px solid var(--qe-wine); padding-left: 0; padding-right: 1.2em; }

.qe-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--qe-wine);
  margin-bottom: 10px;
}
.qe-eyebrow--light { color: var(--qe-gold); }

/* ========================================================================
   BUTTONS
   ======================================================================== */
.qe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  border-radius: var(--qe-radius);
  border: 2px solid transparent;
  transition: all var(--qe-transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.qe-btn--primary { background: var(--qe-wine); color: #fff !important; border-color: var(--qe-wine); }
.qe-btn--primary:hover { background: var(--qe-wine-dark); border-color: var(--qe-wine-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,23,68,.3); color: #fff !important; }
.qe-btn--secondary { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.qe-btn--secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); color: #fff !important; }
.qe-btn--outline { background: transparent; color: var(--qe-wine) !important; border-color: var(--qe-wine); }
.qe-btn--outline:hover { background: var(--qe-wine); color: #fff !important; }
.qe-btn--gold { background: var(--qe-gold); color: #1a1720 !important; border-color: var(--qe-gold); }
.qe-btn--gold:hover { background: var(--qe-gold-light); border-color: var(--qe-gold-light); color: #1a1720 !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,.35); }
.qe-btn--outline-white { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.8); }
.qe-btn--outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff !important; transform: translateY(-2px); }
.qe-btn--ghost { background: transparent; color: var(--qe-ink) !important; border-color: var(--qe-line); }
.qe-btn--ghost:hover { border-color: var(--qe-wine); color: var(--qe-wine) !important; }
.qe-btn--sm { padding: 10px 18px; font-size: 12px; }
.qe-btn--lg { padding: 18px 32px; font-size: 14px; }
.qe-btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ========================================================================
   HERO
   ======================================================================== */
.qe-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 72vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--qe-wine-deep) center/cover no-repeat;
  color: #fff;
  width: 100%;
}
.qe-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg,
    rgba(20,8,14,.95) 0%,
    rgba(60,15,32,.82) 50%,
    rgba(40,12,25,.45) 100%
  );
}
.qe-hero-inner {
  width: 100%;
  max-width: var(--qe-content);
  margin-inline: auto;
  padding-inline: var(--qe-gutter);
  padding-block: clamp(48px, 8vw, 96px);
  position: relative;
  z-index: 1;
}
.qe-hero h1 {
  font-size: clamp(32px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  max-width: 820px;
  margin: 14px 0 20px;
  word-wrap: break-word;
}
.qe-hero h1 em { color: var(--qe-gold); font-style: normal; }
.qe-hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  max-width: 620px;
  margin-bottom: 32px;
}
.qe-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(201,169,110,.4);
  background: rgba(201,169,110,.1);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--qe-gold-light);
  text-transform: uppercase;
  font-weight: 600;
}
.qe-hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--qe-gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,.5); }
  50% { box-shadow: 0 0 0 5px rgba(201,169,110,0); }
}

/* ========================================================================
   FACTS / STATS BAR
   ======================================================================== */
.qe-facts-bar {
  background: #fff;
  border: 1px solid var(--qe-line);
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin: 0;
  box-shadow: var(--qe-shadow-sm);
  border-radius: 0 0 var(--qe-radius) var(--qe-radius);
  overflow: hidden;
}
.qe-fact {
  padding: clamp(16px, 2.5vw, 24px);
  border-inline-end: 1px solid var(--qe-line);
}
.qe-fact:last-child { border-inline-end: 0; }
.qe-fact small {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--qe-muted);
  margin-bottom: 4px;
}
.qe-fact strong { font-size: clamp(13px, 1.4vw, 15px); font-weight: 800; color: var(--qe-ink); }

@media (max-width: 900px) {
  .qe-facts-bar { grid-template-columns: repeat(2, 1fr); }
  .qe-fact:nth-child(2) { border-inline-end: 0; }
  .qe-fact:nth-child(1), .qe-fact:nth-child(2) { border-bottom: 1px solid var(--qe-line); }
}
@media (max-width: 480px) {
  .qe-facts-bar { grid-template-columns: 1fr; }
  .qe-fact { border-inline-end: 0; border-bottom: 1px solid var(--qe-line); }
  .qe-fact:last-child { border-bottom: 0; }
}

/* ========================================================================
   MISSION CARDS
   ======================================================================== */
.qe-missions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .qe-missions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .qe-missions-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.qe-mission-card {
  background: #fff;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  overflow: hidden;
  box-shadow: var(--qe-shadow-sm);
  transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease;
  display: flex;
  flex-direction: column;
}
.qe-mission-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--qe-shadow);
}
.qe-mission-card__img {
  height: 210px;
  overflow: hidden;
  background: var(--qe-wine-deep);
  position: relative;
}
.qe-mission-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.qe-mission-card:hover .qe-mission-card__img img { transform: scale(1.04); }
.qe-mission-card__status {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
}
.qe-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.qe-status-pill--open { background: rgba(26,122,66,.12); color: #15703c; border: 1px solid rgba(26,122,66,.3); }
.qe-status-pill--soon { background: rgba(184,92,0,.1); color: #7d4400; border: 1px solid rgba(184,92,0,.25); }
.qe-status-pill--closed { background: rgba(107,101,112,.1); color: var(--qe-muted); border: 1px solid rgba(107,101,112,.25); }
.qe-status-pill--done { background: rgba(26,23,32,.08); color: var(--qe-ink-soft); border: 1px solid rgba(26,23,32,.15); }
.qe-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.qe-status-pill--open .qe-status-dot { animation: pulse 2s infinite; }

.qe-mission-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.qe-mission-card__dest {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--qe-wine);
  margin-bottom: 6px;
}
.qe-mission-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--qe-ink);
}
.qe-mission-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--qe-muted);
  margin-bottom: 12px;
}
.qe-mission-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.qe-mission-card__desc {
  font-size: 13.5px;
  color: var(--qe-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.qe-mission-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.qe-tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--qe-cream);
  border: 1px solid var(--qe-line);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--qe-ink-soft);
}
.qe-mission-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

/* ========================================================================
   HOW IT WORKS / STEPS
   ======================================================================== */
.qe-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  overflow: hidden;
}
.qe-step {
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 1.8vw, 22px);
  background: #fff;
  border-inline-end: 1px solid var(--qe-line);
  position: relative;
}
.qe-step:last-child { border-inline-end: 0; }
.qe-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--qe-cream);
  border: 1px solid var(--qe-line);
  font-size: 13px;
  font-weight: 800;
  color: var(--qe-wine);
  margin-bottom: 16px;
}
.qe-step strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.qe-step p { font-size: 13px; color: var(--qe-muted); margin: 0; line-height: 1.6; }
.qe-step-arrow {
  position: absolute;
  inset-inline-end: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  background: var(--qe-paper);
  border: 1px solid var(--qe-line);
  border-inline-start: 0;
  border-bottom: 0;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
body.qe-rtl .qe-step-arrow { transform: translateY(-50%) rotate(-135deg); }

@media (max-width: 1024px) {
  .qe-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--qe-line);
  }
  .qe-step {
    border-inline-end: 0;
  }
  .qe-step:last-child {
    grid-column: 1 / -1;
  }
  .qe-step-arrow { display: none; }
}
@media (max-width: 600px) {
  .qe-steps-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .qe-step:last-child {
    grid-column: auto;
  }
}

/* ========================================================================
   SECTOR CARDS
   ======================================================================== */
.qe-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 960px) {
  .qe-sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 580px) {
  .qe-sectors-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.qe-sector-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--qe-radius);
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  background: var(--qe-wine-dark) center/cover no-repeat;
  transition: transform .28s cubic-bezier(.2,.75,.25,1);
}
.qe-sector-card:hover { transform: translateY(-5px); box-shadow: var(--qe-shadow); }
.qe-sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,8,14,.88) 0%, rgba(20,8,14,.2) 65%, transparent 100%);
}
.qe-sector-card__body {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
}
.qe-sector-card__icon {
  font-size: 24px;
  margin-bottom: 6px;
  display: block;
}
.qe-sector-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.3;
}
.qe-sector-card__sub {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 3px;
  display: block;
}
.qe-sector-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--qe-gold-light);
  letter-spacing: .04em;
}

/* ========================================================================
   CALENDAR TABLE
   ======================================================================== */
.qe-calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
}
.qe-filter-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--qe-muted); align-self: center; flex-shrink: 0; }
.qe-filter-select {
  padding: 8px 12px;
  border: 1px solid var(--qe-line);
  border-radius: 2px;
  font-size: 13px;
  color: var(--qe-ink);
  background: #fff;
  cursor: pointer;
}
.qe-filter-select:focus { outline: 2px solid var(--qe-wine); outline-offset: 2px; }

.qe-calendar-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}
.qe-calendar-table,
.qe-cal-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--qe-line); border-radius: var(--qe-radius); overflow: hidden; }
.qe-calendar-table th,
.qe-cal-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--qe-muted);
  background: var(--qe-cream);
  border-bottom: 1px solid var(--qe-line);
}
body.qe-rtl .qe-calendar-table th,
body.qe-rtl .qe-cal-table th { text-align: right; }
.qe-calendar-table td,
.qe-cal-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--qe-line-soft);
  font-size: 14px;
  vertical-align: middle;
}
.qe-calendar-table tr:last-child td,
.qe-cal-table tr:last-child td { border-bottom: 0; }
.qe-calendar-table tr:hover td,
.qe-cal-table tr:hover td { background: var(--qe-cream); }
.qe-calendar-table a,
.qe-cal-table a { color: var(--qe-wine); font-weight: 600; }

/* ========================================================================
   INDIVIDUAL MISSION PAGE
   ======================================================================== */
.qe-mission-hero {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--qe-wine-deep) center/cover no-repeat;
  color: #fff;
}
.qe-mission-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20,8,14,.95) 0%, rgba(60,15,32,.8) 55%, rgba(40,12,25,.4) 100%);
}
.qe-mission-glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  border: 1px solid var(--qe-line);
  background: #fff;
  border-radius: var(--qe-radius);
  overflow: hidden;
  margin-bottom: 48px;
}
.qe-glance-item {
  padding: 22px 20px;
  border-inline-end: 1px solid var(--qe-line);
}
.qe-glance-item:last-child { border-inline-end: 0; }
.qe-glance-item small {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--qe-wine);
  font-weight: 700;
  margin-bottom: 6px;
}
.qe-glance-item strong { font-size: 14px; font-weight: 700; color: var(--qe-ink); line-height: 1.3; }

.qe-mission-schedule { margin-bottom: 48px; }
.qe-day-item {
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}
.qe-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  background: var(--qe-cream);
  border-bottom: 1px solid var(--qe-line);
  transition: background var(--qe-transition);
}
.qe-day-header:hover { background: var(--qe-line-soft); }
.qe-day-header h4 { margin: 0; font-size: 14px; font-weight: 700; color: var(--qe-ink); }
.qe-day-header span { font-size: 12px; color: var(--qe-wine); font-weight: 600; }
.qe-day-body {
  padding: 20px 22px;
  display: none;
}
.qe-day-item.is-open .qe-day-body { display: block; }
.qe-day-item.is-open .qe-day-header { border-bottom-color: var(--qe-line); }
.qe-day-events { list-style: none; padding: 0; margin: 0; }
.qe-day-event {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--qe-line-soft);
}
.qe-day-event:last-child { border-bottom: 0; }
.qe-event-time {
  flex-shrink: 0;
  width: 70px;
  font-size: 12px;
  font-weight: 700;
  color: var(--qe-wine);
}
.qe-event-desc { font-size: 13.5px; color: var(--qe-ink); line-height: 1.55; }

/* ========================================================================
   BEFORE/DURING/AFTER
   ======================================================================== */
.qe-bda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--qe-line); border-radius: var(--qe-radius); overflow: hidden; }
.qe-bda-col { padding: 36px 28px; background: #fff; border-inline-end: 1px solid var(--qe-line); }
.qe-bda-col:last-child { border-inline-end: 0; }
.qe-bda-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--qe-wine);
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(139,23,68,.2);
  border-radius: 2px;
}
.qe-bda-col h4 { font-size: 18px; margin-bottom: 12px; }
.qe-bda-col ul { list-style: none; padding: 0; margin: 0; }
.qe-bda-col li {
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--qe-ink-soft);
  border-bottom: 1px solid var(--qe-line-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.qe-bda-col li:last-child { border-bottom: 0; }
.qe-bda-col li::before { content: '→'; color: var(--qe-wine); flex-shrink: 0; font-size: 12px; margin-top: 1px; }

/* ========================================================================
   INCLUSION GRID
   ======================================================================== */
.qe-inclusion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.qe-inclusion-box {
  padding: 28px;
  border-radius: var(--qe-radius);
  border: 1px solid var(--qe-line);
  background: #fff;
}
.qe-inclusion-box.qe-included { border-top: 3px solid var(--qe-success); }
.qe-inclusion-box.qe-excluded { border-top: 3px solid var(--qe-muted); }
.qe-inclusion-box h4 { font-size: 15px; margin-bottom: 16px; }
.qe-inclusion-box ul { list-style: none; padding: 0; margin: 0; }
.qe-inclusion-box li {
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--qe-ink-soft);
  border-bottom: 1px solid var(--qe-line-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.qe-inclusion-box li:last-child { border-bottom: 0; }
.qe-included li::before { content: '✓'; color: var(--qe-success); font-weight: 700; flex-shrink: 0; }
.qe-excluded li::before { content: '–'; color: var(--qe-muted); font-weight: 700; flex-shrink: 0; }

/* ========================================================================
   PARTICIPATION BOX
   ======================================================================== */
.qe-participation-box {
  background: var(--qe-cream);
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  padding: 36px;
}
.qe-participation-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: 1px solid var(--qe-line);
  background: #fff;
  border-radius: var(--qe-radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.qe-participation-item { padding: 18px 20px; border-inline-end: 1px solid var(--qe-line); }
.qe-participation-item:last-child { border-inline-end: 0; }
.qe-participation-item small {
  display: block;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--qe-muted);
  margin-bottom: 5px;
  font-weight: 600;
}
.qe-participation-item strong { font-size: 16px; font-weight: 800; color: var(--qe-ink); }
.qe-apply-cta { text-align: center; padding-top: 8px; }
.qe-apply-cta p { font-size: 13px; color: var(--qe-muted); margin-bottom: 18px; }

/* ========================================================================
   B2B PROCESS FLOW
   ======================================================================== */
.qe-matchmaking-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--qe-cream);
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  overflow: hidden;
}
.qe-flow-step {
  flex: 1;
  min-width: 120px;
  padding: 20px 16px;
  text-align: center;
  border-inline-end: 1px solid var(--qe-line);
  background: #fff;
  position: relative;
}
.qe-flow-step:last-child { border-inline-end: 0; }
.qe-flow-step strong { display: block; font-size: 12px; font-weight: 700; color: var(--qe-ink); line-height: 1.4; }
.qe-flow-step span { display: block; font-size: 10px; color: var(--qe-muted); margin-top: 4px; }

/* ========================================================================
   FORMS
   ======================================================================== */
.qe-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  padding: 40px;
  box-shadow: var(--qe-shadow-sm);
}
.qe-form-section { margin-bottom: 36px; }
.qe-form-section h3 {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--qe-line);
  color: var(--qe-wine);
}
.qe-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.qe-field { display: flex; flex-direction: column; gap: 6px; }
.qe-field--full { grid-column: 1 / -1; }
.qe-field label { font-size: 12.5px; font-weight: 700; color: var(--qe-ink); }
.qe-field input,
.qe-field select,
.qe-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--qe-line);
  border-radius: var(--qe-radius);
  background: #fff;
  color: var(--qe-ink);
  font: inherit;
  font-size: 14px;
  transition: border-color var(--qe-transition), box-shadow var(--qe-transition);
}
.qe-field input:focus,
.qe-field select:focus,
.qe-field textarea:focus {
  outline: none;
  border-color: var(--qe-wine);
  box-shadow: 0 0 0 3px rgba(139,23,68,.1);
}
.qe-field textarea { min-height: 100px; resize: vertical; }
.qe-field--upload label { font-size: 12.5px; font-weight: 700; color: var(--qe-ink); }
.qe-field--upload input[type="file"] {
  padding: 8px 14px;
  background: var(--qe-cream);
  border: 1.5px dashed var(--qe-line);
}
.qe-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  grid-column: 1 / -1;
}
.qe-check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--qe-ink);
  padding: 10px 12px;
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  cursor: pointer;
  transition: border-color var(--qe-transition), background var(--qe-transition);
}
.qe-check-label:hover { border-color: var(--qe-wine); background: rgba(139,23,68,.03); }
.qe-check-label input { margin-top: 2px; accent-color: var(--qe-wine); }
.qe-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--qe-ink-soft);
  grid-column: 1 / -1;
  padding-top: 8px;
}
.qe-consent input { margin-top: 3px; accent-color: var(--qe-wine); flex-shrink: 0; }
.qe-form-submit { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.qe-form-note { font-size: 12px; color: var(--qe-muted); }
.qe-field-hint { font-size: 12px; color: var(--qe-muted); font-weight: 400; margin-top: 2px; }
.qe-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.qe-notice {
  padding: 14px 18px;
  border-radius: var(--qe-radius);
  font-size: 14px;
  display: none;
  margin-top: 16px;
}
.qe-notice.qe-success { display: block; background: #edf7f1; border: 1px solid #a3d4b4; color: #16603a; }
.qe-notice.qe-error { display: block; background: #fff0f0; border: 1px solid #f5b8b8; color: #7d1a1a; }

/* ========================================================================
   FOR BUYERS SECTION
   ======================================================================== */
.qe-buyers-section {
  background: linear-gradient(135deg, var(--qe-wine-dark) 0%, var(--qe-wine-deep) 100%);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}
.qe-buyers-section::after {
  content: '⇄';
  position: absolute;
  inset-inline-end: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 200px;
  color: rgba(255,255,255,.04);
  font-weight: 900;
  pointer-events: none;
  line-height: 1;
}
.qe-buyers-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.qe-buyers-left h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; color: #fff; margin-bottom: 16px; }
.qe-buyers-left h2 em { color: var(--qe-gold); font-style: normal; }
.qe-buyers-left p { color: rgba(255,255,255,.78); font-size: 16px; margin-bottom: 28px; }
.qe-buyers-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.qe-buyer-tag {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.qe-buyers-right {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--qe-radius);
  padding: 36px;
  backdrop-filter: blur(8px);
}
.qe-buyers-symbol { font-size: 64px; color: var(--qe-gold); margin-bottom: 16px; text-align: center; }
.qe-buyers-right p { color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.8; text-align: center; }

/* ========================================================================
   ABOUT SECTION
   ======================================================================== */
.qe-about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.qe-about-text h2 { font-size: clamp(28px, 3.8vw, 48px); margin-bottom: 20px; }
.qe-about-text p { font-size: 15px; color: var(--qe-muted); line-height: 1.8; margin-bottom: 16px; }
.qe-about-text p:last-child { margin-bottom: 0; }
.qe-about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.qe-about-images figure { margin: 0; border-radius: var(--qe-radius); overflow: hidden; background: var(--qe-wine-dark); }
.qe-about-images figure:first-child { grid-column: 1 / -1; }
.qe-about-images img { width: 100%; height: 220px; object-fit: cover; }
.qe-about-images figure:first-child img { height: 300px; }

/* ========================================================================
   CONTACT
   ======================================================================== */
.qe-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.qe-contact-info h3 { font-size: 22px; margin-bottom: 24px; }
.qe-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--qe-line);
}
.qe-contact-detail:last-child { border-bottom: 0; }
.qe-contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--qe-cream);
  border: 1px solid var(--qe-line);
  border-radius: var(--qe-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.qe-contact-detail-text small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--qe-muted); margin-bottom: 3px; }
.qe-contact-detail-text a, .qe-contact-detail-text strong { font-size: 14px; font-weight: 600; color: var(--qe-ink); }

/* ========================================================================
   PAGE HERO (Internal pages)
   ======================================================================== */
.qe-page-hero {
  position: relative;
  isolation: isolate;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--qe-wine-deep) center/cover no-repeat;
  color: #fff;
}
.qe-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(20,8,14,.95) 0%, rgba(60,15,32,.8) 55%, rgba(40,12,25,.4) 100%);
}
.qe-page-hero-inner {
  width: 100%;
  max-width: var(--qe-content);
  margin-inline: auto;
  padding-inline: var(--qe-gutter);
  padding-block: clamp(40px, 7vw, 76px);
}
.qe-page-hero h1 {
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.08;
  color: #fff;
  max-width: 820px;
  margin: 12px 0 14px;
}
.qe-page-hero p {
  color: rgba(255,255,255,.82);
  font-size: clamp(14px, 1.8vw, 17px);
  max-width: 680px;
}

/* ========================================================================
   TICKER
   ======================================================================== */
.qe-ticker {
  background: var(--qe-wine);
  color: rgba(255,255,255,.9);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.qe-ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  animation: ticker 28s linear infinite;
}
.qe-ticker-inner span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.qe-ticker-inner i { color: var(--qe-gold); font-style: normal; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========================================================================
   FOOTER
   ======================================================================== */
.site-footer {
  background: #1c1720;
  color: rgba(255,255,255,.75);
  padding-top: clamp(48px, 6vw, 68px);
  width: 100%;
}
.qe-footer-inner {
  width: 100%;
  max-width: var(--qe-content);
  margin-inline: auto;
  padding-inline: var(--qe-gutter);
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
}
.qe-footer-brand {
  display: flex;
  flex-direction: column;
}
.qe-footer-logo {
  width: 172px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
  border-radius: var(--qe-radius);
  background: rgba(255,255,255,.06);
  padding: 6px 12px;
}
body.qe-rtl .qe-footer-logo { object-position: right center; }
.qe-footer-brand p { font-size: 13.5px; line-height: 1.7; margin-bottom: 8px; }
.qe-footer-brand .qe-footer-powered { color: var(--qe-gold-light); font-size: 12px; font-weight: 600; }
.qe-footer-col h4 {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--qe-gold);
  margin-bottom: 16px;
  font-weight: 700;
}
.qe-footer-col ul { list-style: none; padding: 0; margin: 0; }
.qe-footer-col li { margin-bottom: 10px; }
.qe-footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: color var(--qe-transition), transform var(--qe-transition);
  display: inline-block;
}
.qe-footer-col a:hover { color: #fff; transform: translateX(3px); }
body.qe-rtl .qe-footer-col a:hover { transform: translateX(-3px); }
.qe-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  width: 100%;
  max-width: var(--qe-content);
  margin-inline: auto;
  padding-inline: var(--qe-gutter);
  padding-block: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.qe-footer-bottom small { font-size: 12px; color: rgba(255,255,255,.4); }
.qe-footer-social { display: flex; gap: 12px; }
.qe-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--qe-radius);
  color: rgba(255,255,255,.5);
  font-size: 14px;
  transition: all var(--qe-transition);
}
.qe-footer-social a:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); transform: none; }

/* ========================================================================
   ANIMATIONS
   ======================================================================== */
.qe-animated {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.2,.75,.25,1), transform .55s cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--qe-stagger, 0ms);
}
.qe-in-view { opacity: 1 !important; transform: translateY(0) !important; }
@media (prefers-reduced-motion: reduce) {
  .qe-animated { opacity: 1 !important; transform: none !important; }
  * { animation: none !important; transition: none !important; }
}

/* ========================================================================
   WORDPRESS ADMIN BAR OFFSET
   ======================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ========================================================================
   RESPONSIVE DESIGN (DESKTOP / TABLET / MOBILE)
   ======================================================================== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .qe-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .qe-buyers-inner { grid-template-columns: 1fr; gap: 36px; }
  .qe-footer-inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .qe-bda-grid { grid-template-columns: 1fr; }
  .qe-bda-col { border-inline-end: 0; border-bottom: 1px solid var(--qe-line); }
  .qe-bda-col:last-child { border-bottom: 0; }
}

/* Tablets & Mobile Landscape (<= 768px) */
@media (max-width: 768px) {
  .qe-header-inner { min-height: 72px; }
  .qe-brand-label { display: none; }
  .qe-brand-sep { display: none; }
  .qe-brand-logo { width: 144px; }
  .qe-mobile-toggle { display: flex; }
  .qe-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #fff;
    border-top: 1px solid var(--qe-line);
    box-shadow: var(--qe-shadow);
    padding: 12px var(--qe-gutter);
    z-index: 99;
  }
  .qe-nav.is-open { display: block; }
  .qe-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .qe-nav li { border-bottom: 1px solid var(--qe-line-soft); }
  .qe-nav li:last-child { border-bottom: 0; }
  .qe-nav a { padding: 12px 4px; font-size: 14px; display: block; }
  .qe-header-nav-area { gap: 10px; }
  
  .qe-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .qe-inclusion-grid { grid-template-columns: 1fr; gap: 16px; }
  .qe-form-wrap { padding: 28px 20px; }
  .qe-form-grid { grid-template-columns: 1fr; }
  .qe-check-grid { grid-template-columns: repeat(2, 1fr); }
  
  .qe-mission-glance { grid-template-columns: repeat(2, 1fr); }
  .qe-participation-meta { grid-template-columns: repeat(2, 1fr); }
  .qe-calendar-table { font-size: 13px; }
  .qe-calendar-table th, .qe-calendar-table td { padding: 12px 10px; }
}

/* Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .qe-header-inner { min-height: 64px; }
  .qe-header-cta { display: none; }
  .qe-btn-group .qe-btn { width: 100%; text-align: center; }
  .qe-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .qe-footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .qe-check-grid { grid-template-columns: 1fr; }
  .qe-about-images { grid-template-columns: 1fr; }
  .qe-mission-glance { grid-template-columns: 1fr; }
  .qe-participation-meta { grid-template-columns: 1fr; }
}
