/* ================================================================
   MELLOW FINANCIALS — styles.css
   Edit :root variables to adjust colors and spacing globally.
   ================================================================ */

:root {
  /* Palette — #959D90 · #BBA58F · #E8D9CD · #EFEFE9 */
  --cream:     #EFEFE9;   /* off-white — main bg */
  --blush:     #E8D9CD;   /* light blush — alternating sections */
  --white:     #FFFFFF;

  --sage:      #959D90;   /* sage green — buttons, accents */
  --brown:     #BBA58F;   /* warm brown — accent */
  --dark:      #2D2520;   /* deep warm brown — headlines, dark section */
  --navy:      #2D2520;   /* same deep tone for dark section/footer */

  /* Text */
  --mid:       #8C8078;   /* muted warm gray — secondary text */

  /* Borders */
  --border:    #D4C8BA;   /* warm brown border */
  --border-w:  #DDD0C4;   /* slightly lighter warm border */

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --r:   10px;
  --max: 1040px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

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

/* ---- Labels ---- */
.label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 20px;
}

/* ---- Section headings ---- */
h2 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity 0.16s, transform 0.16s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-dark  { background: var(--sage); color: #fff; border-color: var(--sage); }
.btn-light { background: #fff; color: var(--dark); border-color: #fff; }
.btn-lg    { padding: 15px 30px; font-size: 0.95rem; }

/* ---- Fade-up animation ---- */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade.in { opacity: 1; transform: none; }


/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(239, 239, 233, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-w);
}
.nav-inner {
  width: 100%;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-m {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--dark);
  line-height: 1;
}
.logo-ellow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--dark);
  padding-bottom: 3px;
  padding-left: 1px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--dark); }

.nav .btn-dark { margin-left: 8px; padding: 9px 18px; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-w);
  background: var(--cream);
  padding: 16px 32px 24px;
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
}
.nav-mobile .btn-dark {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}
.nav-mobile.open { display: flex; }


/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 120px 0 112px;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

/* Soft warm glow in center to fade the grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--white) 30%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mid);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 36px;
  background: color-mix(in srgb, var(--blush) 40%, white);
}
.hero h1 {
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: var(--dark);
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--mid);
  opacity: 0.7;
}
.hero-trust {
  margin-top: 48px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-trust::before,
.hero-trust::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--mid);
  opacity: 0.4;
}


/* ================================================================
   PROBLEMS
   ================================================================ */
.problems {
  padding: 112px 0;
  background: var(--blush);
  border-bottom: 1px solid var(--border);
}
.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 48px;
  background: var(--border);
}
.problem-list li {
  background: var(--white);
  padding: 24px 28px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding-left: 44px;
}
.problem-list li::before {
  content: '—';
  position: absolute;
  left: 20px;
  color: var(--sage);
  opacity: 0.5;
  font-weight: 300;
}


/* ================================================================
   PROCESS
   ================================================================ */
.process {
  padding: 112px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-w);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border-w);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--border-w);
}
.step {
  background: var(--cream);
  padding: 40px 32px;
}
.step-n {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mid);
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step p {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
}


/* ================================================================
   SERVICES
   ================================================================ */
.services {
  padding: 112px 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border-w);
}
.services h2 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  max-width: 100%;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-w);
  border-radius: var(--r);
  padding: 36px 32px;
  transition: box-shadow 0.18s;
}
.service-card:hover {
  box-shadow: 0 4px 24px rgba(149,157,144,0.12);
}
.card-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--sage);
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
}


/* ================================================================
   PRICING
   ================================================================ */
.pricing {
  padding: 112px 0;
  background: var(--blush);
  border-bottom: 1px solid var(--border);
}
.price-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 52px;
  background: var(--white);
  max-width: 640px;
  margin-bottom: 64px;
}
.price-range {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.price-range > span:first-child,
.price-range > span:nth-child(3) {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price-sep {
  font-size: 1.4rem;
  color: var(--mid);
  font-weight: 300;
  padding: 0 2px;
}
.price-mo {
  font-size: 0.95rem;
  color: var(--mid);
  font-weight: 400;
  align-self: flex-end;
  padding-bottom: 5px;
  margin-left: 2px;
}
.price-note {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.not-for {
  max-width: 480px;
}
.not-for .label { margin-bottom: 16px; }
.not-for ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.not-for li {
  font-size: 0.875rem;
  color: var(--mid);
  padding-left: 18px;
  position: relative;
}
.not-for li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--mid);
  opacity: 0.45;
}


/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials {
  padding: 112px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-w);
  text-align: center;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
  text-align: left;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--border-w);
  border-radius: var(--r);
  padding: 36px 32px;
  transition: box-shadow 0.18s;
}
.result-card:hover {
  box-shadow: 0 4px 24px rgba(149,157,144,0.12);
}
.result-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.result-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.72;
}


/* ================================================================
   FINAL CTA
   ================================================================ */
.cta-final {
  background: var(--navy);
  padding: 120px 0;
  text-align: center;
  color: #fff;
}
.cta-final-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-final h2 {
  color: #fff;
  margin-bottom: 16px;
}
.cta-final > .wrap > p {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  margin-bottom: 40px;
}
.email-block {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  max-width: 400px;
}
.email-block > p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.email-form {
  display: flex;
  gap: 8px;
}
.email-form input[type="email"] {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  background: rgba(255,255,255,0.07);
  font-family: var(--font);
  font-size: 0.875rem;
  color: #fff;
  outline: none;
  transition: border-color 0.16s;
}
.email-form input[type="email"]::placeholder { color: rgba(255,255,255,0.3); }
.email-form input[type="email"]:focus { border-color: rgba(255,255,255,0.4); }
.email-form button {
  padding: 11px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s;
}
.email-form button:hover { background: rgba(255,255,255,0.18); }


/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 32px 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo-text {
  display: flex;
  align-items: baseline;
  text-decoration: none;
}
.footer-logo-text .logo-m {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.9);
}
.footer-logo-text .logo-ellow {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.9);
  padding-bottom: 2px;
}
.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}
.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  margin-left: auto;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-left: 8px;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 820px) {
  /* Nav */
  .nav-links, .nav .btn-dark { display: none; }
  .burger { display: flex; }

  /* Grids → 1 column */
  .steps,
  .service-grid,
  .results-grid { grid-template-columns: 1fr; }

  /* Problem list → 1 column, tighter padding */
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li { padding: 16px 20px 16px 40px; font-size: 0.925rem; }

  /* Pricing card */
  .price-card { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .footer-inner { padding: 0 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { margin-left: 0; }
  .footer p { margin-left: 0; }

  .hero { padding: 80px 0 72px; }
  .problems, .process, .services, .pricing, .testimonials { padding: 80px 0; }
  .cta-final { padding: 80px 0; }

  .email-form { flex-direction: column; }
  .email-form button { width: 100%; }

  h2 { margin-bottom: 32px; }
}
