/*
Theme Name: Qpolfawry ACF Landing
Theme URI: https://example.com/
Author: Qpolfawry Development Team
Description: قالب RTL خفيف لتطبيق Artboards 1–9 مع حقول ACF قابلة للتعديل.
Version: 1.3.0
Requires at least: 6.8
Requires PHP: 8.3
Text Domain: qpolfawry
*/

:root {
  --qp-primary: #0041FF;
  --qp-primary-deep: #0e3fdc;
  --qp-green: #05c27b;
  --qp-yellow: #ffd015;
  --qp-white: #fff;
  --qp-content-width: 1744px;
  --qp-hero-height: 896px;
  --qp-pattern-split: 55%;
  --qp-pattern-artboard-width: 1055px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--qp-primary);
  color: var(--qp-white);
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  direction: rtl;
}
body.admin-bar .qp-hero { min-height: calc(var(--qp-hero-height) - 32px); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }

.qp-hero {
  position: relative;
  isolation: isolate;
  min-height: var(--qp-hero-height);
  overflow: hidden;
  background: var(--qp-primary);
}
.qp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: calc(100% - var(--qp-pattern-split));
  height: 100%;
  opacity: 1;
  background-image: url('assets/images/book-pattern.png');
  background-size: var(--qp-pattern-artboard-width) auto;
  background-position: right top;
  mix-blend-mode: screen;
  pointer-events: none;
}
.qp-shell {
  width: min(calc(100% - 96px), 1702px);
  margin-inline: auto;
}
.qp-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 62px);
  height: 94px;
  min-height: 94px;
  margin-top: 46px;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: none;
  border-radius: 38px 0px;
  direction: ltr;
}
.qp-logo {
  display: block;
  flex: 0 0 auto;
  width: 213px;
  line-height: 0;
}
.qp-logo img { display: block; width: 100%; }
.qp-nav {
  position: absolute;
  left: 375px;
  right: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  direction: rtl;
}
.qp-nav ul { display: contents; margin: 0; padding: 0; list-style: none; }
.qp-nav li { display: contents; list-style: none; }
.qp-nav a {
  position: relative;
  white-space: nowrap;
  font-size: clamp(17px, 1.45vw, 29px);
  font-weight: 700;
  transition: color .2s ease, opacity .2s ease;
}
.qp-nav a:hover { color: var(--qp-green); }
.qp-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 224px;
  gap: 7px;
  padding: 11px 24px;
  border-radius: 28px;
  background: var(--qp-green);
  color: #fff;
  font-size: clamp(16px, 1.2vw, 23px);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.qp-header-cta:hover { transform: translateY(-2px); background: #00ae6d; }
.qp-cap-icon { width: 23px; height: 23px; flex: 0 0 23px; }
.qp-menu-toggle { display: none; }

.qp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 24px;
  min-height: 744px;
  padding: 24px 0 36px;
  direction: ltr;
}
.qp-copy {
  position: relative;
  transform: translateY(28px);
  z-index: 3;
  max-width: 780px;
  justify-self: end;
  padding: 20px 0 40px 28px;
  direction: rtl;
  text-align: right;
}
.qp-kicker {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0 0 35px;
  color: rgba(255,255,255,.92);
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 400;
}
.qp-kicker::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--qp-yellow);
}
.qp-title {
  max-width: 770px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 3.9vw, 76px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
}
.qp-description {
  max-width: 780px;
  margin: 75px 0 60px;
  color: rgba(255,255,255,.96);
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 700;
  line-height: 1.65;
}
.qp-copy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 50px;
  padding: 9px 28px;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 28px;
  background: rgba(255,255,255,.02);
  font-size: clamp(18px, 1.25vw, 25px);
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.qp-copy-cta:hover { background: #fff; color: var(--qp-primary); }

.qp-visual {
  position: relative;
  align-self: stretch;
  min-height: 690px;
  direction: ltr;
}
.qp-visual-shape,
.qp-students,
.qp-stamp,
.qp-award {
  position: absolute;
  display: block;
}
.qp-visual-shape { pointer-events: none; }
.qp-shape-yellow {
  z-index: 1;
  width: min(52vw, 670px);
  left: -11%;
  top: 0%;
  transform: rotate(-2deg);
}
.qp-shape-green {
  z-index: 2;
  width: min(54vw, 700px);
  left: 20%;
  top: 21%;
  transform: rotate(4deg);
}
.qp-students {
  z-index: 4;
  width: min(85vw, 1120px);
  max-width: none;
  left: -14%;
  bottom: -10%;
}
.qp-stamp {
  z-index: 5;
  width: clamp(92px, 8vw, 128px);
  left: 1%;
  top: 39%;
  transform: rotate(-15deg);
}
.qp-award {
  z-index: 5;
  width: clamp(86px, 7vw, 116px);
  left: 72%;
  bottom: 7%;
}
.qp-whatsapp {
  position: absolute;
  z-index: 8;
  left: 39px;
  bottom: 37px;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 3px 12px rgba(0,0,0,.16);
  color: #071b47;
  font-size: 34px;
  font-weight: 900;
  direction: ltr;
}
.qp-whatsapp img { display: block; width: 100%; height: 100%; max-width: none; }
.qp-whatsapp::before { content: none; }

.qp-fallback-note {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px dashed rgba(255,255,255,.6);
  border-radius: 12px;
  background: rgba(0,0,0,.14);
  text-align: center;
  font-size: 15px;
}

@media (max-width: 1180px) {
  .qp-shell { width: min(calc(100% - 44px), var(--qp-content-width)); }
  .qp-header { gap: 20px; padding-inline: 18px; }
  .qp-logo { width: 170px; }
  .qp-nav { gap: 24px; }
  .qp-nav a { font-size: 18px; }
  .qp-header-cta { min-width: 145px; padding-inline: 14px; font-size: 16px; }
  .qp-title { font-size: clamp(40px, 5vw, 64px); }
  .qp-description { font-size: 21px; }
}

@media (max-width: 820px) {
  .qp-hero { min-height: 100vh; }
  .qp-hero::after { width: 100%; opacity: .08; background-size: 540px auto; }
  .qp-header { min-height: 66px; margin-top: 18px; border-radius: 24px; }
  .qp-logo { width: 148px; }
  .qp-menu-toggle {
    display: inline-flex;
    margin-inline-start: auto;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
  }
  .qp-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 16px;
    background: var(--qp-primary-deep);
  }
  .qp-nav.is-open { display: flex; }
  .qp-nav a { padding: 11px 12px; font-size: 18px; }
  .qp-header-cta { min-width: auto; padding: 9px 14px; font-size: 14px; }
  .qp-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding-top: 34px;
  }
  .qp-copy { order: 1; max-width: none; padding: 10px 0 0; text-align: center; }
  .qp-kicker, .qp-copy-cta { justify-content: center; }
  .qp-title { max-width: 680px; margin-inline: auto; font-size: clamp(38px, 10vw, 60px); }
  .qp-description { margin-inline: auto; font-size: 18px; }
  .qp-visual { order: 2; min-height: 480px; margin-top: -4px; }
  .qp-shape-yellow { width: 75vw; left: 4%; top: 11%; }
  .qp-shape-green { width: 72vw; left: 23%; top: 31%; }
  .qp-students { width: 105vw; left: -11%; bottom: -12%; }
  .qp-stamp { width: 92px; left: 12%; top: 39%; }
  .qp-award { width: 86px; left: 61%; bottom: 13%; }
  .qp-whatsapp { width: 58px; height: 58px; bottom: 12px; font-size: 27px; }
}

@media (max-width: 460px) {
  .qp-shell { width: min(calc(100% - 28px), var(--qp-content-width)); }
  .qp-logo { width: 125px; }
  .qp-header-cta { display: none; }
  .qp-title { font-size: 37px; }
  .qp-description { font-size: 16px; line-height: 1.6; }
  .qp-visual { min-height: 390px; }
  .qp-stamp { width: 72px; }
  .qp-award { width: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Artboard 2 — About section */
.qp-section-two {
  position: relative;
  display: grid;
  grid-template-columns: var(--qp-pattern-split) calc(100% - var(--qp-pattern-split));
  min-height: 896px;
  overflow: hidden;
  background: #fe5104;
  direction: ltr;
}
.qp-section-two__left,
.qp-section-two__right {
  position: relative;
  min-width: 0;
}
.qp-section-two__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 74px 72px 64px;
  transform: translateY(4px);
  background-color: var(--s2-orange);
  background-image: url('assets/images/section2-pattern.png');
  background-size: var(--qp-pattern-artboard-width) auto;
  background-position: center;
  direction: rtl;
}
.qp-section-two__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 70px 64px;
  background: #fff;
  direction: rtl;
}
.qp-s2-panel,
.qp-s2-card {
  position: relative;
  z-index: 1;
  border: 3px solid #07101f;
  border-radius: 26px;
  text-align: center;
}
.qp-s2-panel {
  width: min(100%, 780px);
  padding: 80px 64px 74px;
  background: var(--s2-green);
}
.qp-s2-panel h2,
.qp-s2-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 3.1vw, 62px);
  font-weight: 800;
  line-height: 1.16;
}
.qp-s2-panel p {
  margin: 28px auto 0;
  max-width: 660px;
  color: rgba(255,255,255,.96);
  font-size: clamp(17px, 1.35vw, 27px);
  font-weight: 600;
  line-height: 1.55;
}
.qp-s2-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 780px);
  gap: 26px;
  direction: ltr;
}
.qp-s2-card {
  min-height: 320px;
  padding: 37px 30px 30px;
  background: var(--s2-blue);
  direction: rtl;
}
.qp-s2-card h3 {
  font-size: clamp(30px, 2.7vw, 54px);
}
.qp-s2-card p {
  margin: 27px auto 0;
  color: rgba(255,255,255,.95);
  font-size: clamp(16px, 1.2vw, 24px);
  font-weight: 600;
  line-height: 1.55;
}
.qp-s2-copy {
  width: min(100%, 840px);
  text-align: center;
}
.qp-s2-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 46px;
  color: #0b1120;
  font-size: clamp(19px, 1.45vw, 30px);
  font-weight: 600;
}
.qp-s2-eyebrow::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--s2-quality);
}
.qp-s2-title {
  margin: 0;
  color: #0b1120;
  font-size: clamp(42px, 3.55vw, 68px);
  font-weight: 800;
  line-height: 1.15;
}
.qp-s2-title span,
.qp-s2-title strong {
  display: block;
}
.qp-s2-title strong {
  color: var(--s2-blue);
  font-weight: 800;
}
.qp-s2-description {
  margin: 34px auto 0;
  max-width: 760px;
  color: #141a27;
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 600;
  line-height: 1.65;
}
.qp-s2-practice-title {
  margin: 46px 0 24px;
  color: #101622;
  font-size: clamp(24px, 1.85vw, 36px);
  font-weight: 800;
}
.qp-s2-quality {
  display: inline-block;
  min-width: min(100%, 380px);
  padding: 8px 25px;
  border: 3px solid #121212;
  border-radius: 0px 0px 0px 25px;
  background: var(--s2-quality);
  color: #121212;
  font-size: clamp(20px, 1.55vw, 31px);
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 1180px) {
  .qp-section-two__left { padding-inline: 30px; }
  .qp-section-two__right { padding-inline: 35px; }
  .qp-s2-panel { padding-inline: 35px; }
  .qp-s2-card { padding-inline: 20px; }
}

@media (max-width: 820px) {
  .qp-section-two {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .qp-section-two__left { order: 2; padding: 48px 18px 52px; transform: none; }
  .qp-section-two__right { order: 1; padding: 70px 18px 60px; }
  .qp-s2-panel { padding: 38px 20px 32px; border-radius: 20px; }
  .qp-s2-panel h2 { font-size: 37px; }
  .qp-s2-panel p { font-size: 17px; }
  .qp-s2-cards { gap: 14px; }
  .qp-s2-card { min-height: 290px; padding: 28px 15px 22px; border-radius: 20px; }
  .qp-s2-card h3 { font-size: 28px; }
  .qp-s2-card p { margin-top: 18px; font-size: 15px; }
  .qp-s2-eyebrow { margin-bottom: 28px; }
  .qp-s2-title { font-size: 44px; }
  .qp-s2-description { margin-top: 28px; font-size: 17px; }
  .qp-s2-practice-title { margin-top: 38px; }
}

@media (max-width: 520px) {
  .qp-s2-cards { grid-template-columns: 1fr; }
  .qp-s2-card { min-height: auto; }
}

/* Artboard 3 — Achievements */
.qp-section-three {
  position: relative;
  min-height: 671px;
  overflow: hidden;
  isolation: isolate;
  background: var(--s3-background, #0041FF);
  direction: rtl;
}
.qp-section-three::before,
.qp-section-three::after {
  content: "";
  position: absolute;
  z-index: 4;
  right: 0;
  left: 0;
  height: 15px;
  background: linear-gradient(to left, #00C174 0 33.333%, #FECE00 33.333% 66.666%, #FE5104 66.666% 100%);
  pointer-events: none;
}
.qp-section-three::before { top: 0; }
.qp-section-three::after { bottom: 0; }
.qp-section-three__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 130px), 1740px);
  min-height: 671px;
  margin-inline: auto;
  padding: 48px 78px 34px;
  background-color: transparent;
  direction: ltr;
}
.qp-section-three__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--s3-pattern-image);
  background-repeat: repeat;
  background-size: 960px auto;
  background-position: center center;
  opacity: .92;
  mix-blend-mode: screen;
  pointer-events: none;
}
.qp-s3-heading {
  order: 2;
  position: relative;
  width: 34%;
  min-width: 430px;
  align-self: center;
  padding: 66px 0 30px;
  direction: rtl;
  text-align: right;
}
.qp-s3-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 52px 24px;
  padding: 8px 20px 9px;
  border: 2px solid #111;
  border-radius: 0px 0px 0px 25px;
  background: #FECE00;
  color: #111;
  font-size: clamp(18px, 1.25vw, 25px);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 2px 0 rgba(0,0,0,.24);
}
.qp-s3-badge span { font-size: .8em; }
.qp-s3-heading h2 {
  position: relative;
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--s3-white, #fff);
  font-size: clamp(54px, 4.8vw, 92px);
  font-weight: 800;
  line-height: 1.04;
  white-space: pre-line;
  text-align: right;
}
.qp-s3-heading h2::before { top: 44%; }
.qp-s3-heading h2::after { bottom: 8%; }
.qp-s3-stats {
  order: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(20px, 4.2vw, 82px);
  width: 61%;
  padding-top: 54px;
  direction: ltr;
}
.qp-s3-stat {
  position: relative;
  display: flex;
  flex: 0 0 214px;
  flex-direction: column;
  align-items: center;
  min-height: 360px;
  direction: rtl;
}
.qp-s3-stat--students { order: 1; }
.qp-s3-stat--clients { order: 2; }
.qp-s3-stat--years { order: 3; }
.qp-s3-stat__icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 210px;
  height: 152px;
}
.qp-s3-stat__icon img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}
.qp-s3-stat--years .qp-s3-stat__icon img { width: 176px; }
.qp-s3-stat--clients .qp-s3-stat__icon img { width: 236px; }
.qp-s3-stat--students .qp-s3-stat__icon img { width: 218px; }
.qp-s3-stat__value {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  height: 70px;
  margin-top: -2px;
  border: 3px solid #111;
  border-radius: 17px;
  background: #FE5104;
  color: #fff;
  font-family: Arial, Tahoma, sans-serif;
  font-size: clamp(36px, 2.9vw, 56px);
  font-weight: 900;
  line-height: 1;
  direction: ltr;
  box-shadow: 0 1px 0 rgba(0,0,0,.3);
}
.qp-s3-stat__label {
  position: relative;
  z-index: 4;
  min-width: 140px;
  margin-top: -3px;
  padding: 6px 19px 7px;
  border: 2px solid #111;
  border-radius: 6px;
  background: #FECE00;
  color: #111;
  font-size: clamp(17px, 1.3vw, 25px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-4deg);
}
.qp-s3-stat--years .qp-s3-stat__label { transform: rotate(-5deg); }
.qp-s3-stat--clients .qp-s3-stat__label { transform: rotate(4deg); }
.qp-s3-stat--students .qp-s3-stat__label { transform: rotate(-4deg); }

@media (max-width: 1400px) {
  .qp-section-three__inner { width: min(calc(100% - 48px), 1320px); padding-inline: 28px; }
  .qp-s3-heading { min-width: 360px; }
  .qp-s3-stats { gap: 24px; }
  .qp-s3-stat { flex-basis: 184px; }
  .qp-s3-stat__value { width: 184px; }
  .qp-s3-stat__icon { width: 184px; }
}

@media (max-width: 980px) {
  .qp-section-three { min-height: auto; }
  .qp-section-three__inner {
    flex-direction: column;
    min-height: auto;
    padding: 72px 20px 58px;
  }
  .qp-s3-heading { order: 1; width: 100%; min-width: 0; padding: 0; text-align: center; }
  .qp-s3-badge { margin: 0 auto 30px; }
  .qp-s3-heading h2 { padding: 0; font-size: clamp(46px, 9vw, 72px); text-align: center; }
  .qp-s3-heading h2::before,
  .qp-s3-heading h2::after { right: 5%; width: 90%; }
  .qp-s3-stats { order: 2; width: 100%; padding-top: 48px; gap: 18px; }
  .qp-s3-stat { flex-basis: min(28vw, 190px); min-height: 360px; }
  .qp-s3-stat__icon { width: min(28vw, 190px); height: 140px; }
  .qp-s3-stat__value { width: min(28vw, 190px); height: 64px; font-size: clamp(28px, 5vw, 46px); }
}

@media (max-width: 620px) {
  .qp-section-three__inner { padding-inline: 12px; }
  .qp-s3-stats { gap: 7px; }
  .qp-s3-stat { flex-basis: 31vw; min-height: 270px; }
  .qp-s3-stat__icon { width: 31vw; height: 104px; }
  .qp-s3-stat--years .qp-s3-stat__icon img { width: 29vw; }
  .qp-s3-stat--clients .qp-s3-stat__icon img { width: 36vw; }
  .qp-s3-stat--students .qp-s3-stat__icon img { width: 34vw; }
  .qp-s3-stat__value { width: 31vw; height: 47px; border-width: 2px; border-radius: 11px; font-size: clamp(19px, 5vw, 30px); }
  .qp-s3-stat__label { min-width: 0; max-width: 31vw; padding: 5px 6px; border-width: 2px; font-size: clamp(12px, 3.3vw, 18px); }
}

/* Artboard 3 — reference alignment pass */
@media (min-width: 981px) {
  .qp-section-three__inner {
    width: 100%;
    max-width: none;
    padding: 48px 82px 30px;
  }
  .qp-section-three__inner::before {
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    mix-blend-mode: screen;
  }
  .qp-s3-heading {
    width: 33%;
    min-width: 430px;
    padding-top: 40px;
    transform: translate(30px, -18px);
  }
  .qp-s3-badge {
    margin-bottom: 34px;
    padding: 7px 18px 8px;
    font-size: clamp(18px, 1.18vw, 24px);
  }
  .qp-s3-badge span { color: #0041FF; }
  .qp-s3-heading h2 {
    font-size: clamp(58px, 4.7vw, 88px);
    line-height: 1.02;
  }
  .qp-s3-heading h2::before,
  .qp-s3-heading h2::after {
    width: 92%;
    height: 4px;
  }
  .qp-s3-stats {
    width: 62%;
    padding-top: 26px;
    gap: clamp(28px, 3.2vw, 66px);
    transform: translateX(-28px);
  }
  .qp-s3-stat {
    flex-basis: 224px;
    min-height: 390px;
  }
  .qp-s3-stat__icon {
    width: 230px;
    height: 180px;
  }
  .qp-s3-stat--years .qp-s3-stat__icon img { width: 200px; }
  .qp-s3-stat--clients .qp-s3-stat__icon img { width: 260px; }
  .qp-s3-stat--students .qp-s3-stat__icon img { width: 246px; }
  .qp-s3-stat__value {
    width: 224px;
    height: 72px;
    border-radius: 17px;
    font-size: clamp(38px, 3vw, 58px);
  }
  .qp-s3-stat__label {
    margin-top: -3px;
    font-size: clamp(17px, 1.22vw, 24px);
  }
}

@media (max-width: 980px) {
  .qp-section-three__inner::before {
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    opacity: 1;
  }
  .qp-s3-heading,
  .qp-s3-stats { transform: none; }
  .qp-s3-badge span { color: #0041FF; }
}

/* Exact reference canvas: 2048×715 */
@media (min-width: 981px) {
  .qp-section-three,
  .qp-section-three__inner {
    min-height: 715px;
  }
  .qp-s3-heading { transform: translate(30px, -35px); }
  .qp-s3-stats { transform: translate(-28px, -15px); }
}

/* Final Artboard 3 visual scale matching */
@media (min-width: 981px) {
  .qp-s3-heading { transform: translate(-50px, -35px); }
  .qp-s3-heading h2 { font-size: clamp(54px, 4.15vw, 84px); }
  .qp-s3-stats {
    width: 64%;
    gap: clamp(18px, 2.2vw, 44px);
    transform: translate(-28px, 2px);
  }
  .qp-s3-stat { flex-basis: 250px; }
  .qp-s3-stat__icon { width: 280px; height: 180px; }
  .qp-s3-stat--years .qp-s3-stat__icon img { width: 270px; }
  .qp-s3-stat--clients .qp-s3-stat__icon img { width: 340px; }
  .qp-s3-stat--students .qp-s3-stat__icon img { width: 320px; }
  .qp-s3-stat__value { width: 260px; height: 76px; }
  .qp-s3-stat__label { padding: 7px 20px 8px; }
}

/* Artboard 4 — Services Swiper */
.qp-section-four {
  position: relative;
  min-height: 896px;
  overflow: hidden;
  background: #fff;
  color: #090f20;
  direction: rtl;
}
.qp-section-four::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 15px;
  background: linear-gradient(to left, #00C174 0 33.333%, #FECE00 33.333% 66.666%, #FE5104 66.666% 100%);
  pointer-events: none;
}
.qp-section-four__inner {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 896px;
  padding: 82px 70px 82px;
  direction: ltr;
}
.qp-s4-copy {
  grid-column: 2;
  align-self: center;
  justify-self: center;
  width: min(100%, 830px);
  padding: 0 20px 60px;
  direction: rtl;
  text-align: right;
}
.qp-s4-eyebrow {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 25px 44px 0;
  color: #0a1020;
  font-size: clamp(22px, 1.5vw, 30px);
  font-weight: 600;
}
.qp-s4-eyebrow::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--s4-yellow, #FECE00);
}
.qp-s4-title {
  margin: 0;
  color: #0a1020;
  font-size: clamp(56px, 5.2vw, 100px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.8px;
  text-align: right;
}
.qp-s4-title span,
.qp-s4-title strong { display: block; }
.qp-s4-title strong { color: var(--s4-blue, #0041FF); font-weight: 800; }
.qp-s4-description {
  max-width: 760px;
  margin: 48px 0 0;
  color: #0a1020;
  font-size: clamp(20px, 1.55vw, 30px);
  font-weight: 500;
  line-height: 1.75;
  text-align: right;
}
.qp-s4-slider-wrap {
  position: relative;
  grid-column: 1;
  align-self: center;
  width: min(100%, 900px);
  min-width: 0;
  padding: 0 0 88px;
  direction: ltr;
}
.qp-section-four__slider {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  margin: 0 auto;
  overflow: hidden;
}
.qp-section-four__slider .swiper-wrapper { align-items: stretch; }
.qp-section-four__slider .swiper-slide { height: auto; }
.qp-s4-card {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  border: 3px solid #07101f;
  border-radius: 28px;
  background: var(--s4-green, #00C174);
  direction: rtl;
  isolation: isolate;
}
.qp-s4-card__photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: .92;
}
.qp-s4-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 585px;
  flex-direction: column;
  align-items: center;
  padding: 73px 82px 44px;
  text-align: center;
}
.qp-s4-card__content h3 {
  max-width: 670px;
  margin: 0;
  color: #07101f;
  font-size: clamp(30px, 2.55vw, 50px);
  font-weight: 800;
  line-height: 1.2;
}
.qp-s4-card__content p {
  max-width: 670px;
  margin: 72px auto 0;
  color: #07101f;
  font-size: clamp(17px, 1.38vw, 27px);
  font-weight: 600;
  line-height: 1.65;
}
.qp-s4-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 195px;
  min-height: 62px;
  margin-top: auto;
  padding: 9px 35px;
  border: 2px solid #121212;
  border-radius: 13px;
  background: var(--s4-yellow, #FECE00);
  color: #121212;
  font-size: clamp(21px, 1.45vw, 29px);
  font-weight: 700;
  line-height: 1;
  transition: transform .2s ease, filter .2s ease;
}
.qp-s4-card__button:hover { transform: translateY(-2px); filter: brightness(.96); }
.qp-s4-award {
  position: absolute;
  z-index: 4;
  bottom: 32px;
  left: -23px;
  width: clamp(188px, 18vw, 300px);
  height: auto;
  pointer-events: none;
}
.qp-s4-controls {
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: 50%;
  display: flex;
  gap: 25px;
  transform: translateX(-50%);
  direction: ltr;
}
.qp-s4-arrow {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  padding: 0;
  border: 7px solid var(--s4-green, #00C174);
  border-radius: 50%;
  background: #FE5104;
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: .7;
  transition: opacity .2s ease, transform .2s ease;
}
.qp-s4-arrow span { display: block; transform: translateY(-4px); }
.qp-s4-arrow:hover:not(:disabled) { transform: scale(1.05); }
.qp-s4-arrow:disabled { cursor: not-allowed; opacity: .55; }
.qp-s4-arrow:focus-visible,
.qp-s4-card__button:focus-visible { outline: 3px solid #0a1020; outline-offset: 4px; }

@media (max-width: 1280px) {
  .qp-section-four__inner { padding-inline: 35px; }
  .qp-s4-card__content { padding-inline: 48px; }
  .qp-s4-copy { padding-inline: 0; }
  .qp-s4-title { font-size: clamp(50px, 5.3vw, 76px); }
  .qp-s4-description { font-size: 22px; }
}
@media (max-width: 900px) {
  .qp-section-four { min-height: auto; }
  .qp-section-four__inner { grid-template-columns: 1fr; min-height: auto; gap: 52px; padding: 72px 20px 104px; }
  .qp-s4-copy { grid-column: 1; grid-row: 1; width: 100%; padding: 0; text-align: center; }
  .qp-s4-eyebrow { justify-content: center; margin-inline: 0; }
  .qp-s4-title { font-size: clamp(45px, 9vw, 70px); text-align: center; }
  .qp-s4-description { margin-inline: auto; font-size: 18px; text-align: center; }
  .qp-s4-slider-wrap { grid-column: 1; grid-row: 2; width: 100%; padding-bottom: 92px; }
  .qp-s4-card { min-height: 500px; }
  .qp-s4-card__content { min-height: 500px; padding: 52px 25px 35px; }
  .qp-s4-card__content p { margin-top: 35px; font-size: 17px; }
  .qp-s4-award { left: -12px; bottom: 38px; width: 180px; }
}
@media (max-width: 520px) {
  .qp-section-four__inner { padding-inline: 12px; }
  .qp-s4-card { min-height: 470px; border-radius: 20px; }
  .qp-s4-card__content { min-height: 470px; padding-inline: 18px; }
  .qp-s4-card__content h3 { font-size: 28px; }
  .qp-s4-card__content p { font-size: 15px; }
  .qp-s4-card__button { min-width: 150px; min-height: 52px; font-size: 20px; }
  .qp-s4-arrow { width: 62px; height: 62px; border-width: 6px; font-size: 53px; }
  .qp-s4-controls { gap: 14px; }
  .qp-s4-award { width: 140px; left: -5px; }
}

/* Keep the two Artboard 4 columns on the same desktop row. */
@media (min-width: 901px) {
  .qp-s4-copy { grid-row: 1; }
  .qp-s4-slider-wrap { grid-row: 1; }
}

/* Artboard 5 — Customer testimonials */
.qp-section-five {
  position: relative;
  min-height: 955px;
  overflow: hidden;
  background: var(--s5-light, #EEF5FF);
  color: #0A1020;
  direction: rtl;
}
.qp-section-five::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 56%;
  background-color: var(--s5-blue, #0141FF);
  background-image: var(--qp-pattern-image);
  background-repeat: repeat;
  background-position: center;
  background-size: 760px auto;
  opacity: 1;
}
.qp-section-five__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 955px;
  padding: 82px 70px 92px;
  direction: ltr;
}
.qp-s5-reviews {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100%, 860px);
  min-height: 790px;
  padding: 4px 0 4px;
  direction: rtl;
}
.qp-s5-review {
  width: 100%;
  min-height: 337px;
  padding: 42px 70px 38px;
  border-radius: 38px;
  background: rgba(238, 245, 255, .98);
  color: #111827;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  direction: rtl;
}
.qp-s5-review__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  direction: rtl;
}
.qp-s5-review__identity {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  min-width: 245px;
  text-align: right;
}
.qp-s5-review__identity > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.qp-s5-review__identity strong,
.qp-s5-review__identity span:not(.qp-s5-review__dot) {
  font-size: clamp(16px, 1.22vw, 23px);
  font-weight: 600;
  line-height: 1.25;
}
.qp-s5-review__identity strong { font-weight: 700; }
.qp-s5-review__dot {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: var(--s5-green, #00C174);
}
.qp-s5-review__rating {
  display: flex;
  gap: 8px;
  direction: ltr;
  padding-top: 18px;
}
.qp-s5-review__rating span {
  color: #CAD2DD;
  font-family: Arial, sans-serif;
  font-size: clamp(20px, 1.65vw, 32px);
  line-height: 1;
}
.qp-s5-review__rating span.is-filled { color: var(--s5-yellow, #FECE00); }
.qp-s5-review__text {
  max-width: 720px;
  margin: 48px auto 0;
  font-size: clamp(16px, 1.22vw, 23px);
  font-weight: 500;
  line-height: 1.6;
  text-align: right;
}
.qp-s5-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: min(100%, 730px);
  padding: 0 8px 25px;
  direction: rtl;
  text-align: right;
}
.qp-s5-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 65px;
  font-size: clamp(22px, 1.55vw, 30px);
  font-weight: 600;
}
.qp-s5-eyebrow::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--s5-yellow, #FECE00);
}
.qp-s5-title {
  margin: 0;
  font-size: clamp(56px, 5.2vw, 100px);
  font-weight: 800;
  line-height: 1.06;
  text-align: right;
}
.qp-s5-title span,
.qp-s5-title strong { display: block; }
.qp-s5-title strong {
  color: var(--s5-blue, #0141FF);
  font-weight: 800;
}
.qp-s5-description {
  max-width: 620px;
  margin: 58px 0 0;
  font-size: clamp(21px, 1.72vw, 33px);
  font-weight: 500;
  line-height: 1.65;
  text-align: right;
}
@media (max-width: 1280px) {
  .qp-section-five__inner { padding-inline: 35px; }
  .qp-s5-review { padding-inline: 40px; }
  .qp-s5-title { font-size: clamp(50px, 5vw, 76px); }
}
@media (max-width: 900px) {
  .qp-section-five { min-height: auto; }
  .qp-section-five::before { width: 100%; opacity: .14; }
  .qp-section-five__inner { grid-template-columns: 1fr; min-height: auto; gap: 50px; padding: 72px 20px 96px; }
  .qp-s5-copy { grid-column: 1; grid-row: 1; width: 100%; padding: 0; text-align: center; }
  .qp-s5-eyebrow { justify-content: center; margin-bottom: 35px; }
  .qp-s5-title { font-size: clamp(46px, 10vw, 72px); text-align: center; }
  .qp-s5-description { margin-inline: auto; font-size: 19px; text-align: center; }
  .qp-s5-reviews { grid-column: 1; grid-row: 2; width: 100%; min-height: auto; gap: 28px; }
  .qp-s5-review { min-height: 0; padding: 30px 24px; border-radius: 25px; }
  .qp-s5-review__header { flex-direction: column; gap: 15px; }
  .qp-s5-review__rating { order: 2; padding-top: 0; }
  .qp-s5-review__identity { order: 1; }
  .qp-s5-review__text { margin-top: 28px; font-size: 16px; }
}
@media (max-width: 520px) {
  .qp-section-five__inner { padding-inline: 12px; }
  .qp-s5-review__dot { width: 42px; height: 42px; flex-basis: 42px; }
  .qp-s5-review__identity strong,
  .qp-s5-review__identity span:not(.qp-s5-review__dot) { font-size: 14px; }
  .qp-s5-review__rating span { font-size: 22px; }
  .qp-s5-review__text { font-size: 14px; }
}

/* Artboard 5 reference pass */
.qp-section-five::before {
  width: 55%;
  background-image: url('assets/images/book-pattern.png');
  background-repeat: repeat;
  background-position: center center;
  background-size: 760px auto;
  background-blend-mode: screen;
}
.qp-section-five__inner { grid-template-columns: 55% 45%; }
@media (max-width: 900px) {
  .qp-section-five::before { width: 100%; background-size: 620px auto; }
  .qp-section-five__inner { grid-template-columns: 1fr; }
}

/* Artboard 5 alignment correction — match supplied reference */
@media (min-width: 901px) {
  .qp-section-five__inner {
    padding: 70px 70px 72px 123px;
  }
  .qp-s5-reviews {
    width: min(100%, 860px);
    min-height: 600px;
    padding: 0;
    gap: 36px;
    justify-content: flex-start;
  }
  .qp-s5-review {
    min-height: 282px;
    height: 282px;
    padding: 32px 42px 28px;
    border-radius: 34px;
  }
  .qp-s5-review__identity strong,
  .qp-s5-review__identity span:not(.qp-s5-review__dot) {
    font-size: 18px;
  }
  .qp-s5-review__rating {
    gap: 7px;
    padding-top: 13px;
  }
  .qp-s5-review__rating span {
    font-size: 25px;
  }
  .qp-s5-review__text {
    max-width: 740px;
    margin-top: 29px;
    font-size: 18px;
    line-height: 1.45;
  }
}
.qp-s5-title strong {
  text-decoration: none;
  text-decoration-thickness: 0;
  text-underline-offset: 0;
}

/* Artboard 5 — two reviews per Swiper slide */
@media (min-width: 901px) {
  .qp-s5-reviews.swiper {
    display: block;
    position: relative;
    width: min(100%, 860px);
    height: 700px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }
  .qp-s5-reviews.swiper .swiper-wrapper {
    display: flex;
    height: 600px;
  }
  .qp-s5-reviews.swiper .swiper-slide {
    display: block;
    height: 600px;
  }
  .qp-s5-review-pair {
    display: flex;
    flex-direction: column;
    gap: 36px;
    height: 600px;
  }
  .qp-s5-review-pair .qp-s5-review {
    flex: 0 0 282px;
  }
}
@media (max-width: 900px) {
  .qp-s5-reviews.swiper {
    display: block;
    width: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .qp-s5-reviews.swiper .swiper-slide { height: auto; }
  .qp-s5-review-pair {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
}

/* Artboard 5 — reference card height and no-controls pass */
@media (min-width: 901px) {
  .qp-s5-reviews.swiper {
    height: 786px;
  }
  .qp-s5-reviews.swiper .swiper-wrapper,
  .qp-s5-reviews.swiper .swiper-slide,
  .qp-s5-review-pair {
    height: 786px;
  }
  .qp-s5-review-pair {
    gap: 46px;
  }
  .qp-s5-review-pair .qp-s5-review {
    flex: 0 0 370px;
    min-height: 370px;
    height: 370px;
  }
}


/* Artboard 6 — contact CTA banner */
.qp-section-six {
  position: relative;
  display: flex;
  min-height: 648px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--s6-light, #fff);
  color: #fff;
  direction: rtl;
}
.qp-section-six__banner {
  position: relative;
  width: min(var(--s6-banner-width, 70%), 1350px);
  height: clamp(360px, 20.83vw, 400px);
  overflow: hidden;
  border-radius: var(--s6-banner-radius, 20px);
  background: linear-gradient(180deg, #0b7ccd 0%, var(--s6-blue, #0877c9) 100%);
  isolation: isolate;
}
.qp-section-six__decor,
.qp-section-six__student {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.qp-section-six__decor {
  z-index: 1;
  width: 31%;
  max-width: 420px;
  height: auto;
  opacity: .68;
}
.qp-section-six__decor--left {
  top: 18%;
  left: 4%;
}
.qp-section-six__decor--right {
  top: 18%;
  right: 4%;
}
.qp-section-six__student {
  z-index: 2;
  bottom: -1px;
  left: 50%;
  width: min(30%, 400px);
  height: auto;
  transform: translateX(-50%);
}
.qp-section-six__content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 58px 28px 0;
  text-align: center;
}
.qp-section-six__content h2 {
  max-width: 850px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(30px, 2.45vw, 47px);
  font-weight: 800;
  line-height: 1.28;
  text-wrap: balance;
}
.qp-section-six__content p {
  max-width: 930px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 1.65;
}
.qp-section-six__button {
  display: inline-flex;
  min-width: 205px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding: 10px 28px;
  border-radius: 15px;
  background: var(--s6-green, #00C174);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.qp-section-six__button:hover,
.qp-section-six__button:focus-visible {
  color: #fff;
  filter: brightness(.94);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .qp-section-six {
    min-height: auto;
    padding: 48px 14px 58px;
  }
  .qp-section-six__banner {
    width: 100%;
    height: 560px;
    border-radius: 18px;
  }
  .qp-section-six__decor {
    top: 24%;
    width: 58%;
    opacity: .48;
  }
  .qp-section-six__decor--left { left: -14%; }
  .qp-section-six__decor--right { right: -14%; }
  .qp-section-six__student {
    width: 310px;
    max-width: 82%;
  }
  .qp-section-six__content {
    padding: 52px 18px 0;
  }
  .qp-section-six__content h2 {
    font-size: clamp(28px, 7.7vw, 42px);
    line-height: 1.35;
  }
  .qp-section-six__content p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.7;
  }
  .qp-section-six__button {
    min-width: 170px;
    min-height: 52px;
    margin-top: 22px;
    font-size: 18px;
  }
}
@media (max-width: 520px) {
  .qp-section-six__banner { height: 520px; }
  .qp-section-six__content { padding-inline: 14px; }
  .qp-section-six__content h2 { font-size: 27px; }
  .qp-section-six__content p { font-size: 14px; }
  .qp-section-six__student { width: 286px; }
}


/* Artboard 6 — let the graduate rise above the card like the reference */
.qp-section-six__banner {
  overflow: visible;
}
@media (min-width: 901px) {
  .qp-section-six__student {
    bottom: -1px;
    z-index: 4;
  }
  .qp-section-six__content {
    z-index: 5;
  }
}


/* Artboard 7 — blog articles */
.qp-section-seven {
  position: relative;
  min-height: 1052px;
  overflow: hidden;
  background: var(--s7-light, #EEF5FF);
  color: #0A1020;
  direction: rtl;
}
.qp-section-seven__inner {
  width: min(100% - 48px, 1350px);
  min-height: 1052px;
  margin: 0 auto;
  padding: 70px 0 112px;
  box-sizing: border-box;
}
.qp-s7-heading {
  text-align: center;
}
.qp-s7-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #0A1020;
  font-size: clamp(22px, 1.7vw, 31px);
  font-weight: 500;
  line-height: 1.2;
}
.qp-s7-eyebrow::after {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #FECE00;
}
.qp-s7-title {
  margin: 36px 0 0;
  color: var(--s7-dark, #022D23);
  font-size: clamp(42px, 3.85vw, 74px);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}
.qp-s7-title span,
.qp-s7-title strong { display: inline; }
.qp-s7-title strong {
  color: var(--s7-blue, #2059E8);
  font-weight: 800;
}
.qp-s7-slider {
  width: 100%;
  margin-top: 84px;
  overflow: hidden;
}
.qp-s7-slider .swiper-wrapper {
  align-items: stretch;
}
.qp-s7-slider .swiper-slide {
  display: flex;
  height: auto;
  justify-content: center;
}
.qp-s7-card {
  display: flex;
  width: 100%;
  max-width: 575px;
  min-height: 598px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  color: #10131B;
  box-shadow: 0 2px 5px rgba(10,35,80,.04);
}
.qp-s7-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1122 / 516;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
}
.qp-s7-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 30px 25px;
  text-align: right;
}
.qp-s7-card__date {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  color: var(--s7-blue, #2059E8);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.qp-s7-card__date img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.qp-s7-card h3 {
  margin: 26px 0 0;
  color: #111;
  font-size: clamp(18px, 1.35vw, 26px);
  font-weight: 800;
  line-height: 1.45;
}
.qp-s7-card p {
  margin: 14px 0 0;
  color: #8A8A8A;
  font-size: clamp(14px, .9vw, 17px);
  font-weight: 400;
  line-height: 1.75;
}
.qp-s7-card__link {
  display: inline-flex;
  min-width: 150px;
  min-height: 43px;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  margin-top: auto;
  padding: 8px 20px;
  border-radius: 22px;
  background: var(--s7-blue, #2059E8);
  box-shadow: 0 4px 9px rgba(32,89,232,.25);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}
.qp-s7-card__link:hover,
.qp-s7-card__link:focus-visible {
  color: #fff;
  filter: brightness(.94);
  transform: translateY(-2px);
}
@media (min-width: 901px) {
  .qp-s7-slider.swiper {
    height: 598px;
  }
  .qp-s7-slider .swiper-slide {
    width: calc((100% - 78px) / 2);
    margin-inline-end: 78px;
  }
  .qp-s7-slider .swiper-slide:last-child { margin-inline-end: 0; }
}
@media (max-width: 900px) {
  .qp-section-seven {
    min-height: auto;
  }
  .qp-section-seven__inner {
    width: min(100% - 28px, 620px);
    min-height: auto;
    padding: 58px 0 76px;
  }
  .qp-s7-title {
    margin-top: 28px;
    font-size: clamp(34px, 9vw, 52px);
  }
  .qp-s7-title span,
  .qp-s7-title strong { display: block; }
  .qp-s7-slider {
    margin-top: 46px;
  }
  .qp-s7-card {
    max-width: 575px;
    min-height: 0;
    border-radius: 25px;
  }
  .qp-s7-card__body {
    min-height: 335px;
    padding: 18px 21px 22px;
  }
  .qp-s7-card h3 { margin-top: 20px; font-size: 20px; }
  .qp-s7-card p { font-size: 15px; }
}
@media (max-width: 520px) {
  .qp-s7-eyebrow { font-size: 20px; }
  .qp-s7-card__body { min-height: 360px; }
}


/* Artboard 7 — keep the full article card visible */
@media (min-width: 901px) {
  .qp-s7-slider.swiper,
  .qp-s7-slider .swiper-slide,
  .qp-s7-card {
    height: 620px;
  }
  .qp-s7-card {
    min-height: 620px;
  }
  .qp-s7-card__body {
    padding: 15px 30px 20px;
  }
  .qp-s7-card h3 {
    margin-top: 22px;
    font-size: clamp(18px, 1.22vw, 23px);
    line-height: 1.35;
  }
  .qp-s7-card p {
    margin-top: 11px;
    font-size: clamp(13px, .82vw, 15px);
    line-height: 1.55;
  }
  .qp-s7-card__link {
    min-height: 40px;
    font-size: 14px;
  }
}


/* Artboard 8 — contact form and contact details */
.qp-section-eight {
  position: relative;
  min-height: 1020px;
  overflow: hidden;
  padding: 132px 24px 150px;
  box-sizing: border-box;
  background: #718393 var(--s8-background, none) center / cover no-repeat;
  direction: rtl;
}
.qp-section-eight::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(25, 43, 58, .56);
}
.qp-section-eight__card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1450px);
  min-height: 720px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 58px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .16);
}
.qp-section-eight__form-column,
.qp-section-eight__info-column {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  background-image: var(--s8-pattern, none);
  background-position: center;
  background-size: 720px auto;
}
.qp-section-eight__form-column {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 62px 72px;
  background-color: var(--s8-blue, #064BFF);
  background-blend-mode: screen;
  direction: rtl;
}
.qp-section-eight__info-column {
  padding: 52px 74px 60px;
  background-color: var(--s8-orange, #FE5104);
  background-blend-mode: screen;
  color: #fff;
  text-align: right;
}
.qp-s8-info-heading { position: relative; z-index: 1; }
.qp-s8-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 2vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}
.qp-s8-eyebrow span {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: #FECE00;
}
.qp-s8-info-heading h2 {
  max-width: 625px;
  margin: 27px 0 0;
  color: #fff;
  font-size: clamp(39px, 3.1vw, 64px);
  font-weight: 800;
  line-height: 1.3;
}
.qp-s8-description {
  margin: 25px 0 0;
  color: #fff;
  font-size: clamp(20px, 1.5vw, 31px);
  font-weight: 400;
  line-height: 1.35;
}
.qp-s8-contact-details {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 2px solid rgba(255,255,255,.9);
}
.qp-s8-detail { margin-top: 28px; }
.qp-s8-detail:first-child { margin-top: 0; }
.qp-s8-detail h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 1.9vw, 37px);
  font-weight: 400;
  line-height: 1.2;
}
.qp-s8-detail p,
.qp-s8-detail a {
  display: block;
  margin: 9px 0 0;
  color: #fff;
  font-size: clamp(18px, 1.4vw, 28px);
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
}
.qp-s8-detail:not(.qp-s8-detail--address) a {
  direction: ltr;
  text-align: right;
}
.qp-s8-form-rendered,
.qp-s8-native-form {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
}
.qp-s8-native-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.qp-s8-native-form input,
.qp-s8-native-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  border-radius: 15px;
  outline: none;
  background: var(--s8-input, #EEF5FF);
  color: #10213A;
  font-family: inherit;
  font-size: clamp(18px, 1.5vw, 29px);
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
}
.qp-s8-native-form input {
  min-height: 61px;
  padding: 10px 24px;
}
.qp-s8-native-form textarea {
  min-height: 145px;
  padding: 16px 24px;
  resize: vertical;
}
.qp-s8-native-form input::placeholder,
.qp-s8-native-form textarea::placeholder { color: #1C2D47; opacity: 1; }
.qp-s8-native-form button {
  min-width: 255px;
  min-height: 62px;
  align-self: center;
  margin-top: 2px;
  padding: 10px 28px;
  border: 0;
  border-radius: 15px;
  background: var(--s8-input, #EEF5FF);
  color: var(--s8-blue, #064BFF);
  cursor: pointer;
  font: inherit;
  font-size: clamp(20px, 1.5vw, 29px);
  font-weight: 600;
  transition: filter .2s ease, transform .2s ease;
}
.qp-s8-native-form button:hover,
.qp-s8-native-form button:focus-visible { filter: brightness(.95); transform: translateY(-2px); }
.qp-s8-form-success {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #fff;
  font-size: 20px;
  text-align: center;
}
.qp-s8-form-rendered form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.qp-s8-form-rendered input:not([type="submit"]),
.qp-s8-form-rendered textarea,
.qp-s8-form-rendered select {
  width: 100%;
  min-height: 61px;
  box-sizing: border-box;
  border: 0;
  border-radius: 15px;
  padding: 10px 24px;
  background: var(--s8-input, #EEF5FF);
  color: #10213A;
  font: inherit;
  font-size: clamp(17px, 1.35vw, 26px);
}
.qp-s8-form-rendered textarea { min-height: 145px; }
.qp-s8-form-rendered input[type="submit"],
.qp-s8-form-rendered button {
  min-width: 255px;
  min-height: 62px;
  align-self: center;
  border: 0;
  border-radius: 15px;
  background: var(--s8-input, #EEF5FF);
  color: var(--s8-blue, #064BFF);
  cursor: pointer;
  font: inherit;
  font-size: clamp(19px, 1.45vw, 28px);
  font-weight: 600;
}
@media (max-width: 980px) {
  .qp-section-eight {
    min-height: auto;
    padding: 70px 14px 90px;
  }
  .qp-section-eight__card {
    width: min(100%, 650px);
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 30px;
  }
  .qp-section-eight__info-column {
    order: -1;
    padding: 42px 28px 48px;
  }
  .qp-section-eight__form-column { padding: 42px 28px 50px; }
  .qp-s8-eyebrow { font-size: 28px; }
  .qp-s8-info-heading h2 { margin-top: 20px; font-size: 42px; }
  .qp-s8-description { margin-top: 18px; font-size: 21px; }
  .qp-s8-contact-details { margin-top: 28px; padding-top: 22px; }
  .qp-s8-detail h3 { font-size: 28px; }
  .qp-s8-detail p, .qp-s8-detail a { font-size: 20px; }
}
@media (max-width: 520px) {
  .qp-section-eight { padding-inline: 10px; }
  .qp-section-eight__card { border-radius: 24px; }
  .qp-section-eight__info-column { padding: 32px 21px 38px; }
  .qp-section-eight__form-column { padding: 32px 18px 40px; }
  .qp-s8-eyebrow { font-size: 24px; }
  .qp-s8-info-heading h2 { font-size: 34px; }
  .qp-s8-description { font-size: 18px; }
  .qp-s8-detail h3 { font-size: 24px; }
  .qp-s8-detail p, .qp-s8-detail a { font-size: 17px; }
  .qp-s8-native-form { gap: 19px; }
  .qp-s8-native-form input { min-height: 55px; padding-inline: 17px; }
  .qp-s8-native-form textarea { min-height: 125px; padding-inline: 17px; }
  .qp-s8-native-form button { min-width: 180px; min-height: 55px; font-size: 20px; }
}


/* Artboard 8 — keep the visual card order blue-left / orange-right */
.qp-section-eight__card {
  direction: ltr;
}
.qp-section-eight__form-column,
.qp-section-eight__info-column {
  direction: rtl;
}


/* Section 8 — three-color top bar and orange form focus */
.qp-s8-topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 16px;
  direction: ltr;
}
.qp-s8-topbar span { display: block; height: 100%; }
.qp-s8-topbar__orange { width: 34%; background: var(--s8-topbar-orange, #FE5104); }
.qp-s8-topbar__yellow { width: 34%; background: var(--s8-topbar-yellow, #FECE00); }
.qp-s8-topbar__green { width: 32%; background: var(--s8-topbar-green, #00C174); }
.qp-s8-native-form input:focus,
.qp-s8-native-form textarea:focus,
.qp-s8-form-rendered input:focus,
.qp-s8-form-rendered textarea:focus,
.qp-s8-form-rendered select:focus {
  border: 3px solid var(--s8-orange, #FE5104);
  box-shadow: 0 0 0 3px rgba(254, 81, 4, .18);
  outline: none;
}
.qp-s8-native-form input,
.qp-s8-native-form textarea,
.qp-s8-form-rendered input:not([type="submit"]),
.qp-s8-form-rendered textarea,
.qp-s8-form-rendered select {
  border: 3px solid transparent;
  transition: border-color .18s ease, box-shadow .18s ease;
}
@media (max-width: 520px) {
  .qp-s8-topbar { height: 9px; }
}


/* Section 8 — labels stay inside inputs as placeholders */
.qp-s8-form-rendered .qp-s8-external-label {
  display: none !important;
}
.qp-s8-form-rendered .qp-s8-label-wrap {
  display: block;
  margin: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
}
.qp-s8-form-rendered .qp-s8-label-wrap input,
.qp-s8-form-rendered .qp-s8-label-wrap textarea,
.qp-s8-form-rendered .qp-s8-label-wrap select {
  font-size: clamp(17px, 1.35vw, 26px);
  line-height: 1.4;
}


/* Section 8 — labels belong above the fields, matching the reference */
.qp-s8-form-rendered .qp-s8-external-label {
  display: block !important;
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 1.35vw, 27px);
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
}
.qp-s8-form-rendered .qp-s8-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 1.35vw, 27px);
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
}
.qp-s8-form-rendered .qp-s8-label-wrap input,
.qp-s8-form-rendered .qp-s8-label-wrap textarea,
.qp-s8-form-rendered .qp-s8-label-wrap select {
  font-size: clamp(17px, 1.35vw, 26px);
  line-height: 1.4;
}
.qp-s8-form-rendered form > label:not(.qp-s8-external-label):not(.qp-s8-label-wrap) {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 1.35vw, 27px);
  text-align: right;
}
.qp-s8-native-form .qp-s8-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qp-s8-native-form .qp-s8-field label {
  color: #fff;
  font-size: clamp(18px, 1.35vw, 27px);
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
}


/* ==========================================================================
   WPForms — تنسيق مستوحى من تصميم القالب
   يُطبّق داخل .qp-section-eight__form-column فقط
   ========================================================================== */

/* إعادة تعيين الفورم ليملأ العمود */
.qp-section-eight__form-column .wpforms-container {
  width: 100%;
  max-width: 700px;
}

/* إزالة الهوامش الافتراضية لـ WPForms */
.qp-section-eight__form-column .wpforms-form {
  margin: 0;
  padding: 0;
}

/* ترتيب الحقول عمودياً بنفس فجوة الفورم الأصلي */
.qp-section-eight__form-column .wpforms-form .wpforms-field {
  padding: 0;
  margin-bottom: 28px;
}
.qp-section-eight__form-column .wpforms-form .wpforms-field:last-of-type {
  margin-bottom: 0;
}

/* الليبلات — لون أبيض فوق الحقل */
.qp-section-eight__form-column .wpforms-form label.wpforms-field-label {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: clamp(17px, 1.3vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
}

/* حقول الإدخال — نفس شكل الفورم الأصلي */
.qp-section-eight__form-column .wpforms-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.qp-section-eight__form-column .wpforms-form textarea,
.qp-section-eight__form-column .wpforms-form select {
  width: 100%;
  min-height: 61px;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 15px;
  padding: 10px 24px;
  background: var(--s8-input, #EEF5FF);
  color: #10213A;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: clamp(17px, 1.35vw, 26px);
  font-weight: 400;
  line-height: 1.4;
  text-align: right;
  direction: rtl;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.qp-section-eight__form-column .wpforms-form textarea {
  min-height: 145px;
  resize: vertical;
}

/* Focus — برتقالي مطابق للفورم الأصلي */
.qp-section-eight__form-column .wpforms-form input:not([type="submit"]):focus,
.qp-section-eight__form-column .wpforms-form textarea:focus,
.qp-section-eight__form-column .wpforms-form select:focus {
  border-color: var(--s8-orange, #FE5104);
  box-shadow: 0 0 0 3px rgba(254, 81, 4, .18);
}

/* Placeholder */
.qp-section-eight__form-column .wpforms-form input::placeholder,
.qp-section-eight__form-column .wpforms-form textarea::placeholder {
  color: #1C2D47;
  opacity: 1;
}

/* زر الإرسال — نفس تصميم زر الفورم الأصلي */
.qp-section-eight__form-column .wpforms-form .wpforms-submit-container {
  text-align: center;
  margin-top: 4px;
  padding: 0;
}
.qp-section-eight__form-column .wpforms-form button[type="submit"],
.qp-section-eight__form-column .wpforms-form input[type="submit"] {
  min-width: 255px;
  min-height: 62px;
  padding: 10px 28px;
  border: 0;
  border-radius: 15px;
  background: var(--s8-input, #EEF5FF);
  color: var(--s8-blue, #064BFF);
  cursor: pointer;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: clamp(20px, 1.5vw, 29px);
  font-weight: 600;
  line-height: 1.2;
  transition: filter .2s ease, transform .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.qp-section-eight__form-column .wpforms-form button[type="submit"]:hover,
.qp-section-eight__form-column .wpforms-form input[type="submit"]:hover,
.qp-section-eight__form-column .wpforms-form button[type="submit"]:focus-visible,
.qp-section-eight__form-column .wpforms-form input[type="submit"]:focus-visible {
  filter: brightness(.95);
  transform: translateY(-2px);
  outline: none;
}

/* رسائل الخطأ — لون أبيض مع أيقونة تحذير */
.qp-section-eight__form-column .wpforms-form .wpforms-field-error,
.qp-section-eight__form-column .wpforms-form label.wpforms-error {
  display: block;
  margin-top: 6px;
  color: #FFD6C0;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 400;
  text-align: right;
}

/* رسالة النجاح — مطابقة للتصميم */
.qp-section-eight__form-column .wpforms-confirmation-container-full,
.qp-section-eight__form-column .wpforms-confirmation-container {
  padding: 24px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: clamp(18px, 1.4vw, 26px);
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
}

/* إخفاء عناصر WPForms غير الضرورية */
.qp-section-eight__form-column .wpforms-form .wpforms-field-description,
.qp-section-eight__form-column .wpforms-form .wpforms-field-sublabel {
  color: rgba(255, 255, 255, .75);
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  text-align: right;
}
.qp-section-eight__form-column .wpforms-form .wpforms-required-label {
  color: #FFD6C0;
}

/* إخفاء البراندينغ السفلي لـ WPForms Lite */
.qp-section-eight__form-column .wpforms-form .wpforms-powered-by-link,
.qp-section-eight__form-column .wpforms-form .wpforms-footer-powered-by {
  display: none !important;
}

/* موبايل */
@media (max-width: 520px) {
  .qp-section-eight__form-column .wpforms-form .wpforms-field {
    margin-bottom: 19px;
  }
  .qp-section-eight__form-column .wpforms-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
  .qp-section-eight__form-column .wpforms-form textarea,
  .qp-section-eight__form-column .wpforms-form select {
    min-height: 55px;
    padding-inline: 17px;
  }
  .qp-section-eight__form-column .wpforms-form textarea {
    min-height: 125px;
  }
  .qp-section-eight__form-column .wpforms-form button[type="submit"],
  .qp-section-eight__form-column .wpforms-form input[type="submit"] {
    min-width: 180px;
    min-height: 55px;
    font-size: 20px;
  }
}
.qp-last-section {
  position: relative;
  overflow: hidden;
  min-height: 446px;
  background: linear-gradient(90deg, var(--last-gradient-start, #1E51ED) 0%, var(--last-gradient-end, #112E87) 100%);
  color: #fff;
  direction: rtl;
}
.qp-last-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: var(--last-pattern, none);
  background-position: center;
  background-size: 760px auto;
  opacity: .07;
  pointer-events: none;
}
.qp-last-section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 72px, 1420px);
  min-height: 446px;
  margin: 0 auto;
  grid-template-columns: 1.05fr 1fr 1fr 1.05fr;
  align-items: center;
  gap: 58px;
  padding: 58px 0 62px;
  box-sizing: border-box;
}
.qp-last-section__column {
  min-width: 0;
  text-align: right;
}
.qp-last-section__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qp-last-section__logo {
  display: block;
  width: min(100%, 305px);
  height: auto;
  object-fit: contain;
}
.qp-last-section__column h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 1.75vw, 34px);
  font-weight: 500;
  line-height: 1.25;
}
.qp-last-section__rule {
  display: block;
  width: 100%;
  max-width: 310px;
  height: 2px;
  margin: 15px 0 22px;
  background: rgba(255,255,255,.92);
}
.qp-last-section__contact-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.qp-last-section__contact-list a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  color: #fff;
  direction: ltr;
  font-size: clamp(17px, 1.25vw, 25px);
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}
.qp-last-section__contact-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: var(--last-gradient-end, #112E87);
  font-size: 24px;
  line-height: 1;
}
.qp-last-section__contact-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qp-last-section__contact-icon--phone { font-size: 20px; font-weight: 700; }
.qp-last-section__contact-icon--mail { font-size: 20px; }
.qp-last-section__quick nav ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qp-last-section__quick nav a {
  color: #fff;
  font-size: clamp(17px, 1.25vw, 25px);
  font-weight: 400;
  text-decoration: none;
}
.qp-last-section__social h2 { max-width: 360px; }
.qp-last-section__social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  direction: ltr;
}
.qp-last-section__social-links > a,
.qp-last-section__instagram {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}
.qp-last-section__social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.qp-last-section__instagram svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--last-gradient-end, #112E87);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.qp-last-section__instagram svg circle:last-child { fill: var(--last-gradient-end, #112E87); stroke: none; }
@media (max-width: 1050px) {
  .qp-last-section__inner { gap: 28px; }
  .qp-last-section__logo { width: 245px; }
}
@media (max-width: 800px) {
  .qp-last-section { min-height: auto; }
  .qp-last-section__inner {
    width: min(100% - 44px, 520px);
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 45px 26px;
    padding: 48px 0 56px;
  }
  .qp-last-section__brand { grid-column: 1 / -1; order: -1; }
  .qp-last-section__logo { width: 260px; }
  .qp-last-section__column h2 { font-size: 23px; }
  .qp-last-section__rule { margin: 12px 0 18px; }
  .qp-last-section__contact-list a,
  .qp-last-section__quick nav a { font-size: 16px; }
  .qp-last-section__contact-list a { gap: 8px; }
  .qp-last-section__contact-icon { width: 29px; height: 29px; flex-basis: 29px; }
  .qp-last-section__social { grid-column: 1 / -1; text-align: center; }
  .qp-last-section__social h2 { margin-inline: auto; }
  .qp-last-section__social .qp-last-section__rule { margin-inline: auto; }
  .qp-last-section__social-links { justify-content: center; }
}
@media (max-width: 480px) {
  .qp-last-section__inner { width: min(100% - 34px, 360px); grid-template-columns: 1fr; gap: 34px; }
  .qp-last-section__brand,
  .qp-last-section__social { grid-column: auto; }
  .qp-last-section__column { text-align: center; }
  .qp-last-section__rule { margin-inline: auto; }
  .qp-last-section__contact-list a { justify-content: center; }
  .qp-last-section__quick nav ul { align-items: center; }
}


/* Last Section — Artboard 9 reference alignment pass */
.qp-last-section__inner {
  width: min(calc(100% - 120px), 1744px);
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 68px;
}
.qp-last-section__logo {
  width: min(100%, 370px);
}
.qp-last-section__rule {
  max-width: 360px;
}
@media (max-width: 1050px) {
  .qp-last-section__inner {
    width: min(calc(100% - 80px), 900px);
    gap: 32px;
  }
  .qp-last-section__logo { width: 290px; }
}


/* Last Section — final Artboard 9 proportions */
.qp-last-section__inner {
  width: min(calc(100% - 120px), 1800px);
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 64px;
}
.qp-last-section__brand { justify-content: flex-start; }
.qp-last-section__logo { width: min(100%, 430px); }
.qp-last-section__column h2 { font-size: clamp(23px, 1.6vw, 31px); }
.qp-last-section__social-links > a,
.qp-last-section__instagram { width: 46px; height: 46px; }
@media (max-width: 1050px) {
  .qp-last-section__inner { width: min(calc(100% - 80px), 900px); gap: 32px; }
  .qp-last-section__brand { justify-content: center; }
  .qp-last-section__logo { width: 300px; }
}


/* Last Section — final mobile stacking correction */
@media (max-width: 480px) {
  .qp-last-section__inner {
    width: min(calc(100% - 34px), 360px);
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .qp-last-section__brand,
  .qp-last-section__contact,
  .qp-last-section__quick,
  .qp-last-section__social {
    grid-column: auto;
  }
  .qp-last-section__brand { justify-content: center; }
  .qp-last-section__logo { width: min(100%, 285px); }
  .qp-last-section__column { text-align: center; }
  .qp-last-section__rule { margin-inline: auto; }
  .qp-last-section__contact-list a { justify-content: center; }
  .qp-last-section__quick nav ul { align-items: center; }
  .qp-last-section__social-links { justify-content: center; }
}


/* Page flow and floating WhatsApp behavior */
.qp-hero,
.qp-section-two {
  margin: 0;
  vertical-align: top;
}
.qp-hero + .qp-section-two { margin-top: 0; }
.qp-whatsapp--floating {
  position: fixed;
  z-index: 1000;
  left: 32px;
  bottom: 28px;
  display: grid;
  width: 64px;
  height: 64px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px) scale(.92);
  transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.qp-whatsapp--floating.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.qp-whatsapp--floating img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
@media (max-width: 820px) {
  .qp-whatsapp--floating { left: 18px; bottom: 20px; width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .qp-whatsapp--floating { transition: none; }
}


/* Artboard 9 — final desktop alignment and hover cleanup */
@media (min-width: 1101px) {
  .qp-last-section__inner {
    width: min(calc(100% - 120px), 1800px);
    min-height: 446px;
    grid-template-columns: minmax(280px, 1.3fr) minmax(220px, 1fr) minmax(200px, 1fr) minmax(250px, 1.1fr);
    align-items: center;
    gap: clamp(28px, 3.75vw, 72px);
    padding: 58px 0 62px;
  }

  .qp-last-section__brand {
    justify-content: flex-start;
  }

  .qp-last-section__logo {
    width: min(100%, 430px);
  }

  .qp-last-section__column {
    text-align: right;
  }

  .qp-last-section__contact-list {
    align-items: flex-start;
  }

  .qp-last-section__contact-list a {
    direction: rtl;
    justify-content: flex-start;
  }

  .qp-last-section__quick nav ul {
    align-items: flex-start;
  }
}

.qp-last-section__quick nav a,
.qp-last-section__quick nav a:hover,
.qp-last-section__quick nav a:focus,
.qp-last-section__quick nav a:focus-visible {
  text-decoration: none !important;
  text-underline-offset: 0;
}

.qp-last-section__contact-list a,
.qp-last-section__contact-list a:hover,
.qp-last-section__contact-list a:focus,
.qp-last-section__contact-list a:focus-visible {
  text-decoration: none;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .qp-last-section__inner {
    width: min(calc(100% - 48px), 1040px);
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
    gap: 22px;
    padding: 48px 0 52px;
  }

  .qp-last-section__brand {
    grid-column: auto;
    justify-content: flex-start;
    order: initial;
  }

  .qp-last-section__logo {
    width: min(100%, 250px);
  }

  .qp-last-section__column h2 {
    font-size: 21px;
  }

  .qp-last-section__rule {
    margin-top: 11px;
    margin-bottom: 16px;
  }

  .qp-last-section__contact-list {
    gap: 11px;
  }

  .qp-last-section__contact-list a,
  .qp-last-section__quick nav a {
    font-size: 15px;
  }

  .qp-last-section__contact-list a {
    gap: 8px;
  }

  .qp-last-section__contact-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .qp-last-section__social-links > a,
  .qp-last-section__instagram {
    width: 40px;
    height: 40px;
  }
}


/* Artboard 9 — measured column spacing pass */
@media (min-width: 1101px) {
  .qp-last-section__inner {
    display: flex;
    width: min(calc(100% - 110px), 1800px);
    min-height: 446px;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(27px, 2.109375vw, 40.5px);
    padding: 58px 0 62px;
    box-sizing: border-box;
  }

  .qp-last-section__brand,
  .qp-last-section__contact,
  .qp-last-section__quick,
  .qp-last-section__social {
    flex: 0 0 clamp(230px, 17.96875vw, 345px);
  }

  .qp-last-section__brand {
    flex-basis: clamp(260px, 20.3125vw, 390px);
    margin-left: clamp(139px, 10.859375vw, 208.5px);
    justify-content: flex-start;
  }

  .qp-last-section__logo {
    width: 100%;
    max-width: none;
  }

  .qp-last-section__column h2 {
    font-size: clamp(23px, 1.6vw, 31px);
  }

  .qp-last-section__rule {
    width: 100%;
    max-width: none;
  }

  .qp-last-section__contact-list a,
  .qp-last-section__quick nav a {
    font-size: clamp(17px, 1.25vw, 25px);
  }
}


/* Artboard 9 — shared top baseline for all footer columns */
@media (min-width: 1101px) {
  .qp-last-section__inner {
    align-items: flex-start;
  }

  .qp-last-section__brand,
  .qp-last-section__contact,
  .qp-last-section__quick,
  .qp-last-section__social {
    align-self: flex-start;
  }

  /* In the reference, the logo begins slightly below the three text headings. */
  .qp-last-section__brand {
    margin-top: clamp(10px, 0.859375vw, 16.5px);
  }
}


/* Final responsive pass — tablet and mobile layout safety */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 1100px) {
  .qp-shell {
    width: min(calc(100% - 48px), var(--qp-content-width));
  }

  .qp-header {
    height: 78px;
    min-height: 78px;
    margin-top: 24px;
    padding-inline: 20px;
    border-radius: 30px;
  }

  .qp-logo {
    width: 160px;
  }

  .qp-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .qp-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 18px;
    background: var(--qp-primary-deep);
  }

  .qp-nav.is-open {
    display: flex;
  }

  .qp-nav a {
    display: block;
    padding: 11px 12px;
    font-size: 18px;
  }

  .qp-header-cta {
    min-width: 150px;
    min-height: 44px;
    padding-inline: 15px;
    font-size: 15px;
  }

  .qp-hero {
    min-height: auto;
  }

  .qp-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding: 42px 0 0;
  }

  .qp-copy {
    order: 1;
    justify-self: stretch;
    max-width: none;
    padding: 10px 0 0;
    transform: none;
    text-align: center;
  }

  .qp-kicker,
  .qp-copy-cta {
    justify-content: center;
  }

  .qp-title {
    max-width: 900px;
    margin-inline: auto;
    font-size: clamp(42px, 6.5vw, 72px);
    line-height: 1.16;
    text-align: center;
  }

  .qp-description {
    max-width: 820px;
    margin: 34px auto 34px;
    font-size: clamp(18px, 2.1vw, 23px);
    text-align: center;
  }

  .qp-visual {
    order: 2;
    min-height: clamp(470px, 58vw, 650px);
    margin-top: 6px;
  }

  .qp-shape-yellow {
    width: min(75vw, 710px);
    left: 4%;
    top: 7%;
  }

  .qp-shape-green {
    width: min(72vw, 700px);
    left: 23%;
    top: 27%;
  }

  .qp-students {
    width: min(105vw, 950px);
    left: -11%;
    bottom: -12%;
  }

  .qp-stamp {
    width: clamp(78px, 9vw, 105px);
    left: 10%;
    top: 37%;
  }

  .qp-award {
    width: clamp(76px, 8vw, 96px);
    left: 61%;
    bottom: 12%;
  }

  .qp-section-two {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .qp-section-two__left {
    order: 2;
    padding: 58px 24px 64px;
    transform: none;
  }

  .qp-section-two__right {
    order: 1;
    padding: 76px 24px 68px;
  }

  .qp-s2-panel,
  .qp-s2-cards,
  .qp-s2-copy {
    width: min(100%, 780px);
  }

  .qp-section-three {
    min-height: auto;
  }

  .qp-section-three__inner {
    flex-direction: column;
    width: 100%;
    min-height: auto;
    padding: 72px 28px 60px;
  }

  .qp-s3-heading {
    order: 1;
    width: 100%;
    min-width: 0;
    padding: 0;
    transform: none;
    text-align: center;
  }

  .qp-s3-badge {
    margin: 0 auto 28px;
  }

  .qp-s3-heading h2 {
    padding: 0;
    font-size: clamp(46px, 8vw, 74px);
    text-align: center;
  }

  .qp-s3-heading h2::before,
  .qp-s3-heading h2::after {
    right: 5%;
    width: 90%;
  }

  .qp-s3-stats {
    order: 2;
    width: 100%;
    padding-top: 46px;
    gap: 24px;
    transform: none;
  }

  .qp-s3-stat {
    flex: 1 1 0;
    min-width: 0;
    min-height: 360px;
  }

  .qp-s3-stat__icon {
    width: 100%;
    height: 160px;
  }

  .qp-s3-stat__value {
    width: 100%;
    height: 68px;
  }

  .qp-s3-stat__label {
    max-width: 100%;
    min-width: 0;
  }

  .qp-section-four {
    min-height: auto;
  }

  .qp-section-four__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 48px;
    padding: 76px 28px 104px;
  }

  .qp-s4-copy,
  .qp-s4-slider-wrap {
    grid-column: 1;
    width: 100%;
  }

  .qp-s4-copy {
    grid-row: 1;
    padding: 0;
    text-align: center;
  }

  .qp-s4-eyebrow {
    justify-content: center;
    margin-inline: 0;
  }

  .qp-s4-title,
  .qp-s4-description {
    text-align: center;
  }

  .qp-s4-description {
    margin-inline: auto;
  }

  .qp-s4-slider-wrap {
    grid-row: 2;
    padding-bottom: 92px;
  }

  .qp-section-five {
    min-height: auto;
  }

  .qp-section-five::before {
    width: 100%;
    opacity: .14;
  }

  .qp-section-five__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 54px;
    padding: 76px 28px 100px;
  }

  .qp-s5-copy,
  .qp-s5-reviews {
    grid-column: 1;
    width: 100%;
  }

  .qp-s5-copy {
    grid-row: 1;
    padding: 0;
    text-align: center;
  }

  .qp-s5-eyebrow {
    justify-content: center;
    margin-bottom: 36px;
  }

  .qp-s5-title,
  .qp-s5-description {
    text-align: center;
  }

  .qp-s5-description {
    margin-inline: auto;
  }

  .qp-s5-reviews {
    grid-row: 2;
    min-height: 0;
  }

  .qp-s5-reviews.swiper {
    height: auto;
    min-height: 0;
  }

  .qp-s5-reviews.swiper .swiper-wrapper,
  .qp-s5-reviews.swiper .swiper-slide,
  .qp-s5-review-pair {
    height: auto;
  }

  .qp-s5-review-pair {
    gap: 28px;
  }

  .qp-s5-review-pair .qp-s5-review {
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
  }

  .qp-section-six {
    min-height: auto;
    padding: 56px 24px 68px;
  }

  .qp-section-six__banner {
    width: min(100%, 900px);
    height: clamp(480px, 52vw, 560px);
  }

  .qp-section-seven {
    min-height: auto;
  }

  .qp-section-seven__inner {
    width: min(calc(100% - 48px), 900px);
    min-height: auto;
    padding: 70px 0 86px;
  }

  .qp-s7-slider {
    margin-top: 58px;
  }

  .qp-s7-slider.swiper {
    height: auto;
  }

  .qp-s7-slider .swiper-slide,
  .qp-s7-card {
    height: auto;
  }

  .qp-s7-card {
    min-height: 0;
  }

  .qp-section-eight {
    min-height: auto;
    padding: 82px 24px 104px;
  }

  .qp-section-eight__card {
    width: min(100%, 760px);
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 36px;
  }

  .qp-section-eight__info-column {
    order: -1;
  }
}

@media (max-width: 820px) {
  .qp-shell {
    width: min(calc(100% - 36px), var(--qp-content-width));
  }

  .qp-header {
    min-height: 66px;
    height: 66px;
    margin-top: 18px;
    padding-inline: 16px;
    border-radius: 24px;
  }

  .qp-logo {
    width: 148px;
  }

  .qp-header-cta {
    min-width: auto;
    padding: 9px 14px;
    font-size: 14px;
  }

  .qp-nav a {
    font-size: 18px;
  }

  .qp-hero-grid {
    padding-top: 34px;
  }

  .qp-visual {
    min-height: 480px;
  }

  .qp-section-two__left {
    padding: 48px 18px 52px;
  }

  .qp-section-two__right {
    padding: 70px 18px 60px;
  }

  .qp-section-three__inner {
    padding-inline: 20px;
  }

  .qp-section-four__inner,
  .qp-section-five__inner {
    padding-inline: 20px;
  }

  .qp-section-seven__inner {
    width: min(calc(100% - 28px), 620px);
  }

  .qp-section-eight {
    padding-inline: 14px;
  }
}

@media (max-width: 520px) {
  .qp-shell {
    width: min(calc(100% - 28px), var(--qp-content-width));
  }

  .qp-logo {
    width: 125px;
  }

  .qp-header-cta {
    display: none;
  }

  .qp-title {
    font-size: 37px;
  }

  .qp-description {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.6;
  }

  .qp-visual {
    min-height: 390px;
  }

  .qp-s3-stats {
    gap: 7px;
  }

  .qp-s3-stat {
    min-height: 270px;
  }

  .qp-s3-stat__icon {
    height: 104px;
  }

  .qp-s3-stat__value {
    height: 47px;
    border-width: 2px;
    border-radius: 11px;
    font-size: clamp(19px, 5vw, 30px);
  }

  .qp-s3-stat__label {
    padding: 5px 6px;
    border-width: 2px;
    font-size: clamp(12px, 3.3vw, 18px);
  }

  .qp-section-four__inner,
  .qp-section-five__inner {
    padding-inline: 12px;
  }

  .qp-section-six {
    padding-inline: 14px;
  }

  .qp-section-six__banner {
    height: 520px;
  }

  .qp-section-seven__inner {
    width: min(calc(100% - 28px), 620px);
  }

  .qp-section-eight {
    padding-inline: 10px;
  }
}


/* Responsive footer baseline for tablet landscape */
@media (min-width: 801px) and (max-width: 1100px) {
  .qp-last-section__inner {
    align-items: flex-start;
  }

  .qp-last-section__brand,
  .qp-last-section__contact,
  .qp-last-section__quick,
  .qp-last-section__social {
    align-self: flex-start;
  }

  .qp-last-section__brand {
    margin-top: 8px;
  }
}


/* Section 3 — Artboard 3 icon scale, tilt and editable count presentation */
.qp-s3-stat__icon img {
  transform-origin: 50% 100%;
  will-change: transform;
}

.qp-s3-stat--students .qp-s3-stat__icon img {
  width: min(100%, 252px);
  transform: rotate(-5deg) translateY(1px);
}

.qp-s3-stat--clients .qp-s3-stat__icon img {
  width: min(100%, 282px);
  transform: rotate(4deg) translateY(-1px);
}

.qp-s3-stat--years .qp-s3-stat__icon img {
  width: min(100%, 238px);
  transform: rotate(-7deg) translateY(2px);
}

.qp-s3-stat__value {
  gap: .08em;
  direction: ltr;
  white-space: nowrap;
}

.qp-s3-stat__number,
.qp-s3-stat__suffix {
  display: inline-block;
}

.qp-s3-stat__number {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}

.qp-s3-stat__suffix {
  margin-inline-start: .02em;
}

@media (min-width: 981px) {
  .qp-s3-stat__icon {
    width: 300px;
    height: 190px;
  }

  .qp-s3-stat--students .qp-s3-stat__icon img { width: 268px; }
  .qp-s3-stat--clients .qp-s3-stat__icon img { width: 300px; }
  .qp-s3-stat--years .qp-s3-stat__icon img { width: 252px; }

  .qp-s3-stat__value {
    width: 260px;
    height: 76px;
  }
}

@media (max-width: 980px) {
  .qp-s3-stat__icon img {
    max-width: 100%;
  }

  .qp-s3-stat--students .qp-s3-stat__icon img { transform: rotate(-5deg) translateY(1px); }
  .qp-s3-stat--clients .qp-s3-stat__icon img { transform: rotate(4deg) translateY(-1px); }
  .qp-s3-stat--years .qp-s3-stat__icon img { transform: rotate(-7deg) translateY(2px); }
}

@media (max-width: 620px) {
  .qp-s3-stat__icon {
    width: 31vw;
    height: 104px;
  }

  .qp-s3-stat--students .qp-s3-stat__icon img { width: 34vw; }
  .qp-s3-stat--clients .qp-s3-stat__icon img { width: 36vw; }
  .qp-s3-stat--years .qp-s3-stat__icon img { width: 29vw; }
}


/* Section 5 — keep review cards anchored left and reserve whitespace on the right */
@media (min-width: 901px) {
  .qp-section-five__inner {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    padding-left: clamp(24px, 4vw, 70px);
    padding-right: clamp(48px, 7vw, 123px);
    column-gap: clamp(24px, 3vw, 58px);
    box-sizing: border-box;
  }

  .qp-s5-reviews {
    width: 100%;
    max-width: 860px;
    justify-self: start;
    margin: 0;
  }

  .qp-s5-copy {
    width: 100%;
    max-width: 730px;
    justify-self: end;
    margin: 0;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .qp-section-five__inner {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
    padding-inline: 24px;
    column-gap: 24px;
  }

  .qp-s5-reviews {
    max-width: none;
  }
}


/* Section 5 — final zoom-safe column anchoring */
@media (min-width: 901px) {
  .qp-s5-reviews {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .qp-s5-copy {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .qp-s5-reviews.swiper .swiper-slide,
  .qp-s5-review-pair,
  .qp-s5-review {
    width: 100%;
    max-width: none;
  }
}


/* Section 5 — Swiper viewport direction fix for zoom and RTL card content */
.qp-s5-reviews.swiper {
  direction: ltr;
}

.qp-s5-review-pair,
.qp-s5-review {
  direction: rtl;
}


/* Section 5 — prevent adjacent slide bleed and preserve vertical card gap */
@media (min-width: 901px) {
  .qp-s5-reviews.swiper .swiper-slide {
    width: 100% !important;
    min-width: 100%;
    flex: 0 0 100% !important;
    flex-shrink: 0 !important;
  }

  .qp-s5-review-pair {
    width: 100%;
    gap: clamp(36px, 3.2vw, 46px);
  }
}


/* Section 6 — graduate rises above the CTA card on tablet and mobile */
@media (max-width: 900px) {
  .qp-section-six {
    overflow: hidden;
  }

  .qp-section-six__banner {
    overflow: visible;
    margin-top: 58px;
  }

  .qp-section-six__student {
    top: -72px;
    bottom: auto;
    left: 50%;
    width: min(84vw, 360px);
    max-width: none;
    transform: translateX(-50%);
  }

  .qp-section-six__content {
    position: relative;
    z-index: 5;
    padding-top: 126px;
  }
}

@media (max-width: 520px) {
  .qp-section-six__banner {
    height: 545px;
    margin-top: 52px;
  }

  .qp-section-six__student {
    top: -60px;
    width: min(90vw, 340px);
  }

  .qp-section-six__content {
    padding-top: 112px;
  }
}


/* Section 6 / 7 — mobile containment and one-card blog carousel */
@media (max-width: 900px) {
  .qp-section-six__decor {
    left: auto;
    right: auto;
    width: 58%;
    max-width: 420px;
  }

  .qp-section-six__decor--left { left: 2%; }
  .qp-section-six__decor--right { right: 2%; }

  .qp-s7-slider.swiper .swiper-slide {
    width: 100% !important;
    min-width: 100%;
    flex: 0 0 100% !important;
    margin-inline-end: 0;
  }
}


/* Section 7 — restore the Swiper flex track and isolate one mobile slide */
.qp-s7-slider.swiper .swiper-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: nowrap;
}

.qp-s7-slider.swiper .swiper-slide {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .qp-s7-slider.swiper {
    height: auto;
  }

  .qp-s7-slider.swiper .swiper-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .qp-s7-slider.swiper .swiper-slide {
    display: flex;
    height: auto;
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}


/* Production interaction layer: accessibility, card feedback and scroll reveals. */
.qp-skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  right: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #f6cb16;
  color: #10131a;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1);
}
.qp-skip-link:focus { transform: translateY(0); }

.qp-header a:focus-visible,
.qp-copy-cta:focus-visible,
.qp-section-six__button:focus-visible,
.qp-s7-card__link:focus-visible,
.qp-last-section a:focus-visible,
.qp-whatsapp:focus-visible {
  outline: 3px solid #f6cb16;
  outline-offset: 4px;
}

/* Section 2: the solid offset shadow matches the supplied visual reference. */
.qp-s2-card {
  box-shadow: 0 0 0 #07101f;
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1),
              box-shadow 260ms cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) and (pointer: fine) {
  .qp-s2-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 12px 0 #07101f;
  }
}

/* Section 3: lock the icon, number badge and label into one visual unit. */
.qp-s3-stat { gap: 0; }
.qp-s3-stat__icon { margin-bottom: 0; }
.qp-s3-stat__value {
  margin-top: 0;
  font-family: Arial, Tahoma, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}
.qp-s3-stat__label {
  margin-top: -13px;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

/* The honeypot remains available to assistive-free bot detection only. */
.qp-form-honeypot {
  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;
}

/* JS adds these classes only after it is ready, so content stays visible without JS. */
.qp-reveal.is-reveal-ready {
  opacity: 0;
  translate: 0 var(--qp-reveal-y, 28px);
  transition: opacity 620ms cubic-bezier(.16, 1, .3, 1),
              translate 620ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--qp-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.qp-reveal.is-reveal-ready[data-reveal-origin="top"] { --qp-reveal-y: -28px; }
.qp-reveal.is-reveal-ready.is-visible {
  opacity: 1;
  translate: 0 0;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .qp-reveal.is-reveal-ready,
  .qp-reveal.is-reveal-ready.is-visible {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
