/* =========================================================
   Inspire Softech - shared styles (tokens, header, footer, buttons)
   ========================================================= */
:root {
  --navy: #0B2E59;
  --blue: #1D60B0;
  --orange: #E8590C;
  --orange-deep: #C2410C;
  --bg: #F2F5FA;
  --paper: #FAF6EC;
  --charcoal: #1F2226;
  --muted: #5A6478;
  --ink: #1B2538;
  --ink-soft: #3A4256;
  --line: #D5DDEB;
  --pill: #E6EEF9;
  --white: #fff;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --pad: 56px;
  --max: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Visible focus ring on every control */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Type helpers ---------- */
.h2 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.15;
  color: var(--navy);
}
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn-i {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: opacity .15s ease;
}
.btn-i:hover { opacity: .88; }
.btn-i-lg { min-height: 52px; padding: 0 28px; border-radius: 12px; font-size: 16px; }
.btn-i-primary { background: var(--orange-deep); color: #fff; }
.btn-i-dark { background: var(--navy); color: #fff; }
.btn-i-light { background: #fff; color: var(--navy); }
.btn-i-outline { background: transparent; border-color: var(--navy); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
}
.site-nav { padding: 0; }
.nav-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-top: 18px; padding-bottom: 18px;
  width: 100%;
}
.brand { display: block; line-height: 1; }
.brand-name, .brand-sub { display: block; }
.brand-name {
  font-weight: 700; font-size: 26px; letter-spacing: 4px; color: var(--blue);
}
.brand-name-light { color: #8DB6EC; }
.brand-sub {
  font-size: 12px; letter-spacing: 3px; color: var(--orange); margin-top: 2px;
}

.nav-toggle {
  min-width: 44px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 10px;
}
.nav-collapse { flex-basis: 100%; }
.nav-links {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 15px; font-weight: 500; color: var(--navy);
}
.nav-links a {
  display: flex; align-items: center; min-height: 44px; padding: 0 4px;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--blue); }
.nav-links a.is-active { font-weight: 700; }
.nav-cta { margin: 12px 0 8px; }

/* Menu collapses below 900px */
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-collapse,
  .nav-collapse:not(.show) {
    display: flex !important;
    flex-basis: auto; flex-grow: 1;
    align-items: center; justify-content: space-between;
    margin-left: 32px;
  }
  .nav-links { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; margin: 0 auto; }
  .nav-links a { padding: 0; }
  .nav-cta { margin: 0; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #D6E0F0;
  margin-top: 80px;
  padding: 44px 0 28px;
}
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 28px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-address { margin: 0; font-style: normal; font-size: 14px; max-width: 320px; }
.footer-address a { color: #fff; text-decoration: underline; }
.footer-bottom {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid #3A3F45;
  font-size: 13px; color: #B7C0D0;
}
.footer-bottom a { text-decoration: underline; }
.site-footer a:hover { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #128C4A; color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: opacity .15s ease;
}
.wa-float:hover { opacity: .88; color: #fff; }

/* ---------- Slim cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  padding: 8px 80px 8px 16px;
  background: var(--navy); color: #fff; font-size: 13px;
}
.cookie-bar[hidden] { display: none; }
.cookie-ok { min-height: 44px; padding: 0 16px; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .h2 { font-size: 30px; }
  .site-footer { margin-top: 56px; }
}

/* ---------- Motion: nothing beyond the 150ms hover fade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
