:root {
  --qb-ink: #143331;
  --qb-muted: #5f706f;
  --qb-teal: #087a77;
  --qb-teal-dark: #055b59;
  --qb-mint: #dff1ed;
  --qb-coral: #e66f5d;
  --qb-yellow: #f3c54c;
  --qb-blue: #2f607d;
  --qb-paper: #ffffff;
  --qb-soft: #f4f8f7;
  --qb-line: #dce7e4;
  --qb-shadow: 0 18px 48px rgba(20, 51, 49, .12);
}

html {
  scroll-behavior: smooth;
}

body.samio-home-page {
  margin: 0;
  background: var(--qb-paper) !important;
  color: var(--qb-ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.samio-home-page .w-menu,
body.samio-home-page > .footer,
body.samio-home-page .footer:not(.qb-footer),
body.samio-home-page .fix-toolbar,
body.samio-home-page .scrollToTop {
  display: none !important;
}

body.samio-home-page .wrap-home,
body.samio-home-page .wrap-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.qb-home,
.qb-home * {
  box-sizing: border-box;
}

.qb-home {
  min-width: 0;
  overflow: clip;
  background: var(--qb-paper);
  color: var(--qb-ink);
  font-size: 16px;
  line-height: 1.6;
}

.qb-home a {
  color: inherit;
  text-decoration: none;
}

.qb-home button,
.qb-home input,
.qb-home select {
  font: inherit;
  letter-spacing: 0;
}

.qb-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.qb-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: 78px;
  border-bottom: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}

.qb-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 30px rgba(20, 51, 49, .09);
}

.qb-nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.qb-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.qb-brand > img {
  display: block;
  width: auto;
  height: 50px;
  max-width: 220px;
  object-fit: contain;
}

.qb-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--qb-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.qb-brand > span:last-child {
  display: grid;
  line-height: 1.1;
}

.qb-brand strong {
  color: var(--qb-ink);
  font-size: 18px;
  font-weight: 800;
}

.qb-brand small {
  margin-top: 5px;
  color: var(--qb-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.qb-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.qb-desktop-nav a,
.qb-login {
  color: #365250;
  font-size: 14px;
  font-weight: 650;
}

.qb-desktop-nav a:hover,
.qb-login:hover {
  color: var(--qb-teal);
}

.qb-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qb-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--qb-teal);
  border-radius: 7px;
  background: var(--qb-teal);
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.qb-home .qb-button {
  border-color: var(--qb-teal) !important;
  background-color: var(--qb-teal) !important;
  background-image: none !important;
}

.qb-button:hover {
  transform: translateY(-2px);
  border-color: var(--qb-teal-dark);
  background: var(--qb-teal-dark);
  box-shadow: 0 10px 24px rgba(8, 122, 119, .2);
}

.qb-home .qb-button:hover {
  border-color: var(--qb-teal-dark) !important;
  background-color: var(--qb-teal-dark) !important;
  background-image: none !important;
}

.qb-button svg {
  width: 18px;
  height: 18px;
}

.qb-button-small {
  min-height: 42px;
  padding: 0 15px;
  font-size: 13px;
}

.qb-button-secondary {
  border-color: #a8bbb7;
  background: rgba(255, 255, 255, .72);
  color: var(--qb-ink) !important;
}

.qb-home .qb-button-secondary {
  border-color: #a8bbb7 !important;
  background-color: rgba(255, 255, 255, .72) !important;
}

.qb-button-secondary:hover {
  border-color: var(--qb-ink);
  background: #fff;
  color: var(--qb-ink) !important;
  box-shadow: none;
}

.qb-home .qb-button-secondary:hover {
  border-color: var(--qb-ink) !important;
  background-color: #fff !important;
}

.qb-menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--qb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--qb-ink);
  cursor: pointer;
}

.qb-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.qb-mobile-menu {
  width: min(100% - 32px, 440px);
  display: grid;
  gap: 0;
  margin: 0 auto 14px;
  padding: 8px;
  border: 1px solid var(--qb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--qb-shadow);
}

.qb-mobile-menu[hidden] {
  display: none;
}

.qb-mobile-menu > a:not(.qb-button) {
  padding: 12px 10px;
  border-bottom: 1px solid #edf2f0;
  font-size: 14px;
  font-weight: 650;
}

.qb-mobile-menu .qb-button {
  margin-top: 8px;
}

.qb-hero {
  position: relative;
  min-height: min(860px, 92vh);
  display: grid;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
  background: #eaf1ef;
}

.qb-hero-media {
  position: absolute;
  inset: 0;
  background-image: url('../images/quocbao-ielts-buon-ma-thuot.webp');
  background-position: center center;
  background-size: cover;
}

.qb-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 58%;
  background: rgba(247, 251, 250, .92);
  content: '';
}

.qb-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding-top: 46px;
  padding-bottom: 64px;
}

.qb-hero-copy {
  width: min(610px, 52%);
}

.qb-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--qb-teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.qb-kicker > span {
  width: 34px;
  height: 2px;
  background: currentColor;
}

.qb-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #12312f;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 830;
  line-height: 1.05;
  letter-spacing: 0;
}

.qb-hero h1 span {
  display: inline-block;
  margin-top: 8px;
  color: var(--qb-teal-dark);
}

.qb-hero-lead {
  max-width: 570px;
  margin: 26px 0 0;
  color: #48615f;
  font-size: 17px;
  line-height: 1.75;
}

.qb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.qb-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 27px;
  color: #4a6260;
  font-size: 12px;
  font-weight: 650;
}

.qb-hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.qb-hero-proof svg {
  width: 16px;
  height: 16px;
  color: var(--qb-coral);
}

.qb-hero-next {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 51, 49, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .8);
  color: var(--qb-ink);
  transform: translateX(-50%);
}

.qb-hero-next svg {
  width: 17px;
  height: 17px;
}

.qb-signal {
  position: relative;
  z-index: 4;
  border-bottom: 1px solid var(--qb-line);
  background: #fff;
}

.qb-signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qb-signal-grid > div {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 112px;
  padding: 20px 24px;
  border-right: 1px solid var(--qb-line);
}

.qb-signal-grid > div:first-child {
  border-left: 1px solid var(--qb-line);
}

.qb-signal-grid > div > svg {
  width: 24px;
  height: 24px;
  color: var(--qb-teal);
}

.qb-signal-grid span,
.qb-signal-grid strong,
.qb-signal-grid small {
  min-width: 0;
  display: block;
}

.qb-signal-grid strong {
  color: var(--qb-ink);
  font-size: 14px;
  font-weight: 750;
}

.qb-signal-grid small {
  margin-top: 2px;
  color: var(--qb-muted);
  font-size: 11px;
  line-height: 1.45;
}

.qb-section {
  padding: 108px 0;
}

.qb-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 50px;
}

.qb-section-head .qb-kicker {
  margin-bottom: 14px;
}

.qb-section-head h2,
.qb-local h2,
.qb-method h2,
.qb-contact h2 {
  margin: 0;
  color: var(--qb-ink);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: 0;
}

.qb-section-head > p {
  margin: 0;
  color: var(--qb-muted);
  font-size: 15px;
  line-height: 1.75;
}

.qb-roadmap {
  background: var(--qb-soft);
}

.qb-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: qb-step;
}

.qb-steps li {
  position: relative;
  min-width: 0;
  padding: 30px 26px 28px;
  border-top: 3px solid var(--qb-teal);
  border-right: 1px solid var(--qb-line);
  background: #fff;
}

.qb-steps li:first-child {
  border-left: 1px solid var(--qb-line);
}

.qb-steps li:nth-child(2) {
  border-top-color: var(--qb-coral);
}

.qb-steps li:nth-child(3) {
  border-top-color: var(--qb-yellow);
}

.qb-steps li:nth-child(4) {
  border-top-color: var(--qb-blue);
}

.qb-steps li > span {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #c7d3d0;
  font-size: 12px;
  font-weight: 800;
}

.qb-steps li > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 32px;
  color: var(--qb-teal);
}

.qb-steps li:nth-child(2) > svg { color: var(--qb-coral); }
.qb-steps li:nth-child(3) > svg { color: #a57900; }
.qb-steps li:nth-child(4) > svg { color: var(--qb-blue); }

.qb-steps strong {
  display: block;
  color: var(--qb-ink);
  font-size: 16px;
  font-weight: 750;
}

.qb-steps p {
  margin: 8px 0 0;
  color: var(--qb-muted);
  font-size: 13px;
  line-height: 1.65;
}

.qb-courses {
  background: #fff;
}

.qb-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.qb-course {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--qb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 51, 49, .05);
}

.qb-course-featured {
  border-top: 4px solid var(--qb-coral);
  padding-top: 27px;
  box-shadow: var(--qb-shadow);
}

.qb-course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qb-course-top small {
  color: var(--qb-muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.qb-course-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 7px;
}

.qb-course-icon svg {
  width: 23px;
  height: 23px;
}

.qb-course-icon.teal { background: var(--qb-mint); color: var(--qb-teal-dark); }
.qb-course-icon.coral { background: #fbe6e2; color: #b94a3a; }
.qb-course-icon.yellow { background: #fff3c8; color: #896700; }

.qb-course h3 {
  margin: 24px 0 8px;
  color: var(--qb-ink);
  font-size: 23px;
  font-weight: 780;
}

.qb-course > p {
  min-height: 78px;
  margin: 0;
  color: var(--qb-muted);
  font-size: 14px;
  line-height: 1.75;
}

.qb-course ul {
  display: grid;
  gap: 10px;
  margin: 25px 0 30px;
  padding: 23px 0 0;
  border-top: 1px solid var(--qb-line);
  list-style: none;
}

.qb-course li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #46605d;
  font-size: 13px;
}

.qb-course li svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--qb-teal);
}

.qb-course > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--qb-teal-dark);
  font-size: 13px;
  font-weight: 750;
}

.qb-course > a svg {
  width: 16px;
  height: 16px;
}

.qb-method {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
  background: var(--qb-teal-dark);
}

.qb-method-image {
  min-height: 720px;
  background-image: url('../images/quocbao-ielts-buon-ma-thuot.webp');
  background-position: 65% center;
  background-size: cover;
}

.qb-method-copy {
  align-self: center;
  max-width: 650px;
  padding: 80px clamp(42px, 6vw, 100px);
  color: #fff;
}

.qb-kicker-light {
  color: #a9ddd4;
}

.qb-method h2,
.qb-contact h2 {
  color: #fff;
}

.qb-method-copy > p:not(.qb-kicker) {
  margin: 24px 0 0;
  color: #d0e5e1;
  font-size: 15px;
  line-height: 1.75;
}

.qb-method-list {
  display: grid;
  gap: 0;
  margin: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.qb-method-list > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.qb-method-list svg {
  width: 22px;
  height: 22px;
  color: var(--qb-yellow);
}

.qb-method-list strong,
.qb-method-list small {
  display: block;
}

.qb-method-list strong {
  color: #fff;
  font-size: 14px;
}

.qb-method-list small {
  margin-top: 3px;
  color: #bcd6d1;
  font-size: 12px;
}

.qb-button-light {
  border-color: #fff;
  background: #fff;
  color: var(--qb-teal-dark) !important;
}

.qb-home .qb-button-light {
  border-color: #fff !important;
  background-color: #fff !important;
}

.qb-button-light:hover {
  border-color: var(--qb-yellow);
  background: var(--qb-yellow);
  color: var(--qb-ink) !important;
}

.qb-home .qb-button-light:hover {
  border-color: var(--qb-yellow) !important;
  background-color: var(--qb-yellow) !important;
}

.qb-local {
  background: #f8faf9;
}

.qb-local-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 90px;
}

.qb-local h2 {
  max-width: 590px;
}

.qb-local-grid > div > p:not(.qb-kicker) {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--qb-muted);
  line-height: 1.8;
}

.qb-local-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.qb-local-actions > a:not(.qb-button) {
  color: var(--qb-teal-dark);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.qb-local-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--qb-line);
  border-left: 1px solid var(--qb-line);
  background: #fff;
}

.qb-local-facts > div {
  min-width: 0;
  min-height: 166px;
  padding: 26px;
  border-right: 1px solid var(--qb-line);
  border-bottom: 1px solid var(--qb-line);
}

.qb-local-facts dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--qb-ink);
  font-size: 14px;
  font-weight: 750;
}

.qb-local-facts dt svg {
  width: 18px;
  height: 18px;
  color: var(--qb-coral);
}

.qb-local-facts dd {
  margin: 13px 0 0;
  color: var(--qb-muted);
  font-size: 13px;
  line-height: 1.65;
}

.qb-contact {
  background: var(--qb-ink);
}

.qb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .78fr);
  align-items: start;
  gap: 90px;
}

.qb-contact-copy > p:not(.qb-kicker) {
  max-width: 630px;
  margin: 24px 0 0;
  color: #c7d8d5;
  font-size: 15px;
  line-height: 1.75;
}

.qb-contact address {
  display: grid;
  gap: 13px;
  margin: 32px 0 0;
  color: #fff;
  font-size: 13px;
  font-style: normal;
}

.qb-contact address span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.qb-contact address svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--qb-yellow);
}

.qb-contact address b {
  margin-right: 4px;
}

.qb-demo-note {
  max-width: 650px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #91aaa6;
  font-size: 11px;
  line-height: 1.55;
}

.qb-demo-note svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.qb-lead-form {
  display: grid;
  gap: 15px;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  color: var(--qb-ink);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

.qb-form-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--qb-line);
}

.qb-form-head > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 7px;
  background: var(--qb-mint);
  color: var(--qb-teal-dark);
}

.qb-form-head svg {
  width: 21px;
  height: 21px;
}

.qb-form-head strong,
.qb-form-head small {
  display: block;
}

.qb-form-head strong {
  font-size: 17px;
}

.qb-form-head small {
  margin-top: 2px;
  color: var(--qb-muted);
  font-size: 11px;
}

.qb-lead-form label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: #385351;
  font-size: 12px;
  font-weight: 700;
}

.qb-lead-form input,
.qb-lead-form select {
  width: 100%;
  height: 46px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #cddbd8;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: var(--qb-ink);
  font-size: 13px;
}

.qb-lead-form input:focus,
.qb-lead-form select:focus {
  border-color: var(--qb-teal);
  box-shadow: 0 0 0 3px rgba(8, 122, 119, .11);
}

.qb-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.qb-lead-form .qb-button {
  width: 100%;
  margin-top: 4px;
}

.qb-home .qb-lead-form button.qb-button[type="submit"] {
  border-color: var(--qb-teal) !important;
  background: var(--qb-teal) !important;
  box-shadow: none !important;
}

.qb-home .qb-lead-form button.qb-button[type="submit"]:hover {
  border-color: var(--qb-teal-dark) !important;
  background: var(--qb-teal-dark) !important;
  box-shadow: 0 10px 24px rgba(8, 122, 119, .2) !important;
}

.qb-lead-form > p {
  margin: -2px 0 0;
  color: #7a8987;
  font-size: 10px;
  text-align: center;
}

.qb-footer {
  padding: 52px 0 18px;
  background: #0d2826;
  color: #fff;
}

.qb-footer-main {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 50px;
  padding-bottom: 36px;
}

.qb-brand-light strong {
  color: #fff;
}

.qb-brand-light small {
  color: #9eb5b1;
}

.qb-footer-main > p {
  max-width: 470px;
  margin: 0;
  color: #a9bfbb;
  font-size: 12px;
}

.qb-footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.qb-footer-main nav a {
  color: #d7e3e0;
  font-size: 12px;
  font-weight: 650;
}

.qb-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #829d98;
  font-size: 10px;
}

.qb-snackbar {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100% - 32px));
  padding: 13px 16px;
  border: 1px solid #39605d;
  border-radius: 7px;
  background: #102c2a;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
  font-size: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.qb-snackbar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-qb-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-qb-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .qb-shell { width: min(100% - 36px, 980px); }
  .qb-desktop-nav { gap: 18px; }
  .qb-desktop-nav a { font-size: 13px; }
  .qb-hero::before { width: 66%; }
  .qb-hero-copy { width: 62%; }
  .qb-signal-grid { grid-template-columns: 1fr 1fr; }
  .qb-signal-grid > div:nth-child(2) { border-right: 1px solid var(--qb-line); }
  .qb-signal-grid > div:nth-child(n+3) { border-top: 1px solid var(--qb-line); }
  .qb-steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .qb-steps li { border: 1px solid var(--qb-line); border-top-width: 3px; }
  .qb-method { grid-template-columns: .9fr 1.1fr; }
  .qb-method-copy { padding: 70px 44px; }
  .qb-local-grid, .qb-contact-grid { gap: 50px; }
  .qb-footer-main { grid-template-columns: auto 1fr; }
  .qb-footer-main nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 840px) {
  .qb-header, .qb-nav { min-height: 70px; }
  .qb-desktop-nav, .qb-login, .qb-nav-actions > .qb-button { display: none; }
  .qb-nav-actions { margin-left: auto; }
  .qb-menu-toggle { display: grid; }
  .qb-hero { min-height: 820px; padding-top: 70px; align-items: end; }
  .qb-hero-media { background-position: 63% center; }
  .qb-hero::before { width: 100%; background: rgba(247, 251, 250, .82); }
  .qb-hero-inner { align-items: end; padding-top: 210px; padding-bottom: 78px; }
  .qb-hero-copy { width: min(100%, 640px); }
  .qb-hero h1 { max-width: 620px; font-size: 50px; }
  .qb-hero-lead { max-width: 620px; }
  .qb-section { padding: 82px 0; }
  .qb-section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .qb-course-grid { grid-template-columns: 1fr; }
  .qb-course > p { min-height: 0; }
  .qb-method { grid-template-columns: 1fr; }
  .qb-method-image { min-height: 480px; }
  .qb-method-copy { max-width: none; padding: 70px max(32px, calc((100vw - 760px) / 2)); }
  .qb-local-grid, .qb-contact-grid { grid-template-columns: 1fr; }
  .qb-local-grid { gap: 46px; }
  .qb-contact-grid { gap: 42px; }
}

@media (max-width: 620px) {
  .qb-shell { width: calc(100% - 32px); }
  .qb-brand > img { height: 42px; max-width: 184px; }
  .qb-brand-mark { width: 40px; height: 40px; font-size: 13px; }
  .qb-brand strong { font-size: 16px; }
  .qb-brand small { font-size: 9px; }
  .qb-hero { min-height: 790px; }
  .qb-hero-media { background-position: 61% center; }
  .qb-hero::before { background: rgba(247, 251, 250, .85); }
  .qb-hero-inner { padding-top: 180px; padding-bottom: 76px; }
  .qb-kicker { margin-bottom: 14px; font-size: 10px; }
  .qb-kicker > span { width: 25px; }
  .qb-hero h1 { font-size: 39px; line-height: 1.08; }
  .qb-hero-lead { margin-top: 20px; font-size: 14px; line-height: 1.7; }
  .qb-hero-actions { display: grid; margin-top: 24px; }
  .qb-hero-actions .qb-button { width: 100%; }
  .qb-hero-proof { display: grid; gap: 8px; margin-top: 22px; }
  .qb-hero-next { display: none; }
  .qb-signal-grid { grid-template-columns: 1fr; }
  .qb-signal-grid > div,
  .qb-signal-grid > div:first-child,
  .qb-signal-grid > div:nth-child(2) { min-height: 88px; border: 0; border-bottom: 1px solid var(--qb-line); }
  .qb-section { padding: 68px 0; }
  .qb-section-head h2, .qb-local h2, .qb-method h2, .qb-contact h2 { font-size: 34px; }
  .qb-section-head > p { font-size: 14px; }
  .qb-steps { grid-template-columns: 1fr; gap: 10px; }
  .qb-steps li { padding: 24px; }
  .qb-steps li > svg { margin-bottom: 22px; }
  .qb-course { padding: 24px; }
  .qb-method-image { min-height: 360px; background-position: 63% center; }
  .qb-method-copy { padding: 62px 16px; }
  .qb-local-grid { gap: 34px; }
  .qb-local-facts { grid-template-columns: 1fr; }
  .qb-local-facts > div { min-height: 0; }
  .qb-contact-grid { gap: 34px; }
  .qb-lead-form { padding: 22px 18px; }
  .qb-form-row { grid-template-columns: 1fr; }
  .qb-contact address span { display: grid; grid-template-columns: 20px 1fr; gap: 3px 8px; }
  .qb-contact address b { margin: 0; }
  .qb-footer { padding-top: 42px; }
  .qb-footer-main { grid-template-columns: 1fr; gap: 25px; }
  .qb-footer-main nav { grid-column: auto; }
  .qb-footer-bottom { display: grid; }
  .qb-snackbar { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-qb-reveal] { opacity: 1; transform: none; }
}
