/* Lucky Loans – look of the 2020 Themify Ultra "black" skin (original theme CSS was never archived) */
:root { --green: #1f7a3d; --green-d: #145a2b; --gold: #e0b23a; --ink: #222; --muted: #555; --bg: #fff; --soft: #f4f6f1; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.65 Cambay, "Trebuchet MS", Arial, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
h1, h2, h3, .logo span, .hero-logo span { font-family: Ultra, Georgia, serif; font-weight: 400; line-height: 1.25; letter-spacing: .01em; }
h1 { font-size: 2.3em; margin: 0 0 .4em; }
h2 { font-size: 1.45em; margin: 1.4em 0 .5em; }
h3 { font-size: 1.2em; margin: 1.3em 0 .4em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

.site-header { background: #000; color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.5em; }
.logo:hover { color: var(--gold); }
.clover { width: 1.4em; height: 1.4em; color: var(--green); flex: none; }
.site-header .clover { color: #3cb25e; }
#main-nav { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
#main-nav a { display: block; padding: 10px 16px; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; letter-spacing: .04em; font-size: .9em; border-radius: 3px; }
#main-nav a:hover, #main-nav a.current { background: var(--green); color: #fff; }
#main-nav > li { position: relative; }
.sub-toggle { display: block; padding: 10px 16px; background: none; border: 0; color: #fff; cursor: pointer; text-transform: uppercase; font: 700 .9em Cambay, Arial, sans-serif; letter-spacing: .04em; border-radius: 3px; }
.sub-toggle::after { content: ""; display: inline-block; margin-left: 7px; border: 5px solid transparent; border-top-color: currentColor; vertical-align: -2px; }
.sub-toggle:hover, .sub-toggle.current, .has-sub.open > .sub-toggle { background: var(--green); }
.sub { display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 270px; list-style: none; margin: 0; padding: 8px 0;
  background: #111; border: 1px solid #2a2a2a; border-top: 3px solid var(--gold); border-radius: 0 0 6px 6px; box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
#main-nav .sub a { padding: 8px 18px; text-transform: none; letter-spacing: 0; font-size: .95em; font-weight: 400; border-radius: 0; }
#main-nav .sub a:hover, #main-nav .sub a.current { background: var(--green); }
.sub-head { padding: 10px 18px 4px; color: var(--gold); font-size: .75em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
#main-nav a.nav-apply { background: var(--gold); color: #111; }
#main-nav a.nav-apply:hover { background: #f1c654; color: #000; }
.menu-toggle { display: none; }

.hero { position: relative; color: #fff; text-align: center; padding: 90px 0 100px;
  background: radial-gradient(circle at 80% 30%, rgba(224,178,58,.25), transparent 45%), linear-gradient(135deg, #0d3b1d 0%, #1f7a3d 55%, #2f9a52 100%); }
.hero h1 { font-size: 3.2em; margin: .2em 0; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.hero-sub { font-family: Ultra, Georgia, serif; font-size: 1.6em; color: var(--gold); margin: 0 0 1.2em; }
.hero-logo { display: inline-flex; align-items: center; gap: 14px; margin: 0; font-size: 3em; }
.hero-logo .clover { color: var(--gold); width: 1.3em; height: 1.3em; }
.btn { display: inline-block; background: var(--gold); color: #111; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 14px 32px; border-radius: 4px; }
.btn:hover { background: #f1c654; color: #000; }

.callbar { background: #000; color: #fff; text-align: center; padding: 26px 0; }
.callbar p { margin: 0; }
.callbar .call { font-family: Ultra, Georgia, serif; font-size: 1.7em; }
.callbar .call a { color: var(--gold); text-decoration: none; white-space: nowrap; }
.callbar .navajo { font-family: Ultra, Georgia, serif; font-size: 1.1em; margin-top: 6px; color: #cfe9d6; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 40px; padding-bottom: 60px; }
.cols .col > :first-child { margin-top: 0; }
.checklist { padding-left: 1.4em; }
.checklist li { margin: 0 0 4px; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.store-box { background: var(--soft); border-left: 5px solid var(--green); padding: 18px 24px; margin-top: 24px; }
.store-box h3 { margin: .6em 0 .2em; }
.store-box h3:first-child { margin-top: 0; }
.store-box p { margin: 0 0 .5em; }
.store-box a { color: var(--ink); }
.store-phone a { font-weight: 700; font-size: 1.25em; color: var(--green); }
.note { color: var(--muted); font-size: .85em; }
.apply-form { margin: 1em 0; min-height: 320px; max-width: 100%; overflow-x: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.apply-only { padding: 32px 20px 48px; max-width: 760px; }
.doc small { display: block; font-weight: 400; font-size: .85em; color: var(--muted); text-align: center; }
.site-footer a { color: #e0b23a; }

.page-head { background: #000; color: #fff; padding: 46px 0 40px; border-top: 4px solid var(--green); }
.page-head h1 { margin: 0; font-size: 2.1em; }
.page-head h1 span { color: var(--gold); }
.text { padding-top: 36px; padding-bottom: 60px; max-width: 980px; }
.text p { text-align: left; }
.docs { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 30px; }
.doc { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 240px; text-decoration: none; color: var(--ink); font-weight: 700; }
.doc img { display: block; width: 240px; background: #fff; border: 1px solid #ddd; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.doc:hover img { border-color: var(--green); }

.site-footer { background: #000; color: #bbb; text-align: center; padding: 30px 0; font-size: .9em; }
.site-footer p { margin: 0 0 10px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .cols { grid-template-columns: 1fr; gap: 30px; }
  .menu-toggle { display: block; background: transparent; color: #fff; border: 1px solid #666; font: 700 .95em Cambay, Arial, sans-serif; padding: 8px 14px; border-radius: 3px; cursor: pointer; }
  .bar { flex-wrap: wrap; }
  .bar nav { flex-basis: 100%; }
  #main-nav { display: none; flex-direction: column; padding-bottom: 12px; }
  #main-nav.open { display: flex; }
  .sub { position: static; min-width: 0; box-shadow: none; border: 0; border-left: 3px solid var(--gold); border-radius: 0; margin: 0 0 6px 16px; background: #0b0b0b; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub-toggle { width: 100%; text-align: left; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 2.1em; }
  .hero-logo { font-size: 2em; }
  .hero-sub { font-size: 1.2em; }
  .callbar .call { font-size: 1.3em; }
  .page-head h1 { font-size: 1.6em; }
  .doc { width: 100%; max-width: 240px; margin: 0 auto; }
}

.crumbs { font-size: .85em; padding-top: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.loc-hero { background: #000; color: #fff; padding: 34px 0 40px; border-top: 4px solid var(--green); margin-top: 10px; }
.loc-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.loc-hero h1 { font-size: 2.1em; margin: 0 0 .3em; }
.loc-sub { color: #ddd; margin: 0 0 1.2em; }
.loc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.btn-line { background: transparent; color: var(--gold); border: 2px solid var(--gold); padding: 12px 22px; }
.btn-line:hover { background: var(--gold); color: #000; }
.loc-facts { background: #111; border: 1px solid #333; border-left: 5px solid var(--gold); padding: 18px 22px; }
.loc-facts p { display: flex; gap: 12px; margin: 0 0 12px; }
.loc-facts p:last-child { margin: 0; }
.loc-facts a { color: var(--gold); font-weight: 700; }
.loc-facts .ico { width: 24px; height: 24px; color: var(--gold); flex: none; margin-top: 3px; }
.loc-text { padding-top: 30px; max-width: 980px; }
.loc-band { background: var(--soft); padding: 10px 0 34px; margin: 20px 0; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards li { background: #fff; border-radius: 6px; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.cards h3 { margin: .4em 0 .3em; font-size: 1.05em; }
.cards p { margin: 0; font-size: .95em; }
.cards .ico { width: 34px; height: 34px; color: var(--green); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { border-top: 4px solid var(--green); padding-top: 12px; }
.steps .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); font-weight: 700; }
.steps h3 { margin: .4em 0 .2em; font-size: 1.05em; }
.loc-cols { padding-top: 10px; padding-bottom: 10px; }
.areas { columns: 3; padding-left: 1.2em; }
.faq details { border-bottom: 1px solid #ddd; padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: .6em 0 0; }
.offices { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.office { display: flex; gap: 12px; background: var(--soft); padding: 14px 16px; border-radius: 6px; }
.office p { margin: 0; font-size: .92em; }
.office .office-name { font-weight: 700; font-size: 1em; }
.office .ico { width: 26px; height: 26px; color: var(--green); flex: none; }
.cta-band { background: linear-gradient(135deg, #0d3b1d, #1f7a3d); color: #fff; text-align: center; padding: 34px 0 30px; margin-top: 40px; }
.cta-band h2 { margin-top: 0; }
.cta-band .note { color: #cfe9d6; max-width: 760px; margin: 14px auto 0; }
@media (max-width: 860px) {
  .loc-hero-grid, .cards, .steps, .offices { grid-template-columns: 1fr; }
  .loc-hero h1 { font-size: 1.6em; }
  .areas { columns: 2; }
}

.promo { background: #0b0b0b; color: #fff; padding: 46px 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 36px; align-items: center; }
.promo h2 { margin-top: 0; color: #fff; }
.promo-copy p { color: #ddd; }
.promo-video { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.5); aspect-ratio: 16 / 9; background: #000; }
.promo-video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.transcript { margin-top: 14px; color: #bbb; font-size: .9em; }
.transcript summary { cursor: pointer; color: var(--gold); font-weight: 700; }

.sticky-cta { position: fixed; left: 50%; bottom: 18px; z-index: 50; display: flex; gap: 10px; align-items: center;
  transform: translate(-50%, 140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .3, 1.3), opacity .3s; pointer-events: none; }
.sticky-cta.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.sticky-apply { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  background: linear-gradient(135deg, #f1c654, var(--gold)); color: #111; text-decoration: none; border-radius: 40px; padding: 10px 26px 10px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 3px rgba(0,0,0,.85); animation: lucky-pulse 2.4s ease-in-out infinite; }
.sticky-apply svg { grid-row: 1 / 3; width: 34px; height: 34px; color: var(--green); }
.sticky-apply span { font-family: Ultra, Georgia, serif; font-size: 1.15em; line-height: 1.1; }
.sticky-apply small { font-size: .75em; font-weight: 700; line-height: 1.1; color: #3a2a00; }
.sticky-apply:hover { color: #000; background: #ffd968; }
.sticky-call { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 3px rgba(0,0,0,.85); }
.sticky-call svg { width: 24px; height: 24px; }
.sticky-call:hover { background: var(--green-d); color: #fff; }
@keyframes lucky-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 3px rgba(0,0,0,.85), 0 0 0 0 rgba(224,178,58,.55); }
  50% { box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 3px rgba(0,0,0,.85), 0 0 0 12px rgba(224,178,58,0); } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: opacity .2s; } .sticky-apply { animation: none; } }
.sound { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.7); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; padding: 8px 14px; font: 700 .85em Cambay, Arial, sans-serif; cursor: pointer; }
.sound:hover { background: var(--gold); color: #000; }

.calc-wrap { background: linear-gradient(180deg, #f4f6f1, #fff); padding: 46px 0 30px; }
.calc-wrap h2 { margin-top: 0; }
.calc-lead { color: var(--muted); }
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 30px; }
.calc label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-top: 10px; }
.calc output { font-family: Ultra, Georgia, serif; font-size: 1.6em; color: var(--green); font-weight: 400; }
.calc input[type=range] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 6px; margin: 12px 0 4px;
  background: linear-gradient(90deg, var(--green) 0 var(--p), #e3e7df var(--p) 100%); outline: none; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); cursor: pointer; }
.calc input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); cursor: pointer; }
.calc input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--green-d); }
.ticks { display: flex; justify-content: space-between; font-size: .8em; color: var(--muted); }
.apr-note { font-size: .85em; color: var(--muted); margin: 18px 0 0; }
.calc-dial { position: relative; display: flex; flex-direction: column; align-items: center; }
.dial { width: 240px; height: 240px; transform: rotate(-90deg); }
.dial circle { fill: none; stroke-width: 22; }
.dial-bg { stroke: #eef1ea; }
.dial-int { stroke: var(--gold); }
.dial-pri { stroke: var(--green); stroke-linecap: round; transition: stroke-dasharray .35s ease; }
.dial-center { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 240px; height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.dial-center strong { font-family: Ultra, Georgia, serif; font-weight: 400; font-size: 2em; color: #111; line-height: 1.1; }
.dial-label, .dial-sub { font-size: .8em; color: var(--muted); }
.calc-legend { list-style: none; padding: 0; margin: 16px 0 0; width: 100%; max-width: 300px; }
.calc-legend li { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid #eee; }
.calc-legend b { margin-left: auto; }
.calc-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.k-pri { background: var(--green); } .k-int { background: var(--gold); } .k-tot { background: #111; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding: 10px 0 24px; border-bottom: 2px solid #ddd; }
.calc > *, .sched, .sched-scroll, .ex-scroll { min-width: 0; max-width: 100%; }
.cbar { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.cbar span { display: block; width: 100%; }
.b-pri { background: var(--green); border-radius: 0 0 3px 3px; }
.b-int { background: var(--gold); border-radius: 3px 3px 0 0; }
.cbar em { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-style: normal; font-size: .75em; color: var(--muted); }
.sched { margin: 18px 0; }
.sched summary { cursor: pointer; font-weight: 700; color: var(--green); }
.sched-scroll, .ex-scroll { overflow-x: auto; }
.sched table, .ex { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .92em; }
.sched th, .sched td, .ex th, .ex td { padding: 8px 10px; border-bottom: 1px solid #e6e6e6; text-align: right; white-space: nowrap; }
.sched th:first-child, .sched td:first-child, .ex th:first-child, .ex td:first-child { text-align: left; }
.ex thead th, .sched thead th { background: #000; color: #fff; }
.ex tbody tr:nth-child(4n+1), .ex tbody tr:nth-child(4n+2) { background: var(--soft); }
.calc-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-line-dark { background: transparent; color: var(--green); border: 2px solid var(--green); padding: 12px 22px; }
.btn-line-dark:hover { background: var(--green); color: #fff; }
.examples { padding-top: 20px; padding-bottom: 30px; }
.stages { background: #000; color: #fff; padding: 40px 0 46px; }
.stages h2 { margin-top: 0; }
.stage-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.stage-list::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 4px; background: linear-gradient(90deg, var(--green), var(--gold)); }
.stage-list li { position: relative; text-align: center; }
.st-n { position: relative; display: inline-flex; width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; background: var(--gold); color: #000; font: 1.4em Ultra, Georgia, serif; box-shadow: 0 0 0 6px #000; }
.stage-list h3 { margin: .6em 0 .2em; font-size: 1.05em; color: #fff; }
.stage-list p { margin: 0; color: #ccc; font-size: .9em; }
.stage-list a { color: var(--gold); }
@media (max-width: 860px) {
  .promo-grid, .calc { grid-template-columns: 1fr; }
  .sticky-cta { left: 12px; right: 12px; bottom: 12px; transform: translateY(140%); }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-apply { flex: 1; justify-content: center; }
  body { padding-bottom: 84px; }
  .calc { padding: 20px; }
  .stage-list { grid-template-columns: 1fr; text-align: left; }
  .stage-list::before { top: 10px; bottom: 10px; left: 25px; right: auto; width: 4px; height: auto; background: linear-gradient(180deg, var(--green), var(--gold)); }
  .stage-list li { text-align: left; padding-left: 70px; min-height: 52px; }
  .st-n { position: absolute; left: 0; top: 0; }
  .chart { gap: 3px; }
}
@media (max-width: 767px) {
  .promo-video { aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; width: 100%; }
}

.topic { max-width: 900px; padding-bottom: 20px; }
.topic h2 { margin-top: 1.5em; }
.topic ul, .topic ol { padding-left: 1.3em; }
.related { columns: 2; padding-left: 1.2em; }
.footer-guides { font-size: .85em; margin-top: 8px; }
@media (max-width: 860px) { .related { columns: 1; } }
