/* =========================================================
   New Hakka Takeaway – site styles
   Theme: red (matched to logo), white, orange #E48F34
   ========================================================= */
:root {
  --red: #b3312a;
  --red-dark: #8c1f19;
  --red-soft: #fbeae8;
  --orange: #e48f34;
  --orange-dark: #c9761f;
  --orange-soft: #fdf0e2;
  --ink: #1f1a17;
  --ink-2: #4a423d;
  --muted: #6f655f;
  --line: #ece4dc;
  --bg: #ffffff;
  --bg-warm: #fff9f3;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(31, 26, 23, .10);
  --shadow-sm: 0 3px 10px rgba(31, 26, 23, .08);
  --max: 1160px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--warm { background: var(--bg-warm); }
.section__head { max-width: 680px; margin-bottom: 2.25rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--ink-2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(179, 49, 42, .3); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--secondary { background: #fff; color: var(--red); border-color: var(--red); }
.btn--secondary:hover { background: var(--red-soft); color: var(--red-dark); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(228, 143, 52, .35); }
.btn--orange:hover { background: var(--orange-dark); color: #fff; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.08rem; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: var(--radius-sm); z-index: 1000; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .55rem .9rem; border-radius: 999px; }
.nav a:hover { background: var(--red-soft); color: var(--red-dark); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 3px; border-radius: 3px; background: var(--orange); margin: 2px .2rem 0;
}
.nav .btn { padding: .6rem 1.2rem; margin-left: .5rem; }
.nav .btn:hover { transform: none; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--line); border-radius: var(--radius-sm);
  width: 46px; height: 44px; cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); transition: transform .2s;
}
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .75rem 1rem 1rem; gap: .25rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 1rem; border-radius: var(--radius-sm); }
  .nav .btn { margin: .5rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(228, 143, 52, .18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(179, 49, 42, .12), transparent 60%),
    var(--bg-warm);
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero__title { margin-bottom: 1rem; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__text { font-size: 1.2rem; color: var(--ink-2); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.hero__meta li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__meta svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.apps { display: flex; flex-direction: column; gap: .6rem; }
.apps__label { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.apps__badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.apps__badges a { display: inline-block; border-radius: 7px; transition: transform .15s ease, box-shadow .15s ease; }
.apps__badges a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.apps__badges img { height: 44px; width: auto; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; left: -12px; bottom: 26px; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: .7rem 1rem; display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .95rem;
}
.hero__badge span { display: block; font-weight: 500; font-size: .82rem; color: var(--muted); }
.hero__badge svg { width: 34px; height: 34px; color: var(--orange); flex: none; }
.hero__ribbon {
  position: absolute; top: 18px; right: 18px; background: var(--red); color: #fff; font-weight: 700; font-size: .85rem;
  padding: .4rem .8rem; border-radius: 999px; letter-spacing: .04em;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .hero__badge { left: 12px; bottom: 12px; }
}

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem;
  display: flex; flex-direction: column; gap: .6rem; box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-dark);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- Gallery / menu highlights ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--line);
  box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .8rem; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(to top, rgba(31, 26, 23, .85), transparent);
}
.gallery figure.is-wide { grid-column: span 2; }
.gallery figure.is-wide img { aspect-ratio: 8 / 5; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery figure.is-wide { grid-column: span 3; } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .7rem; } .gallery figure.is-wide { grid-column: span 2; } }
.section__cta { text-align: center; margin-top: 2.25rem; }

/* ---------- Two column (about / steps) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 800; font-size: 1.2rem;
}
.steps h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Answer box (AEO) ---------- */
.answer {
  border-left: 5px solid var(--orange); background: var(--orange-soft); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.3rem; margin: 0 0 1.5rem; font-size: 1.05rem;
}
.answer p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.2rem; }
.faq details[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; padding: 1rem 2.2rem 1rem 0; position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
  border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-weight: 800;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); margin: 0 0 1.1rem; }

/* ---------- Info cards / contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm);
}
.card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.card h3 svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.card p { margin: 0 0 .5rem; color: var(--ink-2); }
.card address { font-style: normal; color: var(--ink-2); }
.card .btn { margin-top: .75rem; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--line); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

.social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.social a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; background: #fff;
}
.social a:hover { border-color: var(--orange); color: var(--red-dark); }
.social svg { width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 55%, #5f120e 100%); color: #fff;
  border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(228, 143, 52, .35); filter: blur(10px);
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn--secondary { background: #fff; border-color: #fff; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--bg-warm); padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--line); }
.page-head p { max-width: 640px; color: var(--ink-2); font-size: 1.15rem; margin: 0; }
.breadcrumb { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #1f1a17; color: #d9d0c8; padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 150px; background: #fff; padding: .5rem .7rem; border-radius: 10px; }
.footer-brand p { margin-top: 1rem; color: #b8aca2; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-apps { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.footer-apps img { height: 40px; width: auto; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; color: #b8aca2;
}
.powered { display: inline-flex; align-items: center; gap: .6rem; }
.powered img { height: 30px; width: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
