:root {
  --green-900: #153d2f;
  --green-800: #1f553f;
  --green-600: #347a55;
  --green-100: #e7f0e8;
  --brown-900: #3b2a1f;
  --brown-700: #654731;
  --beige-100: #f8f3ea;
  --ink: #22302a;
  --muted: #65736d;
  --line: #d9dfd6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 61, 47, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

main {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(217, 223, 214, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-800), var(--brown-700));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  color: var(--green-900);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--brown-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--green-900);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--green-600);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(21, 61, 47, 0.28), rgba(59, 42, 31, 0.08)),
    url("image/hero-farm-biotech.jpg") center/cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(21, 61, 47, 0.38)),
    linear-gradient(90deg, rgba(21, 61, 47, 0.9) 0%, rgba(21, 61, 47, 0.68) 45%, rgba(21, 61, 47, 0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d8ead7;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green-800);
}

.button.primary:hover {
  background: var(--green-900);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 24px clamp(20px, 4vw, 56px);
  background: var(--beige-100);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--green-900);
  font-size: 1.05rem;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

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

.section-heading.wide {
  max-width: 980px;
}

h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.about-copy p {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.check-list,
.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li,
.contact-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 5px var(--green-100);
}

.image-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: min(58vw, 540px);
  object-fit: cover;
}

.image-card figcaption {
  padding: 18px 20px;
  color: var(--brown-700);
  background: var(--beige-100);
  font-weight: 800;
}

.services,
.team,
.transparency,
.testimonials {
  background: var(--beige-100);
}

.service-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card,
.product-card,
.case-card,
.research-grid article,
.timeline article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  min-height: 310px;
  padding: 24px;
}

.card-icon {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--brown-700);
  font-size: 0.88rem;
  font-weight: 900;
}

.service-card ul {
  display: grid;
  gap: 9px;
  padding-left: 18px;
  margin: 18px 0 0;
  color: var(--muted);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div,
.case-card {
  padding: 22px;
}

.product-card p,
.case-card p,
.research-grid p,
.timeline p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--green-900);
  font-weight: 900;
}

.section-more__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-800);
  font-size: 1.2rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.section-more:hover {
  color: var(--green-600);
}

.section-more:hover .section-more__arrow {
  transform: translateX(4px);
  background: var(--green-900);
}

.transparency {
  position: relative;
  overflow: hidden;
}

.transparency::after {
  content: "";
  position: absolute;
  right: 6vw;
  top: 80px;
  width: 220px;
  height: 220px;
  opacity: 0.2;
  background:
    radial-gradient(circle at 28% 32%, var(--green-600) 0 8px, transparent 9px),
    radial-gradient(circle at 70% 42%, var(--brown-700) 0 10px, transparent 11px),
    radial-gradient(circle at 45% 72%, var(--green-800) 0 7px, transparent 8px);
  border: 1px solid var(--green-600);
  border-radius: 50%;
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline article {
  padding: 24px;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-800);
  font-weight: 900;
}

.collaboration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  background: var(--green-900);
}

.collab-image {
  background:
    linear-gradient(rgba(21, 61, 47, 0.04), rgba(21, 61, 47, 0.08)),
    url("image/hero-farm-biotech.jpg") center/cover;
}

.collab-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 82px);
  color: var(--white);
}

.collab-copy .eyebrow,
.collab-copy h2 {
  color: var(--white);
}

.collab-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.research-grid article {
  padding: 24px;
  background: linear-gradient(180deg, var(--white), var(--beige-100));
}

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

.team-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(21, 61, 47, 0.08);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.team-card .role {
  margin: 0 0 8px;
  color: var(--brown-700);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.member-phone {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green-800);
  font-weight: 900;
}

.member-phone:hover {
  color: var(--brown-700);
}

.team-card p:not(.role) {
  margin: 12px 0 0;
  color: var(--muted);
}

.quality-note {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(52, 122, 85, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-900);
}

.quality-note span {
  color: #d8ead7;
  font-weight: 900;
  text-transform: uppercase;
}

.quality-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.case-card {
  padding: 14px;
}

.case-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.case-photos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
}

.case-photos img:first-child {
  filter: saturate(0.75) contrast(0.92);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.74fr);
  gap: clamp(28px, 6vw, 92px);
  padding: 100px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.84)),
    url("image/contact-greenhouse.jpg") center/cover;
}

.contact-copy {
  max-width: 700px;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-900);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfa;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(52, 122, 85, 0.18);
  border-color: var(--green-600);
}

.contact-form .button {
  width: 100%;
  border: 0;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green-800);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 40px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--brown-900);
}

.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.site-footer p {
  max-width: 520px;
  margin: 18px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 14px 24px;
  font-weight: 800;
}

.zalo-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0068ff;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  z-index: 80;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zalo-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}

.zalo-fab__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #0068ff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.catalog-page {
  background: var(--beige-100);
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: 86vh;
  padding: 132px clamp(20px, 5vw, 72px) 72px;
  background:
    linear-gradient(90deg, rgba(21, 61, 47, 0.93), rgba(21, 61, 47, 0.72)),
    url("image/hero-farm-biotech.jpg") center/cover;
}

.catalog-hero h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
}

.catalog-hero__copy {
  color: var(--white);
}

.catalog-hero__copy .eyebrow {
  color: #d8ead7;
}

.catalog-hero__copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.catalog-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.catalog-hero__product {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.catalog-hero__product img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.catalog-nav {
  position: sticky;
  z-index: 20;
  top: 77px;
  display: flex;
  gap: 1px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
  border-block: 1px solid var(--line);
}

.catalog-nav a {
  flex: 1;
  padding: 17px 18px;
  color: var(--green-900);
  background: var(--white);
  font-weight: 900;
  text-align: center;
}

.catalog-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green-600);
}

.catalog-section {
  padding: 86px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.catalog-section--tint {
  background: var(--beige-100);
}

.catalog-section__heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.catalog-section__heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.07rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.catalog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(21, 61, 47, 0.08);
}

.catalog-card--featured {
  border-color: rgba(52, 122, 85, 0.34);
  box-shadow: 0 24px 60px rgba(21, 61, 47, 0.15);
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.catalog-card__body {
  padding: 22px;
}

.catalog-card__body span {
  color: var(--brown-700);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-card__body h3 {
  margin-top: 8px;
}

.catalog-card__body p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.catalog-card__body a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-800);
  font-weight: 900;
}

.catalog-card__body a:hover {
  background: var(--green-900);
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 72px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--green-900);
}

.catalog-cta h2,
.catalog-cta .eyebrow {
  color: var(--white);
}

.catalog-cta p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1100px) {
  .service-grid,
  .product-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .team-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

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

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

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 69px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 88vh;
    padding: 118px 20px 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(21, 61, 47, 0.35), rgba(21, 61, 47, 0.72)),
      linear-gradient(90deg, rgba(21, 61, 47, 0.86), rgba(21, 61, 47, 0.5));
  }

  .trust-strip,
  .about-grid,
  .collaboration,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    padding: 20px;
  }

  .section,
  .contact-section {
    padding: 64px 20px;
  }

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

  .collab-image {
    min-height: 360px;
  }

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

  .team-grid,
  .quality-note {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .catalog-hero,
  .catalog-grid,
  .catalog-grid--compact,
  .catalog-cta {
    grid-template-columns: 1fr;
  }

  .catalog-hero {
    padding: 116px 20px 54px;
  }

  .catalog-nav {
    top: 69px;
    overflow-x: auto;
    padding: 0;
  }

  .catalog-nav a {
    min-width: 210px;
  }

  .catalog-cta {
    display: grid;
    padding: 58px 20px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.15rem;
    line-height: 1.04;
  }

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

  .service-grid,
  .product-grid,
  .case-grid,
  .research-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .zalo-fab {
    right: 1rem;
    bottom: 1rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
  }

  .zalo-fab__icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .catalog-hero h1 {
    font-size: 2.2rem;
  }

  .service-card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 28px;
  }
}
