/* ============================================================
   AY CAFE — Home page
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 90px) 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 460px at 12% 8%, rgba(125, 151, 113, 0.22), transparent 60%),
    radial-gradient(700px 420px at 96% 22%, rgba(224, 169, 78, 0.16), transparent 55%),
    linear-gradient(170deg, var(--cream-100), var(--cream-50) 55%, #f7f1e6);
}

.hero-bg .leaf-drip {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 96 c16 -2 26 -14 27 -30 c-17 1 -26 13 -27 30 z' fill='%23ECE0CC' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.hero-grid {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-bottom: clamp(60px, 8vw, 110px);
}

.hero-copy { position: relative; z-index: 2; max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--sand-300);
  padding: 9px 18px 9px 12px;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-700);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-badge .dot-live {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-badge);
  box-shadow: 0 0 0 4px rgba(31, 122, 61, 0.18);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  color: var(--green-950);
  margin-bottom: 20px;
  line-height: 1.04;
}

.hero h1 .accent-green { color: var(--green-600); }

.hero p.lead { max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  justify-content: center;
}

.hero-meta .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-500);
}

.hero-meta .meta-pill svg { width: 16px; height: 16px; color: var(--green-600); }

/* ---------- Marquee strip ---------- */
.marquee {
  background: var(--green-800);
  color: var(--cream-100);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
  border-block: 1px solid rgba(224, 169, 78, 0.3);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
  white-space: nowrap;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-right: 46px;
}

.marquee-track span::after {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber-400);
  flex: none;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.service-tile {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 22px 22px 8px 22px;
  padding: 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-400);
}

.service-tile .st-icon {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 16px 16px 6px 16px;
  background: var(--cream-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
}

.service-tile .st-icon svg { width: 24px; height: 24px; }

.service-tile h3 { font-size: 1.02rem; margin-bottom: 4px; }
.service-tile p { font-size: 0.88rem; color: var(--ink-500); }

@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Featured dishes ---------- */
.dish-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.dish-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 30px 30px 10px 30px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.dish-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.dish-body { padding: 20px 22px 24px; }

.dish-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.dish-head .dish-badge { margin-bottom: 8px; }

.dish-head h3 { font-size: 1.12rem; }
.dish-head .price { font-family: var(--font-display); font-weight: 700; color: var(--wood-600); font-size: 1.1rem; white-space: nowrap; }

.dish-body p { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 12px; }

.dish-meta { display: flex; align-items: center; gap: 12px; }

@media (min-width: 640px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dish-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Chef picks ---------- */
.chef-picks {
  position: relative;
}

.chef-picks-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

.chef-card {
  background: var(--cream-100);
  border: 1px solid rgba(223, 201, 169, 0.5);
  border-radius: 26px 26px 26px 8px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.chef-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.chef-card .chef-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(224, 169, 78, 0.55);
  line-height: 1;
}

.chef-card .chef-body { padding: 22px 20px; }
.chef-card .chef-body h3 { font-size: 1.1rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.chef-card .chef-body h3 svg { width: 18px; height: 18px; color: var(--amber-500); }
.chef-card .chef-body p { font-size: 0.9rem; color: var(--ink-500); }
.chef-card .chef-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--sand-300);
}

@media (min-width: 720px) { .chef-picks-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Signature highlights (bento) ---------- */
.signature-bento {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.sig-tile {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  color: var(--cream-50);
  background:
    radial-gradient(240px 240px at 92% -10%, rgba(224, 169, 78, 0.35), transparent 60%),
    linear-gradient(155deg, var(--green-600), var(--green-900));
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.sig-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.sig-tile .sig-body { max-width: 380px; }
.sig-tile h3 { color: var(--cream-50); font-size: 1.45rem; margin-bottom: 6px; }
.sig-tile p { font-size: 0.9rem; color: rgba(246, 239, 227, 0.86); margin-bottom: 14px; }

.sig-tile.tile-wide { grid-column: span 1; }

@media (min-width: 800px) {
  .signature-bento { grid-template-columns: repeat(2, 1fr); }
  .sig-tile.tile-wide { grid-column: span 2; min-height: 260px; }
  .sig-tile.tile-wide .sig-body { max-width: 560px; }
}

/* ---------- Offers ---------- */
.offers-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }

.offer-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--cream-200);
  border-radius: 24px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.offer-card::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-400), transparent 70%);
  opacity: 0.35;
}

.offer-card .offer-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; color: #9A6214; background: #FBEED8; border-radius: var(--r-pill); padding: 5px 12px; width: fit-content; }
.offer-card h3 { font-size: 1.2rem; }
.offer-card p { font-size: 0.92rem; color: var(--ink-500); flex: 1; }
.offer-card .offer-code {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--green-700);
  border: 1.5px dashed var(--sage-400);
  background: #f0f6f1;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  width: fit-content;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.offer-card .offer-code:hover { background: var(--green-600); color: var(--cream-50); border-color: var(--green-600); }

@media (min-width: 720px) { .offers-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Scan & Order section ---------- */
.scan-section { position: relative; overflow: hidden; }

.scan-grid {
  display: grid;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  grid-template-columns: 1fr;
}

.qr-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.qr-frame {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-200);
}

.qr-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 20px;
  border: 2px dashed var(--amber-400);
}

.qr-code-svg { width: 100%; height: 100%; }

.scan-steps { display: grid; gap: 14px; }

.scan-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(246, 239, 227, 0.08);
  border: 1px solid rgba(246, 239, 227, 0.14);
  border-radius: 20px 20px 8px 20px;
  padding: 18px;
  transition: transform 0.3s var(--ease);
}

.scan-step:hover { transform: translateX(6px); }

.scan-step .ss-num {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: var(--amber-400);
  color: var(--green-950);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.scan-step h3 { color: var(--cream-50); font-size: 1.05rem; margin-bottom: 3px; }
.scan-step p { font-size: 0.9rem; color: rgba(246, 239, 227, 0.78); }

@media (min-width: 900px) { .scan-grid { grid-template-columns: 0.9fr 1.1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }

.faq-intro h3 { font-size: 1.5rem; margin-bottom: 10px; }
.faq-intro p { color: var(--ink-500); margin-bottom: 18px; }

@media (min-width: 860px) { .faq-wrap { grid-template-columns: 0.85fr 1.15fr; } }
