:root {
  --bg: #F5F3EA;
  --bg-strong: #e8eee5;
  --surface: rgba(245, 243, 234, 0.94);
  --surface-soft: #F5F3EA;
  --primary: #002D06;
  --primary-dark: #002D06;
  --primary-soft: #e6ece5;
  --accent: #00400C;
  --accent-soft: #e8eee4;
  --earth: #6B3A1B;
  --earth-warm: #704018;
  --earth-soft: #f0e7dc;
  --text: #002D06;
  --muted: #536456;
  --border: rgba(0, 45, 6, 0.12);
  --shadow: 0 30px 70px rgba(0, 45, 6, 0.12);
  --radius: 28px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(107, 58, 27, 0.1), transparent 20%),
    radial-gradient(circle at bottom right, rgba(0, 64, 12, 0.08), transparent 18%),
    linear-gradient(180deg, #F5F3EA 0%, #f0efe6 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(245, 243, 234, 0.88);
  border-bottom: 1px solid rgba(0, 45, 6, 0.08);
  box-shadow: 0 10px 30px rgba(0, 45, 6, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  padding: 4px;
  border-radius: 14px;
  display: block;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid rgba(0, 45, 6, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 12px 22px rgba(15, 45, 36, 0.16);
}

.brand-text {
  letter-spacing: -0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  animation: fadeUp 0.7s ease both;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 38px rgba(0, 45, 6, 0.18);
  filter: brightness(1.02);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 68%, var(--earth-warm) 130%);
  color: #fff;
  box-shadow: 0 18px 32px rgba(0, 45, 6, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-dark);
  border: 1px solid rgba(0, 45, 6, 0.12);
}

.hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(112, 64, 24, 0.15), transparent 26%),
    radial-gradient(circle at bottom right, rgba(0, 64, 12, 0.1), transparent 24%),
    linear-gradient(180deg, #e8eee5 0%, #F5F3EA 58%, #F5F3EA 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/hero-agriculture.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: saturate(1.15) contrast(1.2) brightness(1.04);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 2.6vw, 3rem);
}

h3 {
  font-size: 1.38rem;
}

.lead {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 36px 0 0;
}

.hero-metrics li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 47, 37, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(24, 76, 42, 0.05);
  animation: fadeUp 0.8s ease both;
}

.hero-metrics strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: visible;
  z-index: 0;
}

.card-panel {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 47, 37, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 26px 58px rgba(13, 46, 34, 0.14);
  animation: floatIn 0.9s ease forwards;
}

.main-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  margin-left: auto;
  left: 90px;
  bottom: 20px;
  padding: 30px 26px 22px;
  transform: translateY(26px);
  background: linear-gradient(160deg, rgba(255,255,255,0.96), rgba(237,242,238,0.92));
  border: 1px solid rgba(16, 47, 37, 0.12);
  box-shadow: 0 28px 56px rgba(11, 36, 29, 0.12);
}



.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge.green {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge.neutral {
  background: var(--earth-soft);
  color: var(--earth);
}

.main-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  letter-spacing: -0.06em;
}

.mini-chart {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  padding-top: 12px;
  margin-bottom: 10px;
}

.mini-chart span {
  display: block;
  height: var(--h);
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, var(--earth-warm), var(--primary));
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
}

.floating-panel {
  position: absolute;
  right: 0;
  bottom: 24px;
  z-index: 13;
  padding: 18px 20px;
  min-width: 170px;
  margin-left: auto;
  background: linear-gradient(180deg, rgba(245,243,234,0.96), rgba(240,231,220,0.9));
  border: 1px solid rgba(16, 47, 37, 0.1);
  border-radius: 20px;
  box-shadow: 0 24px 42px rgba(24, 76, 42, 0.15);
  animation: pulseCard 3s ease-in-out infinite;
}

.floating-panel p,
.floating-panel span {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-panel strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.trust-bar {
  padding: 18px 0;
  background: linear-gradient(90deg, var(--primary) 0%, #00400C 100%);
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.trust-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
  position: relative;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.alt {
  background: linear-gradient(180deg, rgba(222, 235, 223, 0.8), rgba(245, 244, 240, 0.9));
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.section-copy h2,
.section-heading h2 {
  margin-bottom: 0;
}

.section-text {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-text p {
  margin: 0 0 18px;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.center {
  text-align: center;
}

.page-hero {
  padding: 74px 0 82px;
  background:
    linear-gradient(120deg, rgba(0, 45, 6, 0.96), rgba(0, 64, 12, 0.9)),
    url("../assets/images/hero-agriculture.jpg") center / cover;
  color: #fff;
}

.page-hero-content {
  max-width: 820px;
}

.page-hero .eyebrow {
  margin-top: 24px;
  color: var(--earth-warm);
}

.page-hero h1 {
  max-width: 760px;
}

.page-hero .lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.back-link {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--earth-warm);
}

.media-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 18px;
}

.media-feature,
.media-card {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: var(--primary-soft);
  box-shadow: 0 18px 42px rgba(18, 43, 29, 0.12);
  isolation: isolate;
}

.media-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(18, 43, 29, 0.18);
}

.media-feature {
  grid-row: span 2;
}

.media-feature img,
.media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.media-card:hover img {
  transform: scale(1.045);
}

.media-feature figcaption,
.media-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 5px;
  padding: 34px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(7, 19, 13, 0.9));
  color: #fff;
}

.media-feature figcaption strong,
.media-card figcaption strong {
  font-size: 1.08rem;
}

.media-feature figcaption span,
.media-card figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.event-list {
  display: grid;
  gap: 16px;
}

.event-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(20, 48, 33, 0.05);
}

.event-date {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 78px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  text-align: center;
}

.event-date strong {
  font-size: 1.7rem;
  line-height: 1;
}

.event-date span,
.event-type {
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-card h3 {
  margin-bottom: 8px;
}

.event-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.event-type {
  margin: 0 0 8px;
}

.event-link {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
}

.event-link:hover,
.event-link:focus-visible {
  color: var(--earth-warm);
}

.gallery-section {
  padding-top: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  min-height: 0;
  aspect-ratio: 4 / 5;
  background: var(--primary-soft);
  border: 1px solid rgba(16, 47, 37, 0.08);
  box-shadow: 0 24px 48px rgba(18, 43, 29, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 54px rgba(18, 43, 29, 0.13);
}

.gallery-card.large {
  aspect-ratio: 5 / 6;
}

.gallery-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--primary-soft);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 6px;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(7, 19, 13, 0.78));
  color: #fff;
}

.gallery-card figcaption strong {
  font-size: 1.1rem;
}

.gallery-card figcaption span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.feature-card,
.impact-card,
.testimonial-card,
.timeline-item,
.contact-panel {
  background: linear-gradient(180deg, rgba(245,243,234,0.94), rgba(240,239,230,0.86));
  border-radius: 22px;
  border: 1px solid rgba(16, 47, 37, 0.08);
  box-shadow: 0 18px 40px rgba(20, 48, 33, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.info-card:hover,
.feature-card:hover,
.impact-card:hover,
.testimonial-card:hover,
.timeline-item:hover,
.contact-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(20, 48, 33, 0.12);
  border-color: rgba(16, 47, 37, 0.16);
}

.info-card {
  padding: 28px 24px;
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--earth-soft);
  color: var(--earth);
  font-weight: 800;
  margin-bottom: 18px;
}

.info-card p,
.feature-card p,
.impact-card p,
.testimonial-card p,
.timeline-item p,
.faq-copy p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.feature-card {
  padding: 28px 26px;
}

.feature-card--primary {
  background: linear-gradient(160deg, var(--primary) 0%, var(--accent) 72%, var(--earth) 130%);
  color: #fff;
  box-shadow: 0 26px 44px rgba(0, 45, 6, 0.18);
}

.feature-card--primary p,
.feature-card--primary li {
  color: rgba(255, 255, 255, 0.8);
}

.tag {
  display: inline-flex;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--earth);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  border: 1px solid rgba(107, 58, 27, 0.12);
}

.tag.alt {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.1);
}

.feature-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.process-section {
  padding-top: 100px;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 22px;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--earth-soft), #e8d7c4);
  color: var(--earth);
  font-weight: 800;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.testimonial-card {
  padding: 30px 24px;
}

.testimonial-card p {
  font-size: 1rem;
}

.person {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}

.person strong {
  color: var(--primary);
}

.person span {
  color: var(--muted);
  font-size: 0.82rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.impact-card {
  padding: 28px 22px;
}

.impact-card strong {
  display: inline-block;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.team-grid {
  margin-top: 14px;
}

.team-card {
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(16, 47, 37, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(20, 48, 33, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(20, 48, 33, 0.09);
}

.team-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 20%;
  background: var(--primary-soft);
  border-bottom: 1px solid rgba(16, 47, 37, 0.08);
}

.team-content {
  padding: 24px 22px 26px;
}

.team-content h3 {
  margin-bottom: 6px;
}

.role {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
}

.cta-band {
  padding: 0 0 90px;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 68%, var(--earth-warm) 130%);
  border-radius: 30px;
  color: white;
  box-shadow: 0 30px 60px rgba(20, 48, 33, 0.2);
  border: 1px solid rgba(255,255,255,0.12);
}

.cta-wrap .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  background: linear-gradient(180deg, var(--primary) 0%, #001f04 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
  padding-bottom: 30px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.78);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--earth-warm);
  font-size: 1.05rem;
  line-height: 1;
}

.social-intro {
  max-width: 240px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(112, 64, 24, 0.55);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--earth-warm);
  border-color: var(--earth-warm);
  color: var(--bg);
  transform: translateY(-2px);
}

.social-icon {
  display: block;
  width: 20px;
  height: 20px;
  color: currentColor;
  object-fit: contain;
}

.social-links a:hover .social-icon,
.social-links a:focus-visible .social-icon {
  filter: brightness(0) invert(1);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: center;
  padding: 28px 24px;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.contact-panel h3 {
  color: #fff;
  margin-bottom: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  padding: 0.9rem 1rem;
}

.contact-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  grid-column: 1 / -1;
  width: min(100%, 220px);
  justify-self: end;
  margin-top: 4px;
}

.contact-form .btn-primary {
  min-height: 52px;
  padding: 0.95rem 1.55rem;
  border: 1px solid rgba(245, 243, 234, 0.4);
  background: linear-gradient(135deg, var(--earth) 0%, var(--earth-warm) 100%);
  color: var(--bg);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  letter-spacing: 0.01em;
}

.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--earth-warm) 0%, var(--earth) 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.contact-form .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.form-status.success {
  color: #cde7c8;
}

.form-status.error {
  color: #f3b5a8;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 26px;
  color: rgba(255, 255, 255, 0.66);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(15, 45, 36, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #e9f0e9);
  box-shadow: 0 10px 22px rgba(15, 45, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 29px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(112, 64, 24, 0.65);
  background: linear-gradient(145deg, var(--bg), #e6ece5);
  box-shadow: 0 14px 28px rgba(15, 45, 36, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, 7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -7px) rotate(-45deg);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .split-section,
  .faq-grid,
  .contact-panel,
  .footer-grid,
  .three-up,
  .four-up,
  .two-up {
    grid-template-columns: 1fr;
  }

  .media-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 420px;
    width: 100%;
  }

  .hero-photo-card {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    margin-bottom: 16px;
  }

  .main-panel {
    width: 100%;
    margin: 0;
    left: 0;
    bottom: 0;
    transform: none;
  }

  .floating-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    width: fit-content;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-card {
    grid-template-columns: 86px 1fr;
  }

  .event-link {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .media-page-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .media-feature {
    grid-row: auto;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    padding: 54px 0 62px;
  }

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

  .event-link {
    grid-column: auto;
  }

  .gallery-card,
  .gallery-card.large {
    aspect-ratio: 4 / 3;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

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

  .contact-form .btn {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .cta-wrap {
    padding: 24px 22px;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand-text {
    font-size: 0.96rem;
  }
}
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 680px);
    margin: 0 auto;
  }

  .main-panel {
    left: 0;
    margin-left: auto;
    width: min(100%, 540px);
  }
}