/* =========================================================
   Rise Financial Services — shared stylesheet
   Palette:
     --navy      : primary dark background
     --navy-deep : darker panel background
     --green     : brand accent (swap for your real brand color)
     --ink       : body text on light backgrounds
     --paper     : light section background
   ========================================================= */

:root {
  --navy: #0d1526;
  --navy-deep: #080d18;
  --navy-line: #1e2a41;
  --green: #2fbf71;
  --green-dark: #23a05f;
  --ink: #1c2333;
  --ink-soft: #57607a;
  --paper: #f6f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 50px -25px rgba(13, 21, 38, 0.35);
  --max: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: .9em;
}

.eyebrow.on-dark { color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 12px 24px -12px rgba(47,191,113,.6); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { border-color: var(--white); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--navy-deep); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 13, 24, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--navy-line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65em;
  color: var(--white);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
}
.brand img.logo-mark {
  height: 72px;
  width: auto;
  display: block;
}
.footer-brand img.logo-mark { height: 140px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--green); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  color: var(--white);
  padding: 8px 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--navy-deep);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--navy-line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }
}

/* one-page sections navigated by anchor links */
.page-section { scroll-margin-top: 84px; }
.section-kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.section-kicker .section-index {
  font-family: "Fraunces", serif;
  font-size: .85rem;
  color: var(--ink-soft);
  opacity: .55;
}
.section-navy .section-kicker .section-index { color: rgba(255,255,255,.4); }
.subsection-head { max-width: 620px; margin: 0 0 28px; }
.service-group + .service-group { margin-top: 48px; }

/* industries chip cloud */
.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.industry-chip {
  padding: .75em 1.4em;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #e8eaf1;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  background-image:
    linear-gradient(100deg, rgba(8, 13, 24, .94) 0%, rgba(8, 13, 24, .82) 32%, rgba(8, 13, 24, .38) 62%, rgba(8, 13, 24, .55) 100%),
    linear-gradient(0deg, rgba(8, 13, 24, .55) 0%, rgba(8, 13, 24, 0) 30%),
    url("../img/skyline.jpg");
  background-size: cover;
  background-position: center 30%;
  color: var(--white);
  padding: 120px 0 110px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero p.lead {
  color: rgba(255,255,255,.75);
  font-size: 1.12rem;
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  list-style: none;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 620px;
}
.trust-strip li {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255,255,255,.72);
  position: relative;
}
.trust-strip li + li { padding-left: 22px; }
.trust-strip li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
@media (max-width: 560px) {
  .trust-strip li + li { padding-left: 0; }
  .trust-strip li + li::before { display: none; }
}

.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.hero-stat b { display: block; font-size: 1.8rem; color: var(--green); font-family: "Fraunces", serif; }
.hero-stat span { font-size: .82rem; color: rgba(255,255,255,.65); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy + .section-navy { border-top: 1px solid var(--navy-line); }
.section-navy p { color: rgba(255,255,255,.68); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid #e8eaf1;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #e9f9f0;
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.card ul { padding-left: 1.1em; color: var(--ink-soft); margin: 0; }
.card li { margin-bottom: .35em; }

.card-dark {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
}

/* stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-strip b {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  color: var(--green);
}
.stat-strip span { font-size: .85rem; color: rgba(255,255,255,.62); }

/* testimonials */
.quote-card {
  background: var(--white);
  border: 1px solid #e8eaf1;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.quote-card p.quote { color: var(--ink); font-size: 1rem; font-style: italic; }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.quote-person b { display: block; font-size: .9rem; }
.quote-person span { font-size: .8rem; color: var(--ink-soft); }

/* team */
.team-card { text-align: center; }
.team-card .avatar { width: 84px; height: 84px; font-size: 1.4rem; margin: 0 auto 16px; }
.team-card .role { color: var(--green-dark); font-size: .85rem; font-weight: 600; margin-bottom: .4em; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #0f1a30, #12331f);
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
}
.cta-band .btn-primary { margin-top: 8px; }

/* forms */
.form-panel {
  background: var(--white);
  border: 1px solid #e8eaf1;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8em .9em;
  border: 1px solid #d8dbe6;
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }

/* info list */
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(47,191,113,.12);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* breadcrumb / page header (interior pages) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-header p { max-width: 60ch; }

/* footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.65);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--navy-line);
  padding-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; font-family: inherit; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .9rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: .8rem; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .brand { color: var(--white); }

.placeholder-flag {
  display: inline-block;
  background: #fff3cd;
  color: #7a5b00;
  border: 1px solid #ffe08a;
  font-size: .72rem;
  font-weight: 700;
  padding: .2em .6em;
  border-radius: 6px;
  margin-left: 8px;
  vertical-align: middle;
}
