/* RA Ledger Solutions — shared site styles */

:root {
  --navy: #12314f;
  --navy-dark: #0b2038;
  --navy-light: #1e4a73;
  --gold: #c9973f;
  --gold-dark: #a97c2f;
  --ink: #22303f;
  --muted: #5b6b7a;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1.1em; color: var(--ink); }
a { color: var(--navy-light); }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand-name {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: 0.2px;
}
.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 2px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav.main-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--gold);
}
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--navy-light); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Industries dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18,49,79,0.12);
  min-width: 230px;
  padding: 8px;
  z-index: 60;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  border-bottom: none !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
}
.dropdown a:hover { background: var(--bg-soft); }

@media (max-width: 680px) {
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 10px; display: block; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.hero .container { text-align: center; max-width: 820px; }
.hero h1 { color: #fff; }
.hero p.lead {
  color: #d7e2ec;
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 28px;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.02rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #dcae57; transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.trust-bar {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-size: 0.92rem;
  color: #cfe0ee;
}
.trust-bar span::before {
  content: "\2713";
  color: var(--gold);
  margin-right: 6px;
  font-weight: 700;
}

/* Sections */
section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); }

.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(201,151,63,0.14);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.industry-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.industry-card:hover {
  box-shadow: 0 8px 24px rgba(18,49,79,0.1);
  transform: translateY(-2px);
}
.industry-card h3 { color: var(--navy); margin-bottom: 6px; }
.industry-card .learn { color: var(--gold-dark); font-weight: 700; font-size: 0.9rem; }

ul.check-list, ul.plain-list {
  padding-left: 0;
  list-style: none;
  margin: 0 0 1.2em;
}
ul.check-list li, ul.plain-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}
ul.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold-dark);
  font-weight: 700;
}
ul.plain-list li::before {
  content: "\2022";
  position: absolute;
  left: 8px;
  color: var(--gold-dark);
  font-weight: 700;
}

.callout {
  background: #fff7ea;
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 28px 0;
}
.callout p { margin: 0; }
.callout strong { color: var(--navy); }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e2ec; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
}
.testimonial .stars { color: var(--gold-dark); font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial p.quote { font-style: italic; color: var(--ink); }
.testimonial .who { font-weight: 700; color: var(--navy); margin-top: 10px; }

/* About page */
.credential-list { columns: 2; gap: 28px; }
.credential-list li { break-inside: avoid; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info .row { display: flex; gap: 12px; margin-bottom: 18px; }
.contact-info .row strong { display: block; color: var(--navy); }
form.contact-form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
form.contact-form label { font-weight: 600; font-size: 0.92rem; color: var(--navy); margin-bottom: 4px; display: block; }
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.98rem;
}
form.contact-form textarea { min-height: 110px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: #cfe0ee;
  padding: 40px 0 26px;
  font-size: 0.92rem;
}
footer.site-footer .container { text-align: center; }
footer.site-footer a { color: #fff; text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
footer.site-footer .foot-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
footer.site-footer .copyright {
  margin-top: 18px;
  color: #7f97ab;
  font-size: 0.82rem;
}

/* Breadcrumb-ish page header for interior pages */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
  text-align: center;
}
.page-hero p { color: var(--muted); max-width: 640px; margin: 10px auto 0; }

@media (max-width: 900px) {
  .grid-3, .grid-5, .grid-2 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .credential-list { columns: 1; }
}

@media (max-width: 680px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: inline-block; }
  nav.main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 14px;
  }
  .grid-3, .grid-5, .grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
}
