/* ===== Inner pages (About, Our Farm, Products, FAQ, Contact, legal, utility) =====
   Loads after style.css (+ home.css where the supply-chain map is used). */

body.page-inner { padding-top: 72px; }
.page-inner main { display: block; }
.page-inner section { padding: 80px 0; }
@media (max-width: 900px) { .page-inner section { padding: 60px 0; } }
@media (max-width: 600px) { body.page-inner { padding-top: 68px; } .page-inner section { padding: 46px 0; } }

.main-nav a.is-active { color: var(--green-primary); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--charcoal); color: var(--white); overflow: hidden; padding: 88px 0 80px; }
.page-inner .page-hero { padding: 88px 0 80px; }
.page-hero.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-img) center 55% / cover no-repeat; opacity: .38;
}
.page-hero.has-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42,47,53,.92) 0%, rgba(42,47,53,.55) 60%, rgba(42,47,53,.25) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 600; color: var(--green-logo); margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 780px; margin-bottom: 20px; }
.page-hero .lead { font-size: clamp(16px, 1.7vw, 19px); font-weight: 300; color: rgba(255,255,255,.84); max-width: 640px; margin-bottom: 30px; }
.page-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero .kiko-hero { position: absolute; right: 6%; bottom: 0; height: 280px; width: auto; z-index: 1; filter: drop-shadow(0 14px 18px rgba(0,0,0,.25)); }
@media (max-width: 1000px) { .page-hero .kiko-hero { display: none; } }

/* ---------- Shared bits ---------- */
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.page-inner .eyebrow-dark, .page-inner p.eyebrow-dark { text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; font-weight: 600; color: var(--green-primary); margin: 0 0 12px; max-width: none; }
.page-inner .bg-charcoal .eyebrow-dark, .page-inner .bg-charcoal p.eyebrow-dark { color: var(--green-logo); }
.section-title { font-size: clamp(25px, 3.5vw, 36px); margin-bottom: 16px; }
.section-lede { color: var(--slate-gray); font-size: 16px; max-width: 640px; }
.bg-charcoal .section-lede { color: rgba(255,255,255,.75); }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.prose p { color: #4a5057; font-size: 16px; margin-bottom: 16px; max-width: 560px; }
.prose p:last-child { margin-bottom: 0; }
.bg-charcoal .prose p { color: rgba(255,255,255,.78); }
.prose strong { color: var(--charcoal); font-weight: 600; }
.bg-charcoal .prose strong { color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .media { border-radius: var(--radius); overflow: hidden; background: var(--warm-gray); }
.split .media img, .split .media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.split .media.ratio-45 { aspect-ratio: 4 / 5; }
.split .media.ratio-43 { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 0; } }

.checklist { list-style: none; margin: 22px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--charcoal); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E9A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.bg-charcoal .checklist li { color: #fff; }
.bg-charcoal .checklist li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384B445' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E"); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .card-grid.cols-4 { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border: 1px solid var(--warm-gray); border-radius: var(--radius); padding: 28px 24px; }
.bg-white .info-card { background: var(--cream); border-color: transparent; }
.info-card h3 { font-size: 18px; margin-bottom: 8px; }
.info-card p { color: var(--slate-gray); font-size: 14.5px; }
.info-card .ico { width: 42px; height: 42px; border-radius: 50%; background: #DCEBCB; color: var(--green-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-card .ico svg { width: 20px; height: 20px; }

/* ---------- Photo slots (drop a file with the named path in to replace the placeholder) ---------- */
.photo-slot { position: relative; overflow: hidden; border-radius: var(--radius); background: #E9E4D8; border: 1.5px dashed #bdb6a4; aspect-ratio: var(--ratio, 4 / 5); display: flex; align-items: center; justify-content: center; text-align: center; color: #8a8576; }
.photo-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-slot .slot-note { padding: 16px; font-size: 12.5px; line-height: 1.45; }
.photo-slot .slot-note b { display: block; font-size: 13.5px; color: #6b665a; margin-bottom: 4px; }
.photo-slot .slot-initials { font-size: 46px; font-weight: 600; color: #b3ad9c; letter-spacing: .04em; display: block; margin-bottom: 8px; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }

/* ---------- Cold-chain steps ---------- */
.cc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: cc; }
.cc-step { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 22px; }
.light .cc-step { background: var(--white); border-color: var(--warm-gray); }
.cc-step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--green-logo); color: #fff; font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.cc-step h3 { font-size: 17px; margin-bottom: 8px; }
.cc-step p { font-size: 14px; color: rgba(255,255,255,.72); }
.light .cc-step p { color: var(--slate-gray); }
@media (max-width: 1000px) { .cc-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cc-steps { grid-template-columns: 1fr; } }
.cc-note { margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.6); max-width: 700px; }
.light .cc-note { color: var(--slate-gray); }

/* ---------- Product rows ---------- */
.product-row { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--warm-gray); }
.product-row:first-child { border-top: 0; padding-top: 0; }
.product-row.reverse > :first-child { order: 2; }
.product-row .pthumb { background: var(--white); border: 1px solid var(--warm-gray); border-radius: var(--radius); aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; padding: 32px; }
.product-row .pthumb img { max-height: 100%; width: auto; object-fit: contain; }
.product-row h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.product-row p { color: #4a5057; font-size: 16px; margin-bottom: 18px; max-width: 520px; }
.product-row .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
@media (max-width: 900px) { .product-row, .product-row.reverse { grid-template-columns: 1fr; gap: 28px; } .product-row.reverse > :first-child { order: 0; } }
.specs-panel { background: var(--charcoal); color: #fff; border-radius: var(--radius); padding: 44px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.specs-panel h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 12px; }
.specs-panel p { color: rgba(255,255,255,.75); font-size: 15.5px; margin-bottom: 22px; }
.specs-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.specs-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 14px 16px; font-size: 14.5px; font-weight: 500; }
@media (max-width: 900px) { .specs-panel { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; max-width: 880px; margin: 0 auto; }
.team-card .photo-slot { --ratio: 4 / 5; margin-bottom: 18px; }
.team-card h3 { font-size: 22px; }
.team-card .role { color: var(--green-primary); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin: 2px 0 12px; }
.team-card p { color: #4a5057; font-size: 15.5px; }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 22px; margin-bottom: 16px; }
.faq-group details { background: var(--white); border: 1px solid var(--warm-gray); border-radius: 12px; margin-bottom: 10px; }
.faq-group summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; font-size: 16px; position: relative; }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--green-primary); transition: transform .2s ease; }
.faq-group details[open] summary::after { content: "\2212"; }
.faq-group details[open] { border-color: var(--green-primary); }
.faq-group .ans { padding: 0 22px 20px; color: #4a5057; font-size: 15.5px; }
.faq-group .ans p { margin-bottom: 10px; }
.faq-group .ans a { color: var(--green-primary); text-decoration: underline; }

/* ---------- Forms ---------- */
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--warm-gray); border-radius: 18px; padding: 36px; box-shadow: 0 12px 34px rgba(42,47,53,.06); }
@media (max-width: 560px) { .form-card { padding: 24px 18px; } }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .form-intro { color: var(--slate-gray); font-size: 15px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field .req { color: #A34A3A; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--charcoal); background: var(--cream);
  border: 1px solid var(--warm-gray); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(110,154,58,.18); background: #fff; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #A34A3A; }
.field .err { display: none; color: #A34A3A; font-size: 12.5px; margin-top: 4px; }
.field.invalid .err { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 9px 16px; border: 1px solid var(--warm-gray); border-radius: 999px; font-size: 14px; background: var(--cream); cursor: pointer; transition: all .15s; user-select: none; }
.choice input:checked + span { background: var(--green-primary); border-color: var(--green-primary); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(110,154,58,.3); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-submit .btn { border: 0; font-family: inherit; }
.form-submit .btn[disabled] { opacity: .65; cursor: wait; }
.form-note { font-size: 12.5px; color: var(--slate-gray); margin-top: 14px; }
.form-note a { text-decoration: underline; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 14.5px; }
.form-status.error { display: block; background: #F8E6E1; color: #7d2f22; }
.contact-side { display: grid; gap: 20px; }
.contact-card { background: var(--charcoal); color: #fff; border-radius: 18px; padding: 30px; }
.contact-card h3 { font-size: 19px; margin-bottom: 18px; }
.contact-card a.row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.9); font-size: 15px; }
.contact-card a.row:first-of-type { border-top: 0; }
.contact-card a.row:hover { color: var(--green-logo); }
.contact-card .ci { width: 20px; height: 20px; flex: none; color: var(--green-logo); margin-top: 2px; }
.contact-card .sub { display: block; font-size: 12.5px; color: rgba(255,255,255,.55); }
.contact-kiko { display: flex; align-items: flex-end; gap: 16px; background: var(--white); border: 1px solid var(--warm-gray); border-radius: 18px; padding: 20px 24px; }
.contact-kiko img { height: 150px; width: auto; flex: none; margin-top: -40px; }
.contact-kiko p { font-size: 14.5px; color: #4a5057; padding-bottom: 8px; }
.contact-kiko b { display: block; color: var(--charcoal); font-size: 16px; margin-bottom: 4px; }
@media (max-width: 960px) { .contact-kiko img { margin-top: 0; height: 110px; } }

/* ---------- Legal ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.legal .updated { color: var(--slate-gray); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; }
.legal p, .legal li { color: #4a5057; font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--green-primary); text-decoration: underline; }

/* ---------- Utility pages (thank-you, 404) ---------- */
.notice { text-align: center; max-width: 620px; margin: 0 auto; }
.notice img.kiko { height: 220px; width: auto; margin: 0 auto 20px; }
.notice h1 { font-size: clamp(30px, 4.4vw, 44px); margin-bottom: 14px; }
.notice p { color: var(--slate-gray); font-size: 17px; margin-bottom: 26px; }
.notice .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.next-steps { text-align: left; max-width: 520px; margin: 0 auto 30px; display: grid; gap: 14px; }
.next-steps li { list-style: none; display: flex; gap: 14px; align-items: flex-start; color: #4a5057; font-size: 15.5px; }
.next-steps .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--green-primary); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--warm-gray); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.trust-badges span { display: inline-block; padding: 8px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.light .trust-badges span, .bg-white .trust-badges span, .bg-cream .trust-badges span { border-color: var(--warm-gray); background: var(--white); }

/* photo slots that are filled or intentionally minimal */
.photo-slot.filled { border: 0; background: var(--warm-gray); }
.photo-slot.initials-only { border: 0; background: linear-gradient(160deg, #E9E4D8, #DDD6C4); }
.split > :only-child { grid-column: 1 / -1; max-width: 680px; }
.page-inner .split > :only-child.prose p { max-width: 640px; }
