/* =========================================================
   HARVEST ENTERPRISE LIMITED — main stylesheet
   Palette: deep black-olive + warm clay + soft moss (moss & clay)
   ========================================================= */

:root {
  --bg: #0F1410;
  --bg-soft: #161C16;
  --surface: #1C231C;
  --surface-2: #242C23;
  --line: #2A3128;
  --line-soft: #232A22;
  --ink: #F3F0E6;
  --muted: #A7AFA0;
  --muted-2: #7A8374;
  --brand: #E08A5A;
  --brand-deep: #C9763F;
  --brand-tint: #2B201A;
  --moss: #9DB48B;
  --moss-tint: #1B241A;
  --on-brand: #1B130B;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1200px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.home-page {
  background-color: var(--bg);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

::selection {
  background-color: var(--brand);
  color: var(--on-brand);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  background-color: var(--brand-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- Navigation (class selector, fixed) ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 28px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-nav.scrolled {
  box-shadow: 0 12px 30px -12px #000000;
  background-color: var(--bg-soft);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-right: auto;
}

.logo-dot {
  color: var(--brand);
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 11px 22px;
  border-radius: 999px;
  background-color: var(--brand);
  color: var(--on-brand);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--brand-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Full screen menu ---------- */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background-color: var(--bg-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 32px 48px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.site-menu.open {
  transform: translateY(0);
}

.site-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-menu-links a {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.2s ease;
}

.site-menu-links a:hover {
  color: var(--brand);
}

.site-menu-foot {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-menu-foot a {
  color: var(--muted);
  font-size: 16px;
}

.site-menu-foot a:hover {
  color: var(--ink);
}

/* ---------- Section shared ---------- */
.section-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
}

/* ---------- Hero ---------- */
.hero-section {
  padding: 168px 0 96px;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 82% 18%, #242B22 0%, #0F1410 55%),
    radial-gradient(circle at 20% 90%, #1B241A 0%, #0F1410 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.systems-panel {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px #000000;
}

.systems-panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.sys-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.sys-dot-a { background-color: #E0605A; }
.sys-dot-b { background-color: #D9B84A; }
.sys-dot-c { background-color: #5A9E6E; }

.systems-panel-title {
  margin-left: 8px;
  font-family: monospace;
  font-size: 13px;
  color: var(--muted-2);
}

.systems-code {
  padding: 24px 22px;
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
  overflow-x: auto;
}

.c-k { color: var(--moss); }
.c-s { color: var(--brand); }
.c-n { color: #D9B84A; }
.c-ok { color: #6FBF8A; }

.systems-panel-foot {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
}

.sys-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--moss-tint);
  color: var(--moss);
}

.sys-badge-alt {
  background-color: var(--brand-tint);
  color: var(--brand);
}

.hero-float-card {
  position: absolute;
  left: -28px;
  bottom: -26px;
  display: flex;
  gap: 12px;
  align-items: center;
  background-color: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: 0 20px 40px -20px #000000;
}

.hero-float-icon {
  font-size: 22px;
  color: var(--brand);
}

.hero-float-card strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.hero-float-card span {
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------- About ---------- */
.about-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.about-body .lead-para {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 18px;
}

.about-body p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-list li {
  padding-left: 20px;
  border-left: 2px solid var(--brand);
  color: var(--muted);
}

.about-list strong {
  color: var(--ink);
}

/* ---------- Services ---------- */
.services-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.services-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background-color: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-item {
  background-color: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background-color 0.25s ease;
}

.service-item:hover {
  background-color: var(--surface-2);
}

.service-index {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.service-name {
  font-size: 22px;
  color: var(--ink);
}

.service-desc {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

.service-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  background-color: var(--moss-tint);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Process timeline ---------- */
.process-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}

.process-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34px;
  width: 2px;
  background-color: var(--line);
}

.timeline-item {
  position: relative;
  padding-left: 96px;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  z-index: 1;
}

.timeline-card {
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.timeline-title {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}

.timeline-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Why / differentiators ---------- */
.why-section {
  padding: 110px 0;
  background-color: var(--bg);
}

.why-statement {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.why-title {
  font-size: clamp(30px, 4.5vw, 46px);
  margin-bottom: 16px;
}

.why-sub {
  color: var(--muted);
  font-size: 17px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
}

.why-numeral {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.why-card-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
}

.testi-head {
  margin-bottom: 40px;
}

.testi-slider {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testi-slide {
  min-width: 100%;
  padding: 8px 6px;
}

.testi-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 22px;
}

.testi-author {
  color: var(--muted-2);
  font-size: 14px;
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.testi-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.testi-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--line);
  border: none;
  padding: 0;
  transition: background-color 0.2s ease;
}

.testi-dot.active {
  background-color: var(--brand);
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 110px 0;
  background-color: var(--bg);
}

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

.contact-details {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
}

.contact-link-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.contact-link span:last-child {
  font-size: 16px;
  color: var(--ink);
}

a.contact-link:hover {
  border-color: var(--brand);
}

.contact-form {
  background-color: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field textarea {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-note {
  font-size: 14px;
  color: var(--moss);
  min-height: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background-color: #0A0E0A;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.footer-newsletter,
.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 24px;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.newsletter-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.newsletter-sub {
  color: var(--muted);
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-input {
  background-color: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font-body);
  min-width: 260px;
}

.newsletter-input::placeholder {
  color: var(--muted-2);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--brand);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.footer-tagline {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  max-width: 300px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  flex-wrap: wrap;
}

.footer-bottom-inner span {
  color: var(--muted-2);
  font-size: 13px;
}

.footer-credit {
  color: var(--muted-2);
}

.footer-watermark {
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 24vw, 300px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #121812;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  visibility: hidden;
}

/* ---------- Scroll reveal ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-float-card {
    left: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

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

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

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-section {
    padding: 132px 0 72px;
  }

  .hero-stats {
    gap: 24px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-input {
    min-width: 100%;
  }

  .timeline-item {
    padding-left: 72px;
  }

  .timeline-marker {
    width: 52px;
    height: 52px;
    font-size: 14px;
  }

  .timeline::before {
    left: 26px;
  }
}
