/* Russellville Financial Inc — site stylesheet */

:root {
  --forest: #1B4332;
  --forest-dark: #142E23;
  --forest-deep: #0F2A1F;
  --forest-light: #2D6A4F;
  --navy: #1D3557;
  --navy-dark: #14213D;
  --cream: #FAF5EA;
  --cream-dark: #F1E9D7;
  --gold: #C9A227;
  --ink: #22302B;
  --muted: #5C6B64;
  --line: #E3DCC9;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(27, 67, 50, 0.10);
  --shadow-soft: 0 3px 10px rgba(27, 67, 50, 0.07);
  --font: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Bitter", "Iowan Old Style", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--forest-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--forest);
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1em; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--forest-light);
  margin-bottom: 10px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 30px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); color: var(--white); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }
/* Inverse solid button for dark (navy/forest) bands */
.btn-light { background: var(--white); color: var(--forest); }
.btn-light:hover { background: var(--cream-dark); color: var(--forest-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.topbar {
  background: var(--forest);
  color: #D9E8DF;
  font-size: 0.85rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); font-weight: 700; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--forest);
  line-height: 1.15;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 44px; height: 44px; flex-shrink: 0; }
.brand small {
  display: block;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--forest);
  border-bottom-color: var(--gold);
  text-decoration: none;
}
.header-cta { white-space: nowrap; }
.main-nav .nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--forest);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (split: solid cream text panel + photo) ---------- */
.hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  padding: 72px 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--forest); margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.hero-badges li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}
.hero-note { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-dark); color: #C8D6E8; padding: 18px 0; }
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  font-weight: 600;
}
.trust-strip strong { color: var(--white); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; flex-grow: 1; }
.card .card-link { font-weight: 700; color: var(--forest); }
.card .card-link::after { content: " →"; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 34px 28px 28px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.step h3 { margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--forest);
  color: #E3EFE8;
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.testimonial::before {
  content: "“";
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  position: absolute;
  top: 14px;
  left: 20px;
  font-family: Georgia, serif;
}
.testimonial p { font-size: 1rem; margin: 26px 0 18px; }
.testimonial footer { font-weight: 700; color: var(--white); font-size: 0.92rem; }
.testimonial footer span { display: block; font-weight: 500; color: #A9C6B4; font-size: 0.82rem; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--forest);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); }

/* ---------- NAP / location ---------- */
.nap-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.nap-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.nap-card h2 { margin-bottom: 18px; }
.nap-lines { list-style: none; margin: 0 0 22px; }
.nap-lines li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.nap-lines li:last-child { border-bottom: none; }
.nap-lines .nap-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  min-width: 84px;
}
.nap-lines strong { color: var(--forest); }
.open-badge {
  display: inline-block;
  background: #E3F2E9;
  color: var(--forest-light);
  border: 1px solid #BADFC9;
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.map-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: #BFD0E4; max-width: 40rem; margin: 0 auto 26px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--forest);
  color: #DCEAE1;
  padding: 56px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { max-width: 44rem; color: #BFD8C8; margin: 0; }
.breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 16px;
  color: #9DBBA9;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #6E937D; }
.breadcrumbs a { color: #C8DCCF; }

/* ---------- Prose / content pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 14px; }
.prose h3 { margin: 28px 0 10px; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 4px solid var(--gold);
  background: var(--white);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--white); }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 0.95rem; }
.prose th { background: var(--forest); color: var(--white); }

.check-list { list-style: none !important; margin-left: 0 !important; }
.check-list li {
  padding-left: 32px;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E3F2E9;
  color: var(--forest-light);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Service layout ---------- */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 110px;
}
.side-card h3 { margin-bottom: 12px; }
.side-card .phone-big {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--forest);
  margin: 8px 0 4px;
}
.side-card ul { list-style: none; margin: 14px 0 20px; }
.side-card ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.side-card ul li:last-child { border-bottom: none; }
.side-card .btn { width: 100%; text-align: center; }

/* ---------- Blog index ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .post-thumb { background: var(--cream-dark); display: block; }
.post-card .post-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
.post-card .post-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card .post-meta { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 8px; }
.post-card h2, .post-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.post-card .card-link { font-weight: 700; color: var(--forest); }
.post-card .card-link::after { content: " →"; }

/* ---------- Blog post 3-col layout ---------- */
.post-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}
.toc-card {
  position: sticky;
  top: 110px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}
.toc-card h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.toc-card ol { list-style: none; }
.toc-card li { margin-bottom: 4px; }
.toc-card a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink);
  border-left: 3px solid transparent;
}
.toc-card a:hover { background: var(--cream); text-decoration: none; }
.toc-card a.is-active {
  background: #E9F3ED;
  border-left-color: var(--gold);
  color: var(--forest);
  font-weight: 700;
}
.post-article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px 48px;
  box-shadow: var(--shadow-soft);
}
.post-article .post-hero-img { border-radius: 10px; overflow: hidden; margin: 22px 0 30px; }
.post-article .post-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
}
.post-article .post-meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 6px; }
.post-article h2 { margin: 38px 0 14px; scroll-margin-top: 110px; }
.post-article h3 { margin: 26px 0 10px; }
.post-article ul, .post-article ol { margin: 0 0 1.2em 1.4em; }
.post-article li { margin-bottom: 8px; }
.post-article blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  color: var(--muted);
}
.post-article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.post-article th, .post-article td { border: 1px solid var(--line); padding: 11px 13px; text-align: left; font-size: 0.93rem; }
.post-article th { background: var(--forest); color: var(--white); }

/* ---------- Forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--forest); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--forest-light);
  border-color: var(--forest-light);
  background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: #A9C6B4;
  padding: 64px 0 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.site-footer h3 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer a { color: #C8DCCF; }
.site-footer a:hover { color: var(--white); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer-brand svg { width: 38px; height: 38px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 0.84rem;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: #A9C6B4; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .post-layout .toc-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .nap-block, .contact-grid, .service-layout { grid-template-columns: 1fr; }
  .side-card, .toc-card { position: static; }
  .post-layout { grid-template-columns: 1fr; }
  .post-layout .toc-col { display: block; }
  .post-layout .cta-col { order: 3; }
  .post-article { padding: 28px 22px 36px; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0; }
  .main-nav a { display: block; padding: 13px 26px; border-bottom: none; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--cream); }
  .header-cta { display: none; }
  .main-nav .nav-cta { display: block; padding: 10px 22px 14px; }
  .main-nav .nav-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    background: var(--forest);
    color: var(--white);
    border-radius: 8px;
    font-weight: 700;
  }
  .main-nav .nav-cta a:hover { background: var(--forest-dark); color: var(--white); }
}

@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .hero { padding: 44px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .prose table, .post-article table { display: block; overflow-x: auto; }
  .nap-lines li { flex-direction: column; gap: 2px; }
  .hero-actions .btn { width: 100%; }
}
