/* ===== THE ZERO MILES MEAT COMPANY ===== */
:root {
  --bg: #0f1818;
  --bg-dark: #0a1212;
  --card: #152222;
  --border: #1c2a26;
  --border-strong: #2a3a34;
  --gold: #c9a961;
  --gold-hover: #d9ba73;
  --cream: #f5ecd5;
  --text: #e8dfc6;
  --muted: #d4c9a8;
  --dim: #8a9a8f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 16px 38px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  cursor: pointer;
  border: none;
  transition: background-color .3s, color .3s, transform .2s, border-color .3s;
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.3px solid var(--gold); color: var(--gold); padding: 14px 28px; }
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.btn-sm { padding: 12px 28px; }
.btn-block { width: 100%; display: block; margin-top: 8px; }
.gold { color: var(--gold); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(15, 24, 24, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.brand-mark { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.brand.small .brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-top { font-size: 13px; letter-spacing: 0.22em; color: var(--cream); font-weight: 600; }
.brand-sub { font-size: 9px; letter-spacing: 0.32em; color: var(--gold); margin-top: 3px; }
.brand.small .brand-top { font-size: 11px; }
.brand.small .brand-sub { font-size: 9px; color: var(--dim); letter-spacing: 0.15em; }
.nav-links { display: flex; align-items: center; gap: 34px; flex: 1; justify-content: center; }
.nav-link {
  font-size: 11px; letter-spacing: 0.22em; color: var(--text);
  font-weight: 500; position: relative; transition: color .3s;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1.5px; background: var(--gold);
}
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); display: block; }
.nav-mobile { display: none; flex-direction: column; gap: 12px; padding: 20px 20px 24px; background: var(--bg-dark); border-top: 1px solid var(--border); }
.nav-mobile.open { display: flex; }

@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 90px;
  background-size: cover;
  background-position: center right;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,24,24,0.82) 0%, rgba(15,24,24,0.55) 18%, rgba(15,24,24,0.15) 38%, rgba(15,24,24,0) 55%);
}
.hero-inner { position: relative; width: 100%; padding-top: 40px; padding-bottom: 60px; }
.hero-copy { max-width: 640px; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(42px, 6.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  font-weight: 600;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.hero-lead {
  color: var(--text);
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-lead + .hero-lead { margin-bottom: 36px; }
.hero .btn { margin-top: 4px; }

@media (max-width: 900px) {
  .hero { background-position: 70% center; }
  .hero-overlay { background: linear-gradient(to bottom, rgba(15,24,24,0.25), rgba(15,24,24,0.78) 75%); }
}

/* ===== FEATURES ROW ===== */
.features {
  background: var(--bg);
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.feature {
  text-align: center;
  padding: 8px 22px;
  position: relative;
  color: var(--gold);
}
.feature + .feature::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--border-strong);
}
.feat-ico { width: 46px; height: 46px; margin: 0 auto 22px; color: var(--gold); }
.feature h3 {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.2em; color: var(--gold);
  font-weight: 600; margin-bottom: 14px;
}
.feature p { color: var(--muted); font-size: 14px; line-height: 1.65; font-weight: 300; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 10px; }
  .feature + .feature::before { display: none; }
}

/* ===== ABOUT ===== */
.about { background: var(--bg-dark); padding: 70px 0 80px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  align-items: stretch;
}
.about-card {
  background: var(--card);
  padding: 60px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  display: inline-block;
  font-size: 11px; letter-spacing: 0.28em; color: var(--gold);
  font-weight: 600; margin-bottom: 22px;
}
.about-card h2 {
  color: var(--cream);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
  margin-bottom: 26px;
}
.about-card p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 18px; max-width: 480px; }
.about-card p strong { color: var(--cream); font-weight: 600; }
.about-card p em { color: var(--gold); font-style: normal; font-weight: 500; }
.about-card .btn { margin-top: 18px; align-self: flex-start; }
.about-image {
  background-size: cover;
  background-position: center 30%;
  min-height: 480px;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-card { padding: 40px 28px; }
  .about-image { min-height: 320px; }
}

/* ===== GALLERY ===== */
.gallery-block { margin-top: 72px; }
.section-title {
  text-align: center;
  color: var(--cream);
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: 0.04em;
  margin-bottom: 34px;
  font-weight: 600;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.gallery-item {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform .4s, box-shadow .4s;
  cursor: pointer;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(201,169,97,0.18); }

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ===== HOW ===== */
.how { background: var(--bg); padding: 80px 0 90px; border-top: 1px solid var(--border); }
.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: 60px;
  align-items: center;
}
.how-copy h2 {
  color: var(--cream);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.08;
  margin-bottom: 22px;
}
.how-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 24px; max-width: 420px; }
.how-steps {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.step { text-align: center; width: 140px; color: var(--gold); }
.step-ico { width: 46px; height: 46px; margin: 0 auto 18px; color: var(--gold); }
.step h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; color: var(--gold);
  font-weight: 600; margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.arrow { color: var(--gold); font-size: 22px; margin-top: 30px; }

@media (max-width: 1000px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-steps { justify-content: center; gap: 24px; }
  .arrow { display: none; }
}

/* ===== FRANCHISE ===== */
.franchise {
  background: var(--bg-dark);
  padding: 80px 0 90px;
  border-top: 1px solid var(--border);
}
.franchise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.franchise-copy h2 {
  color: var(--cream);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.05;
  margin-bottom: 22px;
}
.franchise-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 30px; max-width: 440px; }
.franchise-copy .btn { margin-bottom: 44px; }
.benefits li { display: flex; align-items: center; gap: 16px; color: var(--text); font-size: 15px; padding: 10px 0; }
.check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.franchise-form {
  background: var(--card);
  padding: 36px 34px;
}
.franchise-form h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px; letter-spacing: 0.24em; color: var(--gold);
  font-weight: 600; margin-bottom: 10px;
}
.form-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.franchise-form input,
.franchise-form textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border-strong);
  padding: 14px 16px;
  color: var(--cream);
  font-family: inherit; font-size: 14px;
  transition: border-color .3s;
}
.franchise-form input::placeholder,
.franchise-form textarea::placeholder { color: var(--dim); }
.franchise-form input:focus,
.franchise-form textarea:focus { outline: none; border-color: var(--gold); }
.franchise-form textarea { resize: vertical; margin-bottom: 14px; }
.form-msg { color: var(--gold); font-size: 13px; margin-top: 12px; min-height: 18px; text-align: center; }

@media (max-width: 900px) {
  .franchise-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px;
  padding: 70px 40px 50px;
  max-width: 1400px; margin: 0 auto;
}
.footer-contact h3,
.impact-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: 0.24em; color: var(--gold);
  font-weight: 600; margin-bottom: 24px;
}
.footer-contact ul li {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
  color: var(--text); font-size: 14px;
}
.footer-contact ul li.addr { align-items: flex-start; }
.footer-contact ul li.addr span:last-child { line-height: 1.6; padding-top: 2px; }
.ico-round {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ico-round svg { width: 14px; height: 14px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s;
}
.socials a svg { width: 15px; height: 15px; }
.socials a:hover { background: var(--gold); color: var(--bg); }

.footer-impact { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.uk-map { width: 100%; height: auto; }
.impact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2vw, 30px); color: var(--cream);
  letter-spacing: 0; line-height: 1.15; font-weight: 600;
  margin-bottom: 18px;
}
.footer-impact > div > p { color: var(--muted); font-size: 14px; line-height: 1.7; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 50px 20px 30px; }
  .footer-impact { grid-template-columns: 1fr; gap: 20px; }
  .uk-map { max-width: 260px; }
}

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px; flex-wrap: wrap; gap: 16px;
}
.legal { display: flex; gap: 24px; flex-wrap: wrap; }
.legal a {
  font-size: 10px; letter-spacing: 0.22em; color: var(--dim);
  font-weight: 500; transition: color .3s;
}
.legal a:hover { color: var(--gold); }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Logo: recolor dark-green PNG to gold to match dark BG ===== */
.brand img.brand-mark {
  filter: brightness(0) saturate(100%) invert(72%) sepia(28%) saturate(548%) hue-rotate(7deg) brightness(94%) contrast(86%);
}

/* ===== Footer contact links ===== */
.footer-contact a { color: var(--text); transition: color .3s; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact ul li.addr a { line-height: 1.6; padding-top: 2px; display: inline-block; }

/* ===== Modal ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; animation: fadeIn .25s ease; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 14, 0.88); backdrop-filter: blur(4px); }
.modal-box {
  position: relative; background: var(--card); border: 1px solid var(--border-strong);
  max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto;
  padding: 40px 36px; color: var(--text);
}
.modal-box h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream); font-size: 28px; margin-bottom: 18px; font-weight: 600;
}
.modal-box #modalBody { font-size: 14px; line-height: 1.7; color: var(--muted); }
.modal-box #modalBody p { margin-bottom: 12px; }
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: var(--gold);
  font-size: 28px; line-height: 1; cursor: pointer; padding: 4px 10px;
  transition: color .3s;
}
.modal-close:hover { color: var(--gold-hover); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--card); color: var(--cream);
  border: 1px solid var(--gold);
  padding: 14px 24px; font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s;
  z-index: 200; max-width: 90%;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8,14,14,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn .25s ease; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-close {
  position: absolute; top: 22px; right: 26px;
  background: none; border: none; color: var(--gold);
  font-size: 38px; line-height: 1; cursor: pointer; padding: 4px 12px;
  transition: color .3s;
}
.lightbox-close:hover { color: var(--gold-hover); }

/* Tighten about image: blend with new dark palette */
.about-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,24,24,0.25), transparent 30%);
  pointer-events: none;
}
.about-image { position: relative; }
