:root {
  --green-950: #092014;
  --green-900: #10351f;
  --green-800: #17492b;
  --green-700: #23683e;
  --green-100: #e8f3df;
  --sage: #b9cca4;
  --earth: #9a6b3f;
  --gold: #e7bd65;
  --cream: #fbfaf4;
  --white: #ffffff;
  --ink: #172018;
  --muted: #647067;
  --shadow: 0 20px 55px rgba(16, 53, 31, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 204, 164, 0.34), transparent 32rem),
    linear-gradient(180deg, #fffdf5 0%, var(--cream) 42%, #f3f7eb 100%);
  font-family: "Noto Sans Tamil", "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 14px clamp(16px, 4vw, 44px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.scrolled {
  padding-block: 10px;
  background: rgba(251, 250, 244, 0.94);
  box-shadow: 0 12px 30px rgba(9, 32, 20, 0.1);
  backdrop-filter: blur(16px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.site-header.scrolled .brand {
  color: var(--green-950);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52), 0 12px 24px rgba(9, 32, 20, 0.22);
  font-weight: 800;
}

.site-header.scrolled .brand-mark {
  border-color: rgba(35, 104, 62, 0.2);
  background: var(--green-100);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  max-width: 240px;
  font-size: 0.72rem;
  opacity: 0.86;
  line-height: 1.35;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-header.scrolled .nav-panel {
  color: var(--green-900);
}

.nav-panel a {
  position: relative;
}

.nav-panel a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--sage);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-panel a:hover::after {
  transform: scaleX(1);
}

.bilingual-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  background: rgba(9, 32, 20, 0.3);
  backdrop-filter: blur(14px);
}

.site-header.scrolled .bilingual-badge {
  border-color: rgba(35, 104, 62, 0.16);
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.72);
}

.ta-text,
.en-text {
  display: block;
}

.en-text {
  font-family: "Plus Jakarta Sans", "Noto Sans Tamil", system-ui, sans-serif;
}

.ta-text {
  margin-top: 2px;
  opacity: 0.72;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.site-header.scrolled .menu-toggle span {
  background: var(--green-950);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-overlay,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(rgba(9, 32, 20, 0.15), rgba(9, 32, 20, 0.28)),
    url("assets/farm-front.jpeg") center/cover;
  transform: scale(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 32, 20, 0.94) 0%, rgba(9, 32, 20, 0.72) 43%, rgba(9, 32, 20, 0.32) 100%),
    linear-gradient(0deg, rgba(9, 32, 20, 0.72), transparent 42%);
}

.hero-glow {
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(231, 189, 101, 0.28), transparent 22rem),
    radial-gradient(circle at 72% 58%, rgba(185, 204, 164, 0.28), transparent 18rem);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 78px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--earth);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sage);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 1.03;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.hero h1 .en-text {
  font-size: inherit;
  opacity: 1;
}

.hero h1 .ta-text {
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  opacity: 0.82;
}

.hero h2 {
  margin: 14px 0 0;
  color: var(--green-100);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  line-height: 1.18;
}

.hero h2 .ta-text,
.section-heading h2 .ta-text,
.section-copy h2 .ta-text,
.contact-panel h2 .ta-text {
  color: inherit;
  opacity: 0.72;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn,
.mini-btn,
.phone-list a,
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 999px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn .ta-text,
.mini-btn .ta-text,
.phone-list a .ta-text {
  font-size: 0.82em;
}

.nav-panel .ta-text,
.brand small .ta-text,
.section-kicker .ta-text {
  font-size: 0.82em;
}

.btn::before,
.mini-btn::before,
.phone-list a::before,
.social-links a::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.44) 42%, transparent 70%);
  content: "";
  transform: translateX(-140%);
  transition: transform 0.55s ease;
}

.btn:hover::before,
.mini-btn:hover::before,
.phone-list a:hover::before,
.social-links a:hover::before {
  transform: translateX(140%);
}

.btn {
  min-height: 52px;
  padding: 0 24px;
}

.btn:hover,
.mini-btn:hover,
.phone-list a:hover,
.social-links a:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--green-950);
  background: linear-gradient(135deg, #ffffff, #e9f5dd);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 40px rgba(255, 255, 255, 0.16);
}

.whatsapp {
  color: var(--white);
  background: linear-gradient(135deg, #26c66b, #128842);
  box-shadow: 0 14px 32px rgba(31, 168, 85, 0.28);
}

.hero-feature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
}

.hero-feature img {
  width: 100%;
  height: min(54vh, 520px);
  object-fit: cover;
}

.hero-feature-bar {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-feature-bar div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(9, 32, 20, 0.72), rgba(255, 255, 255, 0.14));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-feature-bar span {
  color: var(--gold);
  font-size: 1.12rem;
  font-weight: 900;
}

.hero-feature-bar strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.3;
}

.section {
  padding: clamp(72px, 10vw, 118px) clamp(16px, 5vw, 48px);
}

.section-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.section-copy h2,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.16;
}

.section-copy p:not(.section-kicker),
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(232, 243, 223, 0.72)),
    var(--white);
  box-shadow: 0 28px 70px rgba(16, 53, 31, 0.18);
}

.about-card::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.about-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.about-card div {
  display: grid;
  gap: 4px;
  padding: 24px;
}

.about-card strong {
  color: var(--green-900);
  font-size: 1.2rem;
}

.about-card span {
  color: var(--muted);
}

.products,
.gallery {
  background: var(--white);
}

.section-heading {
  max-width: 1180px;
  margin: 0 auto 34px;
}

.product-grid,
.why-grid,
.gallery-grid,
.testimonial-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card,
.testimonial-card,
.why-card,
.contact-panel,
.map-card {
  border: 1px solid rgba(35, 104, 62, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(16, 53, 31, 0.09);
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 243, 223, 0.64)),
    var(--white);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.42) 44%, transparent 64%);
  content: "";
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.product-card:hover {
  border-color: rgba(231, 189, 101, 0.58);
  box-shadow: 0 28px 65px rgba(16, 53, 31, 0.17);
  transform: translateY(-8px);
}

.product-card:hover::after {
  transform: translateX(130%);
}

.product-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: var(--green-950);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(231, 189, 101, 0.56)),
    rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 30px rgba(9, 32, 20, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.product-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.55s ease;
}

.product-card:hover img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.06);
}

.product-card div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-card h3,
.why-card h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 1.05rem;
  line-height: 1.35;
}

.product-card p {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mini-btn {
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-800), var(--green-700));
  font-size: 0.86rem;
  box-shadow: 0 10px 24px rgba(35, 104, 62, 0.2);
}

.why {
  background: linear-gradient(180deg, var(--green-100), var(--cream));
}

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

.why-card {
  min-height: 170px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 243, 223, 0.76)),
    var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  box-shadow: 0 24px 58px rgba(16, 53, 31, 0.15);
  transform: translateY(-5px);
}

.why-card span {
  color: var(--earth);
  font-weight: 900;
}

.gallery-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 230px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 20px;
  padding: 0;
  background: var(--green-100);
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(16, 53, 31, 0.12);
}

.gallery-item::after {
  position: absolute;
  inset: auto 16px 16px 16px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--sage), var(--white));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.testimonials {
  background: var(--green-950);
}

.testimonials .section-heading h2,
.testimonials .section-kicker {
  color: var(--white);
}

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

.testimonial-card {
  margin: 0;
  padding: 26px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
}

.testimonial-card figcaption {
  color: var(--sage);
  font-weight: 800;
}

.contact-panel {
  border-color: rgba(255, 255, 255, 0.68);
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(232, 243, 223, 0.6)),
    var(--white);
}

.phone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.phone-list a {
  min-height: 44px;
  padding: 0 16px;
  color: var(--green-950);
  background: var(--green-100);
}

.wide {
  width: 100%;
  margin-bottom: 24px;
}

address {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--green-950);
}

.map-card {
  overflow: hidden;
  min-height: 500px;
}

.map-card iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(16px, 5vw, 48px);
  color: var(--white);
  background: var(--green-950);
}

.footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.social-links a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
}

.social-links .social-whatsapp {
  background: linear-gradient(135deg, #27cb71, #118441);
}

.social-links svg,
.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, #27cb71, #118441);
  box-shadow: 0 16px 36px rgba(31, 168, 85, 0.38);
  font-weight: 900;
  animation: pulseWhatsApp 2.4s ease-in-out infinite;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(9, 32, 20, 0.86);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
}

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

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

@keyframes pulseWhatsApp {
  0%,
  100% {
    box-shadow: 0 16px 36px rgba(31, 168, 85, 0.38), 0 0 0 0 rgba(31, 168, 85, 0.28);
  }

  50% {
    box-shadow: 0 18px 42px rgba(31, 168, 85, 0.48), 0 0 0 12px rgba(31, 168, 85, 0);
  }
}

@media (max-width: 1060px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-feature img {
    height: 420px;
  }

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

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

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
    order: 3;
  }

  .bilingual-badge {
    margin-left: auto;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px;
    border-radius: var(--radius);
    color: var(--green-950);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-panel.open {
    display: flex;
  }

  .nav-panel a {
    width: 100%;
    padding: 12px;
  }

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

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

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

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

@media (max-width: 640px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand small {
    display: none;
  }

  .bilingual-badge {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.75rem;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 32, 20, 0.9), rgba(9, 32, 20, 0.62)),
      linear-gradient(90deg, rgba(9, 32, 20, 0.86), rgba(9, 32, 20, 0.42));
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    font-size: 2.78rem;
  }

  .hero p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.92);
  }

  .hero-feature {
    margin-top: 10px;
  }

  .hero-feature img {
    height: 260px;
  }

  .hero-feature-bar {
    position: static;
    grid-template-columns: 1fr;
    padding: 10px;
    background: rgba(9, 32, 20, 0.82);
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

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

  .gallery-grid {
    grid-auto-rows: 245px;
  }

  .gallery-item:first-child {
    grid-row: span 1;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
    height: 360px;
  }
}
