/* ============================================================
   AlexAutomate — Light Design System
   Fonts: Outfit (headlines) · Plus Jakarta Sans (body) · JetBrains Mono (mono)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:       #F9F7F4;
  --white:    #FFFFFF;
  --text:     #111810;
  --muted:    #6B7280;
  --green:    #1A5C35;
  --green-h:  #134D2B;
  --green-l:  #EBF5EE;
  --border:   #E4E7E2;
  --radius:   12px;
  --shadow:   0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--text);
}
h1 { font-size: clamp(40px, 5vw, 68px); }
h2 { font-size: clamp(28px, 3.2vw, 44px); }
h3 { font-size: 18px; font-weight: 700; }
p  { color: var(--muted); line-height: 1.7; }

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.text-gradient { color: var(--green); }

.section-head { margin-bottom: 44px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p  { font-size: 17px; }

/* ── Grids ──────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .approach-grid { grid-template-columns: 1fr; }
}

/* ── Sections ───────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section.soft,
.section-blue-soft { background: var(--green-l); }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card h3 { margin-bottom: 12px; }
.card p   { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }

/* ── Lists ──────────────────────────────────────────────────── */
.list-clean { padding: 0; }
.list-clean li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.list-clean li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.list-clean li:last-child { border-bottom: none; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn, .btn-primary, .btn-secondary {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-align: center;
}
.btn-primary, .btn.btn-primary {
  background: var(--green);
  color: #fff;
  border: 1.5px solid var(--green);
}
.btn-primary:hover, .btn.btn-primary:hover {
  background: var(--green-h);
  border-color: var(--green-h);
}
.btn-secondary, .btn.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover, .btn.btn-secondary:hover {
  border-color: var(--text);
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Icon Badge ─────────────────────────────────────────────── */
.icon-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  background: var(--green-l);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.brand img { height: 28px; width: auto; }
.brand-text { }
.brand-text em { color: var(--green); font-style: normal; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav > a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}
.site-nav > a:hover,
.site-nav > a.active { color: var(--text); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  background: none;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color .15s;
  line-height: 23.1px;
}
.nav-dropdown-toggle::after {
  content: '';
  width: 8px;
  height: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active,
.nav-dropdown.active .nav-dropdown-toggle { color: var(--text); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  min-width: 380px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  display: none;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
  transition: background .1s, color .1s;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: var(--green-l); color: var(--green); }

.header-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-cta:hover { background: var(--green-h) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  padding: 80px 0 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .lead { max-width: 850px; }

/* ── Homepage Hero ──────────────────────────────────────────── */
.home-hero {
  padding: 80px 0 0;
}
.home-hero .hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-hero .hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--green);
}
.home-hero h1 {
  font-size: clamp(46px, 5.5vw, 76px);
  max-width: 820px;
  margin-bottom: 24px;
}
.home-hero h1 .accent { color: var(--green); }
.home-hero .hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Proof strip */
.proof-strip {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  display: flex;
  align-items: stretch;
}
.proof-item {
  flex: 1;
  padding: 0 40px 0 0;
  border-right: 1px solid var(--border);
}
.proof-item:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.proof-item:not(:first-child):not(:last-child) { padding: 0 40px; }
.proof-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--green);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.proof-label { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 160px; }

/* ── Problem Section ────────────────────────────────────────── */
.section-problem {
  background: var(--text);
  padding: 80px 0;
}
.section-problem .kicker {
  color: rgba(255,255,255,.4);
}
.section-problem .kicker::before { background: rgba(255,255,255,.4); }
.section-problem h2 {
  color: #fff;
  max-width: 680px;
  margin-bottom: 48px;
}
.section-problem h2 em { font-style: normal; color: #A3C9B0; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
}
.pain-item { background: var(--text); padding: 28px; }
.pain-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.pain-item strong { display: block; color: #fff; font-size: 15px; margin-bottom: 8px; }
.pain-item p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; }

/* ── Who cards ──────────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.who-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s;
}
.who-card:hover { transform: translateY(-2px); }
.who-card h3 { margin-bottom: 10px; }
.who-card p  { font-size: 14px; line-height: 1.6; }

/* ── Services grid ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--green);
  background: var(--green-l);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: 14px; line-height: 1.6; }

/* ── Sectors grid ───────────────────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform .15s;
}
.sector-card:hover { transform: translateY(-2px); }
.sector-card h3 { margin-bottom: 8px; }
.sector-card p  { font-size: 14px; line-height: 1.55; max-width: 340px; }
.sector-arrow   { color: var(--green); font-size: 20px; margin-left: 20px; flex-shrink: 0; }

/* ── Process ────────────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: var(--border);
}
.process-step { padding: 0 20px; }
.step-num, .step-no {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--green);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p  { font-size: 14px; line-height: 1.6; }

/* Services page process (2-col) */
.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.process-card .step-no {
  margin-bottom: 16px;
  background: var(--green-l);
  border-color: var(--green-l);
}
.process-card h3 { margin-bottom: 10px; }

/* ── Impact Grid ────────────────────────────────────────────── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.impact-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.impact-item strong {
  display: block;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  background: var(--text);
  border-radius: 16px;
  padding: 56px 60px;
}
.cta-band h2 { color: #fff; max-width: 600px; margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,.55); max-width: 480px; margin-bottom: 32px; }
.cta-band .btn-primary  { background: var(--green); color: #fff; border-color: var(--green); }
.cta-band .btn-secondary, .cta-band .btn.btn-secondary {
  color: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.25);
}
.cta-band .btn-secondary:hover { border-color: rgba(255,255,255,.6); }

/* ── Logo Wall ──────────────────────────────────────────────── */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.logo-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}
.form-card { }
.form-card form { display: flex; flex-direction: column; gap: 0; }
.form-card label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  margin-top: 16px;
  display: block;
}
.form-card label:first-child { margin-top: 0; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: border-color .15s;
  outline: none;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus { border-color: var(--green); }
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card button { margin-top: 20px; }
.note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  transition: color .15s;
}
.contact-email-link:hover { color: var(--green-h); }
.contact-email-link::before {
  content: '✉';
  font-size: 14px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 52px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}
.footer-brand img { height: 24px; width: auto; }
.footer-brand em { color: var(--green); font-style: normal; }
.footer-copy { font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 300px; }
.footer-nav { display: flex; gap: 48px; }
.footer-nav-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-nav-group a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color .12s;
}
.footer-nav-group a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  max-width: 1160px;
  margin: 0 auto;
}

/* ── Sector page specific ───────────────────────────────────── */
.about-profile-grid { align-items: start; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .grid-2, .grid-3, .who-grid, .services-grid, .sectors-grid,
  .contact-grid, .pain-grid { grid-template-columns: 1fr; }
  .proof-strip { flex-wrap: wrap; gap: 24px; }
  .proof-item { border-right: none; padding: 0 !important; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-grid::before { display: none; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { gap: 24px; }
}
@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 32px 24px;
    gap: 16px;
    align-items: flex-start;
    z-index: 199;
    border-top: 1px solid var(--border);
  }
  .site-nav.open > a,
  .site-nav.open .nav-dropdown-toggle { font-size: 18px; }
  .site-nav.open .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: auto;
    display: block;
  }
  .nav-toggle { display: block; }
  .page-hero { padding: 48px 0 40px; }
  .section { padding: 56px 0; }
  .home-hero h1 { font-size: 38px; }
  h2 { font-size: 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .cta-band { border-radius: 10px; }
}
