/* =========================================================
   Platters — St Neots
   Modern, responsive stylesheet (Green & White theme)
   ========================================================= */

:root {
  --green:        #22cf01;   /* brand green (from logo) */
  --green-600:    #1ba300;   /* buttons / hover */
  --green-700:    #138000;
  --green-900:    #0c5400;   /* deep green for footer / headings */
  --ink:          #1c2b1a;
  --muted:        #5b6b58;
  --bg:           #ffffff;
  --bg-soft:      #f4faf1;
  --bg-soft-2:    #eaf6e5;
  --line:         #e1ece0;
  --white:        #ffffff;
  --shadow-sm:    0 2px 10px rgba(12, 84, 0, .06);
  --shadow-md:    0 10px 30px rgba(12, 84, 0, .10);
  --shadow-lg:    0 24px 60px rgba(12, 84, 0, .16);
  --radius:       14px;
  --radius-lg:    22px;
  --maxw:         1180px;
  --ease:         cubic-bezier(.16,.84,.44,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-900); }
h1, h2, h3 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); background: var(--bg-soft-2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-600);
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px;
  background: var(--btn-bg); color: #fff !important;
  border: 2px solid transparent; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--green-700); color: #fff !important; }
.btn--ghost {
  background: transparent; color: var(--green-700) !important;
  border-color: var(--green-600);
}
.btn--ghost:hover { background: var(--green-600); color: #fff !important; }
.btn--white { background: #fff; color: var(--green-700) !important; }
.btn--white:hover { background: #f3fff0; color: var(--green-900) !important; }
.btn--lg { padding: 16px 34px; font-size: 1.08rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.02em; font-size: 1.25rem; color: var(--ink); }
.brand img { width: 46px; height: 46px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand span small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: var(--green-700); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; color: var(--ink);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-700); background: var(--bg-soft); }
.nav-links .btn { color: #fff !important; padding: 11px 22px; }
.nav-links .btn:hover { color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 10px; padding: 11px;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.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(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(34,207,1,.12), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,207,1,.18), transparent 70%);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: clamp(50px, 8vw, 96px) 0;
}
.hero-copy h1 span { color: var(--green-700); }
.hero-copy .lead { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--muted); font-weight: 600; font-size: .98rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--green-600); flex: none; }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
}
.hero-badge {
  position: absolute; left: -18px; bottom: -18px;
  background: #fff; border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
}
.hero-badge .dot { width: 44px; height: 44px; border-radius: 12px; background: var(--green); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.2rem; }
.hero-badge b { display: block; font-size: 1rem; }
.hero-badge small { color: var(--muted); }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cdeac3; }
.card .ic {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-soft-2); color: var(--green-700); margin-bottom: 18px;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.tick-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 18px 14px; color: #fff; font-weight: 700;
  background: linear-gradient(180deg, transparent, rgba(12,84,0,.78));
}

/* ---------- App download strip ---------- */
.apps {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center;
  box-shadow: var(--shadow-md);
}
.apps h2 { color: #fff; }
.apps p { color: rgba(255,255,255,.86); margin: 0; }
.app-badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.app-badges a {
  background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease);
}
.app-badges a:hover { transform: translateY(-3px); }
.app-badges img { height: 40px; width: auto; }

/* ---------- Hygiene / trust ---------- */
.trust { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.trust img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; color: #fff; border-radius: 0;
  background:
    linear-gradient(120deg, rgba(12,84,0,.92), rgba(19,128,0,.92)),
    url("../bbq-370x247.jpg") center/cover;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft-2); color: var(--green-700); display: grid; place-items: center; }
.info-list b { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.info-list a, .info-list span { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.info-list a:hover { color: var(--green-700); }
.hours { list-style: none; margin: 14px 0 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours span:last-child { font-weight: 600; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* page hero (sub pages) */
.page-hero {
  background:
    radial-gradient(120% 130% at 90% 0%, rgba(34,207,1,.14), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  padding: clamp(48px, 7vw, 86px) 0;
  text-align: center;
}
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.12rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.78); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin: 0 0 16px; letter-spacing: .02em; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 50px; height: 50px; border-radius: 12px; }
.footer-brand b { color: #fff; font-size: 1.3rem; font-weight: 900; }
.site-footer p { color: rgba(255,255,255,.75); }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-links a { color: rgba(255,255,255,.8); }
.foot-links a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff; transition: background .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--green); transform: translateY(-3px); color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .9rem; color: rgba(255,255,255,.65);
}
.powered-by {
  background: #161d2f;
  color: #f5a524;
  text-align: center;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
}
.powered-by a {
  color: #f5a524;
  font-weight: 800;
  text-decoration: underline;
}
.powered-by a:hover { color: #ffbf52; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .trust, .apps, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .app-badges { justify-content: flex-start; }
  .cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 18px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 14px; border-radius: 10px; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .cards, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .page-hero .btn { width: 100%; justify-content: center; }
  .hero-badge { left: 50%; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
