/* How Much is a Hot Tub? - Master Stylesheet */
:root {
  --primary: #0056b3;
  --primary-dark: #003d80;
  --secondary: #f4f6f8;
  --text: #222222;
  --text-muted: #555555;
  --border: #cccccc;
  --accent-gold: #d97706;
  --bg-light: #ffffff;
  --sidebar-width: 320px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #f9f9f9;
}

/* Header & Navigation */
header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1rem 0;
  border-bottom: 4px solid var(--primary-dark);
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.site-title span {
  color: #87ceeb;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Layout Containers */
.container {
  max-width: 1140px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.brand-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 850px) {
  .brand-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    align-items: start;
  }
}

/* Sidebar Pricing Cards */
.pricing-sidebar {
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pricing-sidebar h2 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.series-block {
  margin-bottom: 1.5rem;
}

.series-title {
  font-size: 1.05rem;
  font-weight: bold;
  background: var(--secondary);
  padding: 0.4rem 0.6rem;
  border-left: 4px solid var(--primary);
  margin-bottom: 0.5rem;
}

.model-list {
  list-style: none;
}

.model-item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #e0e0e0;
  font-size: 0.92rem;
}

.model-name {
  font-weight: 600;
}

.model-price {
  color: #1b7837;
  font-weight: bold;
}

/* Main Content Area */
.main-content {
  background: var(--bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 2rem;
}

.main-content h1 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.meta-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
}

.content-section {
  margin-bottom: 2rem;
}

.content-section h2 {
  font-size: 1.35rem;
  color: #333333;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.3rem;
}

.content-section p {
  margin-bottom: 1rem;
}

.content-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.4rem;
}

/* Callout Boxes */
.buyer-aware-box {
  background-color: #fff8f6;
  border-left: 5px solid #d9534f;
  padding: 1.2rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.buyer-aware-box h3 {
  color: #a94442;
  margin-bottom: 0.5rem;
}

.pro-box {
  background-color: #f0fdf4;
  border-left: 5px solid #16a34a;
  padding: 1.2rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.pro-box h3 {
  color: #15803d;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #222222;
  color: #aaaaaa;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

footer a {
  color: #ffffff;
}

/* Mobile Responsive Adjustments */
@media (max-width: 849px) {
  .mobile-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: var(--primary-dark);
    padding: 1rem;
  }

  nav ul.show {
    display: flex;
  }

  .pricing-sidebar {
    order: 2; /* Content first, prices second on mobile */
  }

  .main-content {
    order: 1;
  }
}