/* ============================================================
   N2 Technology — Mobile Stylesheet
   ============================================================ */

:root {
  --blue:        #0066B3;
  --cyan:        #00AEEF;
  --orange:      #F7941D;
  --yellow:      #FFD200;
  --light-bg:    #EFF7FF;
  --border:      #BDD8F0;
  --text:        #2D3748;
  --text-muted:  #6B7280;
  --white:       #FFFFFF;
  --radius:      10px;
  --shadow:      0 4px 16px rgba(0,102,179,.12);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 72px; /* room for sticky bar */
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TOP HEADER ─────────────────────────────────────────── */
.m-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  box-shadow: 0 2px 8px rgba(0,102,179,.08);
}

.m-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.m-logo img { height: 34px; width: auto; }
.m-logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}
.m-logo-name strong { font-weight: 800; color: var(--blue); }

.m-header-call {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--orange);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  padding: .5rem .85rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.m-header-call svg { width: 16px; height: 16px; }

.m-menu-toggle {
  background: none;
  border: none;
  padding: .4rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.m-menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all .3s ease;
}
.m-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.m-menu-toggle.open span:nth-child(2) { opacity: 0; }
.m-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── DRAWER NAV ─────────────────────────────────────────── */
.m-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
}
.m-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .3s ease;
}
.m-nav-panel {
  position: absolute;
  top: 0; left: 0;
  width: min(80vw, 300px);
  height: 100%;
  background: var(--white);
  padding: 1.25rem 1rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,.15);
}
.m-nav-drawer.open { pointer-events: auto; }
.m-nav-drawer.open .m-nav-overlay { opacity: 1; }
.m-nav-drawer.open .m-nav-panel { transform: translateX(0); }

.m-nav-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.m-nav-brand img { height: 32px; width: auto; }
.m-nav-brand-name { font-size: 1rem; font-weight: 800; color: var(--blue); }

.m-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem .5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  -webkit-tap-highlight-color: transparent;
}
.m-nav-link:last-child { border-bottom: none; }
.m-nav-link.active { color: var(--blue); }
.m-nav-link svg { width: 18px; height: 18px; transition: transform .25s; flex-shrink: 0; }
.m-nav-link.expanded svg { transform: rotate(180deg); }

.m-nav-sub {
  display: none;
  flex-direction: column;
  background: var(--light-bg);
  border-radius: var(--radius);
  margin: .25rem 0 .5rem;
  overflow: hidden;
}
.m-nav-sub.open { display: flex; }
.m-nav-sub a {
  display: block;
  padding: .7rem 1rem;
  font-size: .9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.m-nav-sub a:last-child { border-bottom: none; }
.m-nav-sub a:active { background: var(--border); }

/* ── HERO ───────────────────────────────────────────────── */
.m-hero {
  background: linear-gradient(135deg, #0066B3 0%, #00AEEF 100%);
  padding: 2.5rem 1.25rem 2rem;
  position: relative;
  overflow: hidden;
}
.m-hero::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -80px; right: -80px;
  pointer-events: none;
}
.m-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(247,148,29,.2);
  border: 1px solid rgba(247,148,29,.35);
  color: #FFD200;
  padding: .35rem .85rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.m-hero h1 {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.m-hero h1 em { font-style: normal; color: #F7941D; }
.m-hero p {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  max-width: 480px;
}
.m-hero-btns {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}
.m-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
}
.m-stat { text-align: center; }
.m-stat-num { display: block; font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1; }
.m-stat-label { font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; }

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.m-page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  padding: 2rem 1.25rem 1.75rem;
}
.m-page-hero h1 { font-size: 1.65rem; font-weight: 900; color: #fff; margin-bottom: .5rem; }
.m-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.m-breadcrumb a { color: rgba(255,255,255,.85); }
.m-breadcrumb svg { width: 14px; height: 14px; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-align: center;
  min-height: 50px;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:active { background: #d97a00; border-color: #d97a00; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:active { background: var(--light-bg); }
.btn-outline-white { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-white:active { background: rgba(255,255,255,.22); }

/* ── SECTIONS ───────────────────────────────────────────── */
.m-section { padding: 2.5rem 1.25rem; }
.m-section-light { background: var(--light-bg); }
.m-section-dark { background: var(--blue); color: #fff; }

.m-section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: .6rem;
}
.m-section-light .m-section-title { color: var(--blue); }
.m-section-dark .m-section-title { color: #fff; }
.m-section-sub {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.m-section-dark .m-section-sub { color: rgba(255,255,255,.75); }
.m-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: .5rem;
}
.m-section-dark .m-eyebrow { color: var(--yellow); }

/* ── SERVICE CARDS ──────────────────────────────────────── */
.m-service-grid { display: flex; flex-direction: column; gap: 1rem; }
.m-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
  -webkit-tap-highlight-color: transparent;
}
.m-service-card:active { background: var(--light-bg); }
.m-service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.m-service-icon svg { width: 24px; height: 24px; }
.m-service-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.m-service-card p { font-size: .875rem; color: var(--text-muted); line-height: 1.5; margin-bottom: .5rem; }
.m-service-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
}
.m-service-card .arrow svg { width: 16px; height: 16px; }

/* ── STATS BAR ──────────────────────────────────────────── */
.m-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.m-stat-box { background: var(--white); padding: 1.25rem; text-align: center; }
.m-stat-box-num { display: block; font-size: 1.8rem; font-weight: 900; color: var(--blue); line-height: 1; }
.m-stat-box-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-top: .25rem; display: block; }

/* ── ABOUT SNIPPET ──────────────────────────────────────── */
.m-about-img {
  width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.15);
}
.m-about-img svg { width: 80px; height: 80px; color: rgba(255,255,255,.5); }

.m-check-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.m-check-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; }
.m-check-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: .05rem;
}
.m-check-dot svg { width: 13px; height: 13px; }

/* ── CONTACT CARDS ──────────────────────────────────────── */
.m-contact-grid { display: flex; flex-direction: column; gap: 1rem; }
.m-contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.m-contact-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.m-contact-icon svg { width: 26px; height: 26px; }
.m-contact-card h4 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .2rem; }
.m-contact-card a, .m-contact-card p { font-size: 1rem; font-weight: 700; color: var(--text); }
.m-contact-card a { color: var(--blue); }

/* ── MAP ────────────────────────────────────────────────── */
.m-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
}
.m-map iframe { width: 100%; height: 100%; border: 0; }

/* ── HOURS TABLE ────────────────────────────────────────── */
.m-hours { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.m-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
}
.m-hours-row:last-child { border-bottom: none; }
.m-hours-row:nth-child(even) { background: var(--light-bg); }
.m-hours-day { font-weight: 600; }
.m-hours-time { color: var(--blue); font-weight: 600; }
.m-hours-time.oncall { color: var(--orange); }

/* ── SERVICE DETAIL (inner pages) ───────────────────────── */
.m-service-detail { padding: 2rem 1.25rem; }
.m-service-detail h2 { font-size: 1.3rem; font-weight: 800; color: var(--blue); margin-bottom: 1rem; }
.m-service-detail p { font-size: .95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.m-feature-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.m-feature-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--text); }
.m-feature-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: .45rem; }

/* ── CTA BANNER ─────────────────────────────────────────── */
.m-cta {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  padding: 2rem 1.25rem;
  text-align: center;
}
.m-cta h2 { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: .75rem; }
.m-cta p { color: rgba(255,255,255,.8); font-size: .95rem; margin-bottom: 1.5rem; }
.m-cta-btns { display: flex; flex-direction: column; gap: .75rem; }

/* ── FOOTER ─────────────────────────────────────────────── */
.m-footer {
  background: var(--blue);
  color: rgba(255,255,255,.75);
  padding: 2rem 1.25rem 1.25rem;
}
.m-footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.m-footer-logo img { height: 32px; filter: brightness(0) invert(1); }
.m-footer-logo-name { font-size: 1rem; font-weight: 800; color: #fff; }
.m-footer p { font-size: .875rem; margin-bottom: 1.25rem; }
.m-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1rem;
  margin-bottom: 1.5rem;
}
.m-footer-links a { font-size: .875rem; color: rgba(255,255,255,.75); }
.m-footer-links a:active { color: #fff; }
.m-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1rem;
  font-size: .8rem;
  text-align: center;
  color: rgba(255,255,255,.5);
}

/* ── STICKY BOTTOM BAR ──────────────────────────────────── */
.m-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
}
.m-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 60px;
}
.m-sticky-btn-call { background: var(--blue); color: #fff; }
.m-sticky-btn-call:active { background: #004d8a; }
.m-sticky-btn-email { background: var(--orange); color: #fff; }
.m-sticky-btn-email:active { background: #d97a00; }
.m-sticky-btn svg { width: 20px; height: 20px; }

/* ── DIVIDER ────────────────────────────────────────────── */
.m-divider { height: 1px; background: var(--border); margin: 0 1.25rem; }
