/*
 * LoanBoostr — Stylesheet
 * Alternative Credit Assessment / VibeScore™ Fintech
 * A Design Frameworks portfolio build
 *
 * Color palette (all hardcoded):
 *   Background:     #F5F9F5
 *   Text:           #0A1E0A
 *   Accent:         #1A7A4A
 *   Surface:        #FFFFFF
 *   Muted text:     #3D6B4A
 *   Border:         #C0D9C8
 *   Dark section:   #0A2010
 *   Dark text:      #D0F0DC
 *   Highlight:      #E8F5EC
 *   Approval green: #22C55E
 *   Warning amber:  #F59E0B
 *
 * Font: Plus Jakarta Sans (400, 500, 600, 700)
 * Mobile-first. No external frameworks.
 */

/* ====================================================
   RESET & BASE
   ==================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #F5F9F5;
  color: #0A1E0A;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

/* ====================================================
   FOCUS STYLES — keyboard accessibility
   ==================================================== */

:focus-visible {
  outline: 2.5px solid #1A7A4A;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ====================================================
   TYPOGRAPHY
   ==================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #0A1E0A;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  line-height: 1.7;
}

a {
  color: #1A7A4A;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: #0F5C35;
  opacity: 0.85;
}

/* ====================================================
   LAYOUT UTILITIES
   ==================================================== */

.section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ====================================================
   PORTFOLIO CREDIT BAR
   ==================================================== */

.portfolio-credit {
  background-color: #0A2010;
  color: #3D6B4A;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.02em;
}

.portfolio-credit a {
  color: #3D6B4A;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.portfolio-credit a:hover {
  color: #D0F0DC;
  opacity: 1;
}

/* ====================================================
   SITE HEADER
   ==================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #C0D9C8;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A1E0A;
  letter-spacing: -0.03em;
}

.brand-footer .brand-name {
  color: #D0F0DC;
}

/* Nav */
.site-nav {
  flex: 1;
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3D6B4A;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: #0A1E0A;
  opacity: 1;
}

/* Nav CTA */
.nav-cta {
  display: none;
  flex-shrink: 0;
  background-color: #1A7A4A;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background-color 0.15s ease, transform 0.1s ease;
  letter-spacing: -0.01em;
}

.nav-cta:hover {
  background-color: #0F5C35;
  color: #FFFFFF;
  opacity: 1;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
  .nav-cta {
    display: flex;
  }
}

/* ====================================================
   BUTTONS
   ==================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-primary {
  background-color: #1A7A4A;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(10, 32, 16, 0.25), 0 4px 12px rgba(26, 122, 74, 0.2);
}

.btn-primary:hover {
  background-color: #0F5C35;
  color: #FFFFFF;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(10, 32, 16, 0.25), 0 8px 20px rgba(26, 122, 74, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  font-size: 1.05rem;
  padding: 18px 36px;
  border-radius: 12px;
}

/* ====================================================
   HERO SECTION
   ==================================================== */

.hero {
  background-color: #F5F9F5;
  padding: 64px 0 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #E8F5EC;
  border: 1px solid #C0D9C8;
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1A7A4A;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 18px;
  color: #0A1E0A;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 500;
  color: #1A7A4A;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 0.975rem;
  color: #3D6B4A;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cta-fine-print {
  font-size: 0.78rem;
  color: #3D6B4A;
  line-height: 1.5;
}

/* --- VibeScore Widget --- */

.vibe-widget {
  width: 100%;
  max-width: 360px;
  flex-shrink: 0;
}

.vibe-widget-inner {
  background-color: #FFFFFF;
  border: 1px solid #C0D9C8;
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 4px 24px rgba(26, 122, 74, 0.1), 0 1px 3px rgba(10, 30, 10, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vibe-widget-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #3D6B4A;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.gauge-svg {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.vibe-score-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
}

.score-number {
  font-size: 3rem;
  font-weight: 700;
  color: #0A1E0A;
  letter-spacing: -0.04em;
  line-height: 1;
}

.score-denom {
  font-size: 1rem;
  font-weight: 500;
  color: #3D6B4A;
}

.vibe-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 8px 0 4px;
}

.vibe-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #E8F5EC;
  margin-top: 8px;
  gap: 4px;
}

.vibe-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.vibe-meta-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: #3D6B4A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vibe-meta-value {
  font-size: 0.75rem;
  font-weight: 700;
}

.vibe-positive {
  color: #1A7A4A;
}

.vibe-meta-divider {
  width: 1px;
  height: 28px;
  background-color: #C0D9C8;
  flex-shrink: 0;
}

/* Hero Trust Bar */

.hero-trust-bar {
  background-color: #FFFFFF;
  border-top: 1px solid #C0D9C8;
  border-bottom: 1px solid #C0D9C8;
  padding: 16px 20px;
}

.trust-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 36px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #3D6B4A;
  white-space: nowrap;
}

/* Desktop hero layout */

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
    padding-bottom: 80px;
  }

  .hero-content {
    flex: 1;
  }

  .vibe-widget {
    flex-shrink: 0;
    position: sticky;
    top: 100px;
  }
}

/* ====================================================
   SECTION SHARED STYLES
   ==================================================== */

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1A7A4A;
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-intro {
  font-size: 1rem;
  color: #3D6B4A;
  margin-top: 16px;
  line-height: 1.7;
}

/* ====================================================
   FACTORS SECTION
   ==================================================== */

.factors-section {
  padding: 80px 0;
  background-color: #F5F9F5;
}

.factors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .factors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .factors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Last 2 cards span to center in a row of 3 */
  .factors-grid .factor-card:nth-child(4) {
    grid-column: 1 / 2;
  }
  .factors-grid .factor-card:nth-child(5) {
    grid-column: 2 / 3;
  }
}

.factor-card {
  background-color: #FFFFFF;
  border: 1px solid #C0D9C8;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.factor-card:hover {
  box-shadow: 0 8px 32px rgba(26, 122, 74, 0.12);
  transform: translateY(-2px);
  border-color: #1A7A4A;
}

.factor-card-highlight {
  background-color: #E8F5EC;
  border-color: #1A7A4A;
}

.factor-icon {
  flex-shrink: 0;
}

.factor-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.factor-header-row h3 {
  flex: 1;
}

.factor-range {
  font-size: 0.75rem;
  font-weight: 500;
  color: #3D6B4A;
  margin-left: 4px;
}

.factor-content p {
  font-size: 0.9rem;
  color: #3D6B4A;
  line-height: 1.65;
}

/* Factor badges */
.factor-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.factor-badge-primary {
  background-color: #E8F5EC;
  color: #1A7A4A;
  border: 1px solid #C0D9C8;
}

.factor-badge-optional {
  background-color: #FEF9EE;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.factor-badge-required {
  background-color: #FFF1F2;
  color: #9F1239;
  border: 1px solid #FECDD3;
}

.factor-badge-signal {
  background-color: #1A7A4A;
  color: #FFFFFF;
}

/* Factors footnote */
.factors-footnote {
  margin-top: 32px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  background-color: #E8F5EC;
  border: 1px solid #C0D9C8;
  border-radius: 10px;
}

.factors-footnote svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.factors-footnote span {
  font-size: 0.82rem;
  color: #3D6B4A;
  line-height: 1.6;
}

/* ====================================================
   DASHBOARD SECTION (DARK)
   ==================================================== */

.dashboard-section {
  background-color: #0A2010;
  padding: 80px 0;
}

.section-header-dark h2 {
  color: #D0F0DC;
}

.section-eyebrow-dark {
  color: #22C55E;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.section-intro-dark {
  color: #3D6B4A;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Dashboard Cards */
.dashboard-card {
  background-color: #0F2D18;
  border: 1px solid #1A4A28;
  border-radius: 16px;
  padding: 24px;
  color: #D0F0DC;
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1A4A28;
}

.applicant-avatar {
  flex-shrink: 0;
}

.applicant-info {
  flex: 1;
}

.applicant-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #D0F0DC;
  margin-bottom: 2px;
}

.applicant-meta {
  font-size: 0.75rem;
  color: #3D6B4A;
}

.applicant-status-dot {
  flex-shrink: 0;
  position: relative;
  width: 10px;
  height: 10px;
}

.status-dot-pulse {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Factor score rows */
.factor-scores-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.factor-score-row {
  display: grid;
  grid-template-columns: 130px 1fr 70px;
  align-items: center;
  gap: 12px;
}

.fs-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #3D6B4A;
}

.fs-bar-wrap {
  height: 8px;
  background-color: #1A4A28;
  border-radius: 100px;
  overflow: hidden;
}

.fs-bar {
  height: 100%;
  border-radius: 100px;
  position: relative;
}

.fs-bar-fill {
  height: 100%;
  width: var(--bar-pct, 0%);
  background-color: #22C55E;
  border-radius: 100px;
  transition: width 0.8s ease;
}

.fs-bar-amber .fs-bar-fill {
  background-color: #F59E0B;
}

.fs-value {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
}

.fs-green { color: #22C55E; }
.fs-amber { color: #F59E0B; }

/* Decision Card */
.decision-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.decision-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.decision-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3D6B4A;
}

.decision-verdict {
  font-size: 1.4rem;
  font-weight: 700;
  color: #22C55E;
  letter-spacing: -0.02em;
  line-height: 1;
}

.decision-amount {
  font-size: 2.8rem;
  font-weight: 700;
  color: #D0F0DC;
  letter-spacing: -0.04em;
  line-height: 1;
}

.decision-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background-color: rgba(26, 74, 40, 0.4);
  border-radius: 12px;
  border: 1px solid #1A4A28;
}

.decision-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #3D6B4A;
}

.decision-detail-val {
  font-weight: 600;
  color: #D0F0DC;
}

.decision-detail-green {
  color: #22C55E;
}

.decision-note {
  background-color: rgba(34, 197, 94, 0.07);
  border-left: 3px solid #22C55E;
  border-radius: 0 10px 10px 0;
  padding: 16px;
  font-size: 0.875rem;
  color: #3D6B4A;
  line-height: 1.65;
  font-style: italic;
  position: relative;
}

.decision-note svg {
  display: inline;
  vertical-align: middle;
  margin-right: 4px;
}

.decision-reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #1A4A28;
}

.reviewer-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #D0F0DC;
}

.reviewer-title {
  font-size: 0.75rem;
  color: #3D6B4A;
  margin-top: 1px;
}

/* Dashboard Metrics */
.dashboard-metrics {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: #0F2D18;
  border: 1px solid #1A4A28;
  border-radius: 16px;
  overflow: hidden;
}

.metric-item {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 20px;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #22C55E;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-label {
  font-size: 0.8rem;
  color: #3D6B4A;
  text-align: center;
  line-height: 1.4;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background-color: #1A4A28;
  flex-shrink: 0;
  display: none;
}

@media (min-width: 640px) {
  .metric-divider {
    display: block;
  }
}

/* ====================================================
   TESTIMONIALS SECTION
   ==================================================== */

.testimonials-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  border-top: 1px solid #C0D9C8;
  border-bottom: 1px solid #C0D9C8;
}

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

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: #F5F9F5;
  border: 1px solid #C0D9C8;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(26, 122, 74, 0.1);
  transform: translateY(-2px);
}

.testimonial-score-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #DCFCE7;
  border: 1px solid #86EFAC;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #166534;
  letter-spacing: 0.04em;
  width: fit-content;
}

.testimonial-score-chip-amber {
  background-color: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}

.testimonial-card blockquote p {
  font-size: 0.95rem;
  color: #0A1E0A;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #C0D9C8;
  margin-top: auto;
}

.attribution-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0A1E0A;
}

.attribution-location {
  font-size: 0.75rem;
  color: #3D6B4A;
  margin-top: 2px;
}

/* ====================================================
   HOW IT WORKS SECTION
   ==================================================== */

.how-section {
  padding: 80px 0;
  background-color: #F5F9F5;
}

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

@media (min-width: 768px) {
  .steps-layout {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.step-number-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1A7A4A;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-connector {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #1A7A4A, #C0D9C8);
  display: none;
}

.step-icon {
  display: flex;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #0A1E0A;
}

.step-content p {
  font-size: 0.9rem;
  color: #3D6B4A;
  line-height: 1.7;
}

.how-cta {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.how-cta-note {
  font-size: 0.8rem;
  color: #3D6B4A;
}

/* ====================================================
   PORTFOLIO CTA SECTION
   ==================================================== */

.portfolio-cta-section {
  background-color: #E8F5EC;
  border-top: 1px solid #C0D9C8;
  border-bottom: 1px solid #C0D9C8;
  padding: 80px 0;
}

.portfolio-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.portfolio-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1px solid #C0D9C8;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1A7A4A;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-cta-section h2 {
  max-width: 560px;
}

.portfolio-cta-section p {
  max-width: 480px;
  font-size: 1rem;
  color: #3D6B4A;
  line-height: 1.7;
}

/* ====================================================
   SITE FOOTER
   ==================================================== */

.site-footer {
  background-color: #0A2010;
  padding: 56px 0 32px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr;
  }

  .footer-legal {
    grid-column: 1 / -1;
  }
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand .brand-mark svg rect {
  fill: #1A7A4A;
}

.footer-tagline {
  font-size: 0.875rem;
  color: #3D6B4A;
  line-height: 1.6;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3D6B4A;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #D0F0DC;
  opacity: 1;
}

.footer-legal {
  padding-top: 32px;
  border-top: 1px solid #1A4A28;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #3D6B4A;
  line-height: 1.65;
  max-width: 700px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: #3D6B4A;
}

.footer-copyright a {
  color: #3D6B4A;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.footer-copyright a:hover {
  color: #D0F0DC;
  opacity: 1;
}

/* ====================================================
   UTILITIES & MICRO-INTERACTIONS
   ==================================================== */

/* Smooth underlines for section nav links */
.site-nav a,
.footer-nav a {
  position: relative;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
