/* ============================================================
   Wuthqa Website UI Kit v2 — modern editorial styles
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--fg); }
/* clip (not hidden) prevents horizontal scroll WITHOUT creating a scroll
   container — so position: sticky on the nav/utility bar keeps working. */
#app { min-height: 100vh; overflow-x: clip; }
h2, h3, h4, h5, p { margin: 0; }

/* ---- Scroll reveal (progressive enhancement) -------------- */
/* Only hides when JS has confirmed it's running; visible otherwise. */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.reveal-on [data-reveal].in { opacity: 1; transform: none; }

/* ---- Kicker ----------------------------------------------- */
.wq-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--gold); }
.wq-kicker-idx { font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.wq-kicker-rule { width: 30px; height: 2px; background: currentColor; opacity: .9; }
.wq-kicker-label { font-family: var(--font-ar); font-weight: 600; font-size: 15px; letter-spacing: .01em; }

/* ---- Buttons ---------------------------------------------- */
.wq-btn { font-family: var(--font-ar); font-weight: 600; font-size: 16px; border-radius: var(--r-md);
  padding: 13px 26px; border: 1.5px solid transparent; cursor: pointer; display: inline-flex; align-items: center;
  gap: 9px; line-height: 1; transition: all .3s var(--ease); }
.wq-btn-arrow { display: inline-flex; transition: transform .3s var(--ease); }
.wq-btn:hover .wq-btn-arrow { transform: translateX(-5px); }
.wq-btn-primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.wq-btn-primary:hover { background: var(--teal-700); border-color: var(--teal-700); }
.wq-btn-gold { background: var(--gold); color: #17140f; border-color: var(--gold); }
.wq-btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); }
.wq-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.wq-btn:disabled .wq-btn-arrow { transform: none; }
.wq-btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.wq-btn-outline:hover { background: var(--gold); color: #17140f; }
.wq-btn-outline.wq-btn-light { color: #fff; border-color: rgba(255,255,255,.45); }
.wq-btn-outline.wq-btn-light:hover { background: #fff; color: var(--teal); border-color: #fff; }
.wq-btn-ghost { background: transparent; color: var(--teal); padding: 13px 14px; }

/* ---- Metric chip (proof point) ---------------------------- */
.wq-chip { display: inline-flex; align-items: center; font-family: var(--font-ar); font-weight: 600; font-size: 13.5px;
  color: var(--teal); background: #fff; border: 1px solid var(--gold); border-radius: var(--r-full); padding: 6px 14px; }

/* ---- Navbar ----------------------------------------------- */
.wq-nav { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft); transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.wq-nav.solid { background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); border-bottom-color: transparent; }
.wq-nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wq-nav-logo { background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; }
.wq-nav-logo img { height: 46px; }
.wq-nav-links { display: flex; align-items: center; gap: 28px; }
.wq-nav-link { background: none; border: none; cursor: pointer; font-family: var(--font-ar); font-size: 15.5px; font-weight: 500; color: var(--fg); padding: 8px 0; position: relative; transition: color .25s var(--ease); }
.wq-nav-link::after { content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s var(--ease); }
.wq-nav-link:hover { color: var(--teal); }
.wq-nav-link:hover::after { width: 100%; }
.wq-nav-lang { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: none; color: var(--fg-3); font-family: var(--font-en); font-weight: 600; font-size: 13px; cursor: pointer; padding: 6px; }
.wq-nav-lang:hover { color: var(--teal); }
.wq-nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--teal); padding: 6px; }
.wq-nav-mobile { border-top: 1px solid var(--border); padding: 12px 32px 20px; display: flex; flex-direction: column; }
.wq-nav-mobile button { background: none; border: none; text-align: right; font-family: var(--font-ar); font-size: 16px; font-weight: 500; color: var(--fg); padding: 13px 0; cursor: pointer; border-bottom: 1px solid var(--border-soft); }

/* ---- Hero ------------------------------------------------- */
.wq-hero { position: relative; overflow: hidden; color: #fff; background: var(--teal-900); }
.wq-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wq-hero-veil { position: absolute; inset: 0; background:
  linear-gradient(105deg, rgba(48,69,70,.96) 0%, rgba(75,107,109,.9) 42%, rgba(88,126,128,.55) 100%); }
.wq-hero-mark { position: absolute; left: -90px; bottom: -110px; width: 480px; opacity: .07; filter: brightness(0) invert(1); pointer-events: none; }
.wq-hero-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 132px 32px 88px; }
.wq-hero-copy { max-width: 760px; }
.wq-hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.wq-hero-title .gold { color: var(--gold); }
.wq-hero-lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.75; color: rgba(255,255,255,.86); margin: 26px 0 0; max-width: 620px; }
.wq-hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.wq-hero-metrics { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.16); }
.wq-hero-metrics-inner { max-width: var(--container); margin: 0 auto; padding: 36px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.wq-hero-metric { padding-right: 24px; border-right: 1px solid rgba(255,255,255,.14); }
.wq-hero-metric:last-child { border-right: none; }

/* ---- About ------------------------------------------------ */
.wq-about { display: grid; grid-template-columns: 1.25fr .85fr; gap: 64px; align-items: center; }
.wq-about-facts { display: flex; flex-direction: column; gap: 14px; }
.wq-fact { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 20px; transition: border-color .3s var(--ease); }
.wq-fact:hover { border-color: var(--gold); }

/* ---- Services --------------------------------------------- */
.wq-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wq-svc-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 30px 30px; transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); cursor: default; overflow: hidden; }
.wq-svc-card::before { content: ''; position: absolute; top: 0; right: 0; width: 0; height: 3px; background: var(--gold); transition: width .4s var(--ease); }
.wq-svc-card:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: var(--shadow-lg); }
.wq-svc-card:hover::before { width: 100%; }
.wq-svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.wq-svc-num { font-family: var(--font-en); font-weight: 600; font-size: 34px; color: var(--border); letter-spacing: -.02em; transition: color .3s var(--ease); }
.wq-svc-card:hover .wq-svc-num { color: var(--gold); }
.wq-svc-card h3 { color: var(--teal); font-weight: 700; font-size: 23px; margin-bottom: 12px; }
.wq-svc-card p { color: var(--fg-2); font-size: 16px; line-height: 1.85; }
.wq-svc-arrow { display: inline-flex; margin-top: 22px; color: var(--gold); opacity: 0; transform: translateX(8px); transition: all .3s var(--ease); }
.wq-svc-card:hover .wq-svc-arrow { opacity: 1; transform: none; }

/* ---- Lab (dark feature band) ------------------------------ */
.wq-lab { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-900) 100%); color: #fff; padding: 110px 0; }
.wq-lab-mark { position: absolute; left: -140px; top: 50%; transform: translateY(-50%); width: 560px; opacity: .08; filter: brightness(0) invert(1); pointer-events: none; }
.wq-lab-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.wq-lab-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.22; margin-bottom: 16px; }
.wq-lab-head > p { font-size: 18px; line-height: 1.85; color: rgba(255,255,255,.8); max-width: 480px; }
.wq-lab-hero-metric { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.wq-lab-points { display: flex; flex-direction: column; gap: 8px; }
.wq-lab-point { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); transition: background .3s var(--ease); }
.wq-lab-point:hover { background: rgba(255,255,255,.06); }
.wq-lab-ic { width: 48px; height: 48px; border-radius: var(--r-md); background: rgba(165,149,107,.2); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wq-lab-point .t { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.wq-lab-point .d { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.74); }

/* ---- Methodology ------------------------------------------ */
.wq-method { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 48px; }
.wq-step { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--border); }
.wq-step-num { font-family: var(--font-en); font-weight: 600; font-size: 30px; color: var(--gold); letter-spacing: -.02em; line-height: 1; flex-shrink: 0; min-width: 48px; }
.wq-step-body h4 { color: var(--teal); font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.wq-step-body p { color: var(--fg-2); font-size: 15.5px; line-height: 1.8; }

/* ---- Achievements ----------------------------------------- */
.wq-ach { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.wq-ach-tabs { display: flex; flex-direction: column; gap: 8px; }
.wq-ach-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: right; background: #fff; color: var(--fg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 18px; cursor: pointer; transition: all .25s var(--ease); font-family: var(--font-ar); font-size: 16px; font-weight: 600; position: relative; }
.wq-ach-tab .ic { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .25s var(--ease); }
.wq-ach-tab .lb { flex: 1; }
.wq-ach-tab .or { font-size: 12.5px; color: var(--fg-3); }
.wq-ach-tab:hover { border-color: var(--teal); }
.wq-ach-tab.active { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: var(--shadow-md); }
.wq-ach-tab.active .ic { background: rgba(255,255,255,.18); color: #fff; }
.wq-ach-tab.active .or { color: rgba(255,255,255,.7); }
.wq-ach-panel { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-md); min-height: 380px; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wq-ach-panel-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }
.wq-ach-panel-head .or { font-size: 14px; color: var(--gold); font-weight: 700; }
.wq-ach-panel-head h3 { color: var(--teal); font-size: 26px; font-weight: 700; }
.wq-ach-items { display: flex; flex-direction: column; gap: 24px; }
.wq-ach-item { display: flex; gap: 14px; align-items: flex-start; }
.wq-ach-item .dot { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.wq-ach-item p { color: var(--fg); font-size: 16.5px; line-height: 1.8; }
.wq-ach-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---- Partners --------------------------------------------- */
.wq-partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.wq-partner { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; cursor: pointer; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.wq-partner:hover, .wq-partner.open { border-color: var(--teal); box-shadow: var(--shadow-md); }
.wq-partner-head { display: flex; align-items: center; gap: 16px; }
.wq-partner-mono { width: 56px; height: 56px; border-radius: var(--r-md); overflow: hidden; flex-shrink: 0; }
.wq-partner-mono img { width: 100%; height: 100%; object-fit: cover; }
.wq-partner-head .nm { font-weight: 700; font-size: 18px; color: var(--teal); line-height: 1.4; }
.wq-partner-head .role { display: inline-block; font-weight: 600; font-size: 12.5px; color: var(--gold-600); background: var(--gold-tint); padding: 3px 12px; border-radius: var(--r-full); margin-top: 7px; }
.wq-partner .chev { color: var(--fg-3); transition: transform .3s var(--ease); }
.wq-partner.open .chev { transform: rotate(180deg); }
.wq-partner .tag { font-size: 14.5px; color: var(--fg-2); margin-top: 16px; line-height: 1.7; }
.wq-partner-bio { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.wq-partner-bio p { font-size: 15px; color: var(--fg-2); line-height: 1.9; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-soft); }

/* ---- Licenses --------------------------------------------- */
.wq-lic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wq-lic { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.wq-lic:hover { border-color: var(--gold); transform: translateY(-3px); }
.wq-lic .ic { color: var(--gold); }
.wq-lic .t { font-weight: 700; font-size: 16px; color: var(--teal); margin-top: 16px; }
.wq-lic .n { font-family: var(--font-en); font-size: 13px; color: var(--fg-3); margin-top: 6px; direction: ltr; text-align: right; }
.wq-accred { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.wq-accred span { color: var(--fg-3); font-size: 14px; font-weight: 600; }

/* ---- Contact ---------------------------------------------- */
.wq-contact { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-900) 100%); border-radius: var(--r-xl); padding: clamp(32px, 4.5vw, 60px); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.wq-contact-mark { position: absolute; right: -120px; top: -120px; width: 380px; opacity: .08; filter: brightness(0) invert(1); pointer-events: none; }
.wq-contact-copy { position: relative; z-index: 1; }
.wq-contact-copy h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.wq-contact-copy > p { color: rgba(255,255,255,.82); font-size: 17.5px; line-height: 1.8; margin-bottom: 30px; }
.wq-contact-rows { display: flex; flex-direction: column; gap: 18px; }
.wq-contact-row { display: flex; gap: 14px; align-items: center; }
.wq-contact-row .ic { width: 46px; height: 46px; border-radius: var(--r-md); background: rgba(165,149,107,.2); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wq-contact-row .lb { font-size: 13px; color: rgba(255,255,255,.6); }
.wq-contact-row .vl { font-size: 16px; font-weight: 600; }
.wq-contact-form { position: relative; z-index: 1; background: #fff; border-radius: var(--r-lg); padding: 30px; }
.wq-contact-form form { display: flex; flex-direction: column; gap: 14px; }
.wq-contact-form input, .wq-contact-form textarea { width: 100%; font-family: var(--font-ar); font-size: 15px; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; color: var(--fg); transition: border-color .25s var(--ease); }
.wq-contact-form input:focus, .wq-contact-form textarea:focus { outline: none; border-color: var(--gold); }
.wq-contact-form textarea { min-height: 100px; resize: vertical; }
.wq-contact-sent { text-align: center; padding: 50px 10px; color: var(--teal); }
.wq-contact-sent h3 { font-size: 23px; margin: 16px 0 6px; }
.wq-contact-sent p { color: var(--fg-2); font-size: 15px; }

/* ---- Footer ----------------------------------------------- */
.wq-footer { background: var(--teal-900); color: #fff; }
.wq-footer-inner { max-width: var(--container); margin: 0 auto; padding: 60px 32px 32px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
.wq-footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.wq-footer-logo img { width: 52px; height: 52px; border-radius: var(--r-md); }
.wq-footer-logo span { font-weight: 700; font-size: 20px; }
.wq-footer-brand p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.85; max-width: 380px; }
.wq-footer-col h5 { font-weight: 700; font-size: 16px; color: var(--gold); margin-bottom: 16px; }
.wq-footer-col button { display: block; background: none; border: none; cursor: pointer; text-align: right; font-family: var(--font-ar); font-size: 15px; color: rgba(255,255,255,.78); padding: 5px 0; transition: color .25s var(--ease); }
.wq-footer-col button:hover { color: var(--gold); }
.wq-footer-contact { color: rgba(255,255,255,.78); font-size: 15px; line-height: 2; }
.wq-footer-contact .en { font-family: var(--font-en); direction: ltr; text-align: right; }
.wq-footer-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 32px; text-align: center; color: rgba(255,255,255,.55); font-size: 13px; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 980px) {
  .nav-desktop { display: none !important; }
  .wq-nav-toggle { display: inline-flex; }
  .wq-about, .wq-lab-inner, .wq-contact { grid-template-columns: 1fr; gap: 36px; }
  .wq-svc-grid, .wq-method, .wq-partners { grid-template-columns: 1fr; }
  .wq-ach { grid-template-columns: 1fr; }
  .wq-ach-tabs { flex-direction: row; flex-wrap: wrap; }
  .wq-ach-tab { width: auto; flex: 1 1 auto; }
  .wq-lic-grid { grid-template-columns: repeat(2, 1fr); }
  .wq-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .wq-hero-metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .wq-hero-metric:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  .wq-hero-metrics-inner { grid-template-columns: 1fr 1fr; }
  .wq-lic-grid { grid-template-columns: 1fr; }
}
/* Form honeypot: present in the DOM for basic bot detection, never visible. */
.wq-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.wq-noscript {
  padding: 10px 20px;
  background: #f4eedd;
  color: #304546;
  border-bottom: 1px solid #a5956b;
  font: 600 14px/1.5 system-ui, sans-serif;
  text-align: center;
}
