/* ==========================================================
   BEDRY BEEF — Bar BH Ranch
   Main stylesheet. Change colours in the ":root" block below
   and they update everywhere on the site.
   ========================================================== */

:root {
  --barn-red:   #9b1b30;   /* main brand red, from your flyer */
  --barn-dark:  #6e1222;   /* darker red for hovers */
  --charcoal:   #1f1d1b;   /* near-black text */
  --cream:      #f7f3ec;   /* page background */
  --tan:        #e5dbc9;   /* borders & dividers */
  --gold:       #c8952f;   /* accent */
  --muted:      #6b6560;   /* secondary text */
  --max:        1140px;    /* max content width */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo, .btn, nav a {
  font-family: "Arial Black", "Helvetica Neue", Impact, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); text-transform: uppercase; margin-bottom: .6em; }
h3 { font-size: 1.2rem; margin-bottom: .4em; }

p { margin-bottom: 1.1em; }
a { color: var(--barn-red); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header & navigation ---------- */
header {
  background: var(--charcoal);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--barn-red);
}
.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.logo {
  color: #fff; text-decoration: none; font-size: 1.35rem;
  text-transform: uppercase; display: flex; align-items: center; gap: 12px;
}
.logo img { height: 40px; width: auto; display: block; flex: 0 0 auto; }
.logo span { line-height: 1; }
@media (max-width: 760px) { .logo img { height: 34px; } .logo { font-size: 1.15rem; } }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
nav a {
  color: #ded8d0; text-decoration: none; font-size: .82rem;
  text-transform: uppercase; padding: 9px 13px; border-radius: 3px;
  display: block; transition: background .15s, color .15s;
}
nav a:hover { background: var(--barn-red); color: #fff; }
nav a.active { color: #fff; background: var(--barn-red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--barn-red); color: #fff;
  text-decoration: none; padding: 15px 32px; border-radius: 3px;
  text-transform: uppercase; font-size: .9rem; border: 0; cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--barn-dark); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--barn-red); }
.btn.light:hover { background: var(--tan); }
.btn.outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn.outline:hover { background: #fff; color: var(--barn-red); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  background: var(--charcoal) center/cover no-repeat;
  background-image:
    linear-gradient(rgba(20,18,16,.42), rgba(20,18,16,.60)),
    url("images/hero.jpg");
  color: #fff; text-align: center; padding: 90px 0;
}
.hero .wrap { max-width: 900px; }
.hero h1 { text-shadow: 0 3px 20px rgba(0,0,0,.6); }
.hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem); margin: 22px 0 12px;
  text-transform: uppercase; letter-spacing: .16em; color: var(--tan);
}
.hero .lede { font-size: 1.12rem; max-width: 640px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page banner (inner pages) ---------- */
.banner {
  background: var(--charcoal) center/cover no-repeat; color: #fff;
  padding: 90px 0 70px; text-align: center;
}
.banner p { color: var(--tan); max-width: 620px; margin: 14px auto 0; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
section.alt { background: #fff; }
.center { text-align: center; }
.section-intro { max-width: 700px; margin: 0 auto 48px; text-align: center; color: var(--muted); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  color: var(--gold); margin-bottom: 10px; font-weight: bold;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--tan); border-radius: 4px;
  padding: 32px 28px; border-top: 4px solid var(--barn-red);
}
section.alt .card { background: var(--cream); }
.card .icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Split image + text ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 46px; align-items: center; }
.split img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: 4px; display: block; }
/* Add class="whole" to any photo that must NOT be cropped — the whole
   picture is shown, nothing trimmed off the edges. */
.split img.whole { height: auto; max-height: none; object-fit: contain; align-self: center; }

/* ---------- Brand panel (stands in until a good branded-cow photo exists) ---------- */
.brand-panel {
  background: #fff; border: 1px solid var(--tan); border-radius: 4px;
  min-height: 320px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; padding: 48px 32px; text-align: center;
}
.brand-panel img { width: 100%; max-width: 260px; height: auto; display: block; }
.brand-panel .cap {
  text-transform: uppercase; letter-spacing: .22em; font-size: .75rem;
  color: var(--muted); font-weight: bold;
}

/* ---------- Pricing ---------- */
.price-card {
  background: #fff; border: 1px solid var(--tan); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--barn-red); box-shadow: 0 8px 30px rgba(155,27,48,.12); }
.price-card .head { background: var(--charcoal); color: #fff; padding: 24px; text-align: center; }
.price-card.featured .head { background: var(--barn-red); }
.price-card .head h3 { margin: 0; font-size: 1.5rem; text-transform: uppercase; }
.price-card .head .sub { color: var(--tan); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.price-card .body { padding: 28px; flex: 1; }
.price-card .price { font-size: 2rem; font-family: "Arial Black", sans-serif; color: var(--barn-red); }
.price-card .price small { font-size: .85rem; color: var(--muted); font-family: inherit; display: block; font-weight: normal; }
.price-card ul { list-style: none; margin: 20px 0 0; }
.price-card li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--tan); font-size: .95rem; }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--barn-red); font-weight: bold; }
.price-card .foot { padding: 0 28px 28px; }
.price-card .foot .btn { width: 100%; text-align: center; }

.badge {
  display: inline-block; background: var(--gold); color: #fff; font-size: .68rem;
  text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 20px;
  margin-bottom: 8px; font-weight: bold;
}

/* ---------- Tables ---------- */
table { width: 100%; border-collapse: collapse; background: #fff; margin-bottom: 20px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--tan); font-size: .95rem; }
th { background: var(--charcoal); color: #fff; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; }
tr:nth-child(even) td { background: var(--cream); }
.table-scroll { overflow-x: auto; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; padding-left: 68px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--barn-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Arial Black", sans-serif; font-size: 1.2rem;
}

/* ---------- Gallery ---------- */
/* Photos flow into rows and the last row STRETCHES to fill the width,
   so the gallery never looks like it's missing a photo. Works with any
   number of photos — 5, 7, 13, whatever. Just add or remove <img> lines. */
.gallery { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.gallery img {
  height: 250px; flex: 1 1 280px; min-width: 0;
  max-width: calc(50% - 7px);   /* stops a lone last photo stretching right across */
  object-fit: cover; border-radius: 3px; display: block;
  transition: transform .3s, filter .3s;
}
.gallery img:hover { transform: scale(1.02); filter: brightness(1.06); }
@media (max-width: 620px) { .gallery img { height: 210px; flex-basis: 100%; } }

/* ---------- Forms ---------- */
.form-box { background: #fff; border: 1px solid var(--tan); border-top: 4px solid var(--barn-red); border-radius: 4px; padding: 38px; }
fieldset { border: 0; margin-bottom: 34px; }
legend {
  font-family: "Arial Black", sans-serif; text-transform: uppercase; font-size: 1rem;
  color: var(--barn-red); padding-bottom: 10px; margin-bottom: 18px;
  border-bottom: 2px solid var(--tan); width: 100%;
}
label { display: block; font-weight: bold; margin-bottom: 6px; font-size: .9rem; }
label .req { color: var(--barn-red); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #c9c1b5; border-radius: 3px;
  font-family: inherit; font-size: 1rem; background: #fff; margin-bottom: 18px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--barn-red); outline-offset: 1px; border-color: var(--barn-red); }
textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 20px; }
.hint { font-size: .85rem; color: var(--muted); margin: -12px 0 18px; }
.radio-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.radio-row input { margin-top: 5px; }
.radio-row label { font-weight: normal; margin: 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Cut sheet ---------- */
.cutgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.cut {
  padding: 16px 0 14px; border-bottom: 1px solid var(--tan);
}
.cut:last-child { border-bottom: 0; }
.cut h4 {
  font-family: "Arial Black", sans-serif; text-transform: uppercase;
  font-size: .98rem; margin-bottom: 3px; color: var(--charcoal);
}
.cut .rule {
  font-size: .78rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 10px; display: block;
}
.cut .smoke { color: var(--gold); }
.opts { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.opt { display: flex; align-items: center; gap: 7px; font-size: .95rem; }
.opt input { width: 18px; height: 18px; accent-color: var(--barn-red); flex: 0 0 auto; margin: 0; }
.opt label { font-weight: normal; margin: 0; cursor: pointer; }
.cut .other { margin-top: 10px; }
.cut .other input { margin-bottom: 0; padding: 8px 10px; font-size: .92rem; }

.yesno { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 24px; }
.yesno .item { border: 1px solid var(--tan); border-radius: 3px; padding: 12px 14px; background: #fff; }
.yesno .item strong { display: block; margin-bottom: 8px; font-size: .92rem; }

.pref-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 4px 40px; }

.smoke-key {
  font-size: .85rem; color: var(--muted); margin-bottom: 26px;
  padding: 10px 14px; background: var(--cream); border-radius: 3px; border-left: 4px solid var(--gold);
}
section.alt .smoke-key { background: #fff; }

/* =========================================================================
   CUT SHEET — styled to look like the paper cutting list the butcher knows
   ========================================================================= */
.sheet {
  background: #fff; color: #000; border: 1px solid #bbb; border-radius: 3px;
  padding: 26px 28px; font-family: Arial, Helvetica, sans-serif; font-size: 14px;
  max-width: 900px; margin: 0 auto;
}
.sheet-head { display: flex; align-items: flex-start; gap: 18px; border-bottom: 3px solid #000; padding-bottom: 12px; margin-bottom: 6px; }
.sheet-head .mark { width: 92px; flex: 0 0 auto; }
.sheet-head .mark img { width: 100%; height: auto; display: block; }
.sheet-head .ttl { flex: 1; }
.sheet-head h2 {
  font-family: Arial, Helvetica, sans-serif; font-weight: 900; font-size: 1.9rem;
  text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 8px; color: #000; text-align: right;
}
.sheet-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2px 26px; }
.mrow { display: flex; align-items: baseline; gap: 8px; padding: 3px 0; }
.mrow > strong { font-size: 13px; white-space: nowrap; }
.mrow input[type="text"], .mrow input[type="tel"], .mrow input[type="email"], .mrow input[type="date"] {
  flex: 1; margin: 0; padding: 3px 4px; border: 0; border-bottom: 1px solid #000;
  border-radius: 0; background: transparent; font-size: 13px; min-width: 0;
}
.mrow .val { flex: 1; border-bottom: 1px solid #000; padding: 2px 4px; min-height: 20px; font-size: 13px; }

.sheet-key { font-size: 12px; padding: 8px 0; border-bottom: 1px solid #000; margin-bottom: 14px; }

.sheet-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
@media (max-width: 700px) { .sheet-cols { grid-template-columns: 1fr; } }
.sheet-cols > div:first-child { border-right: 1px dashed #999; padding-right: 30px; }
@media (max-width: 700px) { .sheet-cols > div:first-child { border-right: 0; padding-right: 0; } }

.sec { margin-bottom: 16px; }
.sec .hd { border-bottom: 1px solid #000; padding-bottom: 2px; margin-bottom: 7px; }
.sec .hd b { font-size: 14px; text-transform: uppercase; letter-spacing: .01em; }
.sec .hd i { font-style: normal; font-size: 11px; color: #555; margin-left: 6px; }
.sec .hd .star { color: #000; }
.boxes { display: flex; flex-wrap: wrap; gap: 5px 16px; }
.bx { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.bx input { width: 15px; height: 15px; margin: 0; accent-color: #000; flex: 0 0 auto; }
.bx label { font-weight: normal; margin: 0; cursor: pointer; font-size: 13px; }
.bx .sq {
  width: 14px; height: 14px; border: 1.5px solid #000; display: inline-block;
  flex: 0 0 auto; position: relative; background: #fff;
}
.bx .sq.on::after {
  content: "\2715"; position: absolute; inset: -3px 0 0 0;
  font-size: 15px; line-height: 1; text-align: center; font-weight: bold;
}
.sec .oth { display: flex; align-items: baseline; gap: 6px; margin-top: 7px; font-size: 12px; }
.sec .oth input, .sec .oth .val {
  flex: 1; margin: 0; padding: 2px 4px; border: 0; border-bottom: 1px solid #000;
  border-radius: 0; background: transparent; font-size: 12px; min-height: 18px;
}

.dbox { border: 1px dashed #000; padding: 12px 14px; margin-top: 14px; }
.dbox > b { display: block; font-size: 13px; text-transform: uppercase; margin-bottom: 9px; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px 16px; }
.spec .s b { display: block; font-size: 12px; margin-bottom: 4px; }
.prefs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 30px; }
.pref { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; }
.pref > b { min-width: 132px; font-size: 13px; }
.lines { min-height: 74px; }
.lines .val { border-bottom: 1px solid #000; min-height: 20px; padding: 2px 4px; font-size: 13px; }
.lines textarea {
  width: 100%; min-height: 74px; border: 0; border-radius: 0; background:
  repeating-linear-gradient(transparent, transparent 23px, #000 23px, #000 24px);
  line-height: 24px; padding: 0 4px; font-size: 13px; margin: 0; resize: vertical;
}
.sheet-foot { border-top: 1px solid #000; margin-top: 14px; padding-top: 8px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: space-between; }
.sheet-foot b { font-size: 12px; }

.sheet .req { color: #000; }
.sheet-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }

/* ---------- Printing: make it a clean one/two page document ---------- */
@media print {
  body::before { display: none !important; }      /* preview banner off */
  header, footer, .banner, .cta, .noprint, nav { display: none !important; }
  section { padding: 0 !important; }
  .wrap { max-width: none !important; padding: 0 !important; }
  body { background: #fff !important; font-size: 11px; }
  .sheet {
    border: 0; padding: 0; max-width: none; font-size: 11px;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .sheet-head h2 { font-size: 24pt; }
  .sec { margin-bottom: 10px; page-break-inside: avoid; }
  .dbox { page-break-inside: avoid; }
  .bx label, .bx, .mrow .val, .sec .oth .val { font-size: 10.5px; }
  a[href]::after { content: ""; }
  @page { size: letter portrait; margin: 12mm; }
}

/* ---------- Callouts ---------- */
.callout {
  background: #fff; border-left: 5px solid var(--gold);
  padding: 22px 26px; border-radius: 3px; margin: 26px 0;
}
.callout.red { border-left-color: var(--barn-red); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- CTA strip ---------- */
.cta { background: var(--barn-red); color: #fff; text-align: center; padding: 70px 0; }
.cta h2 { color: #fff; }
.cta p { max-width: 600px; margin: 0 auto 28px; font-size: 1.1rem; }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--tan); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .who { font-family: "Arial Black", sans-serif; text-transform: uppercase; font-size: .95rem; }
.contact-list a { text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
footer { background: var(--charcoal); color: #b5aea6; padding: 56px 0 26px; font-size: .92rem; }
footer h4 { color: #fff; text-transform: uppercase; font-size: .85rem; letter-spacing: .12em; margin-bottom: 14px; }
footer a { color: #ded8d0; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px; margin-bottom: 36px; }
.copyright { border-top: 1px solid #38332e; padding-top: 22px; text-align: center; font-size: .85rem; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .bar { flex-direction: column; gap: 10px; padding: 12px 16px; }
  nav ul { justify-content: center; }
  section { padding: 56px 0; }
  .form-box { padding: 24px 18px; }
  .hero { min-height: 62vh; }
}
