/* ============================================
   RIOBEND FUNDING — Global Stylesheet
   Color palette inspired by Claude AI
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Claude-inspired palette */
  --burnt-orange: #C15F3C;
  --burnt-orange-dark: #A34E30;
  --burnt-orange-light: #D4845F;
  --burnt-orange-glow: rgba(193, 95, 60, 0.12);
  --cream: #FDF6F0;
  --warm-white: #FAFAF8;
  --warm-gray: #F3F0EB;
  --text-primary: #1A1A2E;
  --text-secondary: #4A4A5A;
  --text-muted: #7A7A8A;
  --border-color: #E8E4DE;
  --white: #FFFFFF;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1140px;
  --nav-height: 76px;
}

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

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

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

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

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

a {
  color: var(--burnt-orange);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--burnt-orange-dark);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--white);
}
.btn-primary:hover {
  background: #2a2a42;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}
.btn-outline:hover {
  background: var(--text-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--burnt-orange);
}
.btn-white:hover {
  background: var(--cream);
  color: var(--burnt-orange-dark);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  height: 48px;
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}
.logo-sub {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--burnt-orange);
  letter-spacing: 0.4em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burnt-orange);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--burnt-orange);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--burnt-orange);
  color: var(--white) !important;
  border-radius: 8px;
  font-weight: 600 !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--burnt-orange-dark);
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(165deg, var(--warm-white) 0%, var(--cream) 50%, var(--warm-gray) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--burnt-orange-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin-bottom: 20px;
  max-width: 700px;
}
.hero h1 .accent {
  color: var(--burnt-orange);
}
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section-padding);
}
.section-alt {
  background: var(--cream);
}
.section-dark {
  background: var(--text-primary);
  color: var(--white);
}
.section-dark h2,
.section-dark h3,
.section-dark p {
  color: var(--white);
}
.section-dark p {
  opacity: 0.85;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burnt-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--burnt-orange-light);
}

.card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.card-bullets li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--burnt-orange);
  font-weight: 700;
}
.card-bullets li:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--burnt-orange-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 12px;
}

/* ---------- Steps / Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--burnt-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
}
.step h3 {
  margin-bottom: 10px;
}

/* ---------- Stats Row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 48px 0;
}
.stat-number {
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--burnt-orange);
  line-height: 1;
  margin-bottom: 8px;
  white-space: nowrap;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Two-Column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-text h2 {
  margin-bottom: 20px;
}
.two-col-text .section-label {
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}
.feature-list li {
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--burnt-orange);
  font-weight: 700;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--burnt-orange) 0%, var(--burnt-orange-dark) 100%);
  padding: 72px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 40px;
}
.contact-info-card h3 {
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--burnt-orange-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.contact-detail-text span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--warm-white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--burnt-orange);
  box-shadow: 0 0 0 3px var(--burnt-orange-glow);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 12px;
}
.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer ul a:hover {
  color: var(--burnt-orange-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ---------- Page Header (subpages) ---------- */
.page-header {
  padding: 140px 0 64px;
  background: linear-gradient(165deg, var(--warm-white) 0%, var(--cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--burnt-orange-glow) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  margin-bottom: 16px;
  position: relative;
}
.page-header .subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
  position: relative;
}
.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--burnt-orange);
}

/* ---------- Content Sections ---------- */
.content-section {
  max-width: 800px;
}
.content-section h2 {
  margin-bottom: 20px;
}
.content-section h3 {
  margin-bottom: 16px;
}
.content-section p + p {
  margin-top: 12px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.25s;
}
.faq-question:hover {
  color: var(--burnt-orange);
}
.faq-question .icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--burnt-orange);
}
.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Image Sections ---------- */
.img-section {
  position: relative;
  overflow: hidden;
}
.img-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero background image overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(253,246,240,0.92) 0%, rgba(250,250,248,0.88) 50%, rgba(243,240,235,0.8) 100%);
}

/* Image card for two-column layouts */
.img-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

/* Rounded image with orange accent border */
.img-accent {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.img-accent::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--burnt-orange) 0%, var(--burnt-orange-light) 100%);
  z-index: -1;
}
.img-accent img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Page header with background image */
.page-header-img {
  position: relative;
  overflow: hidden;
}
.page-header-img .header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header-img .header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.page-header-img .header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253,246,240,0.95) 0%, rgba(250,250,248,0.92) 60%, rgba(243,240,235,0.88) 100%);
}

/* CTA banner with background image */
.cta-banner-img {
  position: relative;
}
.cta-banner-img .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner-img .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner-img .cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(193,95,60,0.92) 0%, rgba(163,78,48,0.95) 100%);
}
.cta-banner-img .container {
  position: relative;
  z-index: 1;
}

/* Inline image gallery strip */
.img-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.img-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .img-strip {
    grid-template-columns: 1fr;
  }
  .img-card img {
    min-height: 240px;
  }
}

/* ---------- Class Aliases & Variant Support ---------- */

/* Two-column layout variant */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Page subtitle variant */
.page-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.1rem;
  position: relative;
}

/* Section title variant */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

/* Decorative placeholder for visual areas */
.decorative-placeholder {
  width: 100%;
  min-height: 300px;
  background: linear-gradient(145deg, var(--burnt-orange-glow) 0%, var(--cream) 40%, var(--warm-gray) 100%);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.placeholder-content {
  width: 80%;
  max-width: 200px;
}

/* ---------- Original Class Aliases ---------- */

/* Hero two-column layout */
.hero-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero variants */
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-headline {
  margin-bottom: 20px;
  max-width: 700px;
}
.hero-content {
  position: relative;
  z-index: 1;
}

/* Text Us Banner */
.text-us-banner {
  background: var(--burnt-orange);
  padding: 10px 0;
  text-align: center;
}
.text-us-banner:hover {
  opacity: 0.95;
}
.text-us-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  padding: 0;
}
.text-us-link strong {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.text-us-link svg {
  flex-shrink: 0;
}
.text-us-link:hover {
  opacity: 0.9;
}

/* Stats variants */
.stats-section {
  padding: 48px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  text-align: center;
}
.stat-card {
  padding: 16px 32px;
}

/* Service cards variants */
.services-section {
  padding: var(--section-padding);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--burnt-orange-light);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--burnt-orange-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.service-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--burnt-orange);
}
.service-link:hover {
  color: var(--burnt-orange-dark);
}

/* Steps variants */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.step-card {
  text-align: center;
}
.step-card .step-number {
  width: 56px;
  height: 56px;
  background: var(--burnt-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
}
.step-card h3 {
  margin-bottom: 10px;
}

/* Why Choose / Two-col variants */
.why-choose-section {
  padding: var(--section-padding);
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-choose-content .section-label {
  margin-bottom: 12px;
}
.why-choose-content h2 {
  margin-bottom: 20px;
}
.why-choose-content .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary);
}
.feature-icon {
  color: var(--burnt-orange);
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--burnt-orange);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
  margin-top: 2px;
}
.decorative-gradient {
  width: 100%;
  height: 400px;
  background: linear-gradient(145deg, var(--burnt-orange-glow) 0%, var(--cream) 40%, var(--warm-gray) 100%);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.decorative-gradient::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--burnt-orange);
  opacity: 0.12;
}

/* How It Works variant */
.how-it-works {
  padding: var(--section-padding);
}

/* CTA content wrapper */
.cta-content {
  text-align: center;
}

/* Footer column variant */
.footer-column h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.footer-column p,
.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-disclaimer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

/* Section heading variant */
.section-heading {
  margin-bottom: 16px;
}

/* Page header container variant */
.page-header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.page-header .container,
.page-header-container {
  position: relative;
  z-index: 1;
}

/* Breadcrumb separator */
.breadcrumb-separator {
  margin: 0 8px;
  color: var(--text-muted);
}
.breadcrumb-current {
  color: var(--burnt-orange);
}

/* Contact section variant */
.contact-section {
  padding: var(--section-padding);
}

/* ---------- Cases We Fund Grid ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.case-type-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  text-align: center;
}
.case-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  border-color: var(--burnt-orange-light);
}
.case-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.case-type-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.case-type-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Inline Contact Form (homepage) ---------- */
.hero-form-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.hero-form-card h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.hero-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero-form-card .form-group {
  margin-bottom: 14px;
}
.hero-form-card .form-group input,
.hero-form-card .form-group textarea {
  padding: 10px 14px;
  font-size: 0.9rem;
}
.hero-form-card .form-group textarea {
  min-height: 80px;
}
.hero-form-card .btn {
  width: 100%;
}

/* ---------- Modalities Panel (homepage hero) ---------- */
.modalities-panel {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}
.modalities-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.louisiana-icon {
  width: 22px;
  height: auto;
  flex-shrink: 0;
}
.modalities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.modality-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--warm-gray);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 20px 16px 60px;
  transition: all 0.25s ease;
}
.modality-card:hover {
  border-color: var(--burnt-orange-light);
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.modality-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--burnt-orange);
}
.modality-card span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

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

/* ---------- Additional Page-Specific Variants ---------- */

/* Stats containers */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  padding: 48px 0;
}
.stat {
  padding: 16px;
}

/* Steps container variant */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.step-circle {
  width: 56px;
  height: 56px;
  background: var(--burnt-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Section layout variants */
.section-two-column,
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.content-column {
  max-width: 100%;
}
.decorative-column {
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-visual {
  width: 100%;
  min-height: 300px;
  background: linear-gradient(145deg, var(--burnt-orange-glow) 0%, var(--cream) 40%, var(--warm-gray) 100%);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-box {
  width: 100%;
  min-height: 280px;
  background: linear-gradient(145deg, var(--burnt-orange-glow) 0%, var(--cream) 50%, var(--warm-gray) 100%);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

/* Feature list variants */
.feature-list-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature-list-text h2 {
  margin-bottom: 16px;
}
.feature-items {
  list-style: none;
  margin-top: 16px;
}
.feature-list h3 {
  margin-bottom: 20px;
}
.feature-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-secondary);
}

/* Section subtitle variant */
.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: -32px auto 48px;
  color: var(--text-secondary);
}
.section-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 40px;
}
.section-intro p {
  color: var(--text-secondary);
}

/* Expense / case cost cards */
.expense-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  transition: all 0.3s ease;
}
.expense-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--burnt-orange-light);
}
.expenses-section {
  padding: var(--section-padding);
}

/* Process / benefits sections */
.process-section,
.benefits-section {
  padding: var(--section-padding);
}

/* FAQ variants */
.faq-section {
  padding: var(--section-padding);
}
.faq-container {
  max-width: 740px;
  margin: 0 auto;
}
.faq-toggle-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--burnt-orange);
}
.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* CTA button variants */
.cta-button,
.cta-button-large {
  display: inline-block;
  padding: 14px 32px;
  background: var(--burnt-orange);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}
.cta-button:hover,
.cta-button-large:hover {
  background: var(--burnt-orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 95, 60, 0.3);
}

/* Contact page variants */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--burnt-orange-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-label {
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}
.contact-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
}
.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* What happens next */
.what-happens-next,
.next-steps {
  padding: var(--section-padding);
}
.what-happens-next h2,
.next-steps h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* CTA subtext */
.cta-subtext {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
}

/* Footer variants */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-section h3,
.footer-section h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 12px;
}
.footer-section ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer-section ul a:hover {
  color: var(--burnt-orange-light);
}
.footer-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Breadcrumb current */
.current {
  color: var(--burnt-orange);
}

/* Hidden FAQ for SEO */
.hidden-faq {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Visual placeholder */
.why-choose-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Separator between elements */
.separator {
  width: 60px;
  height: 3px;
  background: var(--burnt-orange);
  margin: 0 auto 24px;
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .section-two-column,
  .two-column-layout,
  .section-grid,
  .feature-list-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .two-col,
  .two-column,
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
    --nav-height: 64px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
    -webkit-transform: translateY(-100%);
  }
  .nav-links.open {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    padding: 120px 0 72px;
  }
  .hero-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-buttons {
    flex-direction: column;
  }

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

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

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

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

@media (max-width: 480px) {
  .cards-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}
