/* =====================================================================
   Barquecon IoT — Design System (gold + dark-navy, Poppins)
   Branding parity with Html-Bqt-Website. All new pages use these tokens.
   ===================================================================== */

:root {
  --gold: #f1b621;
  --gold-dark: #e4a400;
  --navy: #0d1b2a;
  --navy-2: #1a1a2e;
  --navy-3: #16304a;
  --charcoal: #333;
  --ink: #1d2733;
  --muted: #5b6b7b;
  --line: #e7ebf0;
  --bg-soft: #f6f8fb;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 18px 40px -24px rgba(13, 27, 42, .45);
  --shadow-lg: 0 30px 60px -30px rgba(13, 27, 42, .55);
  --ease: 0.25s ease;
  --container: 1200px;
  --nav-h: 76px;
}

/* ---- Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body.bqt {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.bqt h1, .bqt h2, .bqt h3, .bqt h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--ink); }
.bqt a { color: var(--gold-dark); text-decoration: none; transition: color var(--ease); }
.bqt a:hover { color: var(--gold); }
.bqt img { max-width: 100%; height: auto; }

.bqt-container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.bqt-section { padding: 80px 0; }
.bqt-section--soft { background: var(--bg-soft); }
.bqt-section--navy { background: var(--navy); color: #cfd8e3; }
.bqt-section--navy h2, .bqt-section--navy h3 { color: var(--white); }

/* ---- Shared bits --------------------------------------------------- */
.section-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3rem .8rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.section-title { font-size: 2.1rem; margin: 0 0 .6rem; }
.section-lead { font-size: 1.02rem; color: var(--muted); max-width: 680px; }
.bqt-section--navy .section-lead { color: #aab8c7; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

.btn-gold, .btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .92rem; letter-spacing: .02em;
  padding: .8rem 1.8rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 2px solid transparent; transition: all var(--ease);
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* =====================================================================
   Header — mega-menu nav
   ===================================================================== */
.bqt-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
}
.bqt-nav__bar {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
}
.bqt-nav__logo { display: inline-flex; align-items: center; }
.bqt-nav__logo img { width: 150px; }
.bqt-nav__logo .bqt-logo { width: 178px; height: auto; display: block; }
.bqt-nav__logo .bqt-logo:hover { opacity: .92; }
.bqt-nav__menu { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.bqt-nav__item { position: relative; }
.bqt-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #e6edf4; font-weight: 500; font-size: .92rem;
  padding: .65rem .9rem; border-radius: var(--radius-sm); transition: all var(--ease);
}
.bqt-nav__link:hover, .bqt-nav__item.is-active > .bqt-nav__link { color: var(--gold); }
.bqt-nav__link .fa-chevron-down { font-size: .65rem; opacity: .7; }

.bqt-nav__cta {
  background: var(--gold); color: var(--navy) !important; font-weight: 700;
  padding: .6rem 1.3rem; border-radius: 40px;
}
.bqt-nav__cta:hover { background: var(--white); }

/* Mega dropdown */
.bqt-mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 24px; min-width: 720px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  opacity: 0; visibility: hidden; transition: all var(--ease); border-top: 3px solid var(--gold);
}
.bqt-nav__item:hover > .bqt-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.svc-col-head {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold-dark); margin: 0 0 .6rem; padding-bottom: .4rem; border-bottom: 2px solid var(--gold);
}
.svc-link {
  display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: .85rem;
  padding: .35rem 0; transition: color var(--ease);
}
.svc-link i { color: var(--gold-dark); width: 16px; text-align: center; }
.svc-link:hover { color: var(--gold-dark); }

/* Mobile nav */
.bqt-nav__toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.4rem; cursor: pointer; }
@media (max-width: 991px) {
  .bqt-nav__toggle { display: block; }
  .bqt-nav__menu {
    position: fixed; inset: var(--nav-h) 0 0 auto; width: min(86vw, 340px);
    background: var(--navy); flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px; overflow-y: auto; transform: translateX(100%); transition: transform var(--ease);
  }
  .bqt-nav__menu.is-open { transform: translateX(0); }
  .bqt-nav__link { padding: .8rem .6rem; border-bottom: 1px solid rgba(255,255,255,.07); }
  .bqt-mega { position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; grid-template-columns: 1fr; box-shadow: none; padding: 8px 0 8px 14px; display: none; }
  .bqt-nav__item.is-open > .bqt-mega { display: grid; }
  .bqt-nav__cta { text-align: center; margin-top: 10px; }
}

/* =====================================================================
   Page hero + breadcrumb (interior pages)
   ===================================================================== */
.page-hero {
  position: relative; padding: 72px 0; color: var(--white);
  background: linear-gradient(135deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.78) 55%, rgba(22,48,74,.85) 100%), var(--navy);
}
.page-hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.page-hero h1 { color: var(--white); font-size: 2.4rem; margin: .4rem 0 .5rem; text-transform: capitalize; }
.page-hero p { color: #b9c6d4; max-width: 640px; margin: 0; }
.breadcrumb-bar { font-size: .82rem; color: #9fb0c1; }
.breadcrumb-bar a { color: var(--gold); }

/* =====================================================================
   Home hero
   ===================================================================== */
.bqt-hero {
  position: relative; min-height: 88vh; display: flex; align-items: center; color: var(--white);
  background: linear-gradient(135deg, rgba(13,27,42,.9) 0%, rgba(13,27,42,.7) 55%, rgba(22,48,74,.82) 100%), var(--navy);
  overflow: hidden;
}
.bqt-hero__inner { max-width: var(--container); margin: 0 auto; padding: 60px 20px; position: relative; z-index: 2; }
.bqt-hero h1 { color: var(--white); font-size: 2.9rem; max-width: 760px; margin: .6rem 0 1rem; }
.bqt-hero h1 span { color: var(--gold); }
.bqt-hero p { color: #c4d0dc; max-width: 600px; font-size: 1.08rem; margin-bottom: 1.8rem; }
.bqt-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* =====================================================================
   Cards
   ===================================================================== */
.bqt-grid { display: grid; gap: 24px; }
.bqt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bqt-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .bqt-grid--3, .bqt-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bqt-grid--3, .bqt-grid--4 { grid-template-columns: 1fr; } }

.bqt-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform var(--ease), box-shadow var(--ease);
}
.bqt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.bqt-card__icon {
  width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(241,182,33,.15); color: var(--gold-dark); font-size: 1.25rem; margin-bottom: 14px;
}
.bqt-card h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.bqt-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.bqt-card .card-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .85rem; }

.bqt-prose { max-width: 820px; }
.bqt-prose p { color: var(--muted); }

/* =====================================================================
   Footer
   ===================================================================== */
.bqt-footer { background: var(--navy); color: #aab8c7; padding: 64px 0 0; }
.bqt-footer__grid {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px;
}
@media (max-width: 991px) { .bqt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bqt-footer__grid { grid-template-columns: 1fr; } }
.bqt-footer h4 {
  color: var(--white); font-size: 1rem; margin: 0 0 1rem; position: relative; padding-bottom: .6rem;
}
.bqt-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 2px; background: var(--gold); }
.bqt-footer ul { list-style: none; margin: 0; padding: 0; }
.bqt-footer ul li { margin-bottom: .5rem; }
.bqt-footer ul a { color: #9fb0c1; font-size: .88rem; }
.bqt-footer ul a:hover { color: var(--white); }
.bqt-footer__about p { font-size: .9rem; color: #9fb0c1; }
.bqt-footer__logo { margin-bottom: 16px; }
.bqt-footer__logo .bqt-logo { width: 200px; height: auto; display: block; }
.bqt-footer__contact { font-size: .88rem; color: #9fb0c1; margin: 1rem 0; }
.bqt-footer__contact i { color: var(--gold); width: 18px; }
.bqt-social { display: flex; gap: 10px; margin-top: 12px; }
.bqt-social a {
  width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--white); transition: all var(--ease);
}
.bqt-social a:hover { background: var(--gold); color: var(--navy); }
.bqt-footer__bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 20px;
  text-align: center; font-size: .82rem; color: #8294a5;
}
.bqt-footer__bottom a { color: #9fb0c1; }

/* CTA form (Let's Work Together) */
.bqt-cta-band { background: var(--navy-2); padding: 56px 0; }
.bqt-cta-band .bqt-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 768px) { .bqt-cta-band .bqt-container { grid-template-columns: 1fr; } }
.bqt-cta-band h2 { color: var(--white); }
.bqt-cta-band p { color: #aab8c7; }
.bqt-form { display: grid; gap: 12px; }
.bqt-form input, .bqt-form textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: var(--white); font: inherit;
}
.bqt-form input::placeholder, .bqt-form textarea::placeholder { color: #8294a5; }
.bqt-form input:focus, .bqt-form textarea:focus { outline: none; border-color: var(--gold); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
