/* 53 West LLC — Forest Green Brand Theme */
/* plate green #1C5C38, dark #184F30 */

/* ===== DARK MODE (default — forest green) ===== */
:root {
  --plate-green: #1C5C38;
  --plate-green-dark: #184F30;
  --plate-green-light: #2A7A4E;
  --plate-green-glow: rgba(28, 92, 56, 0.35);
  --silver-rim: #C0C8CC;
  --silver-rim-dark: #8A9499;

  --p: #0d1f15;
  --s: #122a1c;
  --t: #f0f7f3;
  --m: #8BA99A;
  --g: rgba(18, 42, 28, 0.85);
  --card: rgba(18, 42, 28, 0.6);
  --border: rgba(28, 92, 56, 0.25);
  --border-light: rgba(255, 255, 255, 0.06);
  --nav-bg: rgba(13, 31, 21, 0.98);
  --input-bg: rgba(18, 42, 28, 0.8);
  --footer-bg: rgba(13, 31, 21, 0.95);
  --progress-bg: rgba(10, 26, 16, 0.98);
  --hero-bg: linear-gradient(135deg, #0d1f15, #122a1c, #0d1f15);
  --stats-bg: rgba(28, 92, 56, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 4px 20px rgba(28, 92, 56, 0.3);

  --accent: #2A7A4E;
  --accent-hover: #1C5C38;
  --accent-amber: #D4A04C;
  --accent-green: #2A7A4E;
  --accent-green2: #2A7A4E;
  --accent-success: #3DA668;

  --text-muted: #5A8A72;
  --text-secondary: #8BA99A;
  --text-heading: #e2f0e8;
  --link-hover: #2A7A4E;
}

/* ===== LIGHT MODE (white) ===== */
[data-theme="light"] {
  --p: #f5f8f6;
  --s: #ffffff;
  --t: #1a2e22;
  --m: #5a7a6a;
  --g: rgba(240, 245, 242, 0.9);
  --card: #ffffff;
  --border: rgba(28, 92, 56, 0.18);
  --border-light: rgba(0, 0, 0, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.98);
  --input-bg: #f5f8f6;
  --footer-bg: rgba(245, 248, 246, 0.95);
  --progress-bg: rgba(255, 255, 255, 0.98);
  --hero-bg: linear-gradient(135deg, #f5f8f6, #ffffff, #f5f8f6);
  --stats-bg: rgba(28, 92, 56, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 4px 20px rgba(28, 92, 56, 0.15);

  --text-muted: #5a7a6a;
  --text-secondary: #5a7a6a;
  --text-heading: #1a2e22;
  --link-hover: #1C5C38;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--p);
  color: var(--t);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

a { color: var(--plate-green-light); transition: color .3s, background .3s; text-decoration: none; }
a:visited { color: var(--plate-green-light); }
a:hover { color: var(--accent); }

/* Theme toggle button */
.theme-toggle {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--t);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); }

/* Top nav */
.sn {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.sn .lo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--plate-green-light), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sn .lo img { height: 32px; width: auto; }
.sn .ct {
  background: var(--plate-green);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.sn .ct:hover { background: var(--plate-green-light); }
.sn-right { display: flex; align-items: center; gap: 0.75rem; }

/* Progress bar */
.pb {
  background: var(--progress-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  height: 42px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.pbi { display: flex; align-items: stretch; max-width: 1000px; width: 100%; }
.pi {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}
.pi.d { color: var(--text-muted); border-bottom-color: rgba(28,92,56,0.15); }
.pi.a { border-bottom-color: var(--c); background: rgba(255, 255, 255, 0.03); }
[data-theme="light"] .pi.a { background: rgba(28, 92, 56, 0.04); }
.pi.u { color: var(--text-muted); opacity: 0.6; }
.pi:hover { background: rgba(255, 255, 255, 0.04); }
[data-theme="light"] .pi:hover { background: rgba(28, 92, 56, 0.04); }
.pd { width: 6px; height: 6px; border-radius: 50%; background: rgba(28,92,56,0.2); flex-shrink: 0; }
.pi.a .pd { background: var(--c); box-shadow: 0 0 8px var(--c); }
.ar { color: var(--text-muted); font-size: 0.5rem; display: flex; align-items: center; padding: 0 2px; opacity: 0.4; }

/* Breadcrumbs */
.bc {
  background: var(--nav-bg);
  padding: 0.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
}
.bc ol { list-style: none; display: flex; gap: 0.5rem; font-size: 0.75rem; max-width: 1400px; margin: 0 auto; padding: 0; }
.bcp { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.65rem; }
.bcs { color: var(--text-muted); }
.bc a { color: var(--text-secondary); text-decoration: none; }
.bc a:hover { color: var(--text-heading); }

/* Footer */
.ft {
  background: var(--footer-bg);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.ft a { color: var(--text-secondary); text-decoration: none; margin: 0 1rem; font-size: 0.9rem; }
.ft a:hover { color: var(--plate-green-light); }
.ft .cp { margin-top: 1rem; color: var(--text-muted); font-size: 0.8rem; }

/* Sections */
.sec { max-width: 1100px; margin: 0 auto; padding: 2rem; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .cards { grid-template-columns: 1fr; }
}

/* Tiers */
.tiers { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.tier {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  padding: 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  color: var(--text-heading);
  transition: transform 0.2s;
}
.tier:hover { transform: translateY(-4px); }

/* Hero */
.hero {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--hero-bg);
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--t);
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--plate-green-light);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.check-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.check-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--plate-green); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--plate-green), var(--plate-green-light));
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--plate-green-light), var(--plate-green)); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--t);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* IT service rate badge */
.rate-badge {
  display: inline-block;
  background: rgba(28, 92, 56, 0.15);
  border: 1px solid var(--plate-green);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--plate-green-light);
  font-weight: 600;
}

/* Stats bar */
.stats-bar { background: var(--stats-bg); border-bottom: 1px solid var(--border-light); }
.stats-bar-inner { display: flex; flex-wrap: wrap; justify-content: center; max-width: 800px; margin: 0 auto; }
.stat-item { flex: 1; min-width: 140px; padding: 1.25rem; text-align: center; border-right: 1px solid var(--border-light); }
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text-heading); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Service card grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s, border-color 0.3s;
  box-shadow: var(--shadow-sm);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--plate-green-light); }
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-heading); }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.service-card .price { font-size: 1.1rem; font-weight: 700; color: var(--plate-green-light); }

/* Portal access links */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.portal-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--t);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.portal-link:hover { border-color: var(--accent); transform: translateX(4px); }
.portal-link i { font-size: 1.2rem; color: var(--accent); }
.portal-link.locked { opacity: 0.5; cursor: not-allowed; }
.portal-link.locked i { color: var(--text-muted); }

/* Progress tracker */
.progress-item {
  margin-bottom: 1.5rem;
}
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.progress-title { font-weight: 600; font-size: 0.9rem; color: var(--text-heading); }
.progress-pct { font-size: 0.8rem; color: var(--text-muted); }
.progress-bar {
  height: 8px;
  background: var(--input-bg);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--plate-green), var(--plate-green-light));
  border-radius: 4px;
  transition: width 0.5s;
}
.progress-stage {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.stage-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--text-muted);
}
.stage-dot.done { background: var(--plate-green); border-color: var(--plate-green); color: #fff; }
.stage-dot.active { border-color: var(--plate-green-light); color: var(--plate-green-light); }

/* Images */
.hero-img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 16px;
  margin: 0 auto 1.5rem;
  display: block;
}
.section-img {
  width: 100%;
  border-radius: 12px;
  margin: 1rem 0;
}
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.img-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.img-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.img-card .caption { padding: 0.75rem; font-size: 0.8rem; color: var(--text-muted); }

/* Mobile */
@media (max-width: 640px) {
  .pi span { display: none; }
  .pi.a span { display: inline; font-size: 0.65rem; }
  .ar { display: none; }
  .pbi { justify-content: space-around; }
  .tiers { flex-direction: column; align-items: center; }
  .tier { max-width: 100%; width: 100%; }
  .pb { height: 48px; }
  .pd { width: 8px; height: 8px; }
  .sn { padding: 0.75rem 1rem; }
  .sn .lo { font-size: 1.2rem; }
  .sec { padding: 1rem; }
}

/* Flow Path (Your Path section) — moved from inline <style> on each service page */
.flow-path { display:flex; align-items:stretch; justify-content:center; gap:0; flex-wrap:wrap; margin:2rem 0; }
.flow-step { flex:1; min-width:180px; max-width:260px; background:var(--card); border:1px solid var(--border); border-radius:12px; padding:1.5rem 1rem; text-align:center; display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.flow-step.current { border:2px solid #2A7A4E; background:rgba(42,122,78,.06); }
.flow-step .flow-icon { font-size:1.8rem; color:#2A7A4E; }
.flow-step .flow-label { font-size:.75rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; }
.flow-step .flow-title { font-size:.95rem; font-weight:700; color:var(--text-heading); }
.flow-step .flow-note { font-size:.8rem; color:var(--text-secondary); }
.flow-step .flow-here { font-size:.7rem; color:#3DA668; font-weight:600; }
.flow-step a.flow-link { color:#2A7A4E; text-decoration:none; font-weight:600; }
.flow-step a.flow-link:hover { color:#1C5C38; }
.flow-arrow { display:flex; align-items:center; color:#2A7A4E; font-size:1.5rem; padding:0 .5rem; }
.flow-cta { text-align:center; margin-top:1.5rem; }
.flow-cta a { display:inline-block; background:#2A7A4E; color:#fff; padding:.75rem 2rem; border-radius:8px; font-weight:700; text-decoration:none; font-size:1rem; }
.flow-cta a:hover { background:#1C5C38; }
@media (max-width:768px) { .flow-path { flex-direction:column; align-items:center; } .flow-arrow { transform:rotate(90deg); padding:.5rem 0; } }

/* Tripwire deliverables list */
.deliverables-list { list-style:none; padding:0; max-width:680px; margin:0 auto; }
.deliverables-list li { padding:.75rem 0; border-bottom:1px solid var(--border-light); display:flex; align-items:flex-start; gap:.75rem; font-size:.95rem; color:var(--text-secondary); }
.deliverables-list li:last-child { border-bottom:none; }
.deliverables-list li i { color:#3DA668; margin-top:.2rem; flex-shrink:0; }

/* Tripwire pricing card */
.tripwire-price-card { background:linear-gradient(135deg,rgba(28,92,56,.08),rgba(28,92,56,.03)); border:2px solid #1C5C38; border-radius:16px; padding:2.5rem; text-align:center; max-width:560px; margin:2rem auto; }
.tripwire-price-card .price { font-size:3rem; font-weight:800; color:#2A7A4E; }
.tripwire-price-card .price-note { font-size:1rem; color:var(--text-muted); margin-top:.25rem; }

/* Install package card */
.install-card { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:2rem; max-width:680px; margin:0 auto; }
.install-card h3 { color:#2A7A4E; font-size:1.2rem; margin-bottom:1rem; }
.install-card .install-price { font-size:2rem; font-weight:800; color:#2A7A4E; margin-bottom:1rem; }
