/* ═══════════════════════════════════════════════════
   WOLF DEN MODULAR HOMES — SHARED STYLES
   ═══════════════════════════════════════════════════ */

:root {
  --ink: #1a2332;
  --ink-soft: #3a4a5e;
  --body-text: #4a5568;
  --paper: #ffffff;
  --paper-warm: #fafaf7;
  --paper-deep: #f3efe6;
  --line: #e5e7eb;
  --line-soft: #f0f2f5;

  /* Blue palette from the logo */
  --blue-primary: #3a6e8f;
  --blue-deep: #2d5570;
  --blue-soft: #7fa3b8;
  --blue-pale: #e8eef2;
  --accent: #c87942;  /* warm copper for balance */

  --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 20px 48px rgba(26, 35, 50, 0.12);

  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--body-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); font-weight: 400; }

/* ——— NAV ——— */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  line-height: 1.1;
}

.brand-text-main {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-text-sub {
  font-size: 0.72rem;
  color: var(--blue-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-primary);
}

.nav-cta {
  background: var(--blue-primary);
  color: white !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ——— BUTTONS ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--body);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: white;
}

.btn-arrow {
  font-size: 1.1em;
  transition: transform 0.25s;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ——— GENERAL LAYOUT ——— */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue-primary);
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 620px;
}

/* ——— PAGE HEADER (for non-home pages) ——— */
.page-header {
  padding: 80px 0 60px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--body-text);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.breadcrumb a:hover {
  color: var(--blue-primary);
}

.breadcrumb .current {
  color: var(--ink);
  font-weight: 500;
}

.page-header h1 {
  margin-bottom: 20px;
  max-width: 900px;
}

.page-header .lead {
  max-width: 740px;
}

/* ——— FOOTER ——— */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  padding: 4px;
}

.footer-brand-text {
  font-family: var(--display);
  color: white;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
}

.footer-about {
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 360px;
}

footer h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

footer ul li a:hover {
  color: var(--blue-soft);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.55;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 800px;
}

/* ——— REVEAL ANIMATIONS ——— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 38px; height: 38px; }
  .brand-text-sub { font-size: 0.65rem; }

  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .page-header { padding: 50px 0 40px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
