/* ==========================================================================
   The Jolly Forest Fryer — site styles
   Palette: forest green, light green (#E3E196), red accent
   ========================================================================== */

:root {
  --green-900: #163d22;
  --green-800: #1f5a2f;
  --green-700: #2e7d32;
  --green-500: #43a047;
  --green-100: #dcefdc;
  --lime: #e3e196;
  --lime-200: #eeecb9;
  --lime-100: #f6f5dc;
  --cream: #fbfaf2;
  --red-700: #b71c1c;
  --red-600: #c62828;
  --red-500: #d32f2f;
  --ink: #1b2a1f;
  --ink-soft: #46584b;
  --white: #ffffff;

  --font: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 61, 34, 0.12);
  --shadow-lg: 0 24px 60px rgba(22, 61, 34, 0.18);
  --container: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*,
*::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(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 800;
  color: var(--green-900);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--lime-100); }
.section--green { background: var(--green-900); color: var(--lime-100); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green a:not(.btn) { color: var(--lime); }
.section--green a:not(.btn):hover { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: .6rem;
}
.section--green .eyebrow { color: var(--lime); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section--green .lead { color: var(--lime-100); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--red-600);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* Visually hidden */
.sr-only {
  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: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn--primary {
  background: var(--red-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.3);
}
.btn--primary:hover { background: var(--red-700); color: #fff; }
.btn--outline {
  background: transparent;
  color: var(--green-900);
  border-color: var(--green-700);
}
.btn--outline:hover { background: var(--green-700); color: #fff; }
.section--green .btn--outline { color: var(--white); border-color: var(--lime); }
.section--green .btn--outline:hover { background: var(--lime); color: var(--green-900); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ------------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(22, 61, 34, 0.08);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(22, 61, 34, 0.10); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--green-900);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.1;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(22, 61, 34, 0.18);
}
.brand span small {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a:not(.btn) {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--green-900);
  text-decoration: none;
  transition: background-color .15s ease;
}
.nav-list a:not(.btn):hover,
.nav-list a:not(.btn)[aria-current="page"] { background: var(--lime); }
.nav-list .btn { margin-left: .5rem; padding: .65rem 1.25rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 2px solid var(--green-700);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--green-900);
  border-radius: 2px;
  margin: 4px auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: grid; }
  .nav-list {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    padding: .75rem var(--gutter) 1.1rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(22, 61, 34, 0.1);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a:not(.btn) { display: block; padding: .8rem 1rem; }
  .nav-list .btn { margin: .4rem 0 0; width: 100%; }
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 90% -10%, rgba(227, 225, 150, 0.9), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(67, 160, 71, 0.25), transparent 60%),
    linear-gradient(160deg, var(--lime-100) 0%, var(--cream) 60%);
  padding-block: clamp(48px, 8vw, 104px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--white);
  border: 1px solid rgba(22, 61, 34, 0.12);
  border-radius: 999px;
  padding: .4rem .9rem .4rem .5rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--green-800);
  box-shadow: 0 4px 14px rgba(22, 61, 34, 0.08);
  margin-bottom: 1.2rem;
}
.hero__tag i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--red-600);
  color: #fff;
  display: grid; place-items: center;
  font-style: normal;
  font-size: .8rem;
}
.hero h1 em { font-style: normal; color: var(--red-600); }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 560px; }
.hero__answer {
  background: var(--white);
  border-left: 5px solid var(--green-700);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  margin: 1.2rem 0 1.5rem;
  max-width: 560px;
  box-shadow: 0 4px 16px rgba(22, 61, 34, 0.06);
}
.hero__answer p { margin: 0; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.6rem;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}
.app-badges__label {
  width: 100%;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.app-badges a {
  display: inline-block;
  border-radius: 7px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.app-badges a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.app-badges a:focus-visible { outline: 3px solid var(--red-600); outline-offset: 3px; }
.app-badges img { height: 48px; width: auto; }

.hero__visual { position: relative; }
.hero__card {
  position: relative;
  background: var(--green-900);
  color: var(--lime-100);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,225,150,.35), transparent 70%);
  z-index: -1;
}
.hero__card img.logo-lg {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  margin-bottom: 1.25rem;
}
.hero__card h2 { color: var(--white); font-size: 1.5rem; margin-bottom: .35rem; }
.hero__card p { color: var(--lime-100); margin-bottom: 1rem; }
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.chip-list li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(227,225,150,.35);
  color: var(--white);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-size: .9rem;
  font-weight: 700;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__facts li {
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  padding: .8rem .6rem;
  text-align: center;
}
.hero__facts strong { display: block; color: var(--white); font-size: 1.05rem; }
.hero__facts span { font-size: .78rem; color: var(--lime); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card img.logo-lg { width: 90px; height: 90px; }
}
@media (max-width: 480px) {
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* ------------------------------------------------------------------
   Feature / menu cards
   ------------------------------------------------------------------ */
.grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 4px 18px rgba(22, 61, 34, 0.07);
  border: 1px solid rgba(22, 61, 34, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--lime);
  color: var(--green-900);
  margin-bottom: 1rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card--accent .card__icon { background: var(--red-600); color: #fff; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); margin: 0; }

.menu-card { display: flex; flex-direction: column; }
.menu-card ul {
  margin: .75rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.menu-card li { margin-bottom: .2rem; }

/* ------------------------------------------------------------------
   Gallery
   ------------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: clamp(14px, 2vw, 24px);
}
.gallery__item {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-100);
  aspect-ratio: 3 / 2;
}
.gallery__item--wide { grid-column: span 2; aspect-ratio: 3 / 1.4; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.1rem .9rem;
  background: linear-gradient(to top, rgba(22,61,34,.85), transparent);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: auto; aspect-ratio: 3 / 2; }
}

/* ------------------------------------------------------------------
   Steps (how to order)
   ------------------------------------------------------------------ */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  counter-increment: step;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(227,225,150,.25);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-900);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: .9rem;
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--lime-100); }

/* ------------------------------------------------------------------
   Quick answers / AEO block
   ------------------------------------------------------------------ */
.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 760px) { .answers { grid-template-columns: 1fr; } }
.answer {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  border-top: 5px solid var(--green-700);
  box-shadow: 0 4px 18px rgba(22, 61, 34, 0.07);
}
.answer h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.answer p { margin: 0; color: var(--ink-soft); }

/* ------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------ */
.faq { max-width: 820px; }
.faq details {
  background: var(--white);
  border: 1px solid rgba(22, 61, 34, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 800;
  color: var(--green-900);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lime);
  display: grid; place-items: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { background: var(--lime-100); }
.faq summary:focus-visible { outline: 3px solid var(--red-600); outline-offset: -3px; }
.faq .faq__body { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------
   CTA band
   ------------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--red-700), var(--red-500));
  color: #fff;
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(198, 40, 40, 0.25);
}
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); }
.cta-band .btn--primary {
  background: var(--white);
  color: var(--red-700);
  box-shadow: none;
}
.cta-band .btn--primary:hover { background: var(--lime-100); color: var(--red-700); }

/* ------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------ */
.page-hero {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(227, 225, 150, 0.9), transparent 60%),
    linear-gradient(160deg, var(--lime-100), var(--cream));
  padding-block: clamp(40px, 6vw, 72px);
}
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0;
  margin: 0 0 1rem;
  font-size: .9rem;
  color: var(--ink-soft);
}
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--green-500); }
.breadcrumb a { color: var(--green-700); font-weight: 700; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(22, 61, 34, 0.08);
}
.info-list .ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--green-900);
  display: grid; place-items: center;
}
.info-list .ico svg { width: 24px; height: 24px; }
.info-list strong { display: block; color: var(--green-900); margin-bottom: .15rem; }
.info-list p { margin: 0; color: var(--ink-soft); }
.info-list address { font-style: normal; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(22, 61, 34, 0.08);
  background: var(--green-100);
  aspect-ratio: 4 / 3;
  max-width: 100%;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(22, 61, 34, 0.12);
  color: var(--green-900);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease;
}
.social-links a:hover { background: var(--lime); }
.social-links svg { width: 20px; height: 20px; }

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
.site-footer {
  background: var(--green-900);
  color: var(--lime-100);
  padding-block: clamp(40px, 6vw, 64px) 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .75rem; }
.site-footer a { color: var(--lime); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer address { font-style: normal; color: var(--lime-100); }
.footer-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-bottom: 1rem; }
.footer-brand img { width: 56px; height: 56px; border-radius: 14px; }
.footer-brand strong { color: var(--white); font-size: 1.15rem; }
.footer-bottom {
  border-top: 1px solid rgba(227,225,150,.2);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .9rem;
}
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--lime-100);
}
.powered-by a {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border-radius: 999px;
  padding: .35rem .8rem;
}
.powered-by a:hover { background: var(--lime); }
.powered-by img { height: 24px; width: auto; }
