/* =========================================================
   Cassie Caye Gibson LLC — Computer Systems Design and Integration
   Meadow-green light theme · Terminal window motif
   ========================================================= */

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

:root {
  --meadow: #2F7D4F;
  --meadow-soft: #7FBF9A;
  --bg: #F4F8F2;
  --surface: #FFFFFF;
  --panel: #EAF2E8;
  --head: #1B241D;
  --text: #26332A;
  --muted: #5F6B62;
  --hairline: #D8E4D4;
  --pale-green: #C9D9CC;
  --footer-line: #2E4034;
  --footer-muted: #8FA396;
  --terminal-bg: #1B241D;
  --terminal-line: #DDE8DF;
  --white: #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #26332A;
  background-color: #F4F8F2;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 88px 0;
}

.eyebrow {
  display: inline-block;
  background-color: #2F7D4F;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

h1, h2, h3, h4 {
  color: #1B241D;
  line-height: 1.15;
  font-weight: 700;
}

h2.section-title {
  font-size: 36px;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-intro {
  color: #5F6B62;
  max-width: 760px;
  font-size: 17px;
}

/* =========================================================
   CENTER WORDMARK NAV
   ========================================================= */

.center-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #F4F8F2;
  border-bottom: 1px solid #D8E4D4;
}

.center-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 76px;
  position: relative;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}

.nav-group.left {
  justify-content: flex-start;
}

.nav-group.right {
  justify-content: flex-end;
}

.center-nav a.nav-link {
  color: #26332A;
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.center-nav a.nav-link:hover {
  color: #2F7D4F;
  border-color: #2F7D4F;
}

.nav-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #1B241D;
  white-space: nowrap;
}

.nav-brand .prompt-mark {
  font-family: "Courier New", monospace;
  color: #2F7D4F;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-brand .prompt-mark .caret {
  display: inline-block;
  animation: caretBlink 1.1s step-end infinite;
}

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cta-pill {
  display: inline-block;
  background-color: #2F7D4F;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-pill:hover {
  background-color: #256840;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #1B241D;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    order: 0;
  }

  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 20px;
  }

  .nav-group.left,
  .nav-group.right {
    flex-basis: 100%;
    justify-content: center;
    gap: 20px;
    padding: 10px 0 4px;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .nav-group.left.open,
  .nav-group.right.open {
    display: flex;
  }

  .nav-group.left { order: 3; }
  .nav-group.right { order: 4; }

  .nav-brand {
    position: static;
    transform: none;
    order: 1;
    flex: 1;
    justify-content: center;
  }

  .cta-pill {
    order: 2;
    margin-left: auto;
  }

  .center-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cta-pill.wide {
    display: inline-block;
  }
}

/* =========================================================
   TERMINAL HERO
   ========================================================= */

.terminal-hero {
  background-color: #F4F8F2;
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero-ring-left,
.hero-ring-right {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 2px solid #D8E4D4;
  border-radius: 50%;
  pointer-events: none;
}

.hero-ring-left {
  top: -110px;
  left: -90px;
}

.hero-ring-left::after {
  content: "";
  position: absolute;
  inset: 48px;
  border: 2px solid #D8E4D4;
  border-radius: 50%;
}

.hero-ring-right {
  bottom: -120px;
  right: -80px;
}

.hero-ring-right::after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 2px solid #D8E4D4;
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-copy h1 {
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-copy h1 .accent {
  color: #2F7D4F;
}

.hero-sub {
  font-size: 19px;
  color: #26332A;
  max-width: 720px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #2F7D4F;
  color: #FFFFFF;
  border-color: #2F7D4F;
}

.btn-primary:hover {
  background-color: #256840;
  border-color: #256840;
}

.btn-outline {
  background-color: transparent;
  color: #26332A;
  border-color: #26332A;
}

.btn-outline:hover {
  background-color: #26332A;
  color: #FFFFFF;
}

/* Terminal window graphic */
.terminal-window {
  max-width: 980px;
  background-color: #1B241D;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(27, 36, 29, 0.25);
  margin-top: 10px;
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #23311F;
  border-bottom: 1px solid #2E4034;
}

.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.term-dot.slate {
  background-color: #5F6B62;
}

.term-dot.meadow {
  background-color: #2F7D4F;
}

.term-title {
  margin-left: 12px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #8FA396;
  letter-spacing: 1px;
}

.terminal-body {
  padding: 28px 30px 30px;
  font-family: "Courier New", "Consolas", monospace;
  font-size: 15px;
  line-height: 1.9;
  color: #DDE8DF;
  overflow-x: auto;
}

.term-line {
  display: block;
  white-space: pre;
}

.term-prompt {
  color: #2F7D4F;
  font-weight: 700;
}

.term-cmd {
  color: #FFFFFF;
}

.term-key {
  color: #7FBF9A;
  font-weight: 700;
}

.term-dim {
  color: #8FA396;
}

/* =========================================================
   SPEC TABLE
   ========================================================= */

.spec-table {
  background-color: #FFFFFF;
  border-top: 1px solid #D8E4D4;
  border-bottom: 1px solid #D8E4D4;
}

.spec-table .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}

.spec-table .table-wrap {
  overflow-x: auto;
}

.spec-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid #D8E4D4;
  align-items: baseline;
}

.spec-row:first-of-type {
  border-top: 1px solid #D8E4D4;
}

.spec-row .spec-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1B241D;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.spec-row .spec-name::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #2F7D4F;
  flex-shrink: 0;
}

.spec-row .spec-desc {
  color: #26332A;
  font-size: 16px;
}

@media (max-width: 700px) {
  .spec-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* =========================================================
   ENGAGEMENT RAIL
   ========================================================= */

.engagement-rail {
  background-color: #EAF2E8;
}

.rail-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 44px;
  position: relative;
}

.rail-track::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 60px;
  right: 60px;
  border-top: 2px dashed #2F7D4F;
}

.rail-step {
  position: relative;
  padding: 0 20px;
}

.rail-step .step-chip {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #2F7D4F;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  border: 4px solid #EAF2E8;
  box-shadow: 0 0 0 2px #2F7D4F;
}

.rail-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.rail-step p {
  color: #26332A;
  font-size: 15px;
}

@media (max-width: 900px) {
  .rail-track {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rail-track::before {
    display: none;
  }

  .rail-step {
    padding: 0;
  }
}

/* =========================================================
   STATEMENT BAND
   ========================================================= */

.statement-band {
  background-color: #2F7D4F;
  padding: 84px 0;
  position: relative;
}

.statement-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #FFFFFF;
}

.statement-band p {
  color: #FFFFFF;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 600;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 700px) {
  .statement-band p {
    font-size: 21px;
  }
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */

.faq-list {
  background-color: #FFFFFF;
  border-top: 1px solid #D8E4D4;
  border-bottom: 1px solid #D8E4D4;
}

.faq-item {
  border-bottom: 1px solid #D8E4D4;
}

.faq-item:first-of-type {
  border-top: 1px solid #D8E4D4;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  color: #1B241D;
}

.faq-q .faq-icon {
  color: #2F7D4F;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a .answer-inner {
  padding: 0 0 24px;
  color: #26332A;
  max-width: 820px;
}

/* =========================================================
   CTA BAND
   ========================================================= */

.cta-band {
  background-color: #1B241D;
  padding: 84px 0;
  text-align: center;
}

.cta-band h2 {
  color: #FFFFFF;
  font-size: 38px;
  margin-bottom: 16px;
}

.cta-band p {
  color: #C9D9CC;
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 17px;
}

.cta-band .btn-primary {
  border-color: #2F7D4F;
}

.cta-band .btn-primary:hover {
  background-color: #7FBF9A;
  color: #1B241D;
}

/* =========================================================
   BUS FOOTER
   ========================================================= */

.bus-footer {
  background-color: #1B241D;
  border-top: 1px solid #2E4034;
  padding: 64px 0 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid #2E4034;
  padding-bottom: 48px;
}

.footer-col {
  padding: 0 28px;
  border-right: 1px solid #2E4034;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #C9D9CC;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: #2F7D4F;
  text-underline-offset: 4px;
}

.footer-col p {
  color: #C9D9CC;
  font-size: 15px;
}

.footer-legal {
  padding: 26px 0 30px;
  color: #8FA396;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  justify-content: space-between;
}

.footer-legal a {
  color: #8FA396;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }

  .footer-col {
    padding: 0;
    border-right: none;
  }
}

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 64px 0;
  }
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */

.page-hero {
  background-color: #F4F8F2;
  padding: 80px 0 64px;
}

.page-hero h1 {
  font-size: 44px;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.page-hero p.lead {
  font-size: 18px;
  color: #26332A;
  max-width: 780px;
}

.service-card {
  background-color: #FFFFFF;
  border: 1px solid #D8E4D4;
  border-top: 4px solid #2F7D4F;
  border-radius: 6px;
  padding: 34px 34px 30px;
  margin-bottom: 30px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 14px 40px rgba(27, 36, 29, 0.12);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card h3 .check-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #2F7D4F;
  color: #FFFFFF;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card p {
  color: #26332A;
  margin-bottom: 12px;
}

.service-card ul.svc-list {
  margin-top: 14px;
}

.service-card ul.svc-list li {
  color: #26332A;
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}

.service-card ul.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: #2F7D4F;
}

.process-strip {
  background-color: #EAF2E8;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-step .p-num {
  font-family: "Courier New", monospace;
  color: #2F7D4F;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.process-step h3 {
  font-size: 17px;
  margin: 8px 0;
}

.process-step p {
  color: #26332A;
  font-size: 14px;
}

@media (max-width: 900px) {
  .process-list {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background-color: #FFFFFF;
  border: 1px solid #D8E4D4;
  border-radius: 8px;
  padding: 36px;
}

.contact-card h2 {
  font-size: 26px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #26332A;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #D8E4D4;
  border-radius: 4px;
  background-color: #F4F8F2;
  font-family: inherit;
  font-size: 16px;
  color: #26332A;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2F7D4F;
  box-shadow: 0 0 0 3px rgba(47, 125, 79, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 15px;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #EAF2E8;
  color: #1B241D;
  border: 1px solid #2F7D4F;
}

.form-status.error {
  display: block;
  background-color: #FBEAEA;
  color: #7A1F1F;
  border: 1px solid #B3544F;
}

.side-block {
  background-color: #FFFFFF;
  border: 1px solid #D8E4D4;
  border-radius: 8px;
  padding: 30px 32px;
  margin-bottom: 24px;
}

.side-block h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  color: #1B241D;
}

.side-block p,
.side-block li {
  color: #26332A;
  font-size: 15px;
}

.side-block li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.side-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background-color: #2F7D4F;
}

.side-block a {
  color: #2F7D4F;
  font-weight: 600;
}

.side-block a:hover {
  text-decoration: underline;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #D8E4D4;
  padding: 9px 0;
  font-size: 15px;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  color: #1B241D;
  font-weight: 600;
}

.hours-row .time {
  color: #26332A;
}

.faq-item.small .faq-q {
  font-size: 16px;
  padding: 16px 0;
}

.faq-item.small .answer-inner {
  font-size: 15px;
}

/* =========================================================
   FADE-UP SCROLL REVEAL (safe without JS)
   ========================================================= */

.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-up {
  opacity: 0;
  transform: translateY(22px);
}

.js .fade-up.visible {
  opacity: 1;
  transform: none;
}

.check-badge {
  font-weight: 700;
}

/* small helper for legal-footer-free pages */
.text-center {
  text-align: center;
}
