/* ============ Krushi Bhoomi Farm ============ */

/* Self-hosted fonts (previously loaded from Google's CDN) - variable-weight
   files, so one file per family covers every weight the site uses. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/quicksand-latin.woff2') format('woff2');
}

:root {
  --bg: #f4f3ef;
  --bg-alt: #edece7;
  --dark: #1d1d1b;
  --dark-soft: #2a2a27;
  --text: #1d1d1b;
  --muted: #6a6a63;
  --line: #e2e1da;
  --accent: #ff5a30;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-head: 'Quicksand', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; }

/* ============ Buttons ============ */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-dark:disabled { cursor: wait; opacity: .65; transform: none; }
.btn-arrow { font-size: 13px; }

.btn-outline {
  border: 1px solid var(--dark);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

.btn-link { font-size: 14px; font-weight: 500; margin-right: 14px; }

.round-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--dark);
  background: transparent;
  color: var(--dark);
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.round-btn:hover { background: var(--dark); color: #fff; }
.round-btn--dark { background: var(--dark); color: #fff; }
.round-btn--dark:hover { background: var(--accent); border-color: var(--accent); }

/* ============ Header ============ */
.site-header {
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: rgba(244, 243, 239, .92);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.logo { display: flex; align-items: center; }
/* Header shows the complete logo lockup (circle + tractor + tree + wordmark) */
.logo-full { height: 60px; width: auto; display: block; }
.site-header .logo-full { height: 60px; }
/* Footer uses a larger version of the same full logo */
.footer-brand .logo-full { height: 112px; margin-bottom: 4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--dark);
  border-radius: 999px;
  padding: 6px;
}
.nav-link {
  color: #cfcfc9;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { background: #fff; color: var(--dark); }
.nav-dot { font-size: 12px; margin-right: 4px; }

.header-actions { display: flex; align-items: center; }

.mobile-contact-link {
  display: none;
}
.mobile-contact-link svg {
  display: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.mobile-contact-link::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M6.62%2010.79c1.44%202.83%203.76%205.15%206.59%206.59l2.2-2.2c.31-.31.76-.42%201.17-.28%201.29.43%202.67.66%204.08.66.63%200%201.14.51%201.14%201.14v3.5c0%20.63-.51%201.14-1.14%201.14C10.5%2021.34%202.66%2013.5%202.66%203.34c0-.63.51-1.14%201.14-1.14h3.5c.63%200%201.14.51%201.14%201.14%200%201.41.23%202.79.66%204.08.13.41.03.86-.28%201.17l-2.2%202.2z%27/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M6.62%2010.79c1.44%202.83%203.76%205.15%206.59%206.59l2.2-2.2c.31-.31.76-.42%201.17-.28%201.29.43%202.67.66%204.08.66.63%200%201.14.51%201.14%201.14v3.5c0%20.63-.51%201.14-1.14%201.14C10.5%2021.34%202.66%2013.5%202.66%203.34c0-.63.51-1.14%201.14-1.14h3.5c.63%200%201.14.51%201.14%201.14%200%201.41.23%202.79.66%204.08.13.41.03.86-.28%201.17l-2.2%202.2z%27/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; }

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: .5;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 30px;
  color: var(--dark);
  opacity: .8;
  animation: twinkle 3s ease-in-out infinite;
}
.sparkle-left { top: 90px; left: 8%; }
.sparkle-right { top: 60px; right: 10%; animation-delay: 1.4s; }

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: .8; }
  50% { transform: scale(1.25) rotate(15deg); opacity: .4; }
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 90px 0 70px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 26px;
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 34px;
}

/* Hero banner video */
.hero-banner {
  position: relative;
  height: clamp(320px, 46vw, 560px);
  overflow: hidden;
  background: #111;
}
.hero-banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px 5%;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 45%);
}
.hero-banner-overlay h2 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 500;
}
.banner-cta {
  color: #fff;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 3px;
  transition: opacity .2s;
}
.banner-cta:hover { opacity: .75; }

/* ============ Stats ============ */
.stats { padding: 56px 0; border-bottom: 1px solid var(--line); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
.stat p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ============ Statement ============ */
.statement { padding: 100px 0; }

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
}

.year { font-size: 14px; color: var(--muted); display: block; margin-bottom: 110px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  appearance: none;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
  cursor: pointer;
}
.tag:hover { border-color: #c9c7bf; }
.tag-active { background: var(--dark); color: #fff; border-color: var(--dark); }

.statement-right h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 40px;
}
.statement-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
}

/* ============ Carousel ============ */
.carousel-section { padding-bottom: 100px; }

.carousel-wrap { position: relative; }

.carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 10px;
}
.carousel-track::-webkit-scrollbar { display: none; }

.c-card {
  flex: 0 0 262px;
  scroll-snap-align: start;
}
.c-card img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  height: 340px;
  transition: transform .3s ease;
}
.c-card:hover img { transform: scale(1.02); }

.c-card--feature img { height: 250px; }
.c-feature-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.c-feature-head h3 { font-size: 24px; line-height: 1.2; }

.c-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 13px;
}
.c-card-meta span { color: var(--muted); }
.c-card-meta p { font-weight: 500; }

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

/* ============ Collaborate banner ============ */
.collab { padding-bottom: 100px; }

.collab-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.collab-banner img {
  width: 100%;
  height: clamp(340px, 44vw, 520px);
  object-fit: cover;
}
.collab-overlay {
  position: absolute;
  inset: 0;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(120deg, rgba(0,0,0,.35), transparent 60%);
}
.collab-overlay h2 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.25;
}
.collab-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.location-tag {
  color: #fff;
  font-size: 13px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 8px 16px;
}
.count-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Solutions ============ */
.solutions { padding-bottom: 100px; }

.solutions-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
.solutions-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.2;
}
.solutions-head p { color: var(--muted); font-size: 14px; }

/* ============ Mission & Vision ============ */
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 20px;
}
.mv-block {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.mv-block h3 {
  font-family: var(--font-head);
  font-size: 19px;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.mv-block p { color: #cfcfc9; font-size: 14.5px; line-height: 1.7; }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.sol-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: transform .3s ease;
}
.sol-card:hover img { transform: translateY(-6px); }
.sol-card h3 { font-size: 19px; margin-bottom: 10px; }
.sol-card p { color: var(--muted); font-size: 13.5px; }
.sol-card--raised { margin-top: -28px; }

/* ============ Game changer ============ */
.game-changer { padding-bottom: 110px; }

.game-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 50px;
  align-items: center;
}
.game-img img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.game-grid h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.35;
}

/* ============ CTA ============ */
.cta { padding-bottom: 100px; }

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-banner img {
  width: 100%;
  height: clamp(340px, 40vw, 460px);
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,.35);
  padding: 20px;
}
.cta-overlay h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  margin-bottom: 30px;
}
.cta-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-form input {
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  width: 280px;
  outline: none;
  font-family: var(--font-body);
}
.cta-msg { color: #fff; margin-top: 16px; font-size: 14px; min-height: 20px; }
.form-honeypot { display: none !important; }
.form-status-error { color: #b42318 !important; }

/* ============ Cookie consent banner ============ */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.cookie-banner p { font-size: 13.5px; color: #cfcfc9; line-height: 1.6; margin: 0; flex: 1 1 280px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn-outline { background: #000; border-color: #000; color: #fff; padding: 9px 18px; font-size: 13.5px; }
.cookie-banner .btn-outline:hover { background: #111; border-color: #111; color: #fff; }
.cookie-banner .btn-dark { background: #fff; color: var(--dark); padding: 9px 18px; font-size: 13.5px; }
.cookie-banner .btn-dark:hover { background: #e8e8e2; }

@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions button {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
}

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

.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 18px 0 22px;
  max-width: 280px;
}

.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  transition: transform .2s, opacity .2s;
}
.socials a:hover { transform: translateY(-2px); opacity: .88; }

/* Official brand colors */
.socials a.social-fb {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}
.socials a.social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
  color: #fff;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: underline; transition: color .2s; }
.footer-bottom a:hover { color: var(--text); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .site-header {
    padding: 6px 0;
  }
  .header-inner {
    gap: 10px;
    min-height: 48px;
    flex-wrap: nowrap;
  }
  .site-header .logo {
    flex: 0 1 130px;
    min-width: 0;
    overflow: hidden;
  }
  .site-header .logo picture {
    display: block;
    width: auto;
    max-width: 130px !important;
  }
  .site-header .logo img {
    display: block;
    width: auto !important;
    max-width: 130px !important;
    max-height: 48px !important;
    height: auto !important;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-radius: 22px;
    display: none;
    padding: 14px;
    background: rgba(29, 29, 27, .97);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 22px 45px rgba(0,0,0,.18);
  }
  .main-nav.open { display: flex; }
  .nav-link {
    text-align: left;
    padding: 13px 16px;
    font-size: 14px;
  }
  .nav-link.active {
    background: #fff;
    color: var(--dark);
  }
  .mobile-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    color: var(--dark);
    background: transparent;
    font-size: 0 !important;
    line-height: 1;
    flex-shrink: 0;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--dark);
    background: var(--dark);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(29,29,27,.12);
  }
  .nav-toggle:hover {
    background: #000;
  }

  /* Hide the standalone header CTA on mobile */
  .site-header .header-actions,
  .site-header .header-actions .btn-outline,
  .site-header .header-inner > .header-actions,
  .site-header .header-inner > .header-actions .btn-outline {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  /* Smaller logo on mobile, in both header and footer */
  .site-header .logo-full {
    width: auto !important;
    max-width: 130px !important;
    max-height: 48px !important;
    height: auto !important;
  }
  .footer-brand .logo-full { height: 64px; }

  .statement-grid, .solutions-head, .game-grid { grid-template-columns: 1fr; gap: 30px; }
  .year { margin-bottom: 24px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-card--raised { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat:nth-child(3) { border-left: none; }
}

@media (max-width: 560px) {
  .container {
    width: min(100%, calc(100% - 28px));
  }
  .site-header {
    padding: 4px 0;
  }
  .header-inner {
    min-height: 42px;
  }
  .site-header .logo {
    flex: 0 1 92px;
  }
  .site-header .logo picture {
    max-width: 92px !important;
  }
  .site-header .logo img,
  .site-header .logo-full {
    width: auto !important;
    max-width: 92px !important;
    max-height: 38px !important;
    height: auto !important;
  }
  .main-nav {
    top: calc(100% + 8px);
    padding: 12px;
    border-radius: 18px;
  }
  .nav-link {
    padding: 12px 14px;
  }
  .mobile-contact-link,
  .nav-toggle {
    width: 40px;
    height: 36px;
  }
  .mobile-contact-link {
    border-width: 0;
  }
  .mobile-contact-link::before,
  .mobile-contact-link svg {
    width: 18px;
    height: 18px;
  }
  .nav-toggle {
    font-size: 0;
    position: relative;
  }
  .nav-toggle::before {
    content: "☰";
    font-size: 16px;
    line-height: 1;
  }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none; }
  .collab-overlay { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ Page Hero (interior pages) ============ */
.page-hero {
  position: relative;
  padding: 70px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 90px 90px;
}
.page-hero-inner { position: relative; }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 18px 0 16px;
}
.page-hero p {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}
.page-hero--compact { padding: 56px 0 44px; }
.page-hero--compact h1 { font-size: clamp(28px, 4vw, 40px); }

.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 40px;
}

/* ============ Legal content ============ */
.legal-section { padding: 20px 0 100px; }
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-size: 20px;
  margin: 34px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.legal-content a { color: var(--accent); text-decoration: underline; }

/* ============ About: Timeline ============ */
.about-timeline-section { padding: 0 0 100px; }
.timeline-shell {
  position: relative;
  padding-bottom: 18px;
}
.timeline-shell::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: calc(100% - 18px);
  background: linear-gradient(to left, rgba(244, 243, 239, .96), rgba(244, 243, 239, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.timeline-shell.is-scrollable:not(.is-interacted)::after {
  opacity: 1;
}
.timeline-shell.is-scrollable:not(.is-interacted) .timeline {
  animation: timeline-nudge 1.4s ease-in-out 2;
}
.timeline {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border-left: 2px solid var(--dark);
  padding-left: 18px;
}
.timeline-year {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 10px;
}
.timeline-item p { color: var(--muted); font-size: 13.5px; }
.timeline-scroll-indicator {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.timeline-shell.is-active .timeline-scroll-indicator {
  opacity: 1;
  transform: translateY(0);
}
.timeline-scroll-track {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(29, 29, 27, .08);
  overflow: hidden;
}
.timeline-scroll-thumb {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: rgba(29, 29, 27, .24);
  transform: translateX(0);
  transition: transform .12s linear, width .2s ease;
}

@keyframes timeline-nudge {
  0%, 100% { transform: translateX(0); }
  45% { transform: translateX(-18px); }
  70% { transform: translateX(-8px); }
}

/* ============ About: Team ============ */
.team-section { padding: 0 0 100px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.team-grid--two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
  margin: 0 auto;
}
.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: transform .3s ease;
}
.team-card:hover img { transform: translateY(-6px); }
.team-card h3 { font-size: 17px; margin-bottom: 4px; }
.team-card p { color: var(--muted); font-size: 13px; }

/* ============ Farmland ============ */
.farmland-filter { padding: 10px 0 30px; }
.farmland-filter .tag-row { justify-content: center; }
.farmland-filter .tag {
  font-family: var(--font-body);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.farmland-filter .tag:hover { border-color: var(--dark); }
.farmland-filter .tag.tag-active:hover { border-color: transparent; }

.farmland-section { padding-bottom: 100px; }
.farmland-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.farmland-grid.farmland-grid--two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}
.farmland-grid.farmland-grid--single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto;
}
.farmland-card.is-hidden { display: none; }
.statement-desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin-bottom: 30px;
}
.farmland-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.farmland-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,.06); }
.farmland-card img { width: 100%; height: 200px; object-fit: cover; }
.farmland-body { padding: 20px; }
.farmland-body .tag { margin-bottom: 12px; display: inline-block; }
.farmland-body h3 { font-size: 18px; margin-bottom: 8px; }
.farmland-loc { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.farmland-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.farmland-price { font-weight: 600; font-size: 14px; }

/* ============ Pricing table ============ */
.pricing-section { padding: 0 0 100px; }
.pricing-lead { color: var(--muted); font-size: 14px; margin: -20px 0 30px; }
.pricing-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row--head {
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 14px 28px;
}
.pricing-row span:nth-child(2) { font-weight: 600; }
.pricing-row .btn-link { text-align: right; justify-self: end; }

@media (max-width: 560px) {
  .pricing-row { grid-template-columns: 1fr 1fr; padding: 16px 18px; }
  .pricing-row .btn-link { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
}

/* ============ Contact page ============ */
.contact-section { padding: 20px 0 90px; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: 26px; margin-bottom: 12px; }
.contact-lead { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.contact-item h4 { font-size: 14px; margin-bottom: 4px; }
.contact-item p { color: var(--muted); font-size: 14px; }
.contact-item a { color: var(--text); text-decoration: underline; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.form-field input,
.form-field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--bg);
  outline: none;
  resize: vertical;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--dark); }
.contact-form .btn-dark { align-self: flex-start; margin-top: 4px; }
.cta-msg-light { color: var(--muted); font-size: 13.5px; min-height: 18px; }

/* ============ Map ============ */
.map-section { padding-bottom: 100px; }
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.map-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
.map-view-link { display: inline-block; margin-top: 10px; }

@media (max-width: 960px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .farmland-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .map-grid { grid-template-columns: 1fr; }
  .mission-vision-grid { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1.2fr 1fr 0.8fr; }
}

@media (max-width: 560px) {
  .timeline-item { flex-basis: 200px; }
  .team-grid { grid-template-columns: 1fr; }
  .farmland-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* ============ Gallery ============ */
.gallery-section { padding: 10px 0 100px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ============ Lightbox ============ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 9, .92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(88vw, 1100px);
  max-height: 84vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.12); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  letter-spacing: .5px;
}

@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 12px; }
}

/* ============ Testimonials ============ */
.testimonials-section { padding: 0 0 100px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,.06); }
.testimonial-quote {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
}
.testimonial-quote::before {
  content: "“";
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-person h4 { font-size: 14px; margin-bottom: 2px; }
.testimonial-person span { color: var(--muted); font-size: 12.5px; }

/* ============ Founder message ============ */
.founder-message {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  margin-bottom: 50px;
}
.founder-message p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.founder-message p:last-child { margin-bottom: 0; }
.founder-sign { color: var(--text) !important; font-weight: 600; }

.team-avatar {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
}

/* ============ Yield cycle cards ============ */
.yield-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.yield-card { border-left: 2px solid var(--dark); padding-left: 18px; }
.yield-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.yield-card p { color: var(--muted); font-size: 13.5px; }

@media (max-width: 960px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .yield-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .farmland-section .farmland-grid { grid-template-columns: 1fr !important; }
}
