/* =========================================================
   Western Structures Co. Desert Sunset Theme
   Palette:
     --bone:      #f5ecd7   (logo cream)
     --sand:      #d4a574   (sandstone)
     --rust:      #b8531f   (terracotta / sunset rust)
     --ember:     #e07b2a   (sunset orange)
     --midnight:  #1a2541   (night sky)
     --ink:       #0f0a07   (near-black warm)
     --shadow:    #1f1410
     --sage:      #7a8b6e
   ========================================================= */

:root {
  --bone: #f5ecd7;
  --bone-dim: #e6dcc4;
  --sand: #d4a574;
  --rust: #b8531f;
  --rust-dark: #8a3d14;
  --ember: #e07b2a;
  --midnight: #1a2541;
  --ink: #0f0a07;
  --shadow: #1f1410;
  --sage: #7a8b6e;
  --font-display: 'Rye', 'Rozha One', Georgia, serif;
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;
  --font-ui: 'Oswald', 'Arial Narrow', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

/* Subtle canvas/paper noise for warmth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245,236,215,0.25) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(245,236,215,0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(245,236,215,0.15) 0 1px, transparent 2px);
  background-size: 300px 300px, 400px 400px, 500px 500px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--bone);
  line-height: 1.15;
  letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 0.6em; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 0.4em; }

p { margin-bottom: 1em; }
a { color: var(--ember); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--bone); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 10, 7, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--rust-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1300px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--bone);
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--bone);
  letter-spacing: 1px;
  line-height: 1;
}
.brand-sub {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--sand);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--bone);
  padding: 8px 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: center;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--rust);
  color: var(--bone) !important;
  padding: 10px 20px !important;
  border-radius: 3px;
  border: 2px solid var(--ember);
  font-weight: 700;
}
.nav-cta:hover {
  background: var(--ember);
  color: var(--ink) !important;
}
.nav-cta::after { display: none; }

.nav-toggle { display: none; background: none; border: none; color: var(--bone); font-size: 1.8rem; cursor: pointer; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(224, 123, 42, 0.28), transparent 60%),
    linear-gradient(180deg, #0a1026 0%, #1a2541 28%, #6b3518 62%, #b8531f 82%, #e07b2a 100%);
}

/* Layered desert silhouette */
.hero-landscape {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  pointer-events: none;
  z-index: 1;
}

.hero-sun {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde8b5 0%, #f6b26b 35%, #e07b2a 70%, transparent 100%);
  box-shadow: 0 0 120px 40px rgba(255, 180, 90, 0.35);
  z-index: 1;
}

.hero-stars {
  position: absolute;
  inset: 0 0 55% 0;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 30% 10%, #fff 50%, transparent),
    radial-gradient(1px 1px at 70% 15%, #fff 50%, transparent),
    radial-gradient(2px 2px at 85% 30%, #fff 50%, transparent),
    radial-gradient(1px 1px at 55% 25%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 20% 40%, #fff 50%, transparent),
    radial-gradient(1px 1px at 90% 8%, #fff 50%, transparent);
  opacity: 0.7;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 0.95rem;
  color: var(--bone);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero h1 {
  text-shadow: 0 4px 20px rgba(0,0,0,0.7), 0 2px 4px rgba(0,0,0,0.9);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--bone);
  max-width: 720px;
  margin: 0 auto 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-ctas {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.95rem;
  padding: 16px 34px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  font-weight: 700;
  text-decoration: none;
}
.btn-primary {
  background: var(--rust);
  color: var(--bone);
  border-color: var(--ember);
  box-shadow: 0 6px 20px rgba(184, 83, 31, 0.4);
}
.btn-primary:hover {
  background: var(--ember);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(224, 123, 42, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--bone);
}
.btn-ghost:hover {
  background: var(--bone);
  color: var(--ink);
}

/* ===================== SECTIONS ===================== */
section { position: relative; padding: 90px 0; }

.section-label {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.85rem;
  color: var(--ember);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  margin-bottom: 18px;
}

.section-intro {
  max-width: 720px;
  color: var(--bone-dim);
  font-size: 1.1rem;
}

.section-head { margin-bottom: 60px; text-align: center; }
.section-head .section-intro { margin: 0 auto; }

/* Alternating section backgrounds */
.section-dark { background: var(--ink); }
.section-shadow {
  background:
    linear-gradient(180deg, rgba(26, 37, 65, 0.4), rgba(15, 10, 7, 0.9)),
    var(--shadow);
  border-top: 1px solid rgba(212, 165, 116, 0.15);
  border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}
.section-rust {
  background: linear-gradient(135deg, var(--rust-dark) 0%, var(--rust) 100%);
  color: var(--bone);
}
.section-rust .section-label { color: var(--bone); }

/* Rope divider */
.rope-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto 50px;
  color: var(--sand);
}
.rope-divider::before,
.rope-divider::after {
  content: "";
  flex: 1;
  height: 3px;
  background:
    repeating-linear-gradient(90deg, var(--sand) 0 8px, transparent 8px 14px);
  opacity: 0.7;
}
.rope-divider svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ===================== PROBLEM / SOLUTION CARDS (home) ===================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.problem-card {
  background: rgba(245, 236, 215, 0.04);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-left: 4px solid var(--ember);
  padding: 32px 28px;
  border-radius: 4px;
  transition: all 0.3s;
}
.problem-card:hover {
  background: rgba(245, 236, 215, 0.07);
  transform: translateY(-4px);
  border-left-color: var(--rust);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.problem-card .icon {
  width: 52px; height: 52px;
  margin-bottom: 18px;
  color: var(--ember);
}
.problem-card h3 { color: var(--bone); margin-bottom: 10px; }
.problem-card p { color: var(--bone-dim); margin: 0; font-size: 0.98rem; }

/* ===================== LOT FEATURE ===================== */
.lot-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.lot-feature img {
  border-radius: 6px;
  border: 3px solid var(--sand);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}
.lot-feature .lot-text h2 { margin-bottom: 20px; }
.lot-feature .lot-text p { color: var(--bone-dim); }
.lot-feature address {
  font-style: normal;
  font-family: var(--font-ui);
  color: var(--sand);
  margin: 20px 0 24px;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

/* ===================== BUILDING CATEGORY GRID ===================== */
.buildings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.building-card {
  background: rgba(245, 236, 215, 0.03);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.building-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  border-color: var(--ember);
}
.building-card-art {
  height: 180px;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--rust-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.building-card-art svg {
  width: 70%;
  height: auto;
  color: var(--bone);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
  position: relative;
  z-index: 2;
}
.building-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(224,123,42,0.4), transparent 70%);
}
.building-card-body { padding: 26px 26px 30px; flex: 1; }
.building-card h3 { color: var(--bone); }
.building-card p { color: var(--bone-dim); font-size: 0.96rem; margin-bottom: 14px; }
.building-card ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.building-card ul li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--bone-dim);
  margin-bottom: 6px;
}
.building-card ul li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--ember);
}

/* ===================== REASONS GRID ===================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.reason-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--ember);
  line-height: 1;
  flex-shrink: 0;
  text-shadow: 2px 2px 0 var(--rust-dark);
}
.reason h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--bone); }
.reason p { font-size: 0.96rem; color: var(--bone-dim); margin: 0; }

/* ===================== TESTIMONIAL / CTA BAND ===================== */
.cta-band {
  text-align: center;
  padding: 80px 24px;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { max-width: 680px; margin: 0 auto 30px; font-size: 1.15rem; }
.cta-band .btn { margin: 8px; }

/* ===================== INCLUDED / FEATURES LIST ===================== */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px 40px;
  margin-top: 30px;
}
.features-list li {
  list-style: none;
  padding: 10px 0 10px 34px;
  position: relative;
  border-bottom: 1px dashed rgba(212, 165, 116, 0.25);
  color: var(--bone);
}
.features-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  background: var(--rust);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(224,123,42,0.25);
}
.features-list li::after {
  content: "✓";
  position: absolute;
  left: 5px; top: 50%;
  transform: translateY(-50%);
  color: var(--bone);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ===================== CONTACT PAGE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  background: rgba(245, 236, 215, 0.04);
  border: 1px solid rgba(212, 165, 116, 0.3);
  padding: 36px 32px;
  border-radius: 4px;
}
.contact-card h3 {
  color: var(--ember);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: var(--font-ui);
  margin-bottom: 10px;
}
.contact-card .big {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--bone);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.contact-card .small { color: var(--bone-dim); font-size: 0.95rem; }
.contact-card a.big { text-decoration: none; }
.contact-card a.big:hover { color: var(--ember); }

.contact-stack > * + * { margin-top: 22px; }

.contact-form label {
  display: block;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  color: var(--sand);
  margin-bottom: 6px;
  margin-top: 18px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(15, 10, 7, 0.6);
  border: 1.5px solid rgba(212, 165, 116, 0.4);
  color: var(--bone);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 3px;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--ember);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { margin-top: 24px; width: 100%; }

.form-note {
  font-size: 0.85rem;
  color: var(--bone-dim);
  margin-top: 14px;
  text-align: center;
}

/* ===================== MAP STRIP ===================== */
.map-wrap {
  margin-top: 60px;
  border: 3px solid var(--sand);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: sepia(0.25) saturate(0.9) brightness(0.9); }

/* ===================== HOURS TABLE ===================== */
.hours-list { list-style: none; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(212, 165, 116, 0.25);
  font-family: var(--font-ui);
  letter-spacing: 1px;
  color: var(--bone-dim);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list li span:first-child { color: var(--bone); }

/* ===================== PAGE HEADER (inner pages) ===================== */
.page-header {
  position: relative;
  padding: 140px 24px 90px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(15,10,7,0.6), rgba(15,10,7,0.9)),
    linear-gradient(135deg, var(--midnight) 0%, var(--rust-dark) 100%);
  overflow: hidden;
}
.page-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(15,10,7,0.85));
  pointer-events: none;
}
.page-header h1 { position: relative; z-index: 2; }
.page-header p {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--bone-dim);
  font-size: 1.15rem;
}
.page-header .breadcrumb {
  position: relative;
  z-index: 2;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--ember);
  margin-bottom: 18px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--shadow);
  border-top: 3px solid var(--rust);
  padding: 60px 24px 30px;
  color: var(--bone-dim);
  position: relative;
  z-index: 2;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.9rem;
  color: var(--ember);
  margin-bottom: 16px;
}
.footer-grid a { color: var(--bone-dim); display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--ember); }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-brand img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--sand); }
.footer-brand-name { font-family: var(--font-display); font-size: 1.2rem; color: var(--bone); }
.footer-tag { font-size: 0.9rem; max-width: 280px; }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 165, 116, 0.25);
  text-align: center;
  font-size: 0.85rem;
  color: var(--sand);
  letter-spacing: 0.5px;
}
.footer-bottom p { margin: 4px 0; }

/* ===================== UTILITY ===================== */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* Click-to-call floating button (mobile) */
.float-call {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--rust);
  color: var(--bone);
  padding: 14px 22px;
  border-radius: 40px;
  border: 2px solid var(--ember);
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 99;
  text-decoration: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .lot-feature { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 2px solid var(--rust-dark);
    padding: 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(212,165,116,0.15); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-cta { text-align: center; margin-top: 10px; }
  section { padding: 60px 0; }
  .hero { min-height: 75vh; padding: 60px 20px; }
  .hero-sun { width: 170px; height: 170px; bottom: 40%; }
  .float-call { display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: 0.65rem; }
}

/* Print-friendly */
@media print {
  body::before, .site-header, .site-footer, .float-call, .hero-landscape { display: none; }
  body { color: #000; background: #fff; }
}
