.qf-faq-page {
  --faq-navy: #071c2d;
  --faq-navy-2: #0d2a40;
  --faq-ink: #12243a;
  --faq-muted: #617188;
  --faq-cyan: #22b8cd;
  --faq-line: #dbe4ec;
  --faq-soft: #f2f6f9;
  background: #f7fafc;
  color: var(--faq-ink);
}

.qf-faq-page * {
  box-sizing: border-box;
}

.qf-faq-page section {
  scroll-margin-top: 112px;
}

.qf-faq-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 112px) 0;
  background:
    linear-gradient(90deg, rgba(31, 191, 207, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(31, 191, 207, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(31, 191, 207, 0.16), transparent 30%),
    linear-gradient(135deg, #061a2a 0%, #0b263b 100%);
  background-size: 64px 64px, 64px 64px, auto, auto;
  color: #fff;
}

.qf-faq-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.qf-faq-hero .breadcrumbs,
.qf-faq-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.74);
}

.qf-faq-hero .eyebrow,
.qf-faq-final-cta .eyebrow {
  color: #69d8e5;
}

.qf-faq-hero h1 {
  max-width: 760px;
  margin: 20px 0;
  color: #fff;
  font-size: clamp(2.75rem, 5.3vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.qf-faq-hero__lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.68;
}

.qf-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.qf-faq-actions .button,
.qf-faq-final-cta__actions .button {
  min-height: 50px;
}

.qf-faq-actions .button-secondary,
.qf-faq-final-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.qf-faq-hero__proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.qf-faq-hero__proofs li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--faq-cyan);
  box-shadow: 0 0 14px rgba(34, 184, 205, 0.7);
}

.qf-faq-hero__visual {
  position: relative;
  min-height: 510px;
}

.qf-faq-hero__image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.35);
}

.qf-faq-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.qf-faq-hero__image--primary {
  inset: 0 72px 78px 0;
}

.qf-faq-hero__image--secondary {
  right: 0;
  bottom: 0;
  width: 54%;
  height: 48%;
  border: 8px solid #0b263b;
  border-radius: 22px;
}

.qf-faq-hero__badge {
  position: absolute;
  top: 34px;
  right: 20px;
  display: grid;
  min-width: 118px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(5, 22, 36, 0.9);
  backdrop-filter: blur(12px);
  text-align: center;
}

.qf-faq-hero__badge strong {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.qf-faq-hero__badge span {
  margin-top: 4px;
  color: #8de1ea;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qf-faq-directory,
.qf-faq-resources {
  padding: clamp(64px, 7vw, 96px) 0;
}

.qf-faq-section-heading {
  max-width: 850px;
  margin-bottom: 36px;
}

.qf-faq-section-heading h2,
.qf-faq-rfq h2,
.qf-faq-final-cta h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.qf-faq-section-heading > p:last-child,
.qf-faq-rfq__content > p,
.qf-faq-final-cta p {
  color: var(--faq-muted);
  line-height: 1.7;
}

.qf-faq-section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.qf-faq-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.qf-faq-tabs a {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--faq-line);
  border-radius: 16px;
  background: #fff;
  color: var(--faq-ink);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(19, 42, 64, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.qf-faq-tabs a:hover,
.qf-faq-tabs a:focus-visible {
  border-color: var(--faq-cyan);
  box-shadow: 0 15px 34px rgba(18, 91, 113, 0.12);
  transform: translateY(-2px);
}

.qf-faq-tabs a span {
  color: #1598ae;
  font-family: "Barlow", sans-serif;
  font-size: 1.15rem;
}

.qf-faq-content-section {
  padding: 28px 0 clamp(72px, 8vw, 120px);
}

.qf-faq-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.qf-faq-sidebar {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--faq-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(19, 42, 64, 0.07);
}

.qf-faq-sidebar__label {
  margin: 0 0 12px;
  color: var(--faq-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.qf-faq-sidebar nav {
  display: grid;
  gap: 4px;
}

.qf-faq-sidebar nav a {
  padding: 10px 12px;
  border-left: 2px solid transparent;
  color: #42536a;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.qf-faq-sidebar nav a:hover,
.qf-faq-sidebar nav a:focus-visible,
.qf-faq-sidebar nav a.is-active {
  border-color: var(--faq-cyan);
  background: #eefbfc;
  color: #087c90;
}

.qf-faq-sidebar__help {
  margin-top: 20px;
  padding: 18px;
  border-radius: 15px;
  background: var(--faq-navy);
  color: #fff;
}

.qf-faq-sidebar__help p {
  margin: 8px 0 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
  line-height: 1.5;
}

.qf-faq-sidebar__help a {
  color: #65d7e4;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.qf-faq-groups {
  min-width: 0;
}

.qf-faq-group + .qf-faq-group {
  margin-top: clamp(72px, 9vw, 118px);
}

.qf-faq-group__header {
  max-width: 820px;
  margin-bottom: 26px;
}

.qf-faq-group__header h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.qf-faq-group__header > p:last-child {
  margin: 0;
  color: var(--faq-muted);
  line-height: 1.65;
}

.qf-faq-accordion {
  display: grid;
  gap: 12px;
}

.qf-faq-item {
  overflow: hidden;
  border: 1px solid var(--faq-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 42, 64, 0.055);
}

.qf-faq-item h3 {
  margin: 0;
}

.qf-faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 32px;
  gap: 14px;
  align-items: center;
  padding: 21px 22px;
  border: 0;
  background: transparent;
  color: var(--faq-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.qf-faq-question:hover,
.qf-faq-question:focus-visible,
.qf-faq-question[aria-expanded="true"] {
  background: #f5fbfc;
}

.qf-faq-question:focus-visible {
  outline: 3px solid rgba(34, 184, 205, 0.35);
  outline-offset: -3px;
}

.qf-faq-question__number {
  color: #1598ae;
  font-family: "Barlow", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}

.qf-faq-question__text {
  font-family: "Barlow", sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  font-weight: 700;
  line-height: 1.35;
}

.qf-faq-question__icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e9f7f9;
}

.qf-faq-question__icon::before,
.qf-faq-question__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #0b8093;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.qf-faq-question__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.qf-faq-question[aria-expanded="true"] .qf-faq-question__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.qf-faq-answer {
  border-top: 1px solid #e5edf3;
}

.qf-faq-answer p {
  max-width: 900px;
  margin: 0;
  padding: 22px 26px 26px 76px;
  color: #52647a;
  font-size: 0.98rem;
  line-height: 1.78;
}

.qf-faq-rfq {
  padding: clamp(70px, 8vw, 112px) 0;
  background: linear-gradient(135deg, #e7f4f6, #f6fafc 58%, #eef2f7);
}

.qf-faq-rfq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.qf-faq-rfq__content .button {
  margin-top: 18px;
}

.qf-faq-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.qf-faq-checklist li {
  position: relative;
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 48px;
  border: 1px solid rgba(117, 146, 164, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #294058;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 10px 22px rgba(32, 65, 89, 0.05);
}

.qf-faq-checklist li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #dff5f7;
  color: #087c90;
  font-size: 0.78rem;
  font-weight: 900;
}

.qf-faq-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.qf-faq-resource-card {
  overflow: hidden;
  border: 1px solid var(--faq-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(19, 42, 64, 0.075);
}

.qf-faq-resource-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.qf-faq-resource-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms ease;
}

.qf-faq-resource-card:hover .qf-faq-resource-card__image img {
  transform: scale(1.035);
}

.qf-faq-resource-card__body {
  padding: 20px;
}

.qf-faq-resource-card__tag {
  margin: 0 0 8px;
  color: #0b8ca1;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qf-faq-resource-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}

.qf-faq-resource-card h3 a {
  color: var(--faq-ink);
  text-decoration: none;
}

.qf-faq-resource-card__body > p:not(.qf-faq-resource-card__tag) {
  margin: 12px 0 16px;
  color: var(--faq-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.qf-faq-resource-card__link {
  color: #087f93;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
}

.qf-faq-final-cta {
  padding: clamp(64px, 7vw, 94px) 0;
  background: linear-gradient(125deg, #061a2a, #0e3047);
  color: #fff;
}

.qf-faq-final-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 52px;
  align-items: center;
}

.qf-faq-final-cta h2 {
  color: #fff;
}

.qf-faq-final-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.7);
}

.qf-faq-final-cta__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.qf-faq-final-cta__actions .button {
  width: 100%;
}

.qf-faq-contact-links {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.qf-faq-contact-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
}

.qf-faq-contact-links a:hover,
.qf-faq-contact-links a:focus-visible {
  color: #69d8e5;
}

@media (max-width: 1100px) {
  .qf-faq-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 42px;
  }

  .qf-faq-hero__visual {
    min-height: 420px;
  }

  .qf-faq-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .qf-faq-hero__grid,
  .qf-faq-rfq__grid,
  .qf-faq-final-cta__grid {
    grid-template-columns: 1fr;
  }

  .qf-faq-hero__visual {
    min-height: 500px;
  }

  .qf-faq-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .qf-faq-tabs a {
    min-width: 230px;
    scroll-snap-align: start;
  }

  .qf-faq-layout {
    grid-template-columns: 1fr;
  }

  .qf-faq-sidebar {
    display: none;
  }

  .qf-faq-final-cta__actions {
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  body.page-template-page-faq header.qf-site-header .qf-brand-mark {
    width: auto !important;
    max-width: 190px !important;
    flex: 0 1 auto !important;
  }

  body.page-template-page-faq header.qf-site-header .brand-mark__tag,
  body.page-template-page-faq header.qf-site-header .qf-header-link,
  body.page-template-page-faq header.qf-site-header .qf-header-cta--desktop,
  body.page-template-page-faq header.qf-site-header .qf-language-switcher--header {
    display: none !important;
  }

  body.page-template-page-faq header.qf-site-header .qf-header-cta--mobile,
  body.page-template-page-faq header.qf-site-header .qf-menu-toggle {
    display: inline-flex !important;
  }

  .qf-faq-hero {
    padding: 48px 0 54px;
  }

  .qf-faq-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .qf-faq-actions,
  .qf-faq-final-cta__actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .qf-faq-actions .button,
  .qf-faq-final-cta__actions .button {
    width: 100%;
  }

  .qf-faq-hero__proofs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .qf-faq-hero__visual {
    min-height: 330px;
  }

  .qf-faq-hero__image--primary {
    inset: 0 34px 48px 0;
  }

  .qf-faq-hero__image--secondary {
    width: 58%;
    height: 47%;
    border-width: 5px;
  }

  .qf-faq-hero__badge {
    top: 18px;
    right: 6px;
    min-width: 92px;
    padding: 11px 12px;
  }

  .qf-faq-tabs a {
    min-width: 205px;
  }

  .qf-faq-question {
    grid-template-columns: 28px minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 18px 14px;
  }

  .qf-faq-answer p {
    padding: 18px 16px 22px;
    font-size: 1rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
  }

  .qf-faq-checklist,
  .qf-faq-resource-grid {
    grid-template-columns: 1fr;
  }

  .qf-faq-final-cta__actions {
    max-width: none;
  }

  .qf-faq-contact-links {
    grid-column: auto;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qf-faq-page *,
  .qf-faq-page *::before,
  .qf-faq-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
