/* ==========================================================================
   E Care LLC — Design System
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #071019;
  --navy-900: #0c1c2c;
  --navy-800: #122a40;
  --navy-700: #1a3a56;
  --navy-600: #24507a;
  --steel-500: #5b7386;
  --steel-300: #9fb0bd;
  --steel-100: #e7ecf0;

  --accent-500: #7fa32e;
  --accent-600: #688826;
  --accent-700: #526b1e;
  --accent-100: #eaf1da;

  --amber-500: #d98c22;

  --ink: #101820;
  --ink-soft: #3c4b57;
  --paper: #ffffff;
  --paper-soft: #f5f7f8;
  --paper-muted: #eef1f3;
  --line: #dde3e7;

  /* Type */
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(7, 16, 25, 0.06), 0 1px 1px rgba(7, 16, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(7, 16, 25, 0.10);
  --shadow-lg: 0 20px 48px rgba(7, 16, 25, 0.18);

  color-scheme: light;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
  border-radius: 4px;
}
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
button { font: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 780px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-500);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent-500); color: #fff; }
.btn-primary:hover { background: var(--accent-600); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1450px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block;
  padding: 9px 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--paper-muted); }
.main-nav a.active { color: var(--accent-600); }

.main-nav a.nav-live,
.main-nav button.nav-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy-950);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 9px 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a.nav-live:hover,
.main-nav button.nav-live:hover { background: var(--navy-800); }
.main-nav a.nav-live.active,
.main-nav button.nav-live.active-page { color: #fff; background: var(--accent-600); }
.nav-live .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: live-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

/* Nav dropdown (TSI Control / Remote Monitor) */
.has-dropdown { position: relative; }
.dropdown-caret { width: 14px; height: 14px; transition: transform .15s ease; flex-shrink: 0; }
.has-dropdown.open .dropdown-caret { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 50;
}
.has-dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-800);
}
.dropdown-menu a:hover { background: var(--paper-muted); }
.dropdown-menu a.active { color: var(--accent-600); }
.dropdown-divider { height: 1px; background: var(--line); margin: 6px 4px; }
.dropdown-menu a.dropdown-demo {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--accent-600);
}
.dropdown-menu a.dropdown-demo:hover { background: var(--accent-100); }
.dropdown-demo-text { display: flex; flex-direction: column; line-height: 1.35; }
.dropdown-demo-text small { font-size: 0.72rem; font-weight: 500; color: var(--ink-soft); }
.dropdown-menu a.dropdown-demo svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

@media (max-width: 1400px) {
  .has-dropdown { position: static; }
  .main-nav button.nav-live {
    width: 100%;
    justify-content: space-between;
    background: var(--paper-muted);
    color: var(--navy-900);
    padding: 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--paper-muted);
    border-radius: 0;
  }
  .main-nav button.nav-live.active-page { background: var(--accent-100); color: var(--accent-700); }
  .main-nav button.nav-live .live-dot { background: var(--accent-600); }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--paper-soft);
    padding: 0;
    display: none;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 14px 16px 14px 32px; border-bottom: 1px solid var(--paper-muted); font-size: 1rem; }
}
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-outline { padding: 10px 18px; font-size: 0.88rem; }
.header-cta .btn-primary { padding: 10px 18px; font-size: 0.88rem; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.92rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--accent-600); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1400px) {
  .header-phone { display: none; }
  .main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 16px; gap: 2px; }
  .main-nav a { padding: 16px; font-size: 1.05rem; border-bottom: 1px solid var(--paper-muted); }
  .nav-toggle { display: flex; }
  .header-cta .btn-outline { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 15% -10%, var(--navy-700), var(--navy-900) 55%), var(--navy-950);
  color: #fff;
  padding: 110px 0 100px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-500); margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 20px; }
.hero p.lead { color: var(--steel-300); font-size: 1.15rem; max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: #fff; }
.hero-stats div span { color: var(--steel-300); font-size: 0.85rem; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-media .tag {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(10, 20, 30, 0.75);
  backdrop-filter: blur(6px);
  color: #fff; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* Simpler inner-page hero */
.page-hero {
  background: radial-gradient(1000px 500px at 85% -20%, var(--navy-700), var(--navy-900) 60%), var(--navy-950);
  color: #fff;
  padding: 72px 0;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: var(--steel-300); font-size: 1.05rem; max-width: 60ch; margin: 0; }
.breadcrumb { color: var(--accent-500); font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; display: block; }

/* ==========================================================================
   Stat / trust bar
   ========================================================================== */
.stat-bar { background: var(--navy-900); padding: 0; }
.stat-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-bar .stat {
  padding: 32px 20px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.stat-bar .stat:first-child { border-left: none; }
.stat-bar .stat strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: #fff; }
.stat-bar .stat span { color: var(--steel-300); font-size: 0.85rem; }
@media (max-width: 780px) {
  .stat-bar .container { grid-template-columns: repeat(2, 1fr); }
  .stat-bar .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-100); color: var(--accent-600);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 14px; }
.card .card-link { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--accent-600); display: inline-flex; align-items: center; gap: 6px; }
.card .card-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.card-link-block { display: block; }
.card-link-block:hover { text-decoration: none; }

/* Feature split (image + text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media > img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-body ul.check-list { margin-top: 20px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: -1; }
}

ul.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-muted);
  color: var(--ink-soft);
}
ul.check-list li:last-child { border-bottom: none; }
ul.check-list svg { width: 20px; height: 20px; color: var(--accent-600); flex-shrink: 0; margin-top: 2px; }
ul.check-list strong { color: var(--ink); }

/* Panels for spec/detail blocks */
.panel {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.panel + .panel { margin-top: 24px; }
.panel h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; }
.panel h3 .num {
  width: 30px; height: 30px; flex-shrink: 0;
  background: var(--navy-900); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
}

/* Table-ish spec list */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; margin-top: 16px; }
.spec-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.spec-list dt, .spec-list .k { color: var(--ink-soft); }
.spec-list dd, .spec-list .v { margin: 0; font-weight: 600; color: var(--navy-900); text-align: right; }
@media (max-width: 620px) { .spec-list { grid-template-columns: 1fr; } }

/* Brand strip */
.brand-strip { background: var(--paper-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-strip .container { padding-top: 40px; padding-bottom: 40px; }
.brand-strip .label { text-align: center; color: var(--ink-soft); font-size: 0.85rem; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.brand-row { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.brand-row .brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy-800); opacity: 0.7; }

/* Alternating background section */
.section-muted { background: var(--paper-soft); }
.section-dark { background: var(--navy-950); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: var(--steel-300); }
.section-dark .eyebrow { color: var(--accent-500); }
.section-dark p { color: var(--steel-300); }
.section-dark ul.check-list li { color: var(--steel-300); border-bottom-color: rgba(255,255,255,0.08); }
.section-dark ul.check-list strong { color: #fff; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-500) 0%, transparent 70%);
  opacity: 0.35;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; font-size: 1.7rem; }
.cta-banner p { color: var(--steel-300); margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* Timeline (about page) */
.timeline { border-left: 2px solid var(--line); padding-left: 32px; margin-left: 8px; }
.timeline .t-item { position: relative; padding-bottom: 36px; }
.timeline .t-item::before {
  content: ""; position: absolute; left: -38px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent-500);
  box-shadow: 0 0 0 4px var(--accent-100);
}
.timeline .t-item:last-child { padding-bottom: 0; }
.timeline h4 { margin-bottom: 6px; }
.timeline p { color: var(--ink-soft); margin: 0; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.people .person { text-align: left; }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; } }

/* Values grid icons reuse .card */

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--navy-950);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-info-card h3 { color: #fff; }
.contact-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-line:last-of-type { border-bottom: none; }
.contact-line svg { width: 22px; height: 22px; color: var(--accent-500); flex-shrink: 0; margin-top: 2px; }
.contact-line strong { display: block; font-family: var(--font-head); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--steel-300); margin-bottom: 2px; }
.contact-line span, .contact-line a { color: #fff; font-size: 1.02rem; }
.contact-social { display: flex; gap: 10px; margin-top: 28px; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--paper-soft);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-100);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.form-status { margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; display: none; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-status.success { display: block; background: var(--accent-100); color: var(--accent-700); }
.form-status.error { display: block; background: #fde8e8; color: #a12626; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 28px; }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-950); color: var(--steel-300); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-about p { font-size: 0.92rem; margin-top: 16px; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.92rem; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-500); flex-shrink: 0; margin-top: 2px; }
.phone-lines { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-bottom a { color: var(--steel-300); }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Product screenshot frame (browser chrome mock)
   ========================================================================== */
.browser-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #1b1b1f;
}
.browser-frame .browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #26262b;
}
.browser-frame .browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-frame .browser-dot:nth-child(1) { background: #ff5f57; }
.browser-frame .browser-dot:nth-child(2) { background: #febc2e; }
.browser-frame .browser-dot:nth-child(3) { background: #28c840; }
.browser-frame .browser-url {
  margin-left: 12px;
  background: #37373d;
  color: #9aa0a6;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  flex: 1;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-frame img { width: 100%; height: auto; display: block; }

/* Screen tabs (operator-screen gallery) */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.tab-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.tab-btn:hover { border-color: var(--accent-500); color: var(--navy-900); }
.tab-btn.active { background: var(--navy-950); border-color: var(--navy-950); color: #fff; }

.tab-stage { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.tab-stage-media .browser-frame { box-shadow: var(--shadow-md); }
.tab-stage-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.tab-stage-body p { color: var(--ink-soft); }
.tab-stage-body ul.check-list { margin-top: 16px; }
@media (max-width: 900px) {
  .tab-stage { grid-template-columns: 1fr; gap: 28px; }
}

/* Demo credentials callout */
.credential-box {
  background: var(--navy-950);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  color: #fff;
}
.credential-box .cred { }
.credential-box .cred strong { display: block; font-family: var(--font-head); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--steel-300); margin-bottom: 4px; }
.credential-box .cred code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--accent-500);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-accent { color: var(--accent-600); }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-900); color: #fff; padding: 12px 18px; z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
