/* Aambey Agro Life — migrated from Framer (Oct 2026).
   Breakpoints follow the Framer file: desktop ≥1300, tablet 768–1299, phone <768. */

:root {
  --yellow: #e9ce48;
  --ink: #163a19;          /* "Secondary" */
  --body: #6e766f;         /* "Body Text" */
  --green: #37743c;        /* "Green" */
  --leaf: #35661b;         /* "aambey" */
  --forest: #36661c;       /* section + footer ground */
  --hero-green: #006332;
  --light: #f6f4ef;
  --stroke: #f2f0ea;
  --pill: #f7f7f7;
  --white: #fff;

  --wrap: 1200px;
  --gutter: 50px;
  --radius: 12px;
  --section: 120px;

  --ff: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-body: 19px;
  --lh-body: 28px;
  --fs-h2: 39px;
  --lh-h2: 58px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
strong { font-weight: 600; }
button { font: inherit; cursor: pointer; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 9px; }

.h2 {
  font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 500;
  letter-spacing: -0.03em; color: var(--leaf);
}
.section-label {
  font-size: 16px; line-height: 1.2; font-weight: 500; text-transform: uppercase; color: var(--ink);
  margin-bottom: 14px;
}
.section-label span { color: var(--green); font-weight: 400; }
.section-label.on-dark { color: var(--white); }
.section-label.on-dark span { color: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 30px; border-radius: 30px; border: 0;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 58, 25, .15); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-green { background: var(--green); color: var(--white); }

/* ---------------------------------------------------------------- header */

.site-header { position: relative; z-index: 20; background: var(--white); }
.header-inner { display: flex; align-items: center; height: 123px; padding-top: 30px; }
.brand { flex: none; margin-left: 10px; }
.brand img { width: 125px; height: auto; }
.nav-pill {
  display: flex; gap: 40px; margin-left: 73px; padding: 0 30px; height: 52px; align-items: center;
  background: var(--pill); border-radius: 30px;
}
.nav-pill a, .mobile-menu a {
  font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--ink); transition: color .2s ease;
}
.nav-pill a:hover, .nav-pill a[aria-current="page"],
.mobile-menu a[aria-current="page"] { color: var(--green); }
.header-cta { margin-left: auto; padding: 0 30px; }

.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; color: var(--ink);
}
.menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.menu-toggle svg + svg, .menu-toggle[aria-expanded="true"] svg:first-child { display: none; }
.menu-toggle[aria-expanded="true"] svg + svg { display: block; }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; gap: 4px; padding: 12px 20px 24px;
  background: var(--white); box-shadow: 0 16px 30px rgba(22, 58, 25, .08);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; border-bottom: 1px solid var(--stroke); }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--forest); color: var(--white); padding: 120px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; }
.footer-about img { width: 112px; margin-bottom: 36px; }
.footer-about p { max-width: 560px; }
.footer-links { display: flex; flex-direction: column; gap: 16px; min-width: 204px; }
.footer-links a { color: rgba(255, 255, 255, .6); transition: color .2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 150px; }
.footer-bottom p a { color: var(--yellow); }
.social { display: flex; gap: 20px; }
.social-icon { display: inline-flex; width: 22px; height: 22px; }
.social-icon svg { width: 100%; height: 100%; fill: var(--white); }

/* ---------------------------------------------------------------- banner (inner pages) */

.banner { position: relative; margin-top: 30px; }
.banner-img {
  width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius);
}
.banner-text {
  position: absolute; left: calc(var(--gutter) + 40px); right: var(--gutter); top: 50%;
  transform: translateY(-50%); padding-top: 50px; color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.banner-eyebrow { font-size: 16px; font-weight: 500; line-height: 1.2; text-transform: uppercase; margin: 0 0 6px 5px; }
.banner h1 { font-size: 64px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }

/* ---------------------------------------------------------------- home: hero */

.hero { position: relative; height: 536px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; opacity: .94;
}
.hero-inner { position: relative; padding-bottom: 56px; color: var(--hero-green); }
.hero-eyebrow { font-family: "Inter", var(--ff); font-size: 34px; line-height: 1.2; margin-left: 10px; }
.hero-title {
  font-size: 115px; line-height: 90px; font-weight: 500; letter-spacing: -0.03em;
  margin: 14px 0 22px; white-space: nowrap;
}
.hero-text { max-width: 690px; margin-left: 10px; font-size: var(--fs-body); line-height: var(--lh-body); }
.hero-text strong { font-weight: 700; }

/* ---------------------------------------------------------------- home: about */

.home-about { padding: var(--section) 0; }
.split-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split-intro .h2 { max-width: 520px; }
.lead { max-width: 500px; padding-top: 52px; }
.mosaic {
  display: grid; margin-top: 80px; gap: 20px;
  grid-template-columns: 461fr 220fr 479fr;
  grid-template-rows: 262px 400px;
  grid-template-areas: "mission pour calf" "plant plant calf";
}
.mosaic > * { width: 100%; height: 100%; border-radius: var(--radius); }
.mosaic img { object-fit: cover; }
.m-pour { grid-area: pour; border-radius: 0 !important; }
.m-calf { grid-area: calf; }
.m-plant { grid-area: plant; }
.mission {
  grid-area: mission; background: var(--yellow); padding: 30px 30px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.mission img { width: 92px; margin-left: 12px; }
.mission h3 { font-size: 24px; line-height: 1.2; font-weight: 500; color: var(--leaf); margin-bottom: 4px; }
.mission p { font-size: 15px; line-height: 1.05; font-weight: 500; color: rgba(53, 102, 27, .75); max-width: 230px; }

/* ---------------------------------------------------------------- home: brands */

.brands { background: var(--yellow); padding: 50px 0 52px; text-align: center; }
.brands .h2 { color: var(--ink); }
.brand-logos {
  display: flex; align-items: center; justify-content: center; gap: 60px; margin-top: 10px;
}
.brand-logos img:first-child { width: 700px; }
.brand-logos img:last-child { width: 380px; }

/* ---------------------------------------------------------------- home: why choose us */

.why { background: var(--forest); color: var(--white); padding: var(--section) 0 60px; }
.why-grid { display: grid; grid-template-columns: 536fr 575fr; gap: 89px; }
.why .h2 { color: var(--white); }
.why-left img { margin-top: 110px; width: 486px; aspect-ratio: 486 / 763; object-fit: cover; }
.why-cards { display: flex; flex-direction: column; gap: 30px; }
.why-card {
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; padding: 40px;
}
.why-card img { width: 50px; height: auto; margin-bottom: 40px; }
.why-card h3 { font-size: 22px; line-height: 34px; font-weight: 500; margin-bottom: 20px; }
.why-card p { font-size: 24px; line-height: 36px; color: rgba(255, 255, 255, .55); }

/* ---------------------------------------------------------------- home: products ticker */

.home-products { padding: 65px 0; overflow: hidden; }
.home-products-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; min-height: 520px; }
.products-lead { font-size: 24px; line-height: 36px; color: var(--leaf); max-width: 540px; }
.ticker {
  position: relative; overflow: hidden; margin-right: calc(-1 * (100vw - min(100vw, 1300px)) / 2 - var(--gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 10px; width: max-content; animation: ticker 28s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { flex: none; width: 404px; height: 298px; overflow: hidden; }
.ticker-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ticker-item:hover img { transform: scale(1.04); }
@keyframes ticker { to { transform: translateX(calc(-50% - 5px)); } }

/* ---------------------------------------------------------------- about */

.about-body { padding: var(--section) 0 100px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.about-left .h2 { max-width: 520px; }
.cow-outline { width: 100%; max-width: 580px; margin-top: 170px; opacity: .85; }
.about-block { border-top: 1px solid var(--stroke); padding: 20px 0 22px; }
.about-block h2 {
  font-size: 24px; line-height: 36px; font-weight: 500; color: var(--leaf); margin-bottom: 8px;
}
.about-block p { color: var(--body); }
.about-block strong { color: #4a4f4b; }
.about-block:last-child p { margin-bottom: 28px; }
.about-block:last-child strong { color: var(--leaf); }

/* ---------------------------------------------------------------- contact */

.contact-body { padding: var(--section) 0 40px; }
.map { height: 600px; border-radius: var(--radius); overflow: hidden; background: #e5e3df; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.contact-card {
  border: 1px solid var(--stroke); border-radius: 8px; padding: 50px 30px;
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.contact-icon {
  display: grid; place-items: center; width: 80px; height: 80px; border-radius: 6px; margin-bottom: 50px;
}
.contact-icon svg { width: 40px; height: 40px; fill: var(--white); }
.contact-icon.green { background: var(--leaf); }
.contact-icon.yellow { background: var(--yellow); }
.contact-card h2 { font-size: 24px; line-height: 36px; font-weight: 500; color: var(--ink); margin-bottom: 10px; }
.contact-card p a { display: block; transition: color .2s ease; }
.contact-card p a:hover { color: var(--green); }

/* ---------------------------------------------------------------- product list */

.product-list { padding: var(--section) 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 8px; }
.product-card { display: block; text-align: center; }
.product-card.is-hidden { display: none; }
.product-media { aspect-ratio: 402 / 508; overflow: hidden; background: var(--light); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-card h3 { font-size: 20px; line-height: 30px; font-weight: 400; color: var(--ink); margin-top: 8px; }
.stars { display: flex; gap: 4px; justify-content: center; margin-top: 10px; }
.stars span { width: 16px; height: 16px; }
.stars svg { width: 100%; height: 100%; fill: var(--green); }
.stars .off svg { fill: #d6dcd3; }
.load-more-row { display: flex; justify-content: center; margin-top: 40px; }

/* ---------------------------------------------------------------- product detail */

.product-detail { padding: var(--section) 0; }
.detail-grid { display: grid; grid-template-columns: 550fr 550fr; gap: 100px; align-items: center; }
.detail-media img { width: 100%; aspect-ratio: 550 / 440; object-fit: cover; border-radius: var(--radius); }
.detail-info .stars { justify-content: flex-start; margin: 0 0 14px; }
.detail-info .h2 { color: var(--ink); }
.detail-content { margin: 24px 0 80px; font-size: 16px; line-height: 1.6; }
.detail-content p + p { margin-top: 12px; }

/* ---------------------------------------------------------------- 404 */

.nf { position: relative; padding: 140px 0 100px; overflow: hidden; text-align: center; }
.nf-art {
  position: absolute; left: 50%; top: 30px; width: 1100px; max-width: none;
  transform: translateX(-46%); opacity: .55; pointer-events: none;
}
.nf-inner { position: relative; }
.nf-kicker { font-size: 16px; font-weight: 500; color: var(--green); }
.nf-code {
  font-size: 400px; line-height: 1; font-weight: 500; letter-spacing: -0.03em; color: var(--ink);
  margin: 30px 0 40px;
}
.nf-code span { color: var(--green); }

/* ---------------------------------------------------------------- reveal on scroll (JS adds .js) */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
  .btn:hover { transform: none; }
}

/* ================================================================ tablet */

@media (max-width: 1299.98px) {
  :root { --gutter: 30px; --fs-h2: 38px; --lh-h2: 48px; --section: 100px; }
  .nav-pill { margin-left: 40px; gap: 28px; }
  .hero { height: 460px; }
  .hero-title { font-size: clamp(55px, 8.6vw, 110px); line-height: 1; white-space: normal; }
  .hero-eyebrow { font-size: 28px; }
  .mosaic { grid-template-rows: 220px 320px; }
  .brand-logos img:first-child { width: 55%; }
  .brand-logos img:last-child { width: 30%; }
  .why-grid { gap: 50px; }
  .why-left img { width: 100%; }
  .why-card { padding: 32px; }
  .why-card p { font-size: 20px; line-height: 30px; }
  .ticker-item { width: 320px; height: 236px; }
  .detail-grid { gap: 60px; }
  .nf-code { font-size: 280px; }
}

@media (max-width: 1023.98px) {
  .nav-pill, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .split-intro, .about-grid, .home-products-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .lead { padding-top: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-left img { max-width: 486px; margin-top: 50px; }
  .ticker { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); }
  .home-products-grid { min-height: 0; }
  .cow-outline { margin-top: 60px; max-width: 420px; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-cards .contact-card:last-child { grid-column: span 2; }
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-content { margin-bottom: 40px; }
  .footer-bottom { margin-top: 80px; }
}

/* ================================================================ phone */

@media (max-width: 767.98px) {
  :root { --gutter: 20px; --fs-h2: 32px; --lh-h2: 42px; --section: 70px; --fs-body: 16px; --lh-body: 24px; }
  .header-inner { height: 133px; padding-top: 0; }
  .brand { margin-left: 10px; }

  .hero { height: 195px; align-items: center; text-align: center; }
  .hero-inner { padding: 0 var(--gutter); }
  .hero-eyebrow { display: none; }
  .hero-title { font-size: clamp(28px, 9vw, 35px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.04em; }
  .hero-text { font-size: 14px; line-height: 1.25; font-weight: 500; margin: 0 auto; max-width: 300px; }

  .home-about { padding-top: 26px; }
  .split-intro { gap: 34px; }
  .lead { font-size: 14px; line-height: 1.2; }
  .mosaic {
    grid-template-columns: 1fr; grid-template-rows: none;
    grid-template-areas: "mission" "pour" "plant" "calf"; margin-top: 34px;
  }
  .mosaic > * { height: auto; }
  .mission { flex-direction: row; align-items: flex-start; gap: 18px; min-height: 238px; padding: 28px 22px; }
  .mission img { width: 90px; margin: 0; }
  .mission h3 { margin-top: 30px; }
  .m-pour { aspect-ratio: 350 / 250; border-radius: 0 !important; }
  .m-plant { aspect-ratio: 350 / 250; }
  .m-calf { aspect-ratio: 350 / 420; }

  .brands { padding: 50px 0 60px; }
  .brand-logos { flex-direction: column; gap: 50px; margin-top: 60px; }
  .brand-logos img:first-child { width: 100%; max-width: 330px; }
  .brand-logos img:last-child { width: 62%; max-width: 230px; }

  .why { padding: 80px 0 40px; }
  .why-left img { margin-top: 40px; }
  .why-card { padding: 40px; }
  .why-card p { font-size: 22px; line-height: 34px; }

  .products-lead { font-size: 20px; line-height: 1; }
  .ticker-item { width: 300px; height: 222px; }

  .banner { margin-top: 30px; }
  .banner-img { height: 500px; }
  .banner-text { left: var(--gutter); right: var(--gutter); text-align: center; padding-top: 50px; }
  .banner-eyebrow { font-size: 13px; margin-left: 0; }
  .banner h1 { font-size: 38px; }

  .about-block h2 { font-size: 22px; line-height: 34px; }
  .cow-outline { display: none; }

  .map { height: 400px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards .contact-card:last-child { grid-column: auto; }
  .contact-card { padding: 40px 24px; }
  .contact-icon { margin-bottom: 30px; }

  .product-list { padding-top: 80px; }
  .wrap-wide { padding: 0; }
  .product-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-card h3 { font-size: 20px; }

  .nf { padding: 80px 0 60px; }
  .nf-art { width: 700px; }
  .nf-code { font-size: 160px; margin: 20px 0 30px; }

  .site-footer { padding: 70px 0 40px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-about p { font-size: 14px; line-height: 22px; }
  .footer-links a { font-size: 14px; }
  .footer-bottom { flex-direction: column; margin-top: 40px; text-align: center; }
  .footer-bottom p { font-size: 12px; }
}
