/* Folklore Culinary catering landing page.
   Two colors only: brand green (from the logo) for dark areas, warm white for everything else.
   Gold is used for buttons and small accents, nothing else. */

:root {
  --green: #2e3a35;
  --green-deep: #24302b;
  --white: #ffffff;
  --cream: #f7f4ef;
  --gold: #9c7a45;
  --gold-hover: #86683a;
  --gold-light: #d8bf91;
  --text: #1f2421;
  --text-soft: #4a504c;
  --line: #e4ded4;
  --head: "Playfair Display", Georgia, serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --pad: 20px;
}
@media (min-width: 768px) { :root { --pad: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--body); font-size: 18px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0; color: inherit; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0; }
.sub { margin-top: 14px; font-size: 18px; color: var(--text-soft); max-width: 640px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 32px; border: 0; border-radius: 4px;
  background: var(--gold); color: #fff; text-decoration: none;
  font-family: var(--body); font-size: 17px; font-weight: 500; letter-spacing: .02em;
  transition: background .2s;
}
.btn:hover { background: var(--gold-hover); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-green { background: var(--green); }
.btn-green:hover { background: var(--green-deep); }
.btn:focus-visible, .choice:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }

/* header */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; background: linear-gradient(180deg, rgba(20,26,23,.55), rgba(20,26,23,0)); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; transform: scale(1.06); }
.logo span { font-family: var(--head); font-size: 20px; font-weight: 600; }
.top .btn { min-height: 46px; padding: 0 20px; font-size: 16px; }

/* hero: full-bleed photo, brand-green shade on the text side */
.hero { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; min-height: 640px; min-height: 92svh; display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,36,32,.35) 0%, rgba(28,36,32,.2) 25%, rgba(28,36,32,.85) 55%, rgba(28,36,32,.97) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-copy { padding: 120px 0 44px; max-width: 620px; }
.hero h1 { color: #fff; }
.hero .sub { color: rgba(255,255,255,.9); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: #fff; }
.checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--gold-light); }
.hero .btn { margin-top: 30px; width: 100%; }
.hero-note { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.78); }

/* sections */
.section { padding: 64px 0; }
.section.cream { background: var(--cream); }
.head { margin-bottom: 34px; max-width: 720px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .sub { margin-left: auto; margin-right: auto; }

/* what we cater */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card p { margin-top: 8px; color: var(--text-soft); font-size: 17px; flex: 1; }
.card a { margin-top: 18px; font-weight: 500; color: var(--gold); text-decoration: none; font-size: 17px; }
.card a:hover { text-decoration: underline; }

/* included */
.split { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
.split img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { padding-top: 0; }
.list svg { flex: none; width: 24px; height: 24px; color: var(--gold); margin-top: 3px; }
.list strong { display: block; font-weight: 500; font-size: 18px; }
.list span { display: block; color: var(--text-soft); font-size: 17px; margin-top: 2px; }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 26px 24px; }
.steps .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 500; font-size: 18px; }
.steps h3 { margin-top: 16px; }
.steps p { margin-top: 8px; color: var(--text-soft); font-size: 17px; }
.center-cta { text-align: center; margin-top: 36px; }

/* gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }

/* about */
.about p + p { margin-top: 14px; }
.about p { color: var(--text-soft); }
.about img { aspect-ratio: 4 / 5; }

/* reviews */
.reviews { display: grid; gap: 20px; grid-template-columns: 1fr; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; }
.review p { font-size: 19px; line-height: 1.55; }
.review footer { margin-top: 16px; font-weight: 500; color: var(--text-soft); font-size: 16px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 500; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; color: var(--text-soft); font-size: 17px; }

/* final */
.final { background: var(--green); color: #fff; text-align: center; padding: 64px 0; }
.final h2 { color: #fff; }
.final .sub { color: rgba(255,255,255,.85); margin-left: auto; margin-right: auto; }
.final .btn { margin-top: 28px; }

/* footer */
.foot { background: var(--green-deep); color: rgba(255,255,255,.8); padding: 34px 0 110px; font-size: 15px; }
.foot .wrap { display: grid; gap: 14px; }
.foot a { color: #fff; }

/* sticky mobile button */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .3s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; }

.reveal { opacity: 1; }

/* ---------- pop-up form ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 0; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 26, 23, .7); animation: fade .25s ease both; }
.modal-panel {
  position: relative; z-index: 1; width: 100%; height: 100%;
  background: var(--white); display: flex; flex-direction: column;
  animation: pop .28s ease both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.modal-top .label { font-family: var(--head); font-weight: 600; font-size: 20px; }
.modal-close { width: 44px; height: 44px; border: 0; background: var(--cream); border-radius: 50%; display: grid; place-items: center; color: var(--text); }
.modal-close svg { width: 18px; height: 18px; }
.progress { height: 4px; background: var(--line); }
.progress span { display: block; height: 100%; width: 20%; background: var(--gold); transition: width .3s; }
.modal-body { flex: 1; overflow-y: auto; padding: 26px 20px; -webkit-overflow-scrolling: touch; }
.step { display: none; }
.step.active { display: block; }
.step-count { font-size: 14px; color: var(--text-soft); }
.step h3 { margin: 6px 0 6px; font-size: 26px; }
.step .hint { margin: 0 0 20px; color: var(--text-soft); font-size: 16px; }
.choices { display: grid; grid-template-columns: 1fr; gap: 10px; }
.choice { text-align: left; padding: 16px 18px; min-height: 58px; border: 1px solid #cfc7ba; border-radius: 6px; background: #fff; font-size: 17px; color: var(--text); line-height: 1.3; }
.choice small { display: block; margin-top: 3px; font-size: 14px; color: var(--text-soft); }
.choice:hover { border-color: var(--gold); }
.choice[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #fff; }
.choice[aria-pressed="true"] small { color: rgba(255,255,255,.8); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 13px 15px; border: 1px solid #cfc7ba; border-radius: 6px; background: #fff; font-family: var(--body); font-size: 17px; color: var(--text); -webkit-appearance: none; appearance: none; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.field.error input, .field.error textarea { border-color: #b3261e; }
.err { display: none; margin-top: 6px; font-size: 15px; color: #b3261e; }
.field.error .err, .group-error.show { display: block; }
.group-error { display: none; margin-top: 10px; font-size: 15px; color: #b3261e; }
.row-2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.modal-foot { display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.modal-foot .btn { flex: 1; }
.btn-back { flex: 0 0 auto !important; background: transparent; color: var(--text); border: 1px solid var(--line); padding: 0 22px; }
.btn-back:hover { background: var(--cream); }
.btn-back[hidden] { display: none; }
.consent { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--text-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; margin-top: 14px; padding: 12px 14px; border: 1px solid #b3261e; border-radius: 6px; color: #b3261e; font-size: 15px; }
.form-alert.show { display: block; }
.thanks .mark { width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.thanks .mark svg { width: 28px; height: 28px; }
.thanks p { color: var(--text-soft); margin-top: 10px; }
body.modal-lock { overflow: hidden; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .choices.two { grid-template-columns: 1fr 1fr; }
  .hero .btn { width: auto; }
  .modal { padding: 24px; }
  .modal-panel { height: auto; max-height: calc(100vh - 48px); max-width: 600px; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
}
@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .hero { align-items: center; min-height: 760px; min-height: 100svh; }
  .hero-img { left: 34%; }
  .hero::after { background: linear-gradient(90deg, rgba(28,36,32,1) 0%, rgba(28,36,32,1) 34%, rgba(28,36,32,.7) 46%, rgba(28,36,32,.15) 62%, rgba(28,36,32,0) 100%); }
  .hero-img img { object-position: 60% 35%; }
  .hero-copy { padding: 140px 0 90px; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .sticky-cta { display: none; }
  .modal-body { padding: 32px 36px; }
  .modal-top, .modal-foot { padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 420px) {
  .logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
