/* ==========================================================================
   ACCESSALLY — Global Stylesheet
   Dark near-black deep green theme (#0B100C) with ally-green accent (#3E8E5A)
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #EAF0EB;
  background-color: #0B100C;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: #3E8E5A;
  text-decoration: none;
}

a:hover {
  color: #5CB87F;
}

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

/* --------------------------------------------------------------------------
   Two-row top navigation (.two-row-nav)
   -------------------------------------------------------------------------- */
.two-row-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #0B100C;
  border-bottom: 1px solid #1D2E21;
}

.two-row-nav.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.nav-row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.brand-overline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #A6B5A9;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #3E8E5A;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  display: inline-block;
  background-color: #3E8E5A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  background-color: #4BA66D;
  color: #FFFFFF;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #1D2E21;
  color: #EAF0EB;
  cursor: pointer;
  padding: 9px 10px;
  border-radius: 6px;
  line-height: 1;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #EAF0EB;
  margin: 3px 0;
}

.nav-row-2 {
  border-top: 1px solid #1D2E21;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 12px;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li + li {
  border-left: 1px solid #1D2E21;
}

.nav-links a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #A6B5A9;
  position: relative;
}

.nav-links a:hover {
  color: #EAF0EB;
}

.nav-links a.active {
  color: #EAF0EB;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background-color: #3E8E5A;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: #3E8E5A;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #4BA66D;
  color: #FFFFFF;
}

.btn-secondary {
  border: 1px solid #3E8E5A;
  color: #3E8E5A;
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: #3E8E5A;
  color: #FFFFFF;
}

.btn-dark {
  background-color: #070A08;
  color: #FFFFFF;
}

.btn-dark:hover {
  background-color: #142018;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Centered stack hero with key graphic (.center-stack-hero)
   -------------------------------------------------------------------------- */
.center-stack-hero {
  padding: 96px 24px 88px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.eyebrow-chip {
  display: inline-block;
  background-color: #3E8E5A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
  color: #EAF0EB;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 19px;
  color: #A6B5A9;
  max-width: 720px;
  margin: 0 auto 16px;
}

.hero-note {
  font-size: 15px;
  color: #A6B5A9;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 66px;
}

.key-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-head {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #3E8E5A;
  flex-shrink: 0;
}

.key-shaft {
  width: 110px;
  height: 12px;
  border-radius: 6px;
  background-color: #EAF0EB;
  margin-left: 4px;
}

.key-teeth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  margin-left: 4px;
}

.key-tooth {
  width: 10px;
  height: 18px;
  border-radius: 2px;
  background-color: #3E8E5A;
}

/* --------------------------------------------------------------------------
   Shared section scaffolding
   -------------------------------------------------------------------------- */
.section {
  padding: 84px 24px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3E8E5A;
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  color: #EAF0EB;
  margin-bottom: 16px;
}

.section-lede {
  font-size: 17px;
  color: #A6B5A9;
}

/* --------------------------------------------------------------------------
   Duo panels (.duo-panels)
   -------------------------------------------------------------------------- */
.duo-panels {
  background-color: #142018;
  border-top: 1px solid #1D2E21;
}

.duo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #1D2E21;
}

.duo-row:last-child {
  border-bottom: 1px solid #1D2E21;
}

.duo-cell {
  padding: 46px 32px;
}

.duo-cell + .duo-cell {
  border-left: 1px solid #1D2E21;
}

.duo-title {
  font-size: 22px;
  font-weight: 800;
  color: #EAF0EB;
  margin-bottom: 14px;
}

.duo-num {
  color: #3E8E5A;
  margin-right: 10px;
}

.duo-text {
  color: #A6B5A9;
}

/* --------------------------------------------------------------------------
   Metric band (.metric-band)
   -------------------------------------------------------------------------- */
.metric-band {
  background-color: #3E8E5A;
  padding: 64px 24px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.metric-cell {
  text-align: center;
  padding: 12px 20px;
}

.metric-cell + .metric-cell {
  border-left: 1px solid #0B100C;
}

.metric-num {
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
}

.metric-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Statement band (.statement-band)
   -------------------------------------------------------------------------- */
.statement-band {
  background-color: #0B100C;
  border-top: 1px solid #1D2E21;
}

.statement-inner {
  max-width: 900px;
  margin: 0 auto;
}

.statement-line {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #EAF0EB;
  margin-bottom: 18px;
}

.statement-text {
  font-size: 17px;
  color: #A6B5A9;
  max-width: 720px;
}

/* --------------------------------------------------------------------------
   CTA band (.cta-band)
   -------------------------------------------------------------------------- */
.cta-band {
  background-color: #3E8E5A;
  padding: 84px 24px;
  text-align: center;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.cta-text {
  font-size: 17px;
  color: #FFFFFF;
  max-width: 640px;
  margin: 0 auto 30px;
}

.cta-band .btn-dark {
  background-color: #070A08;
  color: #FFFFFF;
}

.cta-band .btn-dark:hover {
  background-color: #142018;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Bus footer (.bus-footer)
   -------------------------------------------------------------------------- */
.bus-footer {
  background-color: #0B100C;
  border-top: 1px solid #1D2E21;
}

.bus-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.bus-col {
  padding: 44px 30px;
}

.bus-col + .bus-col {
  border-left: 1px solid #1D2E21;
}

.bus-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EAF0EB;
  margin-bottom: 18px;
}

.led-dot {
  width: 8px;
  height: 8px;
  background-color: #3E8E5A;
  flex-shrink: 0;
}

.footer-brand {
  font-size: 22px;
  font-weight: 800;
  color: #3E8E5A;
  margin-bottom: 10px;
}

.footer-blurb {
  color: #A6B5A9;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-copy {
  color: #A6B5A9;
  font-size: 13px;
}

.bus-col ul {
  list-style: none;
}

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

.bus-col ul a {
  color: #A6B5A9;
  font-size: 15px;
}

.bus-col ul a:hover {
  color: #EAF0EB;
}

.bus-contact p {
  color: #A6B5A9;
  font-size: 15px;
  margin-bottom: 10px;
}

.footer-legal {
  background-color: #070A08;
  border-top: 1px solid #1D2E21;
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: #A6B5A9;
}

.footer-legal a {
  color: #A6B5A9;
}

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

/* --------------------------------------------------------------------------
   Secondary page scaffolding (services + contact)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: 84px 24px 60px;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero .eyebrow-chip {
  margin-bottom: 20px;
}

.page-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #EAF0EB;
  margin-bottom: 18px;
}

.page-lede {
  font-size: 18px;
  color: #A6B5A9;
}

.service-section {
  padding: 56px 24px;
  border-top: 1px solid #1D2E21;
}

.service-section:nth-child(even) {
  background-color: #142018;
}

.service-inner {
  max-width: 860px;
  margin: 0 auto;
}

.service-num {
  display: inline-block;
  background-color: #3E8E5A;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-bottom: 14px;
}

.service-title {
  font-size: 26px;
  font-weight: 800;
  color: #EAF0EB;
  margin-bottom: 12px;
}

.service-text {
  color: #A6B5A9;
}

.service-list {
  margin: 14px 0 0 22px;
  color: #A6B5A9;
}

.service-list li {
  margin-bottom: 8px;
}

.process-section {
  padding: 84px 24px;
  background-color: #0B100C;
  border-top: 1px solid #1D2E21;
}

.process-inner {
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid #1D2E21;
}

.process-step:last-child {
  border-bottom: 1px solid #1D2E21;
}

.process-num {
  font-size: 40px;
  font-weight: 800;
  color: #3E8E5A;
  line-height: 1;
}

.process-title {
  font-size: 20px;
  font-weight: 700;
  color: #EAF0EB;
  margin-bottom: 8px;
}

.process-text {
  color: #A6B5A9;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-hero {
  padding: 84px 24px 56px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.contact-info-block,
.contact-form-block {
  background-color: #142018;
  border: 1px solid #1D2E21;
  border-radius: 10px;
  padding: 36px;
}

.contact-info-block h3,
.contact-form-block h3 {
  font-size: 18px;
  font-weight: 800;
  color: #EAF0EB;
  margin-bottom: 10px;
}

.contact-info-block p {
  color: #A6B5A9;
  margin-bottom: 16px;
}

.contact-info-block .contact-strong {
  color: #EAF0EB;
  font-weight: 700;
}

.contact-form .form-field {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #EAF0EB;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #0B100C;
  border: 1px solid #1D2E21;
  color: #EAF0EB;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3E8E5A;
  outline: none;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  color: #3E8E5A;
}

.hours-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #142018;
  border: 1px solid #1D2E21;
  border-radius: 10px;
  overflow: hidden;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid #1D2E21;
  color: #A6B5A9;
  font-size: 15px;
}

.hours-table th {
  color: #EAF0EB;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: #0B100C;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

.faq-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 90px;
}

.faq-item {
  border-top: 1px solid #1D2E21;
}

.faq-item:last-child {
  border-bottom: 1px solid #1D2E21;
}

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

.faq-icon {
  color: #3E8E5A;
  font-size: 24px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 0 22px;
  color: #A6B5A9;
}

.faq-item.open .faq-answer {
  display: block;
}

/* --------------------------------------------------------------------------
   Scroll reveal (transform + visibility only, no opacity on text)
   -------------------------------------------------------------------------- */
.fade-up {
  transform: translateY(26px);
  visibility: hidden;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s;
}

.fade-up.visible {
  transform: translateY(0);
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-row-2 {
    display: none;
    border-top: 1px solid #1D2E21;
  }

  .two-row-nav.menu-open .nav-row-2 {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .nav-links li + li {
    border-left: none;
    border-top: 1px solid #1D2E21;
  }

  .nav-links a {
    padding: 14px 24px;
  }

  .nav-links a.active::after {
    left: 0;
    right: auto;
    width: 4px;
    top: 0;
    bottom: 0;
  }

  .hero-headline {
    font-size: 38px;
  }

  .center-stack-hero {
    padding: 64px 24px 60px;
  }

  .section {
    padding: 60px 24px;
  }

  .duo-row {
    grid-template-columns: 1fr;
  }

  .duo-cell + .duo-cell {
    border-left: none;
    border-top: 1px solid #1D2E21;
  }

  .duo-cell {
    padding: 34px 24px;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .metric-cell:nth-child(odd) {
    border-left: none;
  }

  .metric-cell:nth-child(even) {
    border-left: 1px solid #0B100C;
  }

  .metric-cell:nth-child(n + 3) {
    border-top: 1px solid #0B100C;
  }

  .metric-cell {
    padding: 20px 12px;
  }

  .bus-grid {
    grid-template-columns: 1fr;
  }

  .bus-col + .bus-col {
    border-left: none;
    border-top: 1px solid #1D2E21;
  }

  .bus-col {
    padding: 34px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 34px;
  }

  .process-step {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .process-num {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 30px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .brand-overline {
    font-size: 10px;
  }

  .brand-name {
    font-size: 20px;
  }
}
