/* =============================================
   MERRIMAC LOG HOMES — Main Stylesheet
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: #2d2d2d;
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.25;
  color: #1a1a1a;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; letter-spacing: 0.12em; text-transform: uppercase; }
p { margin-bottom: 1rem; }

/* --- Colors --- */
:root {
  --brown:      #5C3A1E;
  --brown-dark: #3a2210;
  --gold:       #C8922A;
  --gold-light: #F0B84A;
  --cream:      #FAF4EC;
  --green:      #3B5030;
  --text:       #2d2d2d;
  --text-light: #666;
  --border:     #e0d4c4;
}

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.section { padding: 5rem 0; }
.section-dark { background: var(--brown-dark); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-cream { background: var(--cream); }
.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto 1.5rem;
}
.divider-left { margin-left: 0; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: #1a1a1a; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--brown-dark); }
.btn-outline-dark {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn-outline-dark:hover { background: var(--brown); color: #fff; }

/* =============================================
   TOP INFO BAR
   ============================================= */
.top-bar {
  background: #182219;
  color: rgba(255,255,255,0.8);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.55rem 0;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.top-bar a:hover { color: #fff; }
@media (max-width: 900px) { .top-bar { display: none; } }

/* =============================================
   TRUST BADGE BAR
   ============================================= */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.trust-bar-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-dark);
  white-space: nowrap;
}
.trust-item svg {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .trust-bar-grid { justify-content: center; }
  .trust-item { font-size: 0.7rem; }
}

/* =============================================
   ADVANTAGE SECTION (Why Mill-Direct)
   ============================================= */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .advantage-grid { grid-template-columns: 1fr; } }
.advantage-card {
  text-align: center;
  padding: 2rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.advantage-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-3px); }
.advantage-card svg {
  width: 3rem;
  height: 3rem;
  color: var(--gold);
  margin: 0 auto 1.2rem;
  display: block;
}
.advantage-card h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.advantage-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin: 0; }

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2rem 1.8rem;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -1rem;
  left: 1.2rem;
  line-height: 1;
  pointer-events: none;
}
.stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--brown);
  margin-bottom: 1.5rem;
}
.testimonial-author { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brown-dark); }
.testimonial-location { font-size: 0.78rem; color: var(--text-light); margin-top: 0.2rem; }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #243329;
  transition: background 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-logo img { height: 76px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex: 1;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-links > li {
  display: flex;
  align-items: center;
}
.nav-links a {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }

/* Nav inner wraps: logo | nav(toggle + links + cta) */
header nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0.75rem;
  flex-wrap: nowrap;
}
/* Contact Us CTA — sits outside nav-links, always visible */
.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.7rem;
  padding: 0.6rem 1.1rem;
  letter-spacing: 0.06em;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: rgba(255,255,255,0.88);
  transition: all 0.3s;
}

@media (max-width: 1100px) {
  .nav-toggle { display: flex; order: 1; }
  /* Push toggle + CTA to the right; toggle always last */
  header nav { gap: 0.75rem; justify-content: flex-end; }
  .nav-cta { order: 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: #243329;
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.28);
    align-items: flex-end;
    text-align: right;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; justify-content: flex-end; }
  .nav-links a { text-align: right; }
  /* Slightly smaller CTA on mobile so it fits */
  .nav-cta {
    padding: 0.65rem 1.1rem;
    font-size: 0.72rem;
  }
  /* Mobile dropdown — show inline below parent, right-aligned */
  .has-dropdown .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    padding: 0.5rem 1rem 0.75rem;
    margin-top: 0.4rem;
    min-width: 0;
    display: none;
    text-align: right;
  }
  .has-dropdown.open .nav-dropdown { display: block; }
  .has-dropdown.open .nav-dropdown li { text-align: right; }
}

/* =============================================
   NAV DROPDOWN
   ============================================= */
.has-dropdown {
  position: relative;
}
.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #243329;
  min-width: 150px;
  padding: 0.4rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  display: none;
  z-index: 200;
  list-style: none;
  margin: 0;
}
.has-dropdown:hover .nav-dropdown {
  display: block;
}
.nav-dropdown li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  color: var(--gold-light);
}
.nav-dropdown li a::after { display: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #243329;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  transition: opacity 0.5s;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
  padding-top: 116px;
}
@media (max-width: 900px) { .hero-content { padding-top: 80px; } }
.hero-eyebrow {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.hero-content h1 { color: #fff; margin-bottom: 1rem; }
.hero-content p { font-size: 1.15rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); }
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Video Background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 2, 0.45);
  z-index: 1;
}

/* Hero Slideshow (fallback — no longer used on homepage) */
.hero-slide { display: none; }
.hero-slide.active { display: block; }

/* =============================================
   FEATURE CARDS (3-up grid on home)
   ============================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.feature-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.feature-card:hover img { transform: scale(1.04); }
.feature-card-body {
  padding: 1.5rem;
  background: #fff;
}
.feature-card-body h3 { margin-bottom: 0.5rem; }
.feature-card-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1rem; }

/* =============================================
   STATS BAR
   ============================================= */
/* =============================================
   TINY HOMES PROMO BANNER
   ============================================= */
.tiny-homes-promo {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  min-height: 320px;
  color: #fff;
  text-align: center;
  background: var(--brown-dark);
}
.tiny-homes-promo-bg {
  position: absolute;
  inset: 0;
  background: url('../images/tinyhome-hero.jpg') center center / cover no-repeat;
  filter: brightness(0.35);
  transform: scale(1.03);
  z-index: 0;
}
.tiny-homes-promo-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.tiny-homes-promo-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.tiny-homes-promo-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
}
.tiny-homes-promo-content .divider {
  background: var(--gold);
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--brown-dark);
  color: #fff;
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 0.4rem; }

/* =============================================
   3-STEP PROCESS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.2rem;
}
.step h3 { margin-bottom: 0.75rem; }
.step p { color: var(--text-light); font-size: 0.95rem; }

/* =============================================
   ABOUT SECTION (2-col text + image)
   ============================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .about-split { grid-template-columns: 1fr; } }
.about-split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-section { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info p { color: var(--text-light); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.contact-detail strong { color: var(--brown); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; color: var(--brown); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; padding: 1rem; background: #e8f5e9; color: #2e7d32; border-radius: 3px; margin-top: 1rem; font-weight: 600; }

/* =============================================
   MODELS GRID
   ============================================= */
.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
@media (min-width: 1000px) { .models-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .models-grid { grid-template-columns: 1fr; } }
.model-card {
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--border);
}
.model-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.14); transform: translateY(-3px); }
.model-card-img {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.model-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.model-card:hover .model-card-img img { transform: scale(1.04); }
.model-card-body { padding: 1.5rem 1.8rem 1.8rem; }
.model-card-body h3 { margin-bottom: 0.3rem; }
.model-specs {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 0.6rem 0 1rem;
  font-size: 0.82rem;
  color: var(--text-light);
}
.model-specs span { display: flex; align-items: center; gap: 0.3rem; }
.model-card-body p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 1.2rem; }

/* =============================================
   MODEL DETAIL PAGE
   ============================================= */
.model-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.model-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
}
.model-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.model-hero-content h1 { color: #fff; }
.specs-bar {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  background: var(--brown-dark);
  color: #fff;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}
.specs-bar .spec-item { text-align: center; }
.specs-bar .spec-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.specs-bar .spec-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.model-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.model-gallery-side { display: flex; flex-direction: column; gap: 1rem; }
.model-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; cursor: pointer; }
.model-gallery .main-img { height: 400px; }
.model-gallery .side-img { height: 193px; }
@media (max-width: 768px) { .model-gallery { grid-template-columns: 1fr; } .model-gallery .main-img { height: 260px; } }

.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.floorplan-grid img {
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.5rem;
  background: #fff;
  width: 100%;
}

/* Pricing form */
.pricing-form {
  background: var(--cream);
  border-radius: 3px;
  padding: 2rem;
  border: 1px solid var(--border);
}
.pricing-form h3 { margin-bottom: 1.5rem; }

/* =============================================
   PACKAGES PAGE
   ============================================= */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 700px) { .packages-grid { grid-template-columns: 1fr; } }
.package-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: box-shadow 0.3s;
  position: relative;
}
.package-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.package-card.featured {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(200,146,42,0.15);
}
.package-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
}
.package-icon { width: 52px; height: 52px; margin: 0 auto 1rem; color: var(--gold); display: flex; align-items: center; justify-content: center; }
.package-icon svg { width: 52px; height: 52px; }
.package-card h3 { margin-bottom: 0.5rem; }
.package-card .eyebrow { text-align: center; }
.package-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }
.package-features { text-align: left; margin-bottom: 2rem; }
.package-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.package-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* =============================================
   TINY HOMES PAGE
   ============================================= */
.tiny-homes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.tiny-home-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.tiny-home-card-header {
  background: #243329;
  color: #fff;
  padding: 1.2rem 1.5rem;
}
.tiny-home-card-header h3 { color: #fff; font-size: 1.2rem; }
.tiny-home-card-header p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0; }
.tiny-home-card-body { padding: 1.5rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.price-row:last-child { border-bottom: none; }
.price-row .season { color: var(--text-light); }
.price-row .price { font-weight: 700; color: var(--brown); }
.price-row .price.na { color: var(--text-light); font-weight: 400; font-style: italic; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.heritage-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 768px) { .heritage-section { grid-template-columns: 1fr; gap: 2rem; } }
.heritage-section img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.value-card .value-icon { width: 52px; height: 52px; margin: 0 auto 1rem; color: var(--gold); display: flex; align-items: center; justify-content: center; }
.value-card .value-icon svg { width: 52px; height: 52px; }
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { font-size: 0.95rem; color: var(--text-light); }

/* =============================================
   SPECIALS PAGE
   ============================================= */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .specials-grid { grid-template-columns: 1fr; } }
.special-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.special-card img { height: 320px; width: 100%; object-fit: cover; }
.special-card-body { padding: 1.5rem 1.8rem 2rem; flex: 1; display: flex; flex-direction: column; }
.special-card-body h3 { margin-bottom: 0.5rem; }
.special-card-body p { color: var(--text-light); font-size: 0.95rem; flex: 1; }
.special-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.special-price { font-size: 1.5rem; font-weight: 700; color: var(--brown); margin: 0.5rem 0 1.2rem; font-family: 'Playfair Display', serif; }

/* =============================================
   PRODUCTS PAGE
   ============================================= */
.products-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
@media (max-width: 768px) { .products-split { grid-template-columns: 1fr; gap: 2rem; } }
.products-split img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.products-split.reverse { direction: rtl; }
.products-split.reverse > * { direction: ltr; }

/* =============================================
   PRODUCTS PAGE GALLERY GRID
   ============================================= */
.products-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) { .products-gallery-grid { grid-template-columns: 1fr; } }
.products-gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.products-gallery-caption {
  padding: 1.2rem 0.5rem 0;
}
.products-gallery-caption h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.products-gallery-caption p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* =============================================
   CUSTOM DESIGN PAGE
   ============================================= */
.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 768px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.process-step-num {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brown-dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.process-step-text h4 { color: var(--gold); margin-bottom: 0.4rem; font-size: 0.7rem; }
.process-step-text h3 { margin-bottom: 0.4rem; font-size: 1rem; }
.process-step-text p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* =============================================
   QUOTE FORM (model pages)
   ============================================= */
.quote-section { background: var(--cream); }
.quote-form {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
}
.model-select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .model-select-row { grid-template-columns: 1fr; } }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 70px; margin-bottom: 1rem; border-radius: 4px; }
.footer-about { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-col h4 {
  color: var(--gold);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-item { margin-bottom: 0.8rem; font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-phones {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-phones a {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
}

/* =============================================
   PAGE HERO BANNER (non-homepage)
   ============================================= */
.page-hero {
  padding-top: 116px;
  background-color: #243329;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
/* Dark overlay so text stays readable over the photo */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 2, 0.52);
}

/* Video variant of page hero */
.page-hero-video {
  background: #243329;
  min-height: 340px;
}
.page-hero-video::before { display: none; }
.page-hero-vid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.page-hero-vid-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 2, 0.50);
  z-index: 1;
}
.page-hero-content { position: relative; z-index: 1; padding-top: 3rem; }
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; font-size: 1.1rem; }
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.5rem; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 900px) {
  .page-hero { padding-top: 80px; }
}
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero-buttons { flex-direction: column; }
  .specs-bar { gap: 1.5rem; justify-content: center; }
}

/* =============================================
   MOBILE VIDEO — hide videos on small screens
   so the native browser play-button overlay
   never appears. Poster/background fills in.
   ============================================= */
@media (max-width: 768px) {
  /* Homepage hero */
  .hero-video {
    display: none;
  }
  /* Only apply fallback background to the homepage hero (the one with a video inside) */
  .hero:has(.hero-video) {
    background: url('../images/winnisquam-summerNEW.jpg') center/cover no-repeat;
  }
  /* Page-hero video (packages, etc.) */
  .page-hero-vid {
    display: none;
  }
  .page-hero-video {
    background-image: var(--page-hero-poster, url('../images/pkg-sig-mountain.jpg'));
    background-size: cover;
    background-position: center;
  }
}
/* Suppress any lingering native play chrome on all screen sizes */
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls {
  display: none !important;
  -webkit-appearance: none;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
