@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

:root {
  --primary-bg: #ffffff;
  --secondary-bg: #232323;
  --accent: #e6b418;
  --accent-dark: #d4a017;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #777777;
  --border: #e0e0e0;
  --gold-line: 3px solid var(--accent);
  --header-height: 126px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--primary-bg);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  min-height: var(--header-height);
  background: var(--secondary-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 0 4%;
  z-index: 1000;
  border-bottom: 3px solid var(--accent);
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  height: 104px;
  min-height: 104px;
  background: rgba(35, 35, 35, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(230, 180, 24, 0.45);
  border-radius: 4px;
  text-decoration: none;
}

.brand-logo {
  height: 107px;
  max-width: 125px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .brand-logo {
  height: 88px;
}

.nav {
  display: flex;
  gap: 22px;
  flex: 1 1 auto;
  justify-content: center;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

.header-cta {
  background: var(--accent);
  color: var(--secondary-bg);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 0;
  font-size: 0.85rem;
  transition: background 0.3s ease;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-dark);
}

/* Sections */
section {
  padding: 100px 10%;
  scroll-margin-top: 104px;
}

.section-kicker {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  margin-bottom: 10px;
  text-align: center;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 20px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: calc(var(--header-height) + 8px) 6% 28px;
}

.hero .eyebrow {
  font-size: 1.2rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.55rem;
  line-height: 1.1;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-copy {
  font-size: 0.98rem !important;
  margin-bottom: 14px !important;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.btn {
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--accent);
  color: var(--secondary-bg);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.secondary {
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn.secondary:hover {
  background: var(--text-light);
  color: var(--secondary-bg);
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-grid article {
  padding: 40px;
  background: #f9f9f9;
  border-top: 5px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-grid article:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.service-grid h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Band / Method Section */
.band {
  background: linear-gradient(rgba(35, 35, 35, 0.85), rgba(35, 35, 35, 0.85)), url('assets/agri-export.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-light);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  list-style: none;
  margin-top: 100px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  z-index: 0;
}

.timeline li {
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  padding: 40px 20px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline li:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--accent);
  color: var(--secondary-bg);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 900;
  margin: -72px auto 25px;
  box-shadow: 0 0 30px rgba(230, 180, 24, 0.5);
  border: 5px solid #2a2a2a;
  transition: transform 0.4s ease;
}

.timeline li:hover span {
  transform: scale(1.1);
}

.timeline h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 30px;
  }
  .timeline::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* Benefits */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.benefits div {
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: #f4f4f4;
}

/* Contact Section */
.cta {
  background: var(--secondary-bg);
  color: var(--text-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-form {
  background: var(--primary-bg);
  padding: 40px;
  color: var(--text-dark);
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
}

.contact-form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #888;
  padding: 40px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .site-header {
    height: 116px;
    gap: 14px;
    padding: 0 4%;
  }
  .site-header.is-scrolled {
    height: 104px;
  }
  .brand {
    flex: 0 0 auto;
    min-width: 0;
  }
  .brand-logo {
    height: 94px;
    max-width: 109px;
  }
  .site-header.is-scrolled .brand-logo {
    height: 81px;
  }
  .header-cta {
    padding: 9px 14px;
    font-size: 0.72rem;
  }
  .hero h1 { font-size: 2.05rem; }
  .split, .cta { grid-template-columns: 1fr; }
  .cta { gap: 40px; }
}

@media (max-width: 520px) {
  .site-header {
    height: 110px;
  }
  .brand-logo {
    height: 83px;
    max-width: 96px;
  }
  .header-cta {
    max-width: 44vw;
    padding: 8px 10px;
    font-size: 0.68rem;
    line-height: 1.2;
    text-align: center;
  }
  .hero {
    min-height: 100vh;
    height: auto;
    padding: 98px 6% 34px;
  }
  .hero h1 {
    font-size: 1.68rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    padding: 13px 22px;
  }
}
