/* BMR CFPCC v11 — Live RSS feed, membership tiers, page heroes */

:root {
  --bg: #061a2f;
  --bg-card: #0a2640;
  --bg-card-hover: #0e2f4d;
  --text: #f0f0f0;
  --text-dim: #b0b8c0;
  --text-muted: #8090a0;
  --border: #1a3a55;
  --red: #e82a2a;
  --blue: #2a5ae8;
  --cyan: #00d4d4;
  --yellow: #f0d000;
  --magenta: #d42ae8;
  --green: #00d43a;
  --white: #f0f0f0;
  --gold: #967934;
  --gold-light: #b89140;
  --radius: 6px;
  --font-sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Courier New', monospace;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--text); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* === HERO — exact user-provided cover image === */
.hero-clone {
  position: relative;
  width: 100%;
  max-width: 1523px;
  margin: 0 auto;
  aspect-ratio: 1523 / 573;
  background: #061a2f;
}
.hero-clone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.hotspot {
  position: absolute;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  z-index: 3;
  border-radius: 8px;
}
.home          { left: 55.25%; top: 7.00%; width: 6.35%;  height: 8.10%; }
.services      { left: 63.25%; top: 7.35%; width: 8.15%;  height: 7.25%; }
.resources     { left: 72.10%; top: 7.35%; width: 9.65%;  height: 7.25%; }
.about         { left: 82.25%; top: 7.35%; width: 6.80%;  height: 7.25%; }
.contact       { left: 90.20%; top: 7.35%; width: 7.20%;  height: 7.25%; }
.cta           { left: 8.25%;  top: 80.75%; width: 20.60%; height: 9.95%; }

/* === INTERIOR PAGE HERO === */
.page-hero {
  position: relative;
  width: 100%;
  max-width: 1523px;
  margin: 0 auto;
  aspect-ratio: 1523 / 400;
  background: #061a2f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/company-emblem.png') center center no-repeat;
  background-size: 200px auto;
  opacity: 0.06;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}
.page-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 300;
  color: #f0f0f0;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.page-hero-content .gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1rem;
}
.page-hero-content p {
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 1px;
  font-weight: 300;
}

/* === INTERIOR PAGE NAV === */
.interior-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0.75rem 1.5rem;
  background: #061a2f;
  border-bottom: 1px solid var(--border);
}
.interior-nav a {
  color: var(--text-muted);
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.interior-nav a.active {
  color: var(--text);
}

/* === MAIN CONTENT === */
.main-content {
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-card); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.card h3 { color: var(--text); }
.card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 1rem; }
.card .badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}
.badge-red { background: rgba(232,42,42,0.2); color: var(--red); }
.badge-blue { background: rgba(42,90,232,0.2); color: var(--blue); }
.badge-cyan { background: rgba(0,212,212,0.2); color: var(--cyan); }
.badge-yellow { background: rgba(240,208,0,0.2); color: var(--yellow); }
.badge-magenta { background: rgba(212,42,232,0.2); color: var(--magenta); }
.badge-green { background: rgba(0,212,58,0.2); color: var(--green); }
.badge-gold { background: rgba(150,121,52,0.2); color: var(--gold-light); }

/* === EDUCATIONAL CONTENT CARDS === */
.edu-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.edu-card:last-child { border-bottom: none; }
.edu-img {
  width: 200px;
  height: 133px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.edu-body { flex: 1; }
.edu-body h3 { margin-bottom: 0.5rem; }
.edu-body p { color: var(--text-dim); font-size: 0.9rem; }

.edu-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.edu-gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.edu-gallery-item:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.edu-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.edu-gallery-item .edu-caption {
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .edu-card { flex-direction: column; }
  .edu-img { width: 100%; height: auto; max-height: 200px; }
}

/* === FEED === */
.feed-box {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.feed-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: var(--bg-card-hover); }
.feed-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.feed-body { flex: 1; }
.feed-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 0.35rem;
}
.feed-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.feed-body h3 a { color: var(--text); }
.feed-body h3 a:hover { color: var(--gold-light); }
.feed-body p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.feed-date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.feed-loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}
.feed-error {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

/* === MEMBERSHIP TIERS === */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.tier-card.featured {
  border-color: var(--gold);
  position: relative;
}
.tier-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 1rem;
  border-radius: 3px;
}
.tier-name {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.tier-price {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.tier-price span {
  font-size: 1rem;
  color: var(--text-muted);
}
.tier-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.tier-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}
.tier-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tier-features li::before {
  content: '\2713';
  color: var(--gold-light);
  font-weight: 700;
}
.tier-features li.missing::before {
  content: '\2014';
  color: var(--text-muted);
}
.tier-features li.missing {
  color: var(--text-muted);
}
.tier-btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s;
}
.tier-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* === SERVICE ITEMS === */
.service-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.service-item:last-child { border-bottom: none; }
.service-item h3 { margin-bottom: 0.5rem; }
.service-item p { color: var(--text-dim); }
.service-item .price {
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.1rem;
}

.resource-list { list-style: none; }
.resource-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.resource-list li:last-child { border-bottom: none; }
.resource-list a { font-weight: 600; }
.resource-list li p { margin-top: 0.25rem; font-size: 0.9rem; color: var(--text-muted); }

.content { max-width: 800px; margin: 0 auto; }
.content p { margin-bottom: 1.25rem; color: var(--text-dim); }
.content ul, .content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.content li { margin-bottom: 0.5rem; color: var(--text-dim); }
.content h2, .content h3 { color: var(--text); }

.alert {
  background: rgba(0,212,212,0.06);
  border-left: 3px solid var(--cyan);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
}
.alert strong { color: var(--cyan); }

.accent-divider {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.accent-divider span {
  display: block;
  width: 30px;
  height: 2px;
  border-radius: 2px;
}
.accent-divider span:nth-child(1) { background: var(--red); }
.accent-divider span:nth-child(2) { background: var(--blue); }
.accent-divider span:nth-child(3) { background: var(--cyan); }
.accent-divider span:nth-child(4) { background: var(--yellow); }
.accent-divider span:nth-child(5) { background: var(--magenta); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  background: var(--white);
  color: var(--bg);
}

form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-sans);
}
form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}
form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  text-align: center;
}
footer p { color: var(--text-muted); font-size: 0.85rem; }
footer .legal { margin-top: 1rem; font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .page-hero-content h1 { font-size: 1.8rem; }
  .section { padding: 3rem 0; }
  .interior-nav { flex-wrap: wrap; gap: 0.25rem; padding: 0.5rem; }
  .interior-nav a { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  .feed-item { flex-direction: column; }
  .feed-img { width: 100%; height: 160px; }
  .tier-cards { grid-template-columns: 1fr; }
}