/* ===== YAWYE Farms — prototype styles ===== */
:root {
  --green-900: #2f3e1f;
  --green-700: #4f6b2b;
  --green-500: #6b8e23;
  --green-100: #eaf1dc;
  --cream:     #f7f3e8;
  --cream-2:   #efe7d3;
  --brown:     #7a4f2a;
  --brown-2:   #b5651d;
  --ink:       #2b2b23;
  --muted:     #6b6b5c;
  --white:     #ffffff;
  --shadow:    0 8px 24px rgba(47, 62, 31, 0.12);
  --radius:    14px;
  --maxw:      1140px;
  --font:      "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-weight: 800; line-height: 1.15; color: var(--green-900); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tint { background: var(--green-100); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 700; color: var(--brown-2); margin-bottom: .5rem;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary { background: var(--green-500); color: #fff; }
.btn--primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--dark { background: var(--brown); color: #fff; }
.btn--dark:hover { background: var(--brown-2); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-500); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 1.05rem; letter-spacing: .02em;
}
.brand__name { font-weight: 800; color: var(--green-900); line-height: 1.05; }
.brand__name small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav__links a:hover { color: var(--green-700); }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green-900); }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; text-align: center;
  background:
    linear-gradient(rgba(47,62,31,.62), rgba(47,62,31,.72)),
    url("../images/farm-1.svg") center/cover no-repeat;
}
.hero__inner { padding: 110px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); }
.hero p { font-size: 1.2rem; max-width: 60ch; margin: 0 auto 28px; color: rgba(255,255,255,.92); }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__badge {
  display: inline-block; margin-bottom: 18px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  font-size: .85rem; font-weight: 600;
}

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--cream-2);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.signature { margin-top: 18px; font-weight: 700; color: var(--brown); }
.signature small { display: block; font-weight: 500; color: var(--muted); }

/* ===== Products ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease;
}
.card:hover { transform: translateY(-6px); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin: 0; }
.card__price { margin-top: auto; font-weight: 800; color: var(--green-700); }
.tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 10px; border-radius: 999px;
  background: var(--green-100); color: var(--green-700);
}

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); }
.gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery figure:first-child img { height: 100%; }

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { font-size: 1.4rem; line-height: 1; }
.info-list strong { display: block; color: var(--green-900); }
.form { display: grid; gap: 14px; background: #fff; padding: 26px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { font-weight: 600; font-size: .9rem; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--cream-2); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--cream);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--green-500); border-color: transparent; }
.note { font-size: .82rem; color: var(--muted); }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: #dfe6cf; padding: 40px 0 26px; }
.site-footer a { color: #cde0a8; }
.footer__grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; font-size: .85rem; color: #b9c6a0; text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:first-child img { height: 220px; }
}
@media (max-width: 640px) {
  .nav__links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--cream-2); padding: 8px 20px 16px;
  }
  .nav__links.open { display: flex; }
  .nav__links li { padding: 10px 0; border-bottom: 1px solid var(--cream-2); }
  .nav__toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
}
