/* ===== RESET & GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
  background: #f3f4f7;
  color: #14151c;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.qb-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.qb-container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ===== HEADER ===== */

.qb-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.qb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
}

.qb-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.qb-logo-main {
  font-weight: 800;
  font-size: 18px;
  color: #111827;
}

.qb-logo-sub {
  font-size: 10px;
  color: #6b7280;
}

.qb-nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.qb-nav a {
  text-decoration: none;
  color: #4b5563;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.qb-nav a:hover,
.qb-nav a.active {
  color: #111827;
  border-bottom-color: #3b82f6;
}

.qb-header-contact {
  font-size: 13px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qb-header-contact a {
  color: inherit;
  text-decoration: none;
}

/* Burger */

.qb-burger {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.qb-burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  margin-bottom: 4px;
}

/* Mobile menu */

.qb-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 230px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 70px;
  padding-left: 22px;
  transition: right 0.3s ease;
  z-index: 100;
}

.qb-mobile-menu a {
  text-decoration: none;
  color: #111827;
  font-size: 14px;
}

.qb-mobile-menu.open {
  right: 0;
}

/* ===== MAIN WRAPPER ===== */

.qb-main {
  flex: 1;
  padding: 18px 0 20px;
}

/* ===== HERO ===== */

.qb-hero {
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 18px 18px 20px;
  background: radial-gradient(circle at top left, #e0edff 0, #f3f4f7 55%, #ffffff 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 24px;
}

.qb-hero-main h1 {
  font-size: 26px;
  line-height: 1.3;
  margin-top: 6px;
  color: #111827;
}

.qb-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #2563eb;
}

.qb-hero-text {
  font-size: 13px;
  color: #4b5563;
  margin-top: 10px;
  max-width: 520px;
}

.qb-hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qb-meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #1d4ed8;
}

.qb-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
  color: #4b5563;
}

/* Hero side */

.qb-hero-side {
  display: flex;
  align-items: stretch;
}

.qb-hero-block {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qb-hero-image {
  min-height: 170px;
  max-height: 220px;
  overflow: hidden;
}

.qb-hero-image img {
  width: 100%;
  height: 100%;
}

.qb-hero-side-list {
  padding: 12px 14px 14px;
  font-size: 13px;
  color: #374151;
}

.qb-hero-side-list h2 {
  font-size: 15px;
  margin-bottom: 6px;
}

.qb-hero-side-list ul {
  list-style: none;
}

.qb-hero-side-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.qb-hero-side-list i {
  color: #2563eb;
}

/* ===== BUTTONS ===== */

.qb-btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.qb-btn-primary {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
}

.qb-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

.qb-btn-ghost {
  background: transparent;
  color: #111827;
  border-color: rgba(15, 23, 42, 0.16);
}

.qb-btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
}

/* Inline link */

.qb-link {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,0.5);
}

.qb-link:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

/* Pills */

.qb-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e5edff;
  color: #1d4ed8;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== STRIP ===== */

.qb-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.qb-strip-item {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 11px 12px 13px;
  font-size: 13px;
  color: #4b5563;
}

.qb-strip-item h2 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #111827;
}

/* ===== SPLIT ===== */

.qb-split {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.qb-split-col h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-split-col p,
.qb-split-col li {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
}

.qb-list {
  margin-top: 4px;
  margin-left: 18px;
  line-height: 1.8;
}

/* ===== SECTION + GRID ===== */

.qb-section {
  margin-bottom: 18px;
}

.qb-section-head {
  margin-bottom: 10px;
}

.qb-section-head h2 {
  font-size: 18px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-section-head p {
  font-size: 13px;
  color: #4b5563;
}

.qb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
}

/* Cards */

.qb-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
}

.qb-card h3 {
  font-size: 15px;
  margin-top: 6px;
  margin-bottom: 4px;
  color: #111827;
}

/* ===== CONTACT STRIP ===== */

.qb-contact-strip {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 12px 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.qb-contact-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.qb-line {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #2563eb, #f97316);
  height: 100%;
  min-height: 60px;
}

.qb-contact-strip h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-contact-strip p {
  font-size: 13px;
  color: #4b5563;
}

.qb-contact-right {
  text-align: right;
  font-size: 13px;
}

.qb-contact-right p {
  margin-bottom: 4px;
}

.qb-contact-right i {
  margin-right: 4px;
}

/* ===== PAGE HEAD ===== */

.qb-page-head {
  margin-bottom: 10px;
}

.qb-page-head h1 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-page-head p {
  font-size: 13px;
  color: #4b5563;
}

/* ===== SERVICES PAGE ===== */

.qb-services-layout {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,0.9fr);
  gap: 18px;
}

.qb-services-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qb-service-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
}

.qb-service-card h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-service-card ul {
  margin-top: 4px;
  margin-left: 18px;
}

.qb-services-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qb-note-box {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 10px 12px 12px;
  font-size: 13px;
  color: #4b5563;
}

.qb-note-box h3 {
  font-size: 15px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-note-muted {
  background: #f9fafb;
}

/* ===== PROJECTS PAGE ===== */

.qb-project-list {
  margin-bottom: 18px;
}

.qb-project-row {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1.3fr);
  gap: 16px;
  margin-bottom: 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  overflow: hidden;
}

.qb-project-img {
  min-height: 180px;
}

.qb-project-img img {
  width: 100%;
  height: 100%;
}

.qb-project-text {
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
}

.qb-project-text h2 {
  font-size: 16px;
  margin-top: 4px;
  margin-bottom: 4px;
  color: #111827;
}

/* ===== ABOUT PAGE ===== */

.qb-about-layout {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.qb-about-col h2 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-about-col p,
.qb-about-col li {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
}

/* ===== CONTACT PAGE ===== */

.qb-contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.qb-contact-panel {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #4b5563;
}

.qb-contact-panel p {
  margin-bottom: 4px;
}

.qb-contact-note {
  margin-top: 6px;
  margin-bottom: 10px;
}

.qb-contact-panel form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qb-contact-panel label {
  font-size: 12px;
  color: #111827;
}

.qb-contact-panel input,
.qb-contact-panel textarea {
  font-size: 13px;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #f9fafb;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.qb-contact-panel textarea {
  resize: vertical;
  min-height: 110px;
}

.qb-contact-panel input:focus,
.qb-contact-panel textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.qb-map-panel {
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ===== POLICY PAGES ===== */

.qb-page-simple {
  flex-direction: column;
}

.qb-main-simple {
  padding: 20px 0 20px;
}

.qb-policy-card {
  max-width: 820px;
  margin: 18px auto 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #ffffff;
  padding: 16px 18px 18px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.8;
}

.qb-policy-card h1 {
  font-size: 20px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-policy-card h2 {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 4px;
  color: #111827;
}

.qb-policy-card ul {
  margin-left: 18px;
}

/* ===== FOOTER ===== */

.qb-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding: 10px 0 14px;
  font-size: 11px;
  color: #6b7280;
  background: #ffffff;
}

.qb-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qb-footer-links a {
  color: #4b5563;
  text-decoration: none;
  margin-left: 10px;
  font-size: 11px;
}

/* ===== COOKIE BANNER ===== */

#cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 320px;
  z-index: 200;
}

.cookie-box {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 10px 12px;
  font-size: 12px;
  color: #111827;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.cookie-box button {
  margin-top: 8px;
  width: 100%;
  padding: 7px;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== REVEAL ANIMATION ===== */

.qb-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.qb-reveal.qb-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 960px) {
  .qb-nav {
    display: none;
  }

  .qb-burger {
    display: block;
  }

  .qb-header-inner {
    padding: 10px 0;
  }

  .qb-hero {
    grid-template-columns: minmax(0,1fr);
  }

  .qb-strip {
    grid-template-columns: minmax(0,1fr);
  }

  .qb-split {
    grid-template-columns: minmax(0,1fr);
  }

  .qb-grid-3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .qb-services-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .qb-project-row {
    grid-template-columns: minmax(0,1fr);
  }

  .qb-about-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .qb-contact-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .qb-contact-right {
    text-align: left;
  }

  .qb-footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .qb-container {
    width: 94%;
  }

  .qb-hero {
    padding: 14px 12px 15px;
  }

  .qb-hero-main h1 {
    font-size: 22px;
  }

  .qb-hero-text,
  .qb-section-head p,
  .qb-strip-item p {
    font-size: 12px;
  }

  .qb-grid-3 {
    grid-template-columns: minmax(0,1fr);
  }

  #cookie-banner {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}
