/* Theme: foodtruck
   Ported from webdonald.com — a bold, "neo-brutalist" small-business
   landing-page look: cream paper background, hard red/ink drop-shadows on
   buttons and cards, a gold accent, Poppins for display type over Inter
   for body text. Built for the new pricing/faq/steps/testimonials layout
   blocks (see cms/worker/src/render.js), on top of the usual hero/cards. */

:root {
  --ink: #17161A;
  --ink-2: #2C2A31;
  --red: #E1352B;
  --red-deep: #B9241C;
  --gold: #FFC22E;
  --gold-deep: #E8A511;
  --cream: #FBF5E9;
  --cream-2: #F5EDDC;
  --paper: #FFFFFF;
  --muted: #6B665E;
  --green: #1F9D55;
  --line: #E6DCC7;
  --shadow-hard: 6px 6px 0 var(--ink);
  --shadow-soft: 0 10px 30px rgba(23,22,26,.08);
  --r: 18px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .site-name, .plan-price strong { font-family: Poppins, Inter, system-ui, sans-serif; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1.05; font-weight: 800; margin: 0 0 .5rem; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.12; font-weight: 800; margin: 2.4rem 0 .6rem; }
h3 { font-size: 1.1rem; font-weight: 700; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ---- header / nav ---- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 2px solid var(--ink); }
.site-nav { max-width: var(--max-width); margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 1.2rem; height: 74px; flex-wrap: wrap; }
.site-name { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--ink); }
.site-tagline { color: var(--muted); font-size: .85rem; margin-left: .6rem; font-weight: 500; }
.nav-links { display: flex; gap: 1.2rem; margin-left: auto; align-items: center; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-2); padding: .3rem 0; border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--ink); border-color: var(--red); }

main { max-width: var(--max-width); margin: 0 auto; padding: 0 22px 4rem; }

/* ---- buttons (used by hero-cta and plan-cta) ---- */
.btn, .hero-cta, .plan-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: Poppins, sans-serif; font-weight: 700; font-size: .98rem;
  padding: .78rem 1.4rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--red); color: #fff; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .14s ease, box-shadow .14s ease;
}
.btn:hover, .hero-cta:hover, .plan-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* ---- hero ---- */
.hero { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem); text-align: center; position: relative; }
.hero-watermark { display: none; } /* this theme's hero is plain-copy, no background watermark glyph */
.hero-media { margin: 0 auto 1.4rem; max-width: 280px; }
.hero-media img { margin: 0 auto; }
.hero-ornament { color: var(--gold-deep); font-size: 1rem; letter-spacing: .3em; margin-bottom: .8rem; }
.hero-eyebrow { font-family: Poppins, sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--muted); margin-bottom: .8rem; }
.hero-heading { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.04; margin-bottom: .6rem; }
.hero-heading em { font-style: normal; color: var(--red); }
.hero-subheading { font-size: 1rem; color: var(--muted); margin-bottom: .8rem; }
.hero-kicker { font-weight: 600; color: var(--ink-2); font-size: 1.12rem; margin-bottom: 1rem; }
.hero-lede { max-width: 46ch; margin: 0 auto 1.2rem; color: var(--ink-2); }
.hero-badge { display: inline-block; background: var(--red); color: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: .5rem 1.1rem; font-family: Poppins, sans-serif; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-2deg); margin-top: .4rem; }
.hero-cta { margin-top: 1.4rem; }

/* ---- anchor-nav: used sparingly in this theme, styled like the sticky nav links ---- */
.anchor-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; padding: .8rem 0 2rem; }
.anchor-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; }
.anchor-nav a:hover { color: var(--red); }

/* ---- section plumbing ---- */
.badge { display: inline-block; font-family: Poppins, sans-serif; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.lead { font-size: 1.05rem; color: var(--ink-2); max-width: 54ch; margin: 0 auto 1.4rem; text-align: center; }
main hr, .sep { border: none; border-top: 2px solid var(--line); margin: 2.6rem 0; }
/* Reading column: headings and prose line up in one centered column, so
   blog posts read like articles rather than landing-page sections. */
main h1 { font-size: clamp(2rem, 4.6vw, 2.8rem); line-height: 1.1; margin: .4rem auto 1.1rem; }
main h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 2.2rem auto .6rem; }
main h3:not(.plan-title):not(.step-title) { font-family: Poppins, sans-serif; font-size: 1.15rem; margin: 1.8rem auto .7rem; }
main > h1, main > h2, main > h3, main > p, main > ul, main > ol, main > blockquote, main > pre { max-width: 40rem; margin-left: auto; margin-right: auto; }
main > p { margin-top: 0; margin-bottom: 1.1rem; }
main > ul, main > ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
main > ul li, main > ol li { margin-bottom: .45rem; }
main a { color: var(--red-deep); text-underline-offset: 3px; }
main a:hover { color: var(--red); }
main blockquote { border-left: 4px solid var(--gold); background: var(--cream-2); padding: .8rem 1.1rem; border-radius: 0 10px 10px 0; }
main code { background: var(--cream-2); border: 1px solid var(--line); border-radius: 6px; padding: .08rem .35rem; font-size: .88em; }
.post-meta { max-width: 40rem; margin: 1.8rem auto 0; color: var(--muted); font-size: .88rem; font-weight: 600; }
.band h2 { text-align: center; }
main .plan-features { padding-left: 0; }

/* blog index */
.post-list { list-style: none; padding: 0; max-width: 40rem; margin: 1.2rem auto 2rem; display: grid; gap: .9rem; }
.post-list li { background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; transition: transform .14s ease, border-color .14s ease; }
.post-list li:hover { transform: translateY(-3px); border-color: var(--ink); }
.post-list a { font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.08rem; color: var(--ink); text-decoration: none; display: block; }
.post-list a:hover { color: var(--red); }
.post-list time { display: block; margin-top: .3rem; color: var(--muted); font-size: .8rem; font-weight: 600; }

/* ---- generic cards (industries / why-us / included-features grids) ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.6rem 0 2.4rem; }
.card { background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 1.2rem; text-align: center; }
.card-sym { display: block; font-size: 1.6rem; margin-bottom: .5rem; }
.card-title { font-family: Poppins, sans-serif; font-weight: 700; margin-bottom: .35rem; }
.card-body { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.card-verse { font-size: .76rem; color: var(--red); margin-top: .5rem; font-weight: 600; }

/* ---- full-bleed color bands (::: band-start / ::: band-end) ----
   The "break out of the container" trick: 100vw + the 50%/-50vw shift
   centers a full-viewport-width box regardless of main's own max-width
   and padding, so a section can span edge-to-edge like the source
   site's colored industries/why-us strips, with its content still
   lining up with everything above and below it via the inner .wrap. */
.band { position: relative; left: 50%; width: 100vw; margin-left: -50vw; padding: 2.1rem 0; margin-top: 2.6rem; margin-bottom: 2.6rem; }
.band > * { max-width: var(--max-width); margin-inline: auto; padding-inline: 22px; box-sizing: border-box; }
.band-red { background: var(--red); color: #fff; }
.band-red h2 { color: #fff; }
.band-red .cards { margin-top: 1.6rem; }
.band-red .card { background: none; border: none; padding: 0; }
.band-red .card-title { color: #fff; }
.band-red .card-body { color: rgba(255,255,255,.88); }
.band-red .pullquote { margin-top: 1.8rem; }
.band-cream2 { background: var(--cream-2); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 1.6rem 0; margin-top: 0; }
.band-cream2 .cards { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .7rem; margin: 0; }
.band-cream2 .card { background: none; border: none; padding: .4rem; }
.band-cream2 .card-sym { font-size: 1.9rem; }
.band-cream2 .card-title { font-weight: 600; font-size: .86rem; }

/* ---- pricing ---- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin: 2rem 0; align-items: stretch; }
.plan {
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1.25rem 1.4rem; position: relative; display: flex; flex-direction: column; height: 100%;
}
.plan--featured { border-color: var(--red); box-shadow: 0 0 0 4px rgba(225,53,43,.12); }
.plan-badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-family: Poppins, sans-serif; font-weight: 700; font-size: .68rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 999px; white-space: nowrap;
}
.plan-title { text-align: center; font-size: 1.1rem; margin-top: .4rem; }
.plan-who { text-align: center; font-size: .86rem; color: var(--muted); margin-top: .5rem; }
.plan-features { list-style: none; margin: 1.1rem 0 0; padding: 1.1rem 0 0; border-top: 2px dashed var(--line); display: grid; gap: .5rem; flex: 1; }
.plan-features li { font-size: .88rem; line-height: 1.4; padding-left: 1.3rem; position: relative; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: .4rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 2px dashed var(--line); }
.plan-price strong { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price span { font-size: .74rem; color: var(--muted); font-weight: 600; }
.plan-cta { width: 100%; justify-content: center; margin-top: 1rem; }

/* ---- faq (native <details>/<summary>, no JS) ---- */
.faq { max-width: 740px; margin: 1.6rem auto 2.4rem; }
.faq-item { background: var(--paper); border: 2px solid var(--line); border-radius: 12px; margin-bottom: .7rem; overflow: hidden; }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: .98rem; padding: 1rem 1.2rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-size: 1.05rem; }
.faq-item[open] summary::after { content: "\2212"; background: var(--red); color: #fff; }
.faq-item:hover summary { background: var(--cream-2); }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* ---- steps (numbered process list, counter-based) ---- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; margin: 1.8rem 0 2.4rem; padding: 0; }
.step { counter-increment: step; background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 1.5rem 1rem 1.2rem; text-align: center; position: relative; }
.step::before {
  content: counter(step); position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: Poppins, sans-serif; font-weight: 700; font-size: .9rem; color: #fff; border: 2px solid var(--ink);
  background: var(--red);
}
.step:nth-child(4n+1)::before { background: var(--gold); color: var(--ink); }
.step:nth-child(4n+2)::before { background: var(--red); }
.step:nth-child(4n+3)::before { background: var(--green); }
.step:nth-child(4n+4)::before { background: var(--ink); }
.step-title { font-size: .95rem; margin-top: .3rem; }
.step-body { font-size: .84rem; color: var(--muted); margin-top: .4rem; line-height: 1.5; }

/* ---- testimonials ---- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; margin: 1.8rem 0 2.4rem; }
.testimonial { background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 1.3rem; margin: 0; }
.testimonial-quote { font-size: .95rem; line-height: 1.55; }
.testimonial-stars { color: var(--red); letter-spacing: 2px; margin: .6rem 0 0; font-size: .92rem; }
.testimonial-author { margin-top: .6rem; font-size: .84rem; color: var(--muted); font-weight: 600; }

/* ---- pullquote (reused for the single standout testimonial) ---- */
.pullquote { background: var(--gold); border: 3px solid var(--ink); border-radius: var(--r); padding: 1.5rem 1.4rem; box-shadow: 5px 5px 0 rgba(23,22,26,.45); margin: 2rem 0; max-width: 560px; margin-inline: auto; }
.pullquote blockquote { margin: 0; font-weight: 600; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.pullquote cite { display: block; margin-top: .9rem; font-size: .88rem; font-weight: 600; color: #5a4a1d; font-style: normal; }

/* ---- footer ---- */
.site-footer { max-width: var(--max-width); margin: 0 auto; padding: 2rem 22px; color: var(--muted); font-size: .85rem; border-top: 2px solid var(--ink); text-align: center; }

/* ---- floating WhatsApp button ---- */
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: .6rem;
  text-decoration: none;
}
.wa-fab-tip {
  background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; padding: .5rem .85rem;
  border-radius: 999px; white-space: nowrap; opacity: 0; transform: translateX(8px);
  transition: opacity .22s ease, transform .22s ease;
}
.wa-fab:hover .wa-fab-tip, .wa-fab:focus-visible .wa-fab-tip { opacity: 1; transform: none; }
.wa-fab-btn {
  position: relative; width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; flex: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.wa-fab:hover .wa-fab-btn { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.wa-fab-btn svg { width: 27px; height: 27px; }
.wa-fab-btn::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid #25D366;
  animation: wa-ping 2.4s cubic-bezier(.2,.7,.4,1) infinite;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.55); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 720px) { .wa-fab-tip { display: none; } .wa-fab { right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .wa-fab-btn::after { animation: none; } }

/* ---- content images (shared row-2/row-3/image-text/text-text blocks) ---- */
main img { max-width: 100%; height: auto; display: block; }
figure.img-figure { margin: 2rem 0; }
figure.img-figure img { margin: 0 auto; border-radius: 14px; }
figure.img-figure figcaption { margin-top: .5rem; font-size: .8rem; color: var(--muted); text-align: center; }
.img-row { display: flex; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.img-row figure.img-figure { flex: 1 1 0; min-width: 180px; margin: 0; }
.split { display: flex; gap: 1.5rem; margin: 2rem 0; align-items: flex-start; flex-wrap: wrap; }
.split > * { flex: 1 1 260px; min-width: 0; }
.split figure.img-figure { margin: 0; }
.split-text p:first-child { margin-top: 0; }

.lang-switch { max-width: var(--max-width); margin: 0 auto; padding: .4rem 22px .6rem; font-size: .78rem; }
.lang-switch a { color: var(--muted); text-decoration: none; margin-right: .4rem; }
.lang-switch a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .site-nav { height: auto; padding: .9rem 22px; flex-wrap: wrap; }
  .nav-links { width: 100%; margin-left: 0; justify-content: flex-start; }
  .img-row, .split { flex-direction: column; }
}

/* breathing room under a full-width custom header (blog index title) */
main > h1:first-child { margin-top: 2.5rem; }
