/* ═══════════════════════════════════════════════
   WK Laptop — Shared base styles (used by all pages)
═══════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --white: #f2f5ff;
  --dark: #0d0d16;
  --gray: #7a8899;
  --border: rgba(0,0,0,0.08);
  /* ── Brand color system (Option A: Tech Blue) ── */
  --brand: #1e3a8a;
  --brand-bright: #3b82f6;
  --brand-dark: #0a1840;
  --brand-tint: #eaf0fa;
  --font: 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; }

/* Keyboard focus ring — visible only on keyboard navigation */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible {
  outline: 2px solid var(--brand-bright, #3b82f6);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 56px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
  margin-left: 24px;
}
.logo img {
  height: 36px; width: auto;
  display: block;
}
.nav-links { display:flex; gap:32px; list-style:none; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: #5a6572;
  text-decoration: none; transition: color .18s;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a.active { color: var(--dark); font-weight: 600; }
.nav-buy {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; background: var(--dark); color: #fff;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  border-radius: 7px; text-decoration: none;
  transition: opacity .2s;
}
.nav-buy:hover { opacity: .88; }

/* ── PAGE HERO (small banner at top of each sub-page) ── */
.page-hero {
  padding: 140px 48px 64px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.page-hero h1 {
  font-size: 48px; font-weight: 800; letter-spacing: -2px;
  color: var(--dark); margin-bottom: 14px;
}
.page-hero .subtitle {
  font-size: 16px; color: #4a5360;
  max-width: 640px; margin: 0 auto;
  line-height: 1.6;
}

/* ── PAGE CONTENT (article body for legal/info pages) ── */
.page-content {
  max-width: 800px; margin: 0 auto;
  padding: 72px 48px 100px;
}
.page-content h2 {
  font-size: 26px; font-weight: 700; letter-spacing: -.6px;
  color: var(--dark);
  margin-top: 48px; margin-bottom: 16px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 18px; font-weight: 700;
  color: var(--dark);
  margin-top: 28px; margin-bottom: 10px;
}
.page-content p {
  font-size: 15px; line-height: 1.7;
  color: #3a4452; margin-bottom: 16px;
}
.page-content ul, .page-content ol {
  margin: 8px 0 20px 24px;
  color: #3a4452;
}
.page-content li {
  font-size: 15px; line-height: 1.7;
  margin-bottom: 6px;
}
.page-content a {
  color: var(--brand); text-decoration: underline;
}
.page-content .last-updated {
  font-size: 13px; color: #8a93a0;
  margin-bottom: 36px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.page-content strong { color: var(--dark); font-weight: 600; }

/* ── CONTACT-SPECIFIC ── */
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info h2 {
  font-size: 22px; font-weight: 700;
  color: var(--dark); margin-bottom: 24px;
}
.contact-item {
  display: flex; flex-direction: column;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.contact-item:last-child { border-bottom: none; }
.contact-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #8a93a0;
  margin-bottom: 8px;
}
.contact-value {
  font-size: 16px; color: var(--dark);
  font-weight: 500;
}
.contact-value a { color: var(--brand); }
.contact-business {
  background: #e8e9ee;
  border-radius: 12px;
  padding: 32px;
}
.contact-business h3 {
  font-size: 16px; font-weight: 700;
  color: var(--dark); margin-bottom: 18px;
}
.contact-business dl {
  display: grid; grid-template-columns: 130px 1fr;
  gap: 10px 16px;
}
.contact-business dt {
  font-size: 13px; color: #4a5360;
}
.contact-business dd {
  font-size: 13px; color: var(--dark); font-weight: 500;
}

/* ── MAP (right column in contact grid) ── */
.contact-map-col h2 {
  font-size: 22px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.contact-map-col .map-address {
  font-size: 14px; color: #4a5360;
  line-height: 1.55;
  margin-bottom: 20px;
}
.map-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  background: #d8d9de;
}
.map-frame iframe { display: block; }
.map-link {
  margin-top: 14px;
  font-size: 13px;
}
.map-link a {
  color: var(--brand); text-decoration: none; font-weight: 600;
}
.map-link a:hover { text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────── */
footer {
  padding: 56px 48px 38px;
  background: #e8e9ee;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-brand .footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
  font-size: 14px; font-weight: 700; color: var(--dark);
  margin-bottom: 14px;
}
.footer-brand .footer-logo img {
  height: 28px; width: auto;
  display: block;
}
.footer-brand p {
  font-size: 13px; color: #4a5360;
  line-height: 1.6; max-width: 280px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #4a5360;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px; color: var(--dark);
  text-decoration: none; transition: opacity .18s;
}
.footer-col a:hover { opacity: 0.6; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: #4a5360;
}
.footer-bottom a { color: #4a5360; text-decoration: none; }
.footer-bottom a:hover { color: var(--dark); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 110px 24px 48px; }
  .page-hero h1 { font-size: 36px; }
  .page-content { padding: 48px 24px 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 80px; }
  .map-frame iframe { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* Match index.html: tighter nav on small phones so logo aligns with homepage */
@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .logo { margin-left: 0; }
  .logo img { height: 32px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   MOBILE H5 UX (hamburger menu + sticky CTA bar + back to top)
   Mirrors index.html inlined H5 CSS so sub-pages get the same UX
═══════════════════════════════════════════════ */

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  padding: 8px; align-items: center; justify-content: center;
}
.menu-btn svg { width: 24px; height: 24px; stroke: var(--dark); }

.menu-drawer {
  position: fixed; top: 0; right: -100%;
  width: 280px; max-width: 80vw; height: 100vh;
  background: #ffffff;
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
  z-index: 1000;
  transition: right .3s ease;
  display: flex; flex-direction: column;
  padding: 72px 24px 24px;
}
.menu-drawer.open { right: 0; }
.menu-drawer-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer;
  padding: 0; display: flex; align-items: center; justify-content: center;
}
.menu-drawer-close svg { width: 22px; height: 22px; stroke: var(--dark); stroke-width: 2; }
.menu-drawer a {
  display: block; padding: 16px 4px;
  font-size: 16px; font-weight: 600; color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color .15s;
}
.menu-drawer a:hover { color: var(--brand); }
.menu-drawer .drawer-cta {
  margin-top: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  background: var(--dark); color: #fff;
  border-radius: 8px;
  font-size: 14px; font-weight: 700; border: none;
}
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }



.back-to-top {
  position: fixed; bottom: 84px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(13,13,22,0.85); backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 700;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s, transform .25s; border: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2.5; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .back-to-top { display: flex; }

  /* Footer accordion */
  .footer-col h4 {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; user-select: none;
    padding: 16px 0; margin-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .footer-col h4::after {
    content: '+'; font-size: 22px; font-weight: 300;
    color: #4a5360; transition: transform .2s;
  }
  .footer-col.open h4::after { content: '−'; }
  .footer-col ul {
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease, padding .2s;
  }
  .footer-col.open ul { max-height: 400px; padding: 12px 0; }
  .footer-brand p { display: none; }
}
@media (min-width: 861px) {
  .back-to-top.show { bottom: 28px; right: 28px; }
}
