/* ============================================================
   EatAffordably.com — Core Stylesheet
   Food Cost Optimization Mega-Site
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #2d6a4f;
  --color-primary-dark: #1b4332;
  --color-primary-light: #52b788;
  --color-accent: #f77f00;
  --color-accent-light: #fcbf49;
  --color-bg: #fefefe;
  --color-bg-alt: #f0f7f4;
  --color-bg-warm: #fdf8f0;
  --color-text: #1a1a2e;
  --color-text-light: #4a4a5a;
  --color-text-muted: #6c6c7e;
  --color-border: #dde5e1;
  --color-white: #ffffff;
  --color-error: #d62828;
  --color-success: #2d6a4f;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --max-width: 1200px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- 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 {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--color-primary); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { top: 16px; color: #fff; }

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); margin-bottom: .5em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: .4em; }
h4 { font-size: 1.25rem; margin-bottom: .3em; }

p { margin-bottom: 1em; }
strong { font-weight: 600; }

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

.section {
  padding: 80px 0;
}

.section--alt { background: var(--color-bg-alt); }
.section--warm { background: var(--color-bg-warm); }
.section--dark {
  background: var(--color-primary-dark);
  color: var(--color-white);
}
.section--dark h2,
.section--dark h3 { color: var(--color-white); }

.grid {
  display: grid;
  gap: 32px;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.flex { display: flex; flex-wrap: wrap; gap: 16px; }
.flex--center { align-items: center; justify-content: center; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 24px;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo svg { width: 32px; height: 32px; }
.nav__logo span { color: var(--color-accent); }

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

.nav__link {
  font-size: .95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.nav__link:hover::after,
.nav__link--active::after { width: 100%; }
.nav__link:hover { color: var(--color-primary); }

.nav__cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
}
.nav__cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
  }
  .nav__links.active { display: flex; }
  .nav__toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  justify-content: center;
}

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

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

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn--accent:hover {
  background: #e06f00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}

.btn--lg { padding: 18px 40px; font-size: 1.1rem; }
.btn--sm { padding: 10px 20px; font-size: .875rem; }

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,.88) 0%, rgba(45,106,79,.75) 50%, rgba(27,67,50,.65) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 60px 0;
}

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

.hero__subtitle {
  color: rgba(255,255,255,.9);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hero__stat {
  color: var(--color-white);
}
.hero__stat strong {
  display: block;
  font-size: 1.75rem;
  font-family: var(--font-heading);
}
.hero__stat span {
  font-size: .85rem;
  opacity: .8;
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: 28px;
}

.card__tag {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.card__text {
  color: var(--color-text-light);
  font-size: .95rem;
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-primary);
}
.card__link:hover { gap: 10px; }

/* ---------- Feature Blocks ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.feature--reverse { direction: rtl; }
.feature--reverse > * { direction: ltr; }

.feature__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.feature__content h2 {
  margin-bottom: 16px;
}
.feature__content p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.feature__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-light);
}
.feature__list li::before {
  content: '';
  width: 22px; height: 22px; min-width: 22px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 768px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature--reverse { direction: ltr; }
  .feature__img img { height: 260px; }
}

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

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.stat-item span {
  color: var(--color-text-muted);
  font-size: .95rem;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.testimonial__text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__name {
  font-weight: 600;
  color: var(--color-text);
}
.testimonial__role {
  font-size: .85rem;
  color: var(--color-text-muted);
}

/* ---------- FAQ ---------- */
.faq__item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  padding: 8px 0;
  cursor: pointer;
  background: none;
  border: none;
}
.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform var(--transition);
  min-width: 24px;
  text-align: center;
}
.faq__item.active .faq__question::after {
  content: '\2212';
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  color: var(--color-text-light);
  line-height: 1.7;
}
.faq__item.active .faq__answer {
  max-height: 600px;
  padding-top: 12px;
}

/* ---------- Forms / Tool Inputs ---------- */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .95rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--color-white);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}
.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Tool Panel ---------- */
.tool-panel {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.tool-panel__header {
  text-align: center;
  margin-bottom: 32px;
}

.tool-panel__header h2 { margin-bottom: 8px; }
.tool-panel__header p { color: var(--color-text-muted); }

/* ---------- Results Panel ---------- */
.results {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 32px;
  display: none;
}
.results.active { display: block; }

.results__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.results__score-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: conic-gradient(var(--color-primary) calc(var(--score) * 3.6deg), var(--color-border) 0);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.results__score-circle::after {
  content: attr(data-score);
  position: absolute;
  width: 80px; height: 80px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
  color: var(--color-primary);
}

.results__metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.results__metric:last-child { border-bottom: none; }
.results__metric-label {
  font-weight: 500;
  color: var(--color-text);
}
.results__metric-value {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 16px 0;
  font-size: .85rem;
  color: var(--color-text-muted);
}
.breadcrumbs a {
  color: var(--color-text-muted);
}
.breadcrumbs a:hover {
  color: var(--color-primary);
}
.breadcrumbs span {
  margin: 0 8px;
  opacity: .5;
}

/* ---------- Article Content ---------- */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article h2 {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.article h3 {
  margin-top: 32px;
}

.article ul, .article ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li {
  margin-bottom: 8px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.article blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--color-text-light);
}

.article__hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}

.article__inline-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.article__caption {
  text-align: center;
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: -16px;
  margin-bottom: 24px;
}

/* ---------- Table of Contents ---------- */
.toc {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-bottom: 40px;
}
.toc h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-text);
  font-family: var(--font-body);
}
.toc ol {
  list-style: decimal;
  padding-left: 20px;
}
.toc li {
  margin-bottom: 8px;
}
.toc a {
  color: var(--color-primary);
  font-size: .95rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: var(--color-white);
}
.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,.8);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 16px;
  display: block;
}
.footer__brand span { color: var(--color-accent); }

.footer__desc {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
}
.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.footer__bottom a { color: rgba(255,255,255,.6); }
.footer__bottom a:hover { color: var(--color-white); }

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

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

/* ---------- Page Header Banner ---------- */
.page-header {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}
.page-header__bg {
  position: absolute;
  inset: 0;
}
.page-header__bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-header__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,.9), rgba(45,106,79,.8));
}
.page-header__content {
  position: relative; z-index: 1;
  max-width: 700px;
}
.page-header h1 {
  color: var(--color-white);
}
.page-header p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
}

/* ---------- Optimization Mode Tabs ---------- */
.tabs {
  display: flex;
  gap: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  padding: 4px;
  margin-bottom: 32px;
}
.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-text-muted);
  transition: all var(--transition);
  text-align: center;
}
.tab-btn.active {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.tab-btn:hover:not(.active) {
  color: var(--color-text);
}

/* ---------- Progress Bar ---------- */
.progress {
  height: 8px;
  background: var(--color-border);
  border-radius: 99px;
  overflow: hidden;
  margin: 8px 0;
}
.progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-light), var(--color-primary));
  border-radius: 99px;
  transition: width .6s ease;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge--green { background: #d4edda; color: #155724; }
.badge--yellow { background: #fff3cd; color: #856404; }
.badge--red { background: #f8d7da; color: #721c24; }

/* ---------- Meal Log Entry ---------- */
.meal-entry {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.meal-entry__icon {
  width: 40px; height: 40px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.meal-entry__remove {
  margin-left: auto;
  color: var(--color-text-muted);
  font-size: 1.2rem;
  padding: 4px;
}
.meal-entry__remove:hover { color: var(--color-error); }

/* ---------- Suggestion Cards ---------- */
.suggestion {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border-left: 4px solid var(--color-primary);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.suggestion__savings {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-top: 8px;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
}
.animate-in.visible {
  animation: fadeInUp .6s ease forwards;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--color-text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 32px; }

/* ---------- Print Styles ---------- */
@media print {
  .nav, .footer, .nav__toggle { display: none !important; }
  body { font-size: 12pt; }
  .hero { min-height: auto; padding: 40px 0; }
}
