/* ============================================
   BMRK TECHNOLOGIES — SHARED STYLESHEET
   Professional Blue + White Theme
   ============================================ */

:root {
  --navy-deep: #0B2545;
  --navy: #13315C;
  --blue-primary: #1B4F8C;
  --blue-bright: #2E6FB8;
  --blue-light: #EAF2FB;
  --accent-amber: #E8A33D;
  --ink: #1A2333;
  --slate: #5B6B82;
  --slate-light: #8FA0B5;
  --paper: #FFFFFF;
  --paper-soft: #F6F9FC;
  --line: #E1E8F0;
  --success: #2D8A5F;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ TOP UTILITY BAR ============ */
.utility-bar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  letter-spacing: 0.3px;
}
.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.utility-bar a {
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.utility-left { display: flex; gap: 22px; }
.utility-bar .reg-nums { color: rgba(255,255,255,0.5); }

/* ============ HEADER / NAV ============ */
header.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--navy-deep);
}

.brand-sub {
  font-size: 10.5px;
  letter-spacing: 1.4px;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 1px;
}

nav.main-nav ul {
  display: flex;
  gap: 36px;
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--blue-primary);
}

nav.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-amber);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 7px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--blue-primary);
  color: white;
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-outline {
  border: 1.5px solid var(--blue-primary);
  color: var(--blue-primary);
}
.btn-outline:hover { background: var(--blue-light); }

.btn-amber {
  background: var(--accent-amber);
  color: var(--navy-deep);
}
.btn-amber:hover { background: #d4922f; }

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue-primary) 100%);
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}

.page-hero .wrap { position: relative; z-index: 1; }

.crumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}
.crumb a { color: rgba(255,255,255,0.85); }
.crumb span { margin: 0 8px; color: rgba(255,255,255,0.35); }

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.2px;
  max-width: 680px;
}

.page-hero .lede {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-top: 14px;
  max-width: 600px;
  font-weight: 400;
}

/* ============ SECTION SCAFFOLDING ============ */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.bg-soft { background: var(--paper-soft); }
.bg-navy { background: var(--navy-deep); color: white; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--accent-amber);
}
.bg-navy .eyebrow { color: var(--accent-amber); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: 0.2px;
  line-height: 1.25;
}
.bg-navy .section-head h2 { color: white; }

.section-head p {
  font-size: 16px;
  color: var(--slate);
  margin-top: 12px;
  line-height: 1.65;
}
.bg-navy .section-head p { color: rgba(255,255,255,0.7); }

/* ============ CARDS ============ */
.card-grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 28px;
  transition: all 0.25s ease;
  position: relative;
}
.service-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 16px 32px -16px rgba(19,49,92,0.18);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--blue-primary);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link .arrow { transition: transform 0.2s; }
.service-card:hover .arrow { transform: translateX(3px); }

/* ============ STATS STRIP ============ */
.stats-strip {
  background: var(--navy-deep);
  padding: 44px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; border-left: 1px solid rgba(255,255,255,0.12); padding-left: 24px; }
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--accent-amber);
  line-height: 1;
}
.stat-label {
  font-size: 12.5px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(120deg, var(--blue-primary), var(--navy-deep));
  border-radius: 10px;
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(232,163,61,0.15), transparent 70%);
}
.cta-band h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  color: white;
  max-width: 420px;
  position: relative; z-index: 1;
}
.cta-band p {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  margin-top: 8px;
  position: relative; z-index: 1;
}
.cta-band .btn-group { display: flex; gap: 14px; flex-shrink: 0; position: relative; z-index: 1; }

/* ============ FOOTER ============ */
footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand-row .brand-name { color: white; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent-amber); }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,0.55); }
.footer-reg {
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-family: var(--font-mono);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 22px; }

/* ============ BREADCRUMB FLAG ICON ============ */
.flag-icon { position: relative; width: 22px; height: 30px; flex-shrink: 0; }
.flag-pole { position: absolute; left: 2px; top: 0; width: 2px; height: 30px; background: var(--accent-amber); border-radius: 1px; }
.flag-cloth {
  position: absolute; left: 4px; top: 2px; width: 16px; height: 11px;
  background: var(--blue-bright);
  clip-path: polygon(0 0, 100% 15%, 100% 85%, 0 100%);
}

/* ============ BADGE / PILL ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: white;
  letter-spacing: 0.3px;
}

.pill-light {
  background: var(--blue-light);
  border: 1px solid #d3e4f7;
  color: var(--blue-primary);
}

/* ============ TABLE STYLE (pricing/plans) ============ */
.plan-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.plan-head {
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--line);
}
.plan-head h3 { font-family: var(--font-display); font-size: 20px; color: var(--navy-deep); }
.plan-head .price { font-size: 13px; color: var(--slate); margin-top: 6px; }
.plan-body { padding: 24px 28px 28px; }
.plan-body li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.plan-body li:last-child { border-bottom: none; }
.check { color: var(--success); flex-shrink: 0; font-weight: 700; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main-nav { display: none; }
  .page-hero h1 { font-size: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .wrap { padding: 0 20px; }
  .utility-bar .utility-left { gap: 14px; }
  .page-hero h1 { font-size: 26px; }
}
