/* ============ PHYTRIXX — Shared Stylesheet ============ */
:root {
  --green: #1A4731;
  --green-light: #235C40;
  --gold: #C9902A;
  --gold-light: #E0AB52;
  --bg-light: #F2F8F4;
  --gray: #5B6660;
  --gray-light: #8A938E;
  --border: #DCE7E0;
  --text: #16201A;
  --white: #FFFFFF;
  --radius: 10px;
  --max-width: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo svg { width: 26px; height: 26px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a { color: var(--text); opacity: 0.78; transition: opacity .15s, color .15s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--green); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.nav-cta:hover { background: var(--green-light); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--green); }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 18px 32px 24px;
    gap: 16px;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-size: 15px; font-weight: 500; }
  .mobile-menu .nav-cta { display: inline-block; width: fit-content; }
}

/* ===== Eyebrow / Section labels ===== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow.on-dark { color: var(--gold-light); }

/* ===== Hero ===== */
.hero {
  padding: 88px 0 72px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--green);
  max-width: 880px;
  margin: 0 auto 22px;
  letter-spacing: -0.01em;
}
.hero .lede {
  font-size: 18px;
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto 14px;
  line-height: 1.65;
}
.hero .sub {
  font-size: 15.5px;
  color: var(--gray-light);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tags-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--gray-light);
}
.tags-row span {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .15s;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-light); }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--bg-light); }

/* ===== Page header (non-home pages) ===== */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--green);
  max-width: 760px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.page-header .lede {
  font-size: 16.5px;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.6;
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section.bg-light { background: var(--bg-light); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-head p { color: var(--gray); font-size: 15.5px; line-height: 1.6; }
.section-head.center { margin: 0 auto 48px; text-align: center; }

/* ===== Grids & Cards ===== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--green);
}
.card.gold::before { background: var(--gold); }
.card .num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.card h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 9px; }
.card p { font-size: 14px; color: var(--gray); line-height: 1.6; }
.card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.card ul li { font-size: 13.5px; color: var(--gray); display: flex; gap: 8px; }
.card ul li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ===== Difference / dark band ===== */
.band-dark {
  background: var(--green);
  color: var(--white);
  padding: 72px 0;
}
.band-dark .section-head h2, .band-dark h2 { color: var(--white); }
.band-dark .section-head p, .band-dark p { color: rgba(255,255,255,0.78); }

/* ===== Checklist / deliverables ===== */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) { .check-grid { grid-template-columns: 1fr; } }
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
}
.check-item svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }

/* ===== Stats row ===== */
.stats-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-box {
  background: var(--green);
  border-radius: var(--radius);
  padding: 26px 30px;
  text-align: center;
  color: var(--white);
  flex: 1;
  min-width: 160px;
}
.stat-box .num { font-size: 30px; font-weight: 800; color: var(--gold-light); display: block; margin-bottom: 4px; }
.stat-box .label { font-size: 12.5px; color: rgba(255,255,255,0.8); line-height: 1.4; }

/* ===== Workflow timeline ===== */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1.5px solid var(--gold);
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.timeline-content h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.timeline-content p { font-size: 14px; color: var(--gray); }

/* ===== Founder / About ===== */
.founder-block { display: flex; gap: 30px; align-items: flex-start; }
.founder-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 700px) { .founder-block { flex-direction: column; } }
.founder-name { font-size: 24px; font-weight: 800; color: var(--text); }
.founder-title { font-size: 13px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin: 4px 0 18px; }
.founder-bio p { margin-bottom: 14px; color: var(--gray); font-size: 15px; line-height: 1.7; }
.founder-contact { display: flex; gap: 22px; margin: 18px 0 8px; font-size: 14px; flex-wrap: wrap; }
.founder-contact a { color: var(--green); font-weight: 600; }
.tools-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tool-pill {
  font-size: 12px; font-weight: 600;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--green);
  padding: 6px 13px;
  border-radius: 20px;
}
.founder-note { margin-top: 22px; font-size: 13.5px; color: var(--gray-light); font-style: italic; }

/* ===== Case Study ===== */
.case-featured {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  background: var(--bg-light);
}
.case-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.case-tag {
  font-size: 11.5px; font-weight: 600;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green);
  padding: 5px 12px;
  border-radius: 20px;
}
.case-coming-soon {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 26px;
  opacity: 0.85;
}
.badge-soon {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 11px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CTA band ===== */
.cta-band {
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--green); margin-bottom: 12px; }
.cta-band p { color: var(--gray); margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Contact page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-row { display: flex; flex-direction: column; gap: 22px; }
.contact-field-label { font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-field-value { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-field-value a { color: var(--green); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 14.5px;
  font-family: var(--font);
  background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid var(--gold-light);
  outline-offset: 1px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-note { font-size: 12.5px; color: var(--gray-light); margin-top: 14px; }

/* ===== Footer ===== */
footer {
  background: var(--green);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-weight: 800; color: var(--white); font-size: 18px; margin-bottom: 12px; }
.footer-desc { font-size: 13.5px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-light); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; opacity: 0.85; transition: opacity .15s; }
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}

/* Note: scroll-reveal animation intentionally omitted — content must always
   be visible regardless of JS execution timing, ad blockers, or reduced-motion
   settings. .reveal class kept as a no-op hook for future use. */
.reveal { opacity: 1; }
