/* ============================================================
   THE FARM HUB — Design System
   One Hub · Many Farms · Better Future
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Canvas */
  --color-canvas: #FBF9F4;
  --color-surface: #F3EDE2;
  --color-surface-alt: #EDE7DA;

  /* Primary */
  --color-primary: #143525;
  --color-primary-light: #264936;
  --color-primary-hover: #1a4430;

  /* Accent */
  --color-gold: #CBA135;
  --color-gold-light: #E5C878;
  --color-gold-hover: #b8912e;

  /* Pop */
  --color-ruby: #C7205C;

  /* Text */
  --color-text: #1B1E1B;
  --color-text-secondary: #5F675F;
  --color-text-light: #8A8F8A;
  --color-text-on-dark: #F3EDE2;
  --color-text-on-dark-muted: #A8B0A0;

  /* Borders & Shadows */
  --color-border: #DDD7CB;
  --color-border-light: #EAE5DB;
  --shadow-sm: 0 1px 3px rgba(20, 53, 37, 0.06);
  --shadow-md: 0 4px 16px rgba(20, 53, 37, 0.08);
  --shadow-lg: 0 8px 32px rgba(20, 53, 37, 0.10);
  --shadow-card-hover: 0 12px 40px rgba(20, 53, 37, 0.12);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1180px;
  --container-padding: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.5s ease;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-canvas);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.625rem); }
h4 { font-size: 1.125rem; }

p {
  max-width: 65ch;
  color: var(--color-text-secondary);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
}

.section--surface {
  background-color: var(--color-surface);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-text-on-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-on-dark);
}

.section--dark p {
  color: var(--color-text-on-dark-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p,
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .eyebrow {
  margin-bottom: 12px;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-canvas);
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
}

.btn-gold:hover {
  background-color: var(--color-gold-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-canvas);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--color-canvas);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background-color: rgba(20, 53, 37, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 0;
  border-bottom: 1px solid rgba(203, 161, 53, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.header-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  transition: width var(--transition-base), height var(--transition-base);
}

.header.scrolled .header-logo img {
  width: 40px;
  height: 40px;
}

.header-logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background var(--transition-fast);
}

.header-whatsapp:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header-whatsapp svg {
  width: 20px;
  height: 20px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 53, 37, 0.82) 0%,
    rgba(20, 53, 37, 0.55) 50%,
    rgba(20, 53, 37, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 80px;
}

.hero-content .eyebrow {
  margin-bottom: 20px;
  color: var(--color-gold-light);
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Inner page hero (shorter) */
.hero-inner {
  min-height: 50vh;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-inner .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(20, 53, 37, 0.88) 0%,
    rgba(20, 53, 37, 0.65) 100%
  );
}

.hero-inner .hero-content {
  padding-top: 0;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-inner .hero-content p {
  margin: 0 auto 24px;
}

/* --- Farm Cards Grid (Home) --- */
.farm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.farm-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.farm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.farm-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.farm-card:hover img {
  transform: scale(1.05);
}

.farm-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 53, 37, 0.75) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.farm-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.farm-card-subtitle {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Ecosystem Section --- */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ecosystem-text h2 {
  margin-bottom: 20px;
}

.ecosystem-text p {
  margin-bottom: 28px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}

.bento-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.bento-item:hover {
  background: var(--color-canvas);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.bento-item.bento-center {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.bento-item.bento-center:hover {
  background: var(--color-primary-hover);
}

.bento-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.bento-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.bento-center .bento-label {
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  background: var(--color-canvas);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-gold-light);
  font-size: 1.25rem;
}

.value-card h4 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.value-card p {
  font-size: 0.875rem;
  margin: 0 auto;
  max-width: 240px;
}

/* --- Updates (Blog) Grid --- */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.update-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-canvas);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.update-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.update-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.update-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.update-card:hover .update-card-img img {
  transform: scale(1.04);
}

.update-card-body {
  padding: 24px;
}

.update-date {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.update-card-body h4 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 1.35;
}

.update-card-body p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  color: var(--color-text-on-dark);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--color-text-on-dark-muted);
  margin: 0 auto 32px;
  max-width: 480px;
}

/* --- Split Section (Farms Page) --- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content .eyebrow {
  margin-bottom: 12px;
  display: block;
}

.split-content h2 {
  margin-bottom: 16px;
}

.split-content p {
  margin-bottom: 20px;
}

.split-content ul {
  margin-bottom: 28px;
}

.split-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.split-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* --- Service Section (Farms Page) --- */
.service-section {
  border-radius: var(--radius-lg);
  padding: 64px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
}

.service-section + .service-section {
  margin-top: 48px;
}

.service-header {
  margin-bottom: 40px;
}

.service-header .eyebrow {
  margin-bottom: 12px;
  display: block;
}

.service-header h2 {
  margin-bottom: 12px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.service-feature {
  padding: 28px;
  background: var(--color-canvas);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.service-feature h4 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.service-feature p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.service-metric {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* --- Timeline (About Page) --- */
.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  text-align: center;
  flex: 1;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-canvas);
  box-shadow: 0 0 0 2px var(--color-primary);
  margin: 40px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
}

.timeline-item.active .timeline-dot {
  background: var(--color-gold);
  box-shadow: 0 0 0 2px var(--color-gold);
  color: var(--color-primary);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  max-width: 160px;
  margin: 0 auto;
  line-height: 1.5;
}

/* --- About Values --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-value {
  padding: 36px 28px;
  border-left: 3px solid var(--color-gold);
}

.about-value h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about-value p {
  font-size: 0.9375rem;
}

/* --- Story Section (About) --- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text h2 {
  margin-bottom: 20px;
}

.story-text p {
  margin-bottom: 16px;
}

.story-text p:last-of-type {
  margin-bottom: 0;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  background: var(--color-canvas);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-gold-light);
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.contact-card a.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.contact-card a.contact-link:hover {
  color: var(--color-gold);
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-text h2 {
  margin-bottom: 16px;
}

.contact-info-text p {
  margin-bottom: 20px;
}

.contact-big-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border-light);
  background: var(--color-canvas);
  transition: all var(--transition-base);
  text-decoration: none;
}

.contact-big-btn:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.contact-big-btn .btn-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-big-btn .btn-icon svg {
  width: 26px;
  height: 26px;
}

.contact-big-btn .btn-icon.whatsapp {
  background: #25D366;
  color: #fff;
}

.contact-big-btn .btn-icon.phone {
  background: var(--color-primary);
  color: var(--color-gold-light);
}

.contact-big-btn .btn-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-big-btn .btn-text span {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.map-section {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  height: 400px;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  position: relative;
}

.map-section iframe {
  flex: 1;
  width: 100%;
  border: 0;
}

.map-link {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--color-primary);
  color: var(--color-gold-light);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.map-link:hover {
  background: var(--color-primary-hover);
}

.map-section p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin: auto;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: var(--color-text-on-dark);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 16px;
  object-fit: cover;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--color-text-on-dark);
  margin-bottom: 4px;
}

.footer-brand .footer-tagline {
  font-size: 0.8125rem;
  color: var(--color-gold-light);
  font-style: italic;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-on-dark-muted);
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-light);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 0.9375rem;
  color: var(--color-text-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  color: var(--color-text-on-dark-muted);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--color-gold-light);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--color-text-on-dark-muted);
}

.footer-social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  background: rgba(203, 161, 53, 0.1);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--color-text-on-dark-muted);
}

.footer-credit {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
}

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

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */

/* Tablet landscape */
@media (max-width: 1024px) {
  :root {
    --section-padding: 72px;
  }

  .farm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .service-features {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }

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

  .service-section {
    padding: 40px;
  }
}

/* Tablet portrait & large phones */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
    --container-padding: 20px;
  }

  /* Mobile nav */
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px;
    gap: 28px;
    transition: right var(--transition-base);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .header-nav.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
    min-height: 85dvh;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-inner {
    min-height: 45vh;
    min-height: 45dvh;
    padding-top: 100px;
    padding-bottom: 48px;
  }

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

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  /* Farm grid */
  .farm-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .farm-card {
    aspect-ratio: 3 / 4;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 28px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .value-icon {
    margin: 0;
    flex-shrink: 0;
  }

  .value-card p {
    max-width: none;
  }

  /* Updates */
  .updates-grid {
    grid-template-columns: 1fr;
  }

  /* Bento */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item.bento-center {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* Services */
  .service-features {
    grid-template-columns: 1fr;
  }

  .service-section {
    padding: 28px;
  }

  .service-metric {
    gap: 24px;
    justify-content: center;
  }

  /* Timeline */
  .timeline {
    flex-direction: column;
    gap: 32px;
    padding-left: 40px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-item {
    text-align: left;
    padding-left: 24px;
  }

  .timeline-dot {
    position: absolute;
    left: -36px;
    top: 0;
    margin: 0;
  }

  .timeline-year {
    font-size: 1.125rem;
  }

  /* About */
  .about-values {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 40px;
  }

  .section-header p,
  .section-header .section-subtitle {
    max-width: 100%;
  }

  /* Splits */
  .split-image {
    aspect-ratio: 16 / 10;
  }

  /* CTA */
  .cta-banner {
    padding: 56px 0;
  }

  .cta-banner p {
    max-width: 100%;
  }

  /* Contact */
  .contact-big-btn {
    padding: 20px 24px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root {
    --section-padding: 44px;
    --container-padding: 16px;
  }

  .farm-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .farm-card {
    aspect-ratio: 16 / 10;
  }

  .hero {
    min-height: 80vh;
    min-height: 80dvh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-inner .hero-content h1 {
    font-size: 1.75rem;
  }

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

  .bento-item.bento-center {
    grid-column: auto;
  }

  .service-metric {
    flex-direction: column;
    align-items: center;
  }

  .ecosystem-text {
    text-align: center;
  }

  .ecosystem-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .ecosystem-text .btn {
    margin: 0 auto;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .value-card {
    flex-direction: column;
    text-align: center;
  }
}
