/* ==========================================================================
   Qlegy — global stylesheet
   Tokens from the design export are the single source of truth.
   Base element rules use :where() so they never beat component rules.
   Logical properties throughout — RTL mirrors automatically.
   ========================================================================== */

/* ---------- Fonts (bundled, self-contained) ---------- */
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GeistMono';
  src: url('../fonts/GeistMono-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/InstrumentSerif-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --qlegy-bg: #0a0a0b;
  --qlegy-bg-2: #0f0f10;
  --qlegy-surface: #131314;
  --qlegy-surface-2: #18181a;
  --qlegy-line: rgba(255, 255, 255, 0.08);
  --qlegy-line-strong: rgba(255, 255, 255, 0.16);
  --qlegy-fg: #f5f5f7;
  --qlegy-fg-dim: #a1a1a6;
  --qlegy-fg-mute: #6e6e73;
  --qlegy-accent: #f5f5f7;
  --qlegy-brand: #22d3ee;
  --qlegy-brand-2: #67e8f9;
  --qlegy-ok: #4ade80;
  --qlegy-radius: 18px;
  --qlegy-radius-sm: 10px;
  --qlegy-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --qlegy-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --qlegy-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --qlegy-mono: 'GeistMono', ui-monospace, monospace;
  --qlegy-serif: 'Instrument Serif', serif;
}

/* Arabic gets a matching sans; overridable from Theme Settings. */
:where(html[lang^='ar'] body.qlegy),
:where(body.qlegy :lang(ar)) {
  letter-spacing: 0;
}

/* ---------- Base (zero class specificity via :where) ---------- */
:where(body.qlegy) {
  margin: 0;
  background: var(--qlegy-bg);
  color: var(--qlegy-fg);
  font-family: var(--qlegy-sans);
  font-size: var(--qlegy-body-size, 16px);
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}
:where(.qlegy) * {
  box-sizing: border-box;
}
:where(.qlegy h1, .qlegy h2, .qlegy h3, .qlegy h4, .qlegy h5, .qlegy h6) {
  margin: 0;
  font-weight: var(--qlegy-heading-weight, 500);
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-family: var(--qlegy-heading-font, var(--qlegy-sans));
}
:where(.qlegy h1) { font-size: calc(clamp(48px, 9vw, 168px) * var(--qlegy-heading-scale, 1)); }
:where(.qlegy h2) { font-size: calc(clamp(40px, 6.5vw, 112px) * var(--qlegy-heading-scale, 1)); }
:where(.qlegy h3) { font-size: calc(clamp(28px, 3.5vw, 56px) * var(--qlegy-heading-scale, 1)); }
:where(.qlegy p) {
  margin: 0;
  line-height: 1.5;
  color: var(--qlegy-fg-dim);
}
:where(.qlegy a) {
  color: inherit;
}
:where(.qlegy a, .qlegy button) {
  cursor: pointer;
}
:where(.qlegy img) {
  max-width: 100%;
  height: auto;
}
:where(.qlegy ::selection) {
  background: var(--qlegy-fg);
  color: var(--qlegy-bg);
}
:where(.qlegy)::-webkit-scrollbar { width: 10px; height: 10px; }
:where(.qlegy)::-webkit-scrollbar-track { background: var(--qlegy-bg); }
:where(.qlegy)::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; }

html {
  scroll-behavior: smooth;
}

/* ---------- Film grain overlay ---------- */
.qlegy.qlegy-grain::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.04;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* ---------- Primitives ---------- */
.qlegy .qlg-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 32px;
}
@media (max-width: 720px) {
  .qlegy .qlg-container { padding-inline: 20px; }
}
.qlegy .qlg-container--prose { max-width: 880px; }

.qlegy .qlg-eyebrow {
  font-family: var(--qlegy-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--qlegy-fg-mute);
  font-weight: 500;
}
.qlegy .qlg-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--qlegy-brand);
  border-radius: 50%;
  margin-inline-end: 8px;
  box-shadow: 0 0 12px var(--qlegy-brand);
  vertical-align: middle;
}
.qlegy .qlg-serif-i,
.qlegy .qlg-sec-title em,
.qlegy .qlg-title-html em,
.qlegy .qlg-title-html i {
  font-family: var(--qlegy-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.qlegy .qlg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: var(--qlegy-sans);
  transition: transform 0.25s var(--qlegy-ease), background 0.25s var(--qlegy-ease), color 0.25s var(--qlegy-ease), border-color 0.25s var(--qlegy-ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.qlegy .qlg-btn--primary { background: var(--qlegy-fg); color: var(--qlegy-bg); }
.qlegy .qlg-btn--primary:hover { transform: translateY(-1px); background: #fff; }
.qlegy .qlg-btn--ghost { color: var(--qlegy-fg); border-color: var(--qlegy-line-strong); background: transparent; }
.qlegy .qlg-btn--ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.3); }
.qlegy .qlg-btn .qlg-arrow { transition: transform 0.35s var(--qlegy-ease); }
.qlegy .qlg-btn:hover .qlg-arrow--diag { transform: translate(2px, -2px); }
.qlegy .qlg-btn:hover .qlg-arrow--right { transform: translateX(2px); }

.qlegy .qlg-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--qlegy-line);
  border-radius: 999px;
  font-family: var(--qlegy-mono);
  font-size: 11px;
  color: var(--qlegy-fg-dim);
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.04em;
}

.qlegy .qlg-card {
  background: var(--qlegy-surface);
  border: 1px solid var(--qlegy-line);
  border-radius: var(--qlegy-radius);
}

.qlegy .qlg-ulink {
  position: relative;
  text-decoration: none;
  color: var(--qlegy-fg-dim);
  display: inline-block;
  font-size: 14px;
  transition: color 0.25s var(--qlegy-ease);
}
.qlegy .qlg-ulink:hover { color: var(--qlegy-fg); }
.qlegy .qlg-ulink::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--qlegy-ease);
}
.qlegy .qlg-ulink:hover::after { transform: scaleX(1); transform-origin: left; }

/* Section heads shared across widgets */
.qlegy .qlg-sec-head { margin-bottom: 80px; }
.qlegy .qlg-sec-title {
  font-size: calc(clamp(40px, 6.5vw, 112px) * var(--qlegy-heading-scale, 1));
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-top: 16px;
}
.qlegy .qlg-sec-sub {
  max-width: 520px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--qlegy-fg-dim);
}

/* Big stat number */
.qlegy .qlg-stat-num {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

/* Spotlight + marquee + reveal */
.qlegy .qlg-spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}
.qlegy .qlg-marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.qlegy .qlg-marquee__track {
  display: flex;
  gap: 80px;
  flex-shrink: 0;
  animation: qlg-marquee 40s linear infinite;
  padding-inline-end: 80px;
}
@keyframes qlg-marquee {
  to { transform: translateX(-100%); }
}
.qlegy .qlg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--qlegy-ease-out), transform 1s var(--qlegy-ease-out);
}
.qlegy .qlg-reveal.is-in { opacity: 1; transform: none; }
.qlegy .qlg-reveal[data-delay='1'] { transition-delay: 0.08s; }
.qlegy .qlg-reveal[data-delay='2'] { transition-delay: 0.16s; }
.qlegy .qlg-reveal[data-delay='3'] { transition-delay: 0.24s; }
.qlegy .qlg-reveal[data-delay='4'] { transition-delay: 0.32s; }
.elementor-editor-active .qlegy .qlg-reveal,
body:not(.qlegy) .qlg-reveal { opacity: 1; transform: none; }

.qlegy .qlg-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 48px; }

/* Sections rendered by widgets default to design rhythm */
.qlegy .qlg-section { padding-block: 120px; position: relative; }
@media (max-width: 720px) {
  .qlegy .qlg-section { padding-block: 80px; }
}

/* ---------- Accessibility ---------- */
.qlegy .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}
.qlegy .skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--qlegy-fg);
  color: var(--qlegy-bg);
  border-radius: 999px;
}
.qlegy .skip-link:focus {
  inset-inline-start: 16px;
  top: 16px;
  clip: auto;
  width: auto;
  height: auto;
}

/* ---------- Page header (archives, 404, classic pages, CPT lists) ---------- */
.qlegy .qlg-page-header {
  padding: 200px 0 100px;
  position: relative;
}
.qlegy .qlg-page-header__title {
  font-size: calc(clamp(56px, 9vw, 168px) * var(--qlegy-heading-scale, 1));
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-weight: var(--qlegy-heading-weight, 500);
  margin-top: 24px;
}
.qlegy .qlg-page-header__title--post { font-size: calc(clamp(40px, 6vw, 104px) * var(--qlegy-heading-scale, 1)); }
.qlegy .qlg-page-header__sub {
  max-width: 540px;
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.55;
}

/* ---------- Blog list ---------- */
.qlegy .qlg-blog { padding-bottom: 120px; }
.qlegy .qlg-blog__list { display: flex; flex-direction: column; }
.qlegy .qlg-blog__row {
  display: grid;
  grid-template-columns: 60px 1.6fr auto 40px;
  gap: 24px;
  align-items: center;
  padding-block: 32px;
  border-bottom: 1px solid var(--qlegy-line);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding 0.3s var(--qlegy-ease);
}
.qlegy .qlg-blog__row:first-child { border-top: 1px solid var(--qlegy-line); }
.qlegy .qlg-blog__row:hover { padding-inline-start: 24px; }
.qlegy .qlg-blog__num { font-family: var(--qlegy-mono); font-size: 12px; color: var(--qlegy-fg-mute); letter-spacing: 0.1em; }
.qlegy .qlg-blog__title { font-size: calc(clamp(24px, 3.2vw, 44px) * var(--qlegy-heading-scale, 1)); letter-spacing: -0.03em; line-height: 1.02; }
.qlegy .qlg-blog__excerpt { display: block; margin-top: 10px; font-size: 14px; color: var(--qlegy-fg-dim); max-width: 640px; line-height: 1.5; }
.qlegy .qlg-blog__date { font-family: var(--qlegy-mono); font-size: 12px; color: var(--qlegy-fg-dim); white-space: nowrap; }
.qlegy .qlg-blog__arrow { color: var(--qlegy-fg-mute); transition: color 0.25s, transform 0.35s var(--qlegy-ease); }
.qlegy .qlg-blog__row:hover .qlg-blog__arrow { color: var(--qlegy-fg); transform: translateX(4px); }
.qlegy .qlg-blog__preview {
  position: absolute;
  inset-inline-end: 80px;
  top: 50%;
  transform: translateY(-50%) scale(0.92);
  width: 260px;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--qlegy-ease), transform 0.5s var(--qlegy-ease);
  z-index: 5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.qlegy .qlg-blog__preview img { display: block; width: 100%; height: auto; }
.qlegy .qlg-blog__row:hover .qlg-blog__preview { opacity: 1; transform: translateY(-50%) scale(1); }
@media (max-width: 800px) {
  .qlegy .qlg-blog__row { grid-template-columns: 40px 1fr 24px; }
  .qlegy .qlg-blog__date, .qlegy .qlg-blog__preview { display: none; }
}

.qlegy .qlg-pagination { margin-top: 48px; }
.qlegy .qlg-pagination .nav-links { display: flex; gap: 8px; align-items: center; }
.qlegy .qlg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--qlegy-line);
  border-radius: 999px;
  color: var(--qlegy-fg-dim);
  text-decoration: none;
  font-family: var(--qlegy-mono);
  font-size: 13px;
  transition: all 0.25s var(--qlegy-ease);
}
.qlegy .qlg-pagination .page-numbers.current,
.qlegy .qlg-pagination .page-numbers:hover { background: var(--qlegy-fg); color: var(--qlegy-bg); border-color: var(--qlegy-fg); }
.qlegy .qlg-pagination .prev .qlg-arrow { transform: rotate(180deg); }

/* ---------- Prose (post/page content) ---------- */
.qlegy .qlg-entry { padding-bottom: 120px; }
.qlegy .qlg-entry__thumb { margin: 0 0 48px; border-radius: var(--qlegy-radius); overflow: hidden; border: 1px solid var(--qlegy-line); }
.qlegy .qlg-entry__thumb img { display: block; width: 100%; height: auto; }
.qlegy .qlg-prose { font-size: 17px; line-height: 1.7; color: var(--qlegy-fg-dim); padding-bottom: 40px; }
.qlegy .qlg-prose > * + * { margin-top: 1.2em; }
.qlegy .qlg-prose h2, .qlegy .qlg-prose h3, .qlegy .qlg-prose h4 { color: var(--qlegy-fg); margin-top: 1.6em; line-height: 1.1; }
.qlegy .qlg-prose h2 { font-size: calc(32px * var(--qlegy-heading-scale, 1)); letter-spacing: -0.02em; }
.qlegy .qlg-prose h3 { font-size: calc(24px * var(--qlegy-heading-scale, 1)); }
.qlegy .qlg-prose a { color: var(--qlegy-brand-2); text-decoration: none; border-bottom: 1px solid rgba(103, 232, 249, 0.3); }
.qlegy .qlg-prose blockquote {
  margin: 1.6em 0;
  padding-inline-start: 24px;
  border-inline-start: 2px solid var(--qlegy-brand);
  font-family: var(--qlegy-serif);
  font-style: italic;
  font-size: 1.25em;
  color: var(--qlegy-fg);
}
.qlegy .qlg-prose code { font-family: var(--qlegy-mono); font-size: 0.9em; background: var(--qlegy-surface); border: 1px solid var(--qlegy-line); border-radius: 6px; padding: 2px 6px; }
.qlegy .qlg-prose pre { background: var(--qlegy-surface); border: 1px solid var(--qlegy-line); border-radius: var(--qlegy-radius-sm); padding: 20px; overflow-x: auto; }
.qlegy .qlg-prose img { border-radius: var(--qlegy-radius-sm); }
.qlegy .qlg-prose ul, .qlegy .qlg-prose ol { padding-inline-start: 1.4em; }

/* ---------- CPT single ---------- */
.qlegy .qlg-cpt-hero {
  padding: 200px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--qlegy-bg-2);
}
.qlegy .qlg-cpt-hero__meta { display: flex; justify-content: space-between; margin-bottom: 24px; }
.qlegy .qlg-cpt-hero__title {
  font-size: calc(clamp(56px, 10vw, 200px) * var(--qlegy-heading-scale, 1));
  letter-spacing: -0.05em;
  line-height: 0.85;
  font-weight: var(--qlegy-heading-weight, 500);
}
.qlegy .qlg-cpt-hero__sub { font-size: clamp(18px, 2vw, 28px); margin-top: 32px; max-width: 720px; color: rgba(255, 255, 255, 0.85); line-height: 1.4; }
.qlegy .qlg-cpt-hero__visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--qlegy-fg);
  text-decoration: none;
  transition: transform 0.25s var(--qlegy-ease), background 0.25s var(--qlegy-ease), border-color 0.25s var(--qlegy-ease);
}
.qlegy .qlg-cpt-hero__visit:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}
.qlegy .qlg-cpt-hero__link {
  color: var(--qlegy-fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.25s var(--qlegy-ease);
  overflow-wrap: anywhere;
}
.qlegy .qlg-cpt-hero__link:hover { border-color: var(--qlegy-fg); }
.qlegy .qlg-cpt-hero__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-block: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.qlegy .qlg-cpt-hero__grid > div { display: flex; flex-direction: column; gap: 8px; }
.qlegy .qlg-cpt-hero__grid > div > span:last-child { font-size: 16px; }
.qlegy .qlg-cpt-hero__tags { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 700px) {
  .qlegy .qlg-cpt-hero__grid { grid-template-columns: repeat(2, 1fr); }
}

.qlegy .qlg-cpt-single__thumb {
  margin: -40px 0 0;
  border-radius: var(--qlegy-radius);
  overflow: hidden;
  border: 1px solid var(--qlegy-line);
  position: relative;
  z-index: 2;
}
.qlegy .qlg-cpt-single__thumb img { display: block; width: 100%; height: auto; }
.qlegy .qlg-cpt-single__layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  padding-block: 80px;
  align-items: start;
}
@media (max-width: 960px) {
  .qlegy .qlg-cpt-single__layout { grid-template-columns: 1fr; gap: 40px; }
}
.qlegy .qlg-cpt-single__sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 960px) {
  .qlegy .qlg-cpt-single__sidebar { position: static; }
}
.qlegy .qlg-side-card {
  padding: 28px;
  background: var(--qlegy-surface);
  border: 1px solid var(--qlegy-line);
  border-radius: var(--qlegy-radius);
}
.qlegy .qlg-side-card__h { font-family: var(--qlegy-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--qlegy-fg-mute); margin-bottom: 16px; }
.qlegy .qlg-side-card__list { list-style: none; margin: 0; padding: 0; }
.qlegy .qlg-side-card__list li { border-bottom: 1px solid var(--qlegy-line); }
.qlegy .qlg-side-card__list li:last-child { border-bottom: 0; }
.qlegy .qlg-side-card__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  text-decoration: none;
  color: var(--qlegy-fg-dim);
  font-size: 14px;
  transition: color 0.25s var(--qlegy-ease), padding 0.25s var(--qlegy-ease);
}
.qlegy .qlg-side-card__list a:hover,
.qlegy .qlg-side-card__list li.is-current a { color: var(--qlegy-fg); }
.qlegy .qlg-side-card__list li.is-current a { padding-inline-start: 8px; }
.qlegy .qlg-side-card--cta { background: linear-gradient(135deg, #15171a, #0d0e10); }
.qlegy .qlg-side-card__cta-title { font-size: 24px; letter-spacing: -0.02em; margin: 12px 0 20px; color: var(--qlegy-fg); line-height: 1.15; }
.qlegy .qlg-side-card__related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.qlegy .qlg-side-card__related a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--qlegy-fg-dim); font-size: 14px; transition: color 0.25s; }
.qlegy .qlg-side-card__related a:hover { color: var(--qlegy-fg); }
.qlegy .qlg-side-card__rel-img { flex-shrink: 0; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; }
.qlegy .qlg-side-card__rel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Booking section + Forminator skin ---------- */
.qlegy .qlg-booking { padding: 120px 0; border-top: 1px solid var(--qlegy-line); background: var(--qlegy-bg-2); scroll-margin-top: 90px; }
.qlegy .qlg-booking__title { font-size: calc(clamp(40px, 6vw, 96px) * var(--qlegy-heading-scale, 1)); letter-spacing: -0.04em; line-height: 0.95; margin-top: 16px; }
.qlegy .qlg-booking__sub { margin-top: 20px; max-width: 520px; }
.qlegy .qlg-booking__form { margin-top: 48px; max-width: 880px; }
.qlegy .qlg-booking__note { padding: 20px 24px; border: 1px dashed var(--qlegy-line-strong); border-radius: var(--qlegy-radius-sm); font-family: var(--qlegy-mono); font-size: 13px; }
.qlegy .qlg-booking__svc-chip { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 10px 16px; border: 1px solid var(--qlegy-line-strong); border-radius: 999px; background: var(--qlegy-surface); }
.qlegy .qlg-booking__svc-chip strong { font-size: 15px; color: var(--qlegy-fg); }

.qlegy .qlg-form-skin .forminator-custom-form,
.qlegy .qlg-form-skin form {
  font-family: var(--qlegy-sans);
}
.qlegy .qlg-form-skin .forminator-label,
.qlegy .qlg-form-skin label {
  font-family: var(--qlegy-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--qlegy-fg-mute) !important;
}
.qlegy .qlg-form-skin .forminator-input,
.qlegy .qlg-form-skin .forminator-textarea,
.qlegy .qlg-form-skin input[type='text'],
.qlegy .qlg-form-skin input[type='email'],
.qlegy .qlg-form-skin input[type='tel'],
.qlegy .qlg-form-skin input[type='number'],
.qlegy .qlg-form-skin select,
.qlegy .qlg-form-skin textarea {
  width: 100%;
  background: var(--qlegy-bg) !important;
  border: 1px solid var(--qlegy-line) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  color: var(--qlegy-fg) !important;
  font-family: var(--qlegy-sans) !important;
  font-size: 15px !important;
  transition: border-color 0.25s var(--qlegy-ease);
  box-shadow: none !important;
}
.qlegy .qlg-form-skin .forminator-input:focus,
.qlegy .qlg-form-skin textarea:focus,
.qlegy .qlg-form-skin input:focus {
  outline: none !important;
  border-color: var(--qlegy-brand) !important;
}
.qlegy .qlg-form-skin .forminator-button,
.qlegy .qlg-form-skin button[type='submit'],
.qlegy .qlg-form-skin input[type='submit'] {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  background: var(--qlegy-fg) !important;
  color: var(--qlegy-bg) !important;
  border: 0 !important;
  font-family: var(--qlegy-sans) !important;
  transition: transform 0.25s var(--qlegy-ease) !important;
  cursor: pointer;
}
.qlegy .qlg-form-skin .forminator-button:hover { transform: translateY(-1px); }
.qlegy .qlg-form-skin .forminator-response-message.forminator-success { color: var(--qlegy-ok); font-family: var(--qlegy-mono); }
.qlegy .qlg-form-skin .forminator-error-message { color: #f87171; font-size: 12px; }

/* ---------- Comments (minimal, on-design) ---------- */
.qlegy .comment-list { list-style: none; padding: 0; }
.qlegy .comment-body { padding: 24px; background: var(--qlegy-surface); border: 1px solid var(--qlegy-line); border-radius: var(--qlegy-radius-sm); margin-bottom: 16px; }
.qlegy .comment-respond input, .qlegy .comment-respond textarea {
  width: 100%;
  background: var(--qlegy-bg);
  border: 1px solid var(--qlegy-line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--qlegy-fg);
  font-family: var(--qlegy-sans);
}
.qlegy .comment-respond .submit { background: var(--qlegy-fg); color: var(--qlegy-bg); border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer; }

/* ---------- 404 ---------- */
.qlegy .qlg-404 { min-height: 60vh; }

/* ---------- Logo ---------- */
.qlegy .qlg-logo-link { text-decoration: none; color: inherit; display: inline-flex; }
.qlegy .qlg-logo { display: inline-flex; align-items: center; gap: 10px; }
.qlegy .qlg-logo--stacked { flex-direction: column; align-items: flex-start; gap: 12px; }
.qlegy .qlg-logo__name { font-size: 18px; font-weight: 600; letter-spacing: -0.03em; color: var(--qlegy-fg); }
.qlegy .qlg-logo__img { display: block; width: auto; }
.qlegy .qlg-logo__img--horizontal { max-height: var(--qlegy-logo-h, 32px); }
.qlegy .qlg-logo__img--stacked { max-height: var(--qlegy-logo-footer-h, 40px); }
