/* ============================================================
   Custom Food Trailers UK — site styles
   Brand: polished Airstream silver + British racing green,
   warm nostalgic accent. Clean, premium, food-industry feel.
   ============================================================ */

:root {
  --green: #1c6b43;        /* primary brand green */
  --green-deep: #103d2a;   /* dark sections */
  --green-2: rgba(28,107,67,.10); /* tint */
  --green-bright: #33a35f; /* hover / highlight */
  --lime: #6fce8f;         /* soft accent */
  --amber: #e0a13a;        /* warm CTA accent (food warmth) */
  --amber-bright: #f0b64f;
  --silver: #d9dee1;       /* Airstream metal */
  --cream: #f7f3ea;        /* warm paper */
  --ink: #14231b;          /* near-black green */
  --muted: #5c6f64;
  --bg: #f6f8f6;
  --white: #ffffff;
  --line: #e4ece7;
  --shadow: 0 10px 30px rgba(16, 61, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(16, 61, 42, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --head: "Poppins", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-bright); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.14; color: var(--green-deep); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 78px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--white); }
.section--cream { background: var(--cream); }
.section--green { background: var(--green-deep); color: #dcefe3; }
.section--green h2, .section--green h3, .section--green h4 { color: #fff; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.78rem; font-weight: 600; color: var(--green); margin-bottom: 12px;
}
.section--green .eyebrow { color: var(--lime); }
.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--green .section-head p { color: #a9ccb8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--head); font-weight: 600; font-size: 0.96rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  letter-spacing: .02em;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(28,107,67,.32); }
.btn--primary:hover { background: var(--green-bright); color: #fff; }
.btn--amber { background: var(--amber); color: #2a1c05; box-shadow: 0 8px 22px rgba(224,161,58,.32); }
.btn--amber:hover { background: var(--amber-bright); color: #2a1c05; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--dark { background: var(--green-deep); color: #fff; }
.btn--dark:hover { background: var(--green); color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-fallback { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; color: var(--green-deep); font-size: 1.2rem; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--green-deep); font-weight: 500; font-size: .98rem; position: relative; }
.nav-links a.active, .nav-links a:hover { color: var(--green); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--green-bright); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 600; color: var(--green-deep); font-size: .95rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-deep); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(180deg, rgba(16,61,42,.62), rgba(16,61,42,.80)),
    var(--hero-img, linear-gradient(135deg, #103d2a, #1c6b43 60%, #33a35f));
  background-size: cover, min(880px, 88%) auto;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding: clamp(84px, 13vw, 150px) 0 clamp(72px, 11vw, 128px);
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; }
.hero .lead { max-width: 680px; margin: 0 auto 30px; font-size: clamp(1.02rem, 1.7vw, 1.22rem); color: #eaf5ee; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pill-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.pill {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  color: #fff; padding: 7px 15px; border-radius: 999px; font-size: .84rem; font-weight: 500;
  backdrop-filter: blur(4px);
}

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* trailer / experience card */
.xp-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.xp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xp-card .media { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--silver); }
.xp-card .media .tag { position: absolute; top: 12px; left: 12px; background: var(--amber); color: #2a1c05; font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.xp-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.xp-card .body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.xp-card .body p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; }
.price-line .price { font-weight: 800; color: var(--green); font-size: 1.15rem; }
.price-line .from { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img, .split .media-box { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split .media-box { aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: var(--silver); }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }

/* ---------- Spec list ---------- */
.spec-cols { columns: 3; column-gap: 40px; }
.spec-cols li { break-inside: avoid; list-style: none; padding: 7px 0 7px 26px; position: relative; color: var(--ink); font-size: .96rem; border-bottom: 1px solid var(--line); }
.spec-cols li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ---------- Power / feature icon grid ---------- */
.icon-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.icon-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; text-align: center; box-shadow: var(--shadow); }
.icon-card img { height: 54px; width: auto; margin: 0 auto 14px; }
.icon-card h4 { font-size: 1.02rem; margin-bottom: 8px; color: var(--green-deep); }
.icon-card p { font-size: .86rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a, .gallery .g-item { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; background: var(--silver); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* photo slot placeholder for future Airstream shots */
.photo-slot { border: 2px dashed var(--lime); border-radius: var(--radius-sm); display: grid; place-items: center; aspect-ratio: 1/1; color: var(--green); font-size: .8rem; text-align: center; padding: 10px; background: #eef7f0; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 14px; }
.step .num { width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step h4 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote .stars { color: var(--amber); letter-spacing: 3px; font-size: 1.1rem; margin-bottom: 16px; }
.quote blockquote { font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.6; color: #eef7f0; font-weight: 500; margin-bottom: 20px; }
.quote .who { display: flex; align-items: center; gap: 14px; justify-content: center; }
.quote .who img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.quote .who .name { text-align: left; }
.quote .who .name strong { display: block; color: #fff; }
.quote .who .name span { font-size: .88rem; color: #a9ccb8; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--green), var(--green-deep)); border-radius: var(--radius); padding: 48px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { max-width: 560px; margin: 0 auto 24px; color: #d7eadf; }

/* ---------- Forms ---------- */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--green-deep); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; background: #fbfdfb; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(51,163,95,.16); }
.form textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: .82rem; color: var(--muted); }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c0392b; }

/* ---------- Contact info blocks ---------- */
.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--green-2); display: grid; place-items: center; color: var(--green); flex: 0 0 auto; font-size: 1.1rem; }
.info-list strong { display: block; color: var(--green-deep); }
.info-list span, .info-list a { color: var(--muted); }

/* ---------- Trust bar ---------- */
.trust { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; }
.trust .t-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green-deep); font-size: .95rem; }
.trust .t-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-bright); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--green-deep); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: #bcd6c7; padding: 60px 0 26px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.site-footer a { color: #bcd6c7; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-brand img { height: 58px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .92rem; max-width: 300px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.09); display: grid; place-items: center; color: #fff; font-size: 1rem; }
.social-row a:hover { background: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: #8fb29f; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(135deg, var(--green-deep), var(--green)); color: #fff; text-align: center; padding: 84px 0 66px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: #d7eadf; max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: #a9ccb8; margin-bottom: 14px; letter-spacing: .04em; }
.breadcrumb a { color: #cfe6d8; }

/* prose */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p { color: #33453b; margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; color: #33453b; }
.prose li { margin-bottom: 8px; }
.lead-p { font-size: 1.15rem; color: var(--muted); margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4, .icon-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .spec-cols { columns: 2; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 88px; left: 0; right: 0; flex-direction: column;
    background: #fff; padding: 18px 22px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .icon-grid, .steps, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .spec-cols { columns: 1; }
  .cta-band { padding: 32px 22px; }
  .section { padding: 56px 0; }
}
