/* ===========================
   3RiversProud — Clean Water Advocacy
   Personality: citizen-powered river guardian
   Colors: deep river teal, forest green, slate, cream
   Fonts: Oswald (headings, condensed bold) + Inter (body)
   =========================== */

:root {
  --river: #1a6b7a;
  --river-dark: #0f4a55;
  --river-light: #2d8a9a;
  --forest: #2d5a3d;
  --forest-light: #4a7c5a;
  --slate: #2c3e44;
  --slate-light: #4a5d64;
  --cream: #f6f4ed;
  --cream-dark: #e8e4d6;
  --white: #ffffff;
  --accent: #d4943a;
  --accent-light: #e5b25e;
  --text: #1a2326;
  --text-muted: #5a6a6e;
  --border: #d4d0c4;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 4px;
  --radius-lg: 8px;
  --max-width: 1200px;
  --heading-font: 'Oswald', Arial, sans-serif;
  --body-font: 'Inter', Arial, sans-serif;
}

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

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--river); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--river-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--slate);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1.2em; }

ul, ol { margin-bottom: 1.2em; padding-left: 1.5em; }
li { margin-bottom: 0.5em; }

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: var(--slate);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

.header-logo:hover { color: var(--white); opacity: 0.9; }

.logo-mark {
  background: var(--river-light);
  color: var(--white);
  padding: 2px 10px;
  border-radius: var(--radius);
  font-weight: 700;
  flex-shrink: 0;
}

.logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent-light);
  transition: width 0.3s;
}

.header-nav a:hover::after { width: 100%; }

.header-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
  position: relative;
  flex-shrink: 0;
}

.header-toggle span {
  width: 26px; height: 3px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}

.header-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.header-toggle.active span:nth-child(2) { opacity: 0; }
.header-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,74,85,0.72) 0%, rgba(45,90,61,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

.hero h1 {
  color: var(--white);
  max-width: 800px;
  margin-bottom: 24px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 .accent-word {
  color: var(--accent-light);
  font-style: italic;
  font-weight: 400;
  font-family: 'Inter', serif;
}

.hero-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-dark {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}

.btn-dark:hover {
  background: var(--river-dark);
  border-color: var(--river-dark);
  color: var(--white);
}

/* ===========================
   SECTIONS
   =========================== */
section { padding: 80px 0; }

.section-light { background: var(--cream); }
.section-dark { background: var(--slate); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-river { background: var(--river); color: var(--white); }
.section-river h2, .section-river h3 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.section-dark .section-header p { color: rgba(255,255,255,0.75); }

.section-eyebrow {
  display: block;
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--river);
  margin-bottom: 12px;
}

.section-dark .section-eyebrow,
.section-river .section-eyebrow { color: var(--accent-light); }

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: var(--forest);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
}

/* ===========================
   PROBLEM SECTION
   =========================== */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.problem-text h2 { margin-bottom: 20px; }

.problem-text p { color: var(--text); }

.problem-text .key-stat {
  background: var(--cream-dark);
  border-left: 4px solid var(--river);
  padding: 20px 24px;
  margin: 24px 0;
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--slate);
}

.problem-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.problem-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ===========================
   SOLUTION / FEATURES
   =========================== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.solution-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 4px solid var(--forest-light);
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.solution-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest);
}

.solution-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.solution-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===========================
   PLAN PREVIEW
   =========================== */
.plan-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.plan-preview-img {
  position: relative;
  min-height: 400px;
}

.plan-preview-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.plan-preview-text {
  padding: 56px 48px;
}

.plan-preview-text .section-eyebrow { margin-bottom: 12px; }

.plan-preview-text h2 { margin-bottom: 20px; }

.plan-preview-text ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.plan-preview-text ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text);
}

.plan-preview-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--forest-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.plan-preview-text ul li::after {
  content: '';
  position: absolute;
  left: 5px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

/* ===========================
   GALLERY
   =========================== */
.gallery-section { padding: 80px 0; }

/* ===========================
   BLOG LISTING GRID
   =========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-category {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--river);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card-title a { color: var(--slate); text-decoration: none; }
.blog-card-title a:hover { color: var(--river); }

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  align-items: center;
}

.blog-card-meta time { font-weight: 500; }

/* ===========================
   BLOG ARTICLE PAGE
   =========================== */
.blog-breadcrumb-bar {
  background: var(--slate);
  padding: 70px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.blog-breadcrumb-bar .container {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.blog-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-breadcrumb a:hover {
  color: var(--accent-light);
}

.blog-breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

.blog-breadcrumb span:last-child {
  color: var(--white);
  font-weight: 500;
}

.blog-article-page {
  padding: 40px 0 80px;
  background: var(--white);
}

.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-article-category {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--river);
  margin-bottom: 16px;
}

.blog-article-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  line-height: 1.15;
}

.blog-article-meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.blog-article-hero {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-article-hero-img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.blog-article-toc {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 40px;
  border-left: 4px solid var(--river);
}

.blog-article-toc h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--river);
  margin-bottom: 12px;
}

.blog-article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-article-toc li { margin-bottom: 8px; }

.blog-article-toc a {
  font-size: 0.95rem;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-article-toc a:hover { color: var(--river); }

.blog-article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-article-content h2 {
  margin: 40px 0 16px;
  font-size: 1.6rem;
  color: var(--slate);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.blog-article-content h2:first-child { border-top: none; padding-top: 0; }

.blog-article-content h3 {
  margin: 28px 0 12px;
  font-size: 1.3rem;
}

.blog-article-content p { margin-bottom: 1.4em; }

.blog-article-content ul,
.blog-article-content ol {
  margin: 1em 0 1.4em;
  padding-left: 1.5em;
}

.blog-article-content li { margin-bottom: 0.6em; }

.blog-article-content blockquote {
  border-left: 4px solid var(--river);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--slate);
  font-size: 1.15rem;
}

.blog-article-content blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--text-muted);
}

.blog-article-content img {
  border-radius: var(--radius-lg);
  margin: 24px 0;
  width: 100%;
}

.blog-article-content figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.blog-article-content .callout {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
}

.blog-article-content .callout h3 { color: var(--white); margin-bottom: 12px; }
.blog-article-content .callout p { color: rgba(255,255,255,0.9); margin-bottom: 0; }

.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
}

.blog-article-content th,
.blog-article-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}

.blog-article-content th {
  background: var(--cream);
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--slate);
}

.blog-article-content tr:nth-child(even) td { background: rgba(246,244,237,0.5); }

.blog-article-content a { color: var(--river); text-decoration: underline; }
.blog-article-content a:hover { color: var(--river-dark); }

.blog-article-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
}

.blog-article-related h3 {
  margin-bottom: 24px;
}

.blog-article-related .blog-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

/* ===========================
   TAKE ACTION
   =========================== */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.action-info h2 { margin-bottom: 20px; }

.action-steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.action-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.action-steps li:last-child { border-bottom: none; }

.action-step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.1rem;
}

.action-step-text h4 { color: var(--white); margin-bottom: 4px; }
.action-step-text p { color: rgba(255,255,255,0.75); margin-bottom: 0; font-size: 0.95rem; }

/* ===========================
   CONTACT FORM
   =========================== */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  color: var(--slate);
  margin-bottom: 8px;
}

.contact-form-wrapper .form-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#contactForm label {
  font-family: var(--heading-font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: -8px;
}

#contactForm input,
#contactForm textarea,
#contactForm select {
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

#contactForm input:focus,
#contactForm textarea:focus,
#contactForm select:focus {
  border-color: var(--river);
  background: var(--white);
  outline: none;
}

#contactForm textarea {
  min-height: 120px;
  resize: vertical;
}

#contactForm button[type="submit"] {
  background: var(--river);
  color: var(--white);
  border: none;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s;
}

#contactForm button[type="submit"]:hover {
  background: var(--river-dark);
}

#contactForm button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#formStatus {
  margin-top: 10px;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--slate);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom p { margin-bottom: 4px; }

/* ===========================
   BLOG LISTING PAGE
   =========================== */
.blog-page-header {
  background: var(--river-dark);
  color: var(--white);
  padding: 120px 0 56px;
  text-align: center;
}

.blog-page-header h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.blog-page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.blog-listing {
  padding: 64px 0 80px;
  background: var(--cream);
  min-height: 50vh;
}

/* ===========================
   PROPOSAL PAGE SPECIFIC
   =========================== */
.proposal-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.proposal-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.proposal-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.proposal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,74,85,0.82) 0%, rgba(45,90,61,0.7) 100%);
  z-index: 1;
}

.proposal-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.proposal-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.proposal-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .header-nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--slate);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    z-index: 999;
  }

  .header-nav.open {
    transform: translateX(0);
  }

  .header-nav a {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
  }

  .header-toggle { display: flex; }

  .problem-grid,
  .plan-preview,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .plan-preview-img { min-height: 300px; }
  .plan-preview-text { padding: 40px 32px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero { min-height: 80vh; }
  .hero-content { padding: 120px 0 60px; }
  .hero-subtitle { font-size: 1.1rem; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-number { font-size: 2.2rem; }
  .footer-links { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 20px; }
  .blog-article-toc { display: none; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Body font size scaling for mobile */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
}
