:root {
  --pine: #1f3d2e;
  --pine-dark: #142a20;
  --clay: #c1622f;
  --clay-dark: #a24f24;
  --cream: #f6f0e3;
  --cream-alt: #efe6d3;
  --ink: #2b2620;
  --stone-gray: #6f6a5e;
  --border-soft: rgba(43, 38, 32, 0.1);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--pine-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: inherit; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--stone-gray);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.lead-copy {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

.fine-print {
  font-size: 0.82rem;
  color: var(--stone-gray);
  line-height: 1.6;
}

section { scroll-margin-top: 76px; }

/* ---------------- NAVBAR ---------------- */
#mainNav {
  background: rgba(31, 61, 46, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  padding: 0.6rem 0;
}
#mainNav.scrolled {
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  background: var(--pine);
}
#mainNav .navbar-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff !important;
}
#mainNav .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
}
#mainNav .nav-link:hover { color: #fff !important; }
#mainNav .navbar-toggler {
  border-color: rgba(255,255,255,0.4);
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-cta {
  background: var(--clay);
  border: 1px solid var(--clay);
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn-cta:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  transform: translateY(-1px);
}
.btn-cta-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.65);
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.calculator-section .btn-cta-outline,
.order-section .btn-cta-outline {
  border-color: var(--pine);
  color: var(--pine) !important;
}
.calculator-section .btn-cta-outline:hover,
.order-section .btn-cta-outline:hover {
  background: rgba(31,61,46,0.08);
}

/* ---------------- HERO ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  position: relative;
  padding: 7rem 1.5rem 4rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(20,42,32,0.45) 0%, rgba(20,42,32,0.08) 100%),
    linear-gradient(to bottom, rgba(20,42,32,0.35) 0%, rgba(20,42,32,0.15) 45%, rgba(20,42,32,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  background: rgba(20,42,32,0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
  padding: 2.5rem 2rem;
}
.hero-eyebrow {
  color: #f0e6d2;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
  margin-bottom: 1.1rem;
}
.hero-subtitle {
  color: #f6f0e3;
  font-size: 1.15rem;
  line-height: 1.6;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}
.hero-phone:hover { color: var(--cream); }

/* ---------------- ABOUT / FACTS ---------------- */
.about-strip {
  background: var(--cream);
  padding: 5.5rem 0;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clay);
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.5rem;
}
.text-link:hover { color: var(--clay-dark); }

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.fact-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(31,61,46,0.05);
}
.fact-card i {
  font-size: 1.7rem;
  color: var(--clay);
  margin-bottom: 0.6rem;
  display: block;
}
.fact-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--pine-dark);
}
.fact-card p {
  font-size: 0.85rem;
  color: var(--stone-gray);
  margin: 0;
}

/* ---------------- PRODUCTS ---------------- */
.products-section {
  background: var(--cream-alt);
  padding: 5.5rem 0;
}
.product-tabs {
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-tabs .nav-link {
  color: var(--pine-dark);
  font-weight: 600;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  background: #fff;
}
.product-tabs .nav-link.active {
  background: var(--pine);
  color: #fff;
  border-color: var(--pine);
}
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 18px rgba(31,61,46,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(31,61,46,0.12);
}
.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.product-card-body {
  padding: 1rem 1.1rem 1.2rem;
}
.product-card-body h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
  color: var(--pine-dark);
}
.product-card-body p {
  font-size: 0.85rem;
  color: var(--stone-gray);
  margin: 0;
  line-height: 1.5;
}
.badge-new {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  vertical-align: middle;
}
.product-card-block {
  display: flex;
  flex-direction: column;
}
.product-card-swatch {
  height: 140px;
  background: linear-gradient(135deg, #7a5a3a 0%, #4f7a52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-swatch i {
  font-size: 2.4rem;
  color: rgba(255,255,255,0.9);
}

/* ---------------- DELIVERY ---------------- */
.delivery-section {
  background: var(--pine);
  color: #f2ede1;
  padding: 5.5rem 0;
}
.delivery-section .section-eyebrow { color: #e8b98a; }
.delivery-section .section-title { color: #fff; }
.delivery-section .lead-copy { color: #e9e3d3; }
.delivery-section .fine-print { color: #b8c2ba; }
.delivery-photo {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.town-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 1.75rem;
}
.town-badges span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

/* ---------------- CALCULATOR ---------------- */
.calculator-section {
  background: linear-gradient(135deg, var(--cream) 0%, #ecdfc7 100%);
  padding: 5.5rem 0;
}
.calc-card {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 780px;
  box-shadow: 0 20px 50px rgba(31,61,46,0.1);
  border: 1px solid var(--border-soft);
}
.calc-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.75rem 0;
}
.calc-result {
  max-width: 320px;
}
.calc-result .form-label {
  font-weight: 600;
  color: var(--pine-dark);
}
.form-label { font-weight: 600; color: var(--pine-dark); font-size: 0.9rem; }
.form-control, .form-select {
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.8rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 0.2rem rgba(31,61,46,0.12);
}
.input-group-text {
  background: var(--cream-alt);
  color: var(--stone-gray);
  border: 1px solid var(--border-soft);
  font-size: 0.85rem;
}

/* ---------------- ORDER FORM ---------------- */
.order-section {
  background: var(--cream-alt);
  padding: 5.5rem 0;
}
.order-form {
  background: #fff;
  border-radius: 16px;
  padding: 2.75rem;
  max-width: 820px;
  box-shadow: 0 20px 50px rgba(31,61,46,0.08);
  border: 1px solid var(--border-soft);
}
.order-form .form-group { margin-bottom: 1.25rem; }
.order-details-heading {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--border-soft);
  padding-bottom: 0.6rem;
  margin: 1.75rem 0 1.25rem;
}
.qty-error {
  display: none;
  color: var(--clay-dark);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}
.date-error {
  display: none;
  color: var(--clay-dark);
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
.notes-container textarea { resize: vertical; }
.notes-container small {
  display: block;
  text-align: right;
  color: var(--stone-gray);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}

/* ---------------- LOCATION ---------------- */
.location-section {
  background: var(--cream);
  padding: 5.5rem 0;
}
.location-card h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.75rem 0 0.6rem;
}
.location-card h3:first-child { margin-top: 0; }
.location-card h3 i { color: var(--clay); }
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  overflow: hidden;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  background: #fff;
}
.hours-list li:nth-child(odd) { background: var(--cream-alt); }
.hours-list li span:first-child { font-weight: 600; color: var(--pine-dark); }
.hours-list li span:last-child { color: var(--stone-gray); }
.cards-strip {
  display: block;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  max-width: 220px;
  margin-top: 0.75rem;
}
.sign-photo {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  margin-top: 1.75rem;
  box-shadow: 0 12px 30px rgba(31,61,46,0.15);
}
.map-wrap {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(31,61,46,0.1);
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: var(--pine-dark);
  color: #d9dcd7;
  padding: 4rem 0 2rem;
}
.footer-logo-chip {
  background: #f0e9d8;
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo-chip img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}
.footer-address { color: #c3c8c1; margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links, .footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li, .footer-hours li { margin-bottom: 0.55rem; font-size: 0.92rem; }
.footer-links a { color: #c3c8c1; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-hours li { color: #c3c8c1; }
.site-footer hr { border-color: rgba(255,255,255,0.12); margin: 2.5rem 0 1.5rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #9aa19a;
}
.powered-by {
  text-decoration: none;
  color: #e8b98a;
  font-weight: 500;
}
.powered-by strong { color: #f0e6d2; }
.powered-by:hover { color: #fff; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 991.98px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .map-wrap { min-height: 320px; margin-top: 2rem; }
  #mainNav .navbar-collapse {
    background: var(--pine);
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
  }
  #mainNav .btn-cta { display: inline-block; margin-top: 0.5rem; }
}

@media (max-width: 575.98px) {
  .hero-content { padding: 1.75rem 1.25rem; }
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .fact-card { padding: 1.1rem 0.8rem; }
  .calc-card, .order-form { padding: 1.75rem 1.25rem; }
  .form-group label[for] { text-align: left; }
}
