/* ============================================
   Blu Manor — Second Chance Transitional Housing
   Design System & Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Colors */
  --navy: #1B2A5B;
  --navy-dark: #111D42;
  --navy-light: #2A3F7A;
  --gold: #C5A44E;
  --gold-light: #D4B96A;
  --gold-dark: #A8893A;
  --white: #FFFFFF;
  --off-white: #F5F7FA;
  --light-gray: #E8EBF0;
  --medium-gray: #9CA3AF;
  --text-dark: #2D2D2D;
  --text-light: #6B7280;
  --charcoal: #1A1A2E;
  --success: #22C55E;
  --error: #EF4444;
  --warning: #F59E0B;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

ul, ol {
  list-style: none;
}

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

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* --- Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.section-header .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.bg-white { background: var(--white); }
.bg-light { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.bg-charcoal { background: var(--charcoal); }
.bg-gold { background: var(--gold); }

.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

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

.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-icon {
  font-size: 1.2em;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: var(--navy);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-base);
}

.header.scrolled .header-logo img {
  height: 40px;
}

.header-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.header-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, var(--charcoal) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(197, 164, 78, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(197, 164, 78, 0.3);
  border-radius: 30px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.hero-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.hero-phone a {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-phone a:hover {
  color: var(--gold-light);
}

/* --- Page Banner (inner pages) --- */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(197, 164, 78, 0.08), transparent 60%);
  pointer-events: none;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.page-banner .breadcrumb a {
  color: var(--gold);
}

.page-banner .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

/* --- Mission Bar --- */
.mission-bar {
  background: var(--gold);
  padding: 40px 0;
  text-align: center;
}

.mission-bar p {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 500;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-style: italic;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}

.feature-card h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Housing Snapshot Card --- */
.housing-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.housing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--light-gray);
}

.housing-card-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 32px;
  text-align: center;
}

.housing-card-header h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.housing-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
}

.housing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.housing-card-body {
  padding: 32px;
}

.housing-card-body ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.housing-card-body li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.housing-card-body li .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 0.8rem;
}

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

.housing-info p {
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* --- Who We Serve --- */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.serve-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

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

.serve-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--off-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.serve-card h4 {
  margin-bottom: 12px;
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--charcoal);
  padding: var(--section-padding);
}

.testimonials-section .section-header h2 {
  color: var(--white);
}

.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 36px;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.6;
}

.testimonial-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--navy-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author-info strong {
  color: var(--white);
  font-size: 0.9rem;
  display: block;
}

.testimonial-author-info span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--navy);
  transition: all var(--transition-base);
}

.faq-item.active .faq-icon {
  background: var(--gold);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(197, 164, 78, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

.cta-phone {
  display: block;
  margin-top: 24px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  position: relative;
}

.cta-phone a {
  color: var(--gold);
}

.cta-phone a:hover {
  color: var(--gold-light);
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 280px;
}

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

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-contact-item .icon {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  margin: 0;
}

/* --- Cards (General) --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--off-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.value-card h4 {
  margin-bottom: 10px;
}

/* --- Founder Section --- */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

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

.founder-image .placeholder-img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--off-white), var(--light-gray));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--medium-gray);
}

.founder-info h3 {
  margin-bottom: 8px;
}

.founder-info .founder-title {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* --- Included Grid --- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.included-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--navy);
  border-radius: var(--radius-md);
  color: var(--white);
}

.included-card .included-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--gold);
}

.included-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.included-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

/* --- Fee Table --- */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fee-table thead {
  background: var(--navy);
}

.fee-table th {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 24px;
  text-align: left;
}

.fee-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.fee-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.fee-table tbody tr:hover {
  background: rgba(197, 164, 78, 0.05);
}

/* --- Policy Sections --- */
.policy-section {
  margin-bottom: 60px;
}

.policy-section h3 {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.policy-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.policy-list li .icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--navy);
}

.policy-highlight {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
  border-left: 4px solid var(--error);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 32px;
  margin-bottom: 40px;
}

.policy-highlight h4 {
  color: var(--error);
  margin-bottom: 12px;
}

.policy-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* --- Disciplinary Steps --- */
.steps-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-item::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 30px;
  font-size: 1.2rem;
  color: var(--medium-gray);
}

.step-item:last-child::after {
  display: none;
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--navy);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.step-item:last-child .step-number {
  background: var(--error);
  color: var(--white);
}

.step-item h4 {
  font-size: 0.85rem;
  font-family: var(--font-body);
}

/* --- Forms --- */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197, 164, 78, 0.15);
}

.form-control.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-control.error + .form-error {
  display: block;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}

.form-check label {
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  font-weight: 400;
  margin-bottom: 0;
}

/* --- Multi-Step Form --- */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--light-gray);
  z-index: 0;
}

.form-progress .progress-fill {
  position: absolute;
  top: 20px;
  left: 0;
  height: 3px;
  background: var(--gold);
  z-index: 1;
  transition: width var(--transition-slow);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.progress-step .step-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 3px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--medium-gray);
  transition: all var(--transition-base);
  margin-bottom: 8px;
}

.progress-step.active .step-circle {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 164, 78, 0.15);
}

.progress-step.completed .step-circle {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.progress-step .step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
  color: var(--navy);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
  margin-bottom: 8px;
}

.form-step .step-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--light-gray);
}

.form-nav .btn-back {
  background: none;
  border: none;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.form-nav .btn-back:hover {
  color: var(--navy);
}

/* --- Acknowledgment Boxes --- */
.acknowledgment-box {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.acknowledgment-box h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.acknowledgment-box p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* --- Signature Area --- */
.signature-area {
  background: var(--white);
  border: 2px dashed var(--light-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}

.signature-area h4 {
  margin-bottom: 16px;
}

.signature-area .form-control {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
}

/* --- Form Success/Error States --- */
.form-result {
  display: none;
  text-align: center;
  padding: 60px 40px;
}

.form-result.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.form-result .result-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.form-result.success .result-icon {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
}

.form-result.error .result-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

.form-result h3 {
  margin-bottom: 12px;
}

.form-result p {
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 24px;
}

/* --- Loading Spinner --- */
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

/* --- Partners Section --- */
.partner-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  text-align: center;
  transition: all var(--transition-base);
}

.partner-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item .contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(197, 164, 78, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--gold);
}

.map-placeholder {
  margin-top: 32px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

/* --- Resources --- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.resource-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-base);
}

.resource-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.resource-icon {
  width: 56px;
  height: 56px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  flex-shrink: 0;
}

.resource-info h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.resource-info p {
  font-size: 0.85rem;
  margin: 0;
}

.resource-info .download-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .housing-snapshot {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

  .founder-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .policy-two-col {
    grid-template-columns: 1fr;
  }

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

  .steps-visual .step-item::after {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .serve-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 28px 20px;
  }

  .form-row,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .form-progress .step-label {
    display: none;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .partner-benefits {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding: 120px 0 60px;
  }

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

  .steps-visual {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .housing-price {
    font-size: 2.2rem;
  }

  .form-progress .step-circle {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .steps-visual {
    grid-template-columns: 1fr;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}
