/* Shift Transport Batam global typography and copy-layout system. */
:root {
  --qt-font-body: "Inter", Arial, sans-serif;
  --qt-font-heading: "Manrope", "Inter", Arial, sans-serif;
  --qt-text-xs: 0.75rem;
  --qt-text-sm: 0.875rem;
  --qt-text-base: 1rem;
  --qt-text-lead: 1.0625rem;
  --qt-title-card: 1.125rem;
  --qt-title-section: clamp(1.75rem, 3vw, 2.5rem);
  --qt-title-page: clamp(2.125rem, 4.5vw, 3.5rem);
  --qt-copy-width: 68ch;
  --qt-heading-width: 24ch;
  --qt-line-copy: 1.75;
  --qt-line-heading: 1.22;
  --qt-tracking-heading: -0.018em;
  --qt-tracking-label: 0.12em;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--qt-font-body);
  font-size: var(--qt-text-base);
  font-kerning: normal;
  font-synthesis: none;
  line-height: var(--qt-line-copy);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}





body :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--qt-font-heading);
  font-kerning: normal;
  line-height: var(--qt-line-heading);
  letter-spacing: var(--qt-tracking-heading);
  text-wrap: balance;
}

body :where(p, li, dd) {
  line-height: var(--qt-line-copy);
  text-wrap: pretty;
}

body :where(.nav-link, nav a, .btn, button, input, select, textarea) {
  font-family: var(--qt-font-body);
}

body :where(.nav-link, header nav a) {
  font-size: 0.875rem;
  letter-spacing: 0;
}

body :where(.eyebrow, .section-kicker, .section-label, .hero-label) {
  font-size: var(--qt-text-xs);
  line-height: 1.5;
  letter-spacing: var(--qt-tracking-label);
}

/* Page and hero hierarchy */
.hero-headline {
  max-width: 19ch;
  font-size: clamp(2.625rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.about-hero h1 {
  max-width: var(--qt-heading-width);
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.125rem, 4vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.faq-page-hero h1,
.blog-hero h1,
.article-header h1 {
  max-width: 24ch;
  font-size: var(--qt-title-page);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.blog-hero h1,
.article-header h1 {
  margin-right: auto;
  margin-left: auto;
}

.hero-sub,
.hero-copy,
.faq-page-hero p,
.blog-hero p,
.article-header > p {
  max-width: var(--qt-copy-width);
  font-size: var(--qt-text-lead);
  line-height: 1.7;
}

/* Section hierarchy and supporting copy */
body
  :where(.section-title, .company-copy h2, .faq-intro h2, .contact-panel h2) {
  font-size: var(--qt-title-section);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.services-section .section-title {
  max-width: 24ch;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1.625rem, 2.6vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.012em;
}

.legal-section .section-heading h2 {
  max-width: 30ch;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

body :where(.section-header, .section-heading, .section-title.text-center) > p,
.section-title + p,
.company-copy p {
  max-width: var(--qt-copy-width);
  line-height: var(--qt-line-copy);
}

body :where(.text-center, .section-heading) > p {
  margin-right: auto;
  margin-left: auto;
}

/* Consistent card copy */
body
  :where(
    .why-card,
    .service-card,
    .car-card,
    .testi-card,
    .blog-card,
    .real-experience-card,
    .company-points > div
  ) {
  font-size: var(--qt-text-sm);
}

body
  :where(
    .why-card h3,
    .service-card h3,
    .blog-title,
    .real-experience-content h4,
    .company-points strong
  ) {
  font-family: var(--qt-font-heading);
  font-size: var(--qt-title-card);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

body
  :where(
    .why-card p,
    .service-card p,
    .blog-excerpt,
    .experience-text,
    .company-points small
  ) {
  line-height: 1.65;
  text-wrap: pretty;
}

.company-points > div {
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.company-points small {
  max-width: 24ch;
}

/* Editorial rhythm for every blog article */
.article-header {
  text-align: center;
}

.article-content {
  font-family: var(--qt-font-body);
  font-size: var(--qt-text-base);
  line-height: 1.8;
}

.article-content > p,
.article-content > ul,
.article-content > ol {
  max-width: 72ch;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  font-size: clamp(1.45rem, 2.5vw, 1.875rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.article-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -0.008em;
}

.article-content p,
.article-content li {
  font-size: var(--qt-text-base);
  line-height: 1.8;
}

.mall-guide .mall-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.article-meta,
.blog-meta,
.experience-date {
  font-size: var(--qt-text-sm);
  line-height: 1.55;
}

/* FAQ and legal data */
.faq-question {
  font-size: 0.9375rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.faq-answer {
  font-size: var(--qt-text-sm);
  line-height: 1.75;
}
.legal-details dt {
  line-height: 1.5;
}
.legal-details dd {
  line-height: 1.55;
  letter-spacing: 0;
}

/* Prevent oversized footer typography inherited from page-level rules. */
footer :where(h2, h3, h4) {
  font-size: 0.9375rem;
  line-height: 1.4;
  letter-spacing: 0;
}
footer :where(p, li, a, small) {
  line-height: 1.65;
}

@media (max-width: 768px) {
  :root {
    --qt-title-section: clamp(1.625rem, 7vw, 2rem);
    --qt-title-page: clamp(1.875rem, 9vw, 2.5rem);
  }

  .hero-headline {
    max-width: 20ch;
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }
  .about-hero h1 {
    font-size: 2rem;
  }
  .hero-sub,
  .hero-copy,
  .faq-page-hero p,
  .blog-hero p {
    font-size: var(--qt-text-base);
  }
  .article-content h2 {
    margin-top: 2rem;
  }

  body.qt-nav-open {
    /* Keep sticky headers attached to the viewport after scrolling.
       overflow:hidden here creates a new scrolling ancestor. */
    overflow-x: clip;
    overflow-y: visible;
  }

  body.qt-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(15,36,42, 0.36);
    touch-action: none;
  }

  #header,
  header:not(#header) {
    z-index: 1000;
  }

  #header .header-inner,
  #header .header-container,
  header:not(#header) .header-container {
    position: relative;
  }

  body .mobile-toggle,
  body .header-container .header-cta .mobile-toggle {
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    color: #02A8D4;
    background: #F5FDFF;
    border: 1px solid #D7F7FF;
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(2,168,212, 0.08);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition:
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  body .mobile-toggle:hover,
  body .mobile-toggle:focus-visible,
  body .mobile-toggle[aria-expanded="true"] {
    color: #fff;
    background: #02A8D4;
    border-color: #02A8D4;
    outline: none;
    box-shadow: 0 0 0 4px rgba(2,168,212, 0.14);
  }

  #header nav,
  header:not(#header) nav {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1001;
    display: none !important;
    width: auto !important;
    max-height: calc(100dvh - 92px);
    padding: 9px !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.99) !important;
    border: 1px solid #DCEDF2 !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 55px rgba(15,36,42, 0.18) !important;
    transform-origin: top center;
  }

  #header nav.active,
  header:not(#header) nav.active {
    display: block !important;
    animation: qt-mobile-menu-in 0.22s ease-out both;
  }

  #header nav > :where(.nav-links, .nav-menu),
  header:not(#header) nav > ul {
    display: flex !important;
    align-items: stretch !important;
    flex-direction: column !important;
    width: 100%;
    max-height: none;
    margin: 0 !important;
    padding: 0 !important;
    gap: 3px !important;
    overflow: visible;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  #header nav li,
  header:not(#header) nav li {
    width: 100%;
    margin: 0;
  }

  #header nav a,
  header:not(#header) nav a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px !important;
    color: #334E55;
    background: transparent;
    border: 0;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    font-weight: 700;
    line-height: 1.35 !important;
  }

  #header nav a::after,
  header:not(#header) nav a::after {
    content: "›";
    position: static;
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #94B0B8;
    background: #F1F7F9;
    border-radius: 7px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
  }

  #header nav a:hover,
  #header nav a:focus-visible,
  #header nav a.active,
  header:not(#header) nav a:hover,
  header:not(#header) nav a:focus-visible,
  header:not(#header) nav a.active {
    color: #0395BC;
    background: #EAFAFE !important;
    outline: none;
  }

  #header nav a.active::after,
  header:not(#header) nav a.active::after {
    color: #fff;
    background: #02A8D4;
  }

  #header nav .language-nav-item,
  header:not(#header) nav .language-nav-item {
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px solid #E2EDF0;
  }

  @keyframes qt-mobile-menu-in {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

@media (max-width: 380px) {
  #header nav,
  header:not(#header) nav {
    right: -4px !important;
    left: -4px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #header nav,
  header:not(#header) nav {
    animation: none !important;
  }
}

/* Unified navigation component: phones and tablets. */
@media (max-width: 1024px) {
  body.qt-nav-open {
    /* Keep sticky headers attached to the viewport after scrolling.
       overflow:hidden here creates a new scrolling ancestor. */
    overflow-x: clip;
    overflow-y: visible;
  }

  body.qt-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 990;
    background: rgba(2,22,27, 0.52);
    touch-action: none;
  }

  body .qt-mobile-toggle {
    position: relative;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    color: #02A8D4;
    background: linear-gradient(145deg, #F8FEFF, #EAFAFE);
    border: 1px solid #CFF2FB;
    border-radius: 13px;
    box-shadow:
      0 6px 16px rgba(0,147,186, 0.1),
      inset 0 1px 0 #fff;
    cursor: pointer;
    transition:
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  body .qt-mobile-toggle > i {
    display: none !important;
  }

  body .qt-mobile-toggle::before,
  body .qt-mobile-toggle::after {
    content: "";
    position: absolute;
    width: 19px;
    height: 2px;
    margin: 0;
    color: currentColor;
    background: currentColor;
    border-radius: 999px;
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      opacity 0.22s ease;
  }

  body .qt-mobile-toggle::before {
    box-shadow:
      0 -6px 0 currentColor,
      0 6px 0 currentColor;
  }

  body .qt-mobile-toggle::after {
    opacity: 0;
  }

  body .qt-mobile-toggle:hover,
  body .qt-mobile-toggle:focus-visible {
    color: #02A8D4;
    border-color: #8BE7FF;
    outline: none;
    box-shadow: 0 0 0 4px rgba(2,168,212, 0.13);
    transform: translateY(-1px);
  }

  body .qt-mobile-toggle[aria-expanded="true"] {
    color: #fff;
    background: linear-gradient(135deg, #02A8D4, #0395BC);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(0,166,210, 0.28);
  }

  body .qt-mobile-toggle[aria-expanded="true"]::before {
    box-shadow: none;
    transform: rotate(45deg);
  }

  body .qt-mobile-toggle[aria-expanded="true"]::after {
    opacity: 1;
    transform: rotate(-45deg);
  }

  #header nav.qt-mobile-nav,
  header:not(#header) nav.qt-mobile-nav {
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: 10px !important;
    left: 10px !important;
    z-index: 1002 !important;
    display: none !important;
    width: auto !important;
    max-height: calc(100dvh - 98px);
    padding: 10px !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(203,231,238, 0.95) !important;
    border-top: 3px solid #02A8D4 !important;
    border-radius: 18px !important;
    box-shadow:
      0 28px 70px rgba(2,22,27, 0.3),
      0 8px 20px rgba(2,22,27, 0.12) !important;
    transform-origin: top right;
  }

  #header nav.qt-mobile-nav.active,
  header:not(#header) nav.qt-mobile-nav.active {
    display: block !important;
    animation: qt-mobile-menu-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  #header nav.qt-mobile-nav > ul,
  header:not(#header) nav.qt-mobile-nav > ul {
    position: static !important;
    display: flex !important;
    align-items: stretch !important;
    flex-direction: column !important;
    width: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  #header nav.qt-mobile-nav li,
  header:not(#header) nav.qt-mobile-nav li {
    width: 100% !important;
    margin: 0 !important;
  }

  #header nav.qt-mobile-nav a,
  header:not(#header) nav.qt-mobile-nav a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 50px;
    padding: 12px 14px !important;
    color: #26454D !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    transition:
      color 0.18s ease,
      background 0.18s ease,
      border-color 0.18s ease,
      transform 0.18s ease !important;
  }

  #header nav.qt-mobile-nav a::after,
  header:not(#header) nav.qt-mobile-nav a::after {
    content: "›" !important;
    position: static !important;
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 28px;
    width: 28px !important;
    height: 28px !important;
    margin-left: 12px;
    color: #70949D;
    background: #EEF7FA !important;
    border-radius: 9px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    opacity: 1 !important;
    transform: none !important;
  }

  #header nav.qt-mobile-nav a:hover,
  #header nav.qt-mobile-nav a:focus-visible,
  #header nav.qt-mobile-nav a.active,
  header:not(#header) nav.qt-mobile-nav a:hover,
  header:not(#header) nav.qt-mobile-nav a:focus-visible,
  header:not(#header) nav.qt-mobile-nav a.active {
    color: #02A8D4 !important;
    background: linear-gradient(135deg, #EDFBFF, #E2F9FF) !important;
    border-color: #CCF4FF !important;
    outline: none;
    transform: translateX(2px);
  }

  #header nav.qt-mobile-nav a.active::after,
  header:not(#header) nav.qt-mobile-nav a.active::after {
    color: #fff;
    background: linear-gradient(135deg, #02A8D4, #0395BC) !important;
    box-shadow: 0 5px 12px rgba(0,177,224, 0.24);
  }

  #header nav.qt-mobile-nav .language-nav-item,
  header:not(#header) nav.qt-mobile-nav .language-nav-item {
    margin-top: 7px !important;
    padding-top: 10px !important;
    border-top: 1px solid #DFEFF3;
  }

  #header nav.qt-mobile-nav .language-toggle,
  header:not(#header) nav.qt-mobile-nav .language-toggle {
    min-height: 46px;
    padding: 11px 13px;
    background: #F6FBFC;
    border: 1px solid #E1EFF3;
    border-radius: 11px;
  }
}

@media (max-width: 420px) {
  #header nav.qt-mobile-nav,
  header:not(#header) nav.qt-mobile-nav {
    right: 4px !important;
    left: 4px !important;
  }
}

/* About / company introduction: clean editorial alignment on mobile. */
@media (max-width: 768px) {
  .company-section .company-copy {
    width: 100%;
    max-width: 34rem;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .company-section .company-copy .section-kicker,
  .company-section .company-copy h2 {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  .company-section .company-copy .section-kicker {
    margin-bottom: 0.75rem;
  }

  .company-section .company-copy h2 {
    margin-bottom: 1.125rem;
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .company-section .company-copy > p:not(.section-kicker) {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto 1rem;
    line-height: 1.6;
    text-align: justify;
    text-align-last: left;
    text-wrap: pretty;
  }

  .company-section .company-copy > p:last-child {
    margin-bottom: 0;
  }
}

/* Consistent justified body copy throughout the mobile website. */
@media (max-width: 768px) {
  body main
    :where(
      p,
      li,
      dd,
      blockquote,
      figcaption,
      .faq-answer,
      .blog-excerpt,
      .experience-text,
      .company-points small
    ):not(.eyebrow):not(.section-kicker):not(.section-label):not(
      .hero-label
    ):not(.article-meta):not(.blog-meta):not(.experience-date),
  body footer :where(p, li, dd) {
    line-height: 1.6;
    text-align: justify !important;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
  }

  
}

/* Mobile heading and content-icon alignment. */
@media (max-width: 768px) {
  body main :where(h1, h2, h3, h4, h5, h6),
  body main
    :where(
      .eyebrow,
      .section-kicker,
      .section-label,
      .hero-label,
      .hero-trust-label
    ) {
    width: 100%;
    max-width: var(--qt-heading-width);
    margin-right: auto;
    margin-left: auto;
    text-align: center !important;
  }

  body main
    :where(
      .why-icon,
      .service-icon,
      .service-icon-wrap,
      .service-choice-icon,
      .stat-icon,
      .legal-icon,
      .modal-icon
    ),
  body main .company-points > div > i {
    align-items: center;
    justify-content: center;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center;
  }

  body main .legal-row {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  body main .legal-row > div {
    width: 100%;
    text-align: center;
  }

  body main
    :where(
      .article-meta,
      .blog-meta,
      .blog-category,
      .category,
      .category-badge,
      .experience-date,
      .badge,
      .car-badge,
      .car-price-label,
      .meta
    ) {
    max-width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
    justify-content: center;
    align-self: center;
  }

  .why-section .why-card,
  .services-section .service-card {
    text-align: center !important;
  }

  .why-section .why-card .why-icon,
  .services-section .service-card .service-icon-wrap {
    margin: 0 auto 1.125rem !important;
  }

  .why-section .why-card h3,
  .why-section .why-card p,
  .services-section .service-card h3,
  .services-section .service-card p {
    width: 100%;
    max-width: 30rem;
    margin-right: auto;
    margin-left: auto;
    text-align: center !important;
    text-align-last: center;
  }

  .why-section .why-card p,
  .services-section .service-card p {
    line-height: 1.6;
  }

  .services-section .service-card .service-link {
    justify-content: center;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .blog-hero {
    padding: 38px 18px !important;
  }

  .blog-hero h1 {
    max-width: 22ch;
    margin-bottom: 0.75rem;
    font-size: clamp(1.45rem, 6.4vw, 1.75rem) !important;
    line-height: 1.25;
    letter-spacing: -0.018em;
  }

  .blog-hero p {
    max-width: 34rem;
    font-size: 0.9rem !important;
    line-height: 1.6;
  }
}

.documentation-grid .real-experience-card[hidden] {
  display: none !important;
}

.documentation-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.documentation-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  color: #02A8D4;
  background: #fff;
  border: 1px solid #B9F0FF;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(0,161,204, 0.1);
  font: 750 0.875rem/1.3 var(--qt-font-body);
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.documentation-toggle:hover,
.documentation-toggle:focus-visible {
  color: #fff;
  background: #02A8D4;
  border-color: #02A8D4;
  outline: none;
  box-shadow: 0 0 0 4px rgba(2,168,212, 0.14);
  transform: translateY(-1px);
}

.documentation-toggle[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  #header,
  header:not(#header) {
    z-index: 1000;
  }
}

@media (max-width: 768px) {
  .documentation-more {
    margin-top: 24px;
  }

  .documentation-toggle {
    width: min(100%, 22rem);
  }
}

/* Production QA hardening: contrast, focus, touch, motion, and breakpoints. */
:root {
  --qt-accessible-blue: #0395BC;
  --qt-accessible-blue-dark: #076983;
  --qt-focus-ring: #0095BD;
}

body
  :where(
    .section-label,
    .section-kicker,
    .eyebrow,
    .hero-label,
    .blog-category,
    .category-badge
  ) {
  color: var(--qt-accessible-blue) !important;
}

/* Blue-surface contrast contract: text stays white across every blue panel. */
body
  :is(
    .services-section,
    .booking-cta-section,
    .blog-hero,
    .about-hero,
    .faq-page-hero,
    .faq-cta,
    .cta-box,
    .cta
  )
  :where(
    h1,
    h2,
    h3,
    h4,
    p,
    .eyebrow,
    .section-label,
    .section-kicker,
    .hero-label,
    .section-subtitle
  ),
body .services-section :where(.service-link, .service-link i),
body .hero .hero-label,
body :where(.badge-blue, .blog-category, .category-badge) {
  color: #fff !important;
}

body footer :where(h2, h3, h4, p, a, small, strong, .footer-logo-tagline) {
  color: #fff !important;
}

body :where(.btn-primary, .filter-btn.active) {
  color: #fff !important;
  background: var(--qt-accessible-blue) !important;
  border-color: var(--qt-accessible-blue) !important;
}

.blog-hero {
  background: linear-gradient(
    135deg,
    var(--qt-accessible-blue-dark),
    var(--qt-accessible-blue)
  ) !important;
}

body
  :where(
    a,
    button,
    input,
    select,
    textarea,
    summary,
    [tabindex]:not([tabindex="-1"])
  ):focus-visible {
  outline: 3px solid var(--qt-focus-ring) !important;
  outline-offset: 3px !important;
}

body :where(button, .btn, [role="button"], a) {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,161,204, 0.16);
}

body :where(.btn, button, .filter-btn, .blog-filter):active {
  transform: translateY(1px);
}

.documentation-title {
  margin: 0 auto;
  padding: 0 0 1.2rem;
  color: #172D33;
  background: none;
  font-size: var(--qt-title-section);
  line-height: 1.22;
  letter-spacing: -0.02em;
  -webkit-text-fill-color: currentColor;
}

header .logo-heading,
footer .logo-heading {
  display: block;
}

.documentation-grid .real-experience-card h2 {
  margin: 0 0 15px;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}

.documentation-grid .real-experience-card h2::after {
  display: none;
}

@media (max-width: 768px) {
  body
    :where(
      .btn,
      button,
      input:not([type="checkbox"]):not([type="radio"]),
      select,
      textarea,
      nav a,
      [role="button"]
    ) {
    min-height: 44px;
  }

  body :where(.section-pad, .section-padding) {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .doc-modal-content button {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  body :where(.section-pad, .section-padding) {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  body :where(.container, .blog-container, .article-container) {
    max-width: calc(100vw - 48px);
  }
}

@media (min-width: 1280px) {
  body :where(.container, .blog-container) {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
