/* Red River Valley CDL Training — site styles. Colors come from the sunburst logo. */
:root {
  /* Colors from Red River Valley CDL's own website theme (redrivervalleycdl.com, Oct 2026). */
  --earth-900: #1b1b1b;   /* text */
  --earth-700: #384b3a;   /* deep green text */
  --earth-500: #537a57;
  --green-dark: #253427;  /* top bar, page heroes */
  --sun: #b4eab9;         /* their mint: main buttons, footer */
  --sun-dark: #58805c;    /* their sage green: headings, accents */
  --sun-ink: #1b1b1b;     /* text on mint */
  --gold: #b4eab9;
  --gold-soft: #e8f7ea;
  --river: #4682b4;       /* their steel blue */
  --river-dark: #35668f;
  --sky: #eef5fb;
  --cream: #f4fbf5;       /* their pale mint background */
  --line: #dbdbdb;
  --muted: #595959;
  --ok: #2e7d4f;
  --warn: #a8551b;
  --white: #fff;
  --serif: "Poppins", Arial, sans-serif;
  --sans: "Lato", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(27, 27, 27, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--earth-900); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--river-dark); }
a:hover { color: var(--sun-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; color: var(--earth-700); }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; color: var(--sun-dark); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- top bar + header */
.topbar { background: var(--green-dark); color: #dfeee0; font-size: .86rem; }
.topbar .wrap { display: flex; gap: 18px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .social { display: flex; gap: 12px; align-items: center; }
.topbar svg { width: 18px; height: 18px; fill: currentColor; vertical-align: -4px; }
header.site { background: #fff; border-bottom: 3px solid var(--sun-dark); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
header.site .wrap { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--earth-900); }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; }
.brand b { font-family: var(--serif); font-size: 1.15rem; line-height: 1.05; display: block; }
.brand small { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 4px; }
nav.main a { text-decoration: none; color: var(--earth-900); font-weight: 600; font-size: .95rem; padding: 8px 9px; border-radius: 8px; white-space: nowrap; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--gold-soft); color: var(--earth-900); }
nav.main a.btn { margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--earth-900); border-radius: 8px; padding: 6px 10px; font-weight: 700; font-family: inherit; cursor: pointer; }
@media (max-width: 1440px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 18px; border-bottom: 3px solid var(--sun); }
  nav.main.open { display: flex; }
  nav.main a.btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons */
.btn { display: inline-block; border: 0; border-radius: 10px; padding: .8em 1.25em; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--sun-ink); }
.btn-sun:hover { background: #92dc99; color: var(--sun-ink); }
.btn-river { background: var(--river); color: #fff; }
.btn-river:hover { background: var(--river-dark); color: #fff; }
.btn-light { background: #fff; color: var(--earth-900); }
.btn-outline { background: transparent; color: var(--earth-900); border: 2px solid var(--earth-900); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }

/* ---------- hero */
.hero { position: relative; color: #fff; background: var(--green-dark); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; max-width: 15em; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero p.lead { font-size: 1.18rem; max-width: 36em; color: #f2f7f2; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-dark); margin-bottom: 8px; }
.hero .eyebrow { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 6px 12px; border-radius: 999px; font-size: .88rem; }
.page-hero { background: linear-gradient(135deg, var(--green-dark), #384b3a 55%, var(--sun-dark)); color: #fff; padding: 46px 0 50px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #e8f2e9; max-width: 46em; font-size: 1.08rem; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .86rem; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.crumbs a { color: #fff; }

/* ---------- sections */
section.s { padding: 60px 0; }
section.alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.sky { background: var(--sky); }
.sub { color: var(--muted); max-width: 46em; font-size: 1.05rem; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 26px; }
.grid-2 { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .35em; }
.card .ico { font-size: 1.8rem; line-height: 1; margin-bottom: 8px; }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .12s ease, box-shadow .12s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(42,31,22,.14); }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.photo img { width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.quote { background: #fff; border-left: 5px solid var(--sun-dark); border-radius: 10px; padding: 18px 20px; box-shadow: var(--shadow); font-size: 1.05rem; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; color: var(--muted); font-size: .9rem; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 30px; }
.steps .step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 18px 18px; position: relative; }
.steps .step::before { counter-increment: s; content: counter(s); position: absolute; top: -15px; left: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--sun-dark); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.note { font-size: .88rem; color: var(--muted); }
.callout { background: var(--gold-soft); border-left: 4px solid var(--sun-dark); padding: 14px 16px; border-radius: 8px; margin: 16px 0; }
.callout.blue { background: var(--sky); border-color: var(--river); }
.callout.warn { background: #fff1e6; border-color: var(--warn); }
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--sun-dark)); color: #fff; padding: 46px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #eaf5eb; }
.cta-band .btns { justify-content: center; }
/* FAQ (2026-10-19, Terry: "make sections like this really pop - especially when hovered over") */
details.faq { position: relative; background: #fff; border: 1px solid rgba(88, 128, 92, .2); border-radius: 16px; margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(37, 52, 39, .06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
details.faq::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--sun-dark), var(--sun));
  transform: scaleY(.35); transform-origin: center; transition: transform .35s ease; }
details.faq:nth-of-type(even)::before { background: linear-gradient(180deg, var(--river-dark), #9cc3e4); }
details.faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 20px 18px 24px; cursor: pointer;
  font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--earth-700); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before { content: "?"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sun-dark); color: #fff; font-size: 1rem; font-weight: 700; box-shadow: 0 4px 10px rgba(37, 52, 39, .2); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
details.faq:nth-of-type(even) summary::before { background: var(--river); }
details.faq summary::after { content: ""; flex: none; margin-left: auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358805c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .35s ease, background-color .25s ease; }
details.faq:hover, details.faq:focus-within { transform: translateY(-3px); border-color: var(--sun-dark); background: linear-gradient(90deg, var(--cream), #fff 60%);
  box-shadow: 0 16px 36px rgba(37, 52, 39, .14); }
details.faq:nth-of-type(even):hover, details.faq:nth-of-type(even):focus-within { border-color: var(--river); background: linear-gradient(90deg, var(--sky), #fff 60%); }
details.faq:hover::before, details.faq[open]::before { transform: scaleY(1); }
details.faq:hover summary::before { transform: scale(1.12) rotate(-8deg); }
details.faq:hover summary::after { background-color: var(--sun); }
details.faq[open] { border-color: var(--sun-dark); box-shadow: 0 16px 36px rgba(37, 52, 39, .12); }
details.faq[open] summary::after { transform: rotate(180deg); background: var(--sun-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 18px no-repeat; }
details.faq:nth-of-type(even)[open] { border-color: var(--river); }
details.faq:nth-of-type(even)[open] summary::after { background-color: var(--river); }
details.faq > p { margin: 0; padding: 0 24px 20px 72px; color: var(--earth-900); animation: faq-open .35s ease; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { details.faq > p { padding-left: 24px; } }
@media (prefers-reduced-motion: reduce) { details.faq, details.faq::before, details.faq summary::before, details.faq summary::after { transition: none; } details.faq > p { animation: none; } }
.fb-wrap { display: flex; justify-content: center; }
.fb-wrap iframe { border: 0; max-width: 100%; border-radius: 10px; box-shadow: var(--shadow); background: #fff; }
.social-cards { display: grid; gap: 14px; }
.social-card { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--earth-900); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.social-card svg { width: 38px; height: 38px; flex: none; }
.social-card b { display: block; }
.social-card small { color: var(--muted); }
.map-embed { border: 0; width: 100%; aspect-ratio: 16/11; border-radius: 12px; box-shadow: var(--shadow); }

/* ---------- forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
label.f { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfc3b3; border-radius: 8px; font: inherit; background: #fff; color: var(--earth-900); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(88,128,92,.2); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { border: 1px solid #cfc3b3; border-radius: 9px; padding: 9px 13px; cursor: pointer; background: #fff; font-size: .95rem; user-select: none; }
.seg label:has(input:checked) { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.seg input { margin: 0 6px 0 0; accent-color: var(--sun); }
.form-msg { font-weight: 600; color: var(--warn); min-height: 1.2em; }
.hp { position: absolute; left: -9999px; }

/* ---------- calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.calc-modes { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .calc-modes { grid-template-columns: 1fr 1fr; } }
.calc-modes button { background: var(--cream); border: 0; border-right: 1px solid var(--line); padding: 16px 10px; font: inherit; font-weight: 700; cursor: pointer; color: var(--earth-700); }
.calc-modes button span { display: block; font-size: 1.5rem; }
.calc-modes button[aria-selected="true"] { background: #fff; color: var(--earth-900); box-shadow: inset 0 -4px 0 var(--sun-dark); }
.calc-body { padding: 24px; }
.calc-q { margin-bottom: 18px; }
.calc-out { margin-top: 10px; border-top: 3px solid var(--earth-900); padding-top: 16px; }
table.cost { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.cost th, table.cost td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cost td.amt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
table.cost tr.stage th { background: var(--cream); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--earth-700); }
table.cost tr.total th, table.cost tr.total td { font-size: 1.15rem; font-weight: 800; border-top: 2px solid var(--earth-900); border-bottom: 0; }
table.cost .n { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 2px; }
table.cost sup a, .src-ref a { text-decoration: none; font-size: .75em; font-weight: 700; }
.calc-sources { font-size: .86rem; color: var(--muted); }
.calc-sources li { margin-bottom: 4px; }
@media print { header.site, .topbar, footer.site, .calc-modes, .calc-form, .no-print, #rrv-chat { display: none !important; } }

/* ---------- state guides (same structure as the ELDT.Courses state guides) */
.st-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 77px; z-index: 30; justify-content: center; }
.st-toc a { font-size: .86rem; font-weight: 700; text-decoration: none; color: var(--earth-900); background: #fff; border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.st-toc a:hover { border-color: var(--sun); }
@media (max-width: 700px) { .st-toc { position: static; } }
.st-section { padding: 46px 0; scroll-margin-top: 140px; }
.st-section.bg-paper { background: var(--cream); }
.st-inner { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.st-inner.st-wide { max-width: 1160px; }
.st-eyebrow { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-dark); margin-bottom: 6px; }
.st-table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.st-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.st-table caption { text-align: left; font-weight: 600; padding: 12px 14px; font-family: var(--serif); background: var(--gold-soft); color: var(--earth-700); }
.st-table th, .st-table td { padding: 11px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.st-table th[scope="row"] { width: 30%; color: var(--earth-700); }
.st-table thead th { background: var(--green-dark); color: #fff; font-size: .86rem; }
.st-fee-stage th { background: var(--cream); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.st-fee-note { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: 3px; }
.st-ref { font-size: .72em; margin-left: 2px; white-space: nowrap; }
.st-ref a { text-decoration: none; font-weight: 700; color: var(--river-dark); }
.st-note { font-size: .88rem; color: var(--muted); }
.st-sources li { margin-bottom: 8px; font-size: .93rem; overflow-wrap: anywhere; }
.st-sources li:target { background: var(--gold-soft); }
.st-verified { font-size: .9rem; color: var(--gold); font-weight: 700; }
.st-nearby { columns: 2; }
.manual { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); }
@media (max-width: 620px) { .manual { grid-template-columns: 1fr; } .manual a.cover { max-width: 240px; } }
.manual a.cover img { border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.22); transition: transform .15s ease; }
.manual a.cover:hover img { transform: scale(1.03) rotate(-1deg); }
.manual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; margin-top: 22px; }
.manual-grid a { text-decoration: none; color: var(--earth-900); text-align: center; font-weight: 700; }
.manual-grid img { border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.2); margin: 0 auto 10px; max-height: 300px; width: auto; }

/* ---------- map */
.st-map-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; margin-top: 18px; }
@media (max-width: 860px) { .st-map-wrap { grid-template-columns: 1fr; } }
.st-map-side { display: grid; gap: 16px; }
.st-map-menu { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; margin: 0; box-shadow: var(--shadow); }
.st-map-menu legend { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; padding: 0 6px; }
.st-map-menu label { display: flex; gap: 10px; align-items: center; padding: 9px 8px; cursor: pointer; font-weight: 600; font-size: 1.02rem; border-radius: 8px; }
.st-map-menu label:hover { background: var(--gold-soft); }
.st-map-menu label:has(input:checked) { background: var(--green-dark); color: #fff; }
.st-map-menu input { accent-color: var(--sun-dark); width: 18px; height: 18px; margin: 0; flex: none; }
.st-legend-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.st-legend-box h3 { font-size: 1.15rem; margin: 0 0 12px; }
.st-heatbar { height: 22px; border-radius: 6px; display: flex; justify-content: space-between; align-items: flex-end; margin: 0 0 30px; position: relative; border: 1px solid rgba(42,31,22,.15); }
.st-heatbar span { position: relative; top: 26px; font-size: .86rem; font-weight: 700; color: var(--earth-700); }
.st-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1.02rem; }
.st-legend li { display: flex; align-items: center; gap: 10px; }
.st-legend li b { font-weight: 700; }
.st-legend li em { margin-left: auto; font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-key { display: inline-block; width: 26px; height: 26px; border-radius: 6px; flex: none; background: var(--sun-dark); border: 1px solid rgba(42,31,22,.2); }
.st-key-ctx { background: #ecefea; }
.st-map { width: 100%; height: auto; background: linear-gradient(180deg, #e6f4fb, #d7edf8); border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.st-map path { stroke: #fff; stroke-width: 1.2; fill: #ecefea; transition: fill .2s ease; }
.st-map .st-m.live path { fill: var(--sun-dark); cursor: pointer; stroke: #fff; stroke-width: 2; }
.st-map .st-m.live:hover path, .st-map .st-m.live:focus path { fill: var(--river); }
.st-map .st-m.live.heat:hover path, .st-map .st-m.live.heat:focus path { stroke: var(--earth-900); stroke-width: 3; }
.st-map .st-m.live { outline: none; }
.st-map text.lbl { font: 700 17px var(--serif); fill: #fff; pointer-events: none; paint-order: stroke; stroke: rgba(27,27,27,.7); stroke-width: 3.5px; }
.st-map-info { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--sun-dark); border-radius: 12px; padding: 14px 18px; min-height: 120px; box-shadow: var(--shadow); font-size: 1.02rem; }
.st-map-info strong { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }
.st-map-info span { display: block; }
.st-map-info a { display: inline-block; margin-top: 8px; font-weight: 700; }
.st-map-caption { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }

/* ---------- manual reader */
.man-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.man-actions .btn { padding: .55em .9em; font-size: .9rem; }
.mv { position: fixed; inset: 0; z-index: 80; background: rgba(20,28,21,.94); display: none; flex-direction: column; }
.mv.open { display: flex; }
.mv-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; background: var(--green-dark); color: #fff; }
.mv-bar b { font-family: var(--serif); font-size: 1.05rem; margin-right: auto; }
.mv-bar button, .mv-bar a { background: #fff; color: var(--earth-900); border: 0; border-radius: 8px; padding: 8px 12px; font: 700 .9rem var(--sans); cursor: pointer; text-decoration: none; }
.mv-bar a.dl { background: var(--sun); color: var(--sun-ink); }
.mv-bar .close { background: transparent; color: #fff; font-size: 1.6rem; padding: 0 8px; line-height: 1; }
.mv-bar input { width: 64px; padding: 6px; border-radius: 6px; border: 0; font: inherit; text-align: center; }
.mv-pages { flex: 1; overflow: auto; padding: 18px 10px 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mv-page { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.45); position: relative; flex: none; max-width: 100%; }
.mv-page canvas { display: block; width: 100%; height: auto; }
.mv-status { color: #fff; text-align: center; padding: 30px; }
.mv-note { color: #dfeee0; font-size: .8rem; padding: 6px 14px; background: #324434; }
.mv-note a { color: var(--gold); }

/* ---------- school location map */
.loc-map { width: 100%; height: 420px; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 1; }
.loc-pop b { font-family: var(--serif); font-size: 1.05rem; display: block; }
.loc-pop a { font-weight: 700; }
.leaflet-container { font-family: var(--sans) !important; }

/* ---------- footer */
footer.site { position: relative; background: linear-gradient(180deg, var(--sun) 0%, #a6e0ac 100%); color: #253427; font-size: .95rem; padding: 0; }
/* road strip with moving lane lines and a truck driving across (2026-10-19) */
.foot-road { position: relative; height: 34px; background: #2b302c; overflow: hidden; border-top: 4px solid #58805c; }
.foot-road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #f2c94c 0 34px, transparent 34px 68px); animation: road-lines 2.2s linear infinite; }
.foot-truck { position: absolute; bottom: 1px; left: 0; width: 92px; animation: truck-drive 24s linear infinite; }
.foot-truck svg { display: block; width: 100%; height: auto; }
@keyframes road-lines { to { background-position: -68px 0; } }
@keyframes truck-drive { from { transform: translateX(-120px); } to { transform: translateX(100vw); } }
footer.site > .wrap { padding-top: 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid rgba(37, 52, 39, .18); }
.foot-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.foot-brand img { width: 76px; height: 76px; border-radius: 50%; box-shadow: 0 8px 20px rgba(37, 52, 39, .25); transition: transform .5s ease; }
.foot-brand:hover img { transform: rotate(-12deg) scale(1.06); }
.foot-brand b { display: block; font-family: var(--serif); font-size: 1.35rem; color: #1b1b1b; line-height: 1.2; }
.foot-brand small { display: block; color: var(--earth-700); font-size: .92rem; margin-top: 2px; }
.foot-quick { display: flex; flex-wrap: wrap; gap: 12px; }
footer.site .fq { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff; border-radius: 16px; text-decoration: none; color: #1b1b1b;
  box-shadow: 0 8px 22px rgba(37, 52, 39, .12); transition: transform .25s ease, box-shadow .25s ease; }
.fq small { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.fq b { display: block; font-family: var(--serif); font-size: 1.02rem; }
.fq-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--river); color: #fff; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.fq-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
footer.site .fq-go { background: var(--green-dark); color: #fff; }
.fq-go small { color: var(--sun); }
.fq-go .fq-ico { background: var(--sun); color: var(--green-dark); }
footer.site .fq:hover, footer.site .fq:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(37, 52, 39, .22); }
.fq:hover .fq-ico, .fq:focus-visible .fq-ico { transform: scale(1.12) rotate(-8deg); }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
footer.site h4 { position: relative; color: #1b1b1b; font-family: var(--serif); margin: 0 0 16px; padding-bottom: 8px; font-size: 1.08rem; }
footer.site h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--sun-dark); }
footer.site a { color: #253427; text-decoration: none; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
.foot-links li { margin-bottom: 9px; }
.foot-links a { position: relative; display: inline-block; padding-left: 0; transition: padding-left .25s ease, color .2s ease; }
.foot-links a::before { content: "92"; position: absolute; left: -4px; opacity: 0; color: var(--river-dark); font-weight: 700; transition: opacity .2s ease, left .25s ease; }
.foot-links a:hover, .foot-links a:focus-visible { padding-left: 20px; color: var(--river-dark); }
.foot-links a:hover::before, .foot-links a:focus-visible::before { opacity: 1; left: 0; }
.foot-about p { margin: 0 0 14px; }
.foot-contact li { margin-bottom: 10px; }
.foot-contact a, .fc-plain { display: flex; align-items: flex-start; gap: 10px; }
.foot-contact svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--sun-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.foot-contact a:hover { color: var(--river-dark); }
.foot-contact a:hover svg { transform: scale(1.2); stroke: var(--river-dark); }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
footer.site .foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-dark); color: #fff; box-shadow: 0 6px 14px rgba(37, 52, 39, .2);
  transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s ease; }
.foot-social svg { width: 20px; height: 20px; fill: currentColor; }
.foot-social a:nth-child(2) svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
footer.site .foot-social a:hover, footer.site .foot-social a:focus-visible { transform: translateY(-4px) rotate(-8deg) scale(1.08); background: var(--river); }
.foot-bottom { margin-top: 36px; background: var(--green-dark); color: #dfeee1; }
.foot-bottom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 16px; padding-bottom: 16px; }
footer.site .fine { margin: 0; font-size: .82rem; color: #cfe3d1; border: 0; padding: 0; }
.usdot { display: inline-block; margin: 0 4px; padding: 1px 8px; border-radius: 999px; background: rgba(180, 234, 185, .18); color: var(--sun); font-weight: 700; }
.to-top { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--sun); color: var(--green-dark) !important; font-weight: 800; font-size: .88rem;
  transition: transform .25s ease, box-shadow .25s ease; }
.to-top svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.to-top:hover svg { transform: translateY(-3px); }
@media (max-width: 700px) { .foot-bottom .wrap { flex-direction: column; align-items: flex-start; } .foot-top { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .foot-road::before, .foot-truck { animation: none; } .foot-truck { left: 24px; } }
.sticky-bar { display: none; }
@media (max-width: 700px) {
  .sticky-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
  .sticky-bar a { flex: 1; text-align: center; padding: 14px 6px; font-weight: 800; text-decoration: none; }
  .sticky-bar a:nth-child(1) { background: #fff; color: var(--earth-900); }
  .sticky-bar a:nth-child(2) { background: var(--river); color: #fff; }
  .sticky-bar a:nth-child(3) { background: var(--sun); color: var(--sun-ink); }
  body { padding-bottom: 54px; }
}

/* ---------- chat widget: styles are in css/chat-widget.css. On phones the website's call bar sits at the bottom. */
@media (max-width: 700px) { #rrv-chat-btn { bottom: 66px !important; } }

/* ---------- booking steps (book-a-call.html, js/booking.js) */
#bk p { overflow-wrap: anywhere; }
.bk-step { font-family: var(--serif); font-size: 1.1rem; margin: 22px 0 10px; }
.bk-step span { display: block; font: 800 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sun-dark); margin-bottom: 2px; }
.bk-types { display: grid; gap: 10px; }
.bk-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.bk-type, .bk-day, .bk-time { font: 600 .95rem var(--sans); color: var(--earth-900); background: #fff; border: 1px solid #d8ccbb; border-radius: 9px; padding: 11px 13px; cursor: pointer; text-align: left; transition: transform .12s ease, background .12s ease, border-color .12s ease; }
.bk-day, .bk-time { text-align: center; padding: 9px 6px; }
.bk-day span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bk-day strong { display: block; }
.bk-types .bk-type { border-left-width: 6px; }
.bk-types .bk-type:nth-child(odd) { background: var(--sky); border-left-color: var(--river); }
.bk-types .bk-type:nth-child(even) { background: var(--gold-soft); border-left-color: var(--sun-dark); }
.bk-type:hover, .bk-day:hover, .bk-time:hover { transform: translateY(-2px); border-color: var(--sun); }
.bk-type.is-on, .bk-day.is-on, .bk-time.is-on, .bk-types .bk-type.is-on { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.bk-day.is-on span { color: var(--gold); }
.bk-types .bk-type.is-on strong::before { content: "\2713\00a0\00a0"; }
#bk .bk-tz, #bk .bk-fine { font-size: .85rem; color: var(--muted); }
#bk .bk-picked { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
#bk .bk-note { background: var(--cream); border-left: 3px solid var(--sun); padding: 11px 13px; border-radius: 6px; }
#bk .bk-note.bk-err { border-left-color: var(--warn); background: #fff1e6; }
.bk-field { margin-bottom: 14px; }
.bk-field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 5px; }
.bk-submit, a.bk-btn { display: inline-block; background: var(--sun); color: var(--sun-ink); font: 700 1rem var(--sans); padding: 13px 22px; border: 0; border-radius: 9px; cursor: pointer; text-decoration: none; }
.bk-submit { width: 100%; margin: 4px 0 10px; }
.bk-submit:hover, a.bk-btn:hover { background: #92dc99; color: var(--sun-ink); }
.bk-submit[disabled] { opacity: .6; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-done h3 { font-family: var(--serif); font-size: 1.4rem; }
.man-card { text-align: center; }
.man-card > a { text-decoration: none; color: var(--earth-900); font-weight: 700; display: block; }

/* headings on dark bands stay white */
.hero h1, .page-hero h1, .cta-band h2 { color: #fff; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--sun) !important; }
.st-verified { color: var(--sun) !important; }
.mission-blue { color: var(--river); }

/* ---------- appointment page, laid out like the school's old GoDaddy booking page */
.bk-h { text-align: center; margin-bottom: 18px; }
.bk-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 280px)); gap: 20px; justify-content: center; }
.bk-svc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 0 16px; cursor: pointer; font: inherit; overflow: hidden; box-shadow: var(--shadow); transition: transform .12s ease; }
.bk-svc:hover { transform: translateY(-3px); }
.bk-svc img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; padding: 12px; }
.bk-svc-t, .bk-svc .bk-svc-m, .bk-svc-b { margin: 0 16px; }
.bk-svc-t { font-family: var(--serif); font-weight: 600; }
.bk-svc-m { color: var(--muted); font-size: .9rem; margin: 0; }
.bk-svc-b { background: var(--sun); color: var(--sun-ink); border-radius: 999px; padding: 6px 18px; font-weight: 700; font-size: .85rem; margin-top: 6px; }
.bk-back { display: inline-block; margin-bottom: 18px; color: var(--sun-dark); text-decoration: none; font-weight: 600; }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .bk-grid { grid-template-columns: 1fr; } .bk-panel { order: -1; } }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bk-cal-head strong { font-weight: 600; font-family: var(--serif); }
.bk-nav { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--earth-900); padding: 0 10px; }
.bk-nav[disabled] { opacity: .25; cursor: default; }
.bk-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px 4px; text-align: center; }
.bk-dow { font-weight: 700; font-size: .9rem; padding-bottom: 6px; }
.bk-dnum { width: 42px; height: 42px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #8a8a8a; font: 400 1rem var(--sans); border: 1px solid transparent; background: none; }
.bk-dnum.is-open { color: var(--earth-900); border-color: #8fa792; cursor: pointer; }
.bk-dnum.is-open:hover { background: var(--gold-soft); }
.bk-dnum.is-today { font-weight: 700; }
.bk-dnum.is-on { background: var(--sun); border-color: var(--sun-dark); color: var(--sun-ink); font-weight: 700; }
.bk-ampm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 10px; }
.bk-col h3 { text-align: center; font-size: 1rem; color: var(--earth-900); margin-bottom: 10px; }
.bk-ampm .bk-times { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
.bk-ampm .bk-time { border-radius: 4px; border-color: #8fa792; }
.bk-panel h2 { font-size: 1.5rem; color: var(--earth-900); font-weight: 500; margin-bottom: 4px; }
.bk-panel-logo { width: 100%; max-width: 360px; margin: 14px 0; }
.bk-form { margin-top: 10px; }
.bk-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 14px; }
.bk-field input, .bk-field select, .bk-field textarea { width: 100%; }
.bk-done h2 { color: var(--sun-dark); }
.fb-title { max-width: 500px; margin: 0 auto 12px; text-align: center; }
.fb-title b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--earth-700); line-height: 1.25; }
.fb-title span { display: block; font-family: var(--serif); font-size: 1rem; color: var(--sun-dark); margin-top: 2px; }
.fb-title a { display: inline-block; margin-top: 6px; font-weight: 700; font-size: .9rem; }

/* ---------- our own Facebook card (Facebook's widget loads empty in many browsers) */
.fb-card { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.fb-card-head { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 3px solid #1877f2; }
.fb-card-head img { width: 72px; height: 72px; flex: none; }
.fb-card-head b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--earth-700); line-height: 1.2; }
.fb-card-head > div > span { display: block; font-family: var(--serif); color: var(--sun-dark); }
.fb-card-head small { display: block; color: var(--muted); margin-top: 2px; }
.fb-stars { color: #e0a526; }
.fb-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; }
.fb-card-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.fb-card-note { margin: 12px 18px 0; color: var(--muted); font-size: .95rem; }
.fb-card-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 18px; }
.fb-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--earth-900); background: #f0f2f5; }
.fb-btn svg { width: 18px; height: 18px; }
.fb-btn.fb-follow { background: #1877f2; border-color: #1877f2; color: #fff; }
.fb-btn:hover { filter: brightness(.95); }

/* ---------- enrollment form */
.req { color: #b3261e; font-weight: 700; }
.enroll-form input[aria-invalid="true"], .enroll-form select[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.biz-box .biz-when { font-size: .85rem; color: var(--muted); font-weight: 400; }
.biz-box.needed .biz-when::after { content: " (required: your employer is paying)"; color: #b3261e; }

/* ---------- enrollment form */
.req { color: #b3261e; font-weight: 700; }
.enroll-form input[aria-invalid="true"], .enroll-form select[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.biz-box .biz-when { font-size: .85rem; color: var(--muted); font-weight: 400; }
.biz-box.needed .biz-when::after { content: " - required, your employer is paying"; color: #b3261e; }

/* Plan-your-CDL tool cards (2026-10-19): modern cards that slide in from the right as they scroll into view.
   The hidden starting state only applies after site.js adds .reveal-ready, so the cards always show without JS. */
.tool-cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 30px; }
.tool-card { position: relative; display: flex; flex-direction: column; padding: 30px 24px 24px; background: #fff; color: inherit; text-decoration: none;
  border: 1px solid rgba(88, 128, 92, .18); border-radius: 18px; box-shadow: 0 10px 30px rgba(37, 52, 39, .08); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tool-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--sun-dark), var(--sun)); }
.tool-card.tool-blue::before { background: linear-gradient(90deg, var(--river-dark), #9cc3e4); }
.tool-card:hover, .tool-card:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(37, 52, 39, .16); border-color: var(--sun-dark); }
.tool-card.tool-blue:hover, .tool-card.tool-blue:focus-visible { border-color: var(--river); }
.tool-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-soft), var(--sun)); color: var(--earth-700); box-shadow: inset 0 0 0 1px rgba(88, 128, 92, .2); }
.tool-blue .tool-ico { background: linear-gradient(135deg, var(--sky), #cfe2f3); color: var(--river-dark); box-shadow: inset 0 0 0 1px rgba(70, 130, 180, .25); }
.tool-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-card h3 { margin: 0 0 .4em; font-size: 1.25rem; }
.tool-card p { flex: 1; margin: 0 0 18px; color: var(--muted); }
.tool-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--sun-dark); }
.tool-blue .tool-go { color: var(--river-dark); }
.tool-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.tool-card:hover .tool-go svg { transform: translateX(5px); }

/* ---- Sitewide modern cards + slide-in (2026-10-19, Terry: "bring that styling to the rest of the website") ---- */
.card, .steps .step, .social-card, .quote, .fb-card { border-radius: 18px; border-color: rgba(88, 128, 92, .18); box-shadow: 0 10px 30px rgba(37, 52, 39, .08); }
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--sun-dark), var(--sun)); }
.grid > .card:nth-child(even)::before, .card.enroll-form::before { background: linear-gradient(90deg, var(--river-dark), #9cc3e4); }
.card .ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-soft), var(--sun)); box-shadow: inset 0 0 0 1px rgba(88, 128, 92, .2); }
a.card, .social-card, .man-card > a { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.card:hover, a.card:focus-visible, .social-card:hover, .social-card:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(37, 52, 39, .16); border-color: var(--sun-dark); }
.steps .step { border-top: 5px solid var(--sun-dark); padding-top: 28px; }
.steps .step:nth-child(even) { border-top-color: var(--river); }
.steps .step::before { box-shadow: 0 4px 12px rgba(37, 52, 39, .25); }
.gallery img, .man-card img { transition: transform .35s ease, box-shadow .35s ease; }
.gallery figure:hover img, .man-card > a:hover img { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 32px rgba(37, 52, 39, .18); }
.gallery img { border-radius: 14px; }

/* Slide in from the right, one after another. The hidden state only exists once site.js adds .reveal-ready. */
.reveal-ready { overflow-x: clip; overflow-clip-margin: 40px; }   /* no sideways page scroll while items start off to the right */
.reveal-ready > * { opacity: 0; transform: translateX(90px); }
.reveal-ready > .in { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.2, .75, .25, 1), box-shadow .25s ease, border-color .25s ease; }
.reveal-ready > a.in:hover, .reveal-ready > a.in:focus-visible { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .reveal-ready > * { opacity: 1; transform: none; } }

/* ---- Quick-action rail, right edge (2026-10-19) ---- */
.quick-rail { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.rail-btn { position: relative; display: block; width: 52px; height: 52px; text-decoration: none; }
.rail-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--river); color: #fff;
  box-shadow: 0 6px 16px rgba(37, 52, 39, .25); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s ease, box-shadow .25s ease; }
.rail-green .rail-ico { background: var(--sun-dark); }
.rail-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rail-tip { position: absolute; right: 64px; top: 50%; transform: translate(14px, -50%); opacity: 0; pointer-events: none; white-space: nowrap;
  background: var(--green-dark); color: #fff; border-radius: 12px; padding: 8px 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: opacity .2s ease, transform .25s ease; }
.rail-tip::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: var(--green-dark); transform: translateY(-50%) rotate(45deg); }
.rail-tip b { display: block; font-family: var(--serif); font-weight: 600; font-size: .95rem; }
.rail-tip small { display: block; color: var(--sun); font-size: .82rem; }
.rail-btn:hover .rail-ico, .rail-btn:focus-visible .rail-ico { transform: scale(1.12); background: var(--river-dark); box-shadow: 0 10px 24px rgba(37, 52, 39, .35); }
.rail-green:hover .rail-ico, .rail-green:focus-visible .rail-ico { background: var(--earth-700); }
.rail-btn:hover .rail-ico svg, .rail-btn:focus-visible .rail-ico svg { animation: rail-wiggle .5s ease; }
.rail-btn:hover .rail-tip, .rail-btn:focus-visible .rail-tip { opacity: 1; transform: translate(0, -50%); }
@keyframes rail-wiggle { 0% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } 100% { transform: rotate(0); } }
@media (max-width: 1100px), (max-height: 600px) { .quick-rail { display: none; } }
@media (prefers-reduced-motion: reduce) { .rail-ico, .rail-tip { transition: none; } .rail-btn:hover .rail-ico svg { animation: none; } }

/* ---- Headers that pop (2026-10-19, Terry: "let's make the headers pop") ---- */
/* top bar */
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: var(--sun); }
.topbar svg { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.topbar a:hover svg { transform: scale(1.25) rotate(-8deg); }
/* sticky header: frosted, and it tightens up once you scroll */
header.site { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 0; transition: box-shadow .3s ease; }
header.site::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: linear-gradient(90deg, var(--sun-dark), var(--sun), var(--river), var(--sun-dark)); background-size: 300% 100%; animation: hdr-line 12s linear infinite; }
@keyframes hdr-line { to { background-position: 300% 0; } }
header.site .wrap { transition: min-height .3s ease; }
header.site.scrolled { box-shadow: 0 10px 30px rgba(37, 52, 39, .16); }
header.site.scrolled .wrap { min-height: 62px; }
.brand img { transition: transform .5s ease, width .3s ease, height .3s ease; }
header.site.scrolled .brand img { width: 48px; height: 48px; }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
/* menu links: a green bar grows under the link */
nav.main a:not(.btn) { position: relative; background: none !important; transition: color .2s ease; }
nav.main a:not(.btn)::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 3px; border-radius: 3px; background: var(--sun-dark); transition: left .25s ease, right .25s ease; }
nav.main a:not(.btn):hover, nav.main a:not(.btn)[aria-current="page"] { color: var(--sun-dark); }
nav.main a:not(.btn):hover::after, nav.main a:not(.btn)[aria-current="page"]::after { left: 9px; right: 9px; }
nav.main .btn-outline:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
nav.main .btn-sun { position: relative; overflow: hidden; box-shadow: 0 6px 16px rgba(88, 128, 92, .35); }
nav.main .btn-sun::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); animation: btn-shine 5s ease-in-out infinite; }
@keyframes btn-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
/* buttons everywhere: lift + glow */
.btn { transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); }
/* home hero: slow zoom on the photo, side shade, text rises in, swoosh under the motto, V-shaped bottom edge */
.hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 50% 100%, 0 calc(100% - 46px)); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(27, 36, 28, .78) 0%, rgba(27, 36, 28, .45) 55%, rgba(27, 36, 28, .1) 100%); }
.hero img.bg { opacity: .7; animation: hero-zoom 20s ease-in-out infinite alternate; transform-origin: 70% 50%; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero .wrap { z-index: 2; padding-bottom: 110px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
.hero h1 .hl { position: relative; display: inline-block; color: var(--sun); }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; border-radius: 1em; background: linear-gradient(90deg, var(--sun), var(--river)); transform: scaleX(0); transform-origin: left; animation: hl-draw .9s .9s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes hl-draw { to { transform: scaleX(1); } }
.hero .wrap > *, .page-hero .wrap > * { animation: rise-in .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero .wrap > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .12s; }
.hero .wrap > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .24s; }
.hero .wrap > :nth-child(4), .page-hero .wrap > :nth-child(4) { animation-delay: .36s; }
.hero .wrap > :nth-child(5), .page-hero .wrap > :nth-child(5) { animation-delay: .48s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .btn { padding: .9em 1.45em; font-size: 1.05rem; }
.hero .btn-sun { box-shadow: 0 0 0 0 rgba(180, 234, 185, .7); animation: btn-pulse 2.6s 1.6s ease-out 3; }
@keyframes btn-pulse { 0% { box-shadow: 0 0 0 0 rgba(180, 234, 185, .75); } 100% { box-shadow: 0 0 0 18px rgba(180, 234, 185, 0); } }
.hero .chips span { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-color: rgba(180, 234, 185, .45);
  transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.hero .chips span:hover { transform: translateY(-3px); background: rgba(180, 234, 185, .25); border-color: var(--sun); }
/* inner page headers: moving gradient, soft glows, the same V-shaped bottom */
.page-hero { position: relative; overflow: hidden; padding-bottom: 86px; background: linear-gradient(120deg, var(--green-dark), #384b3a 40%, var(--sun-dark) 70%, #35668f);
  background-size: 220% 220%; animation: hero-grad 16s ease-in-out infinite alternate; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 50% 100%, 0 calc(100% - 36px)); }
@keyframes hero-grad { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero::before { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(180, 234, 185, .28), transparent 70%); }
.page-hero::after { width: 320px; height: 320px; left: -100px; bottom: -150px; background: radial-gradient(circle, rgba(70, 130, 180, .3), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); text-shadow: 0 3px 16px rgba(0, 0, 0, .25); }
@media (prefers-reduced-motion: reduce) {
  header.site::after, nav.main .btn-sun::after, .hero img.bg, .hero .btn-sun, .page-hero { animation: none; }
  .hero .wrap > *, .page-hero .wrap > * { animation: none; }
  .hero h1 .hl::after { animation: none; transform: scaleX(1); }
}

/* ---- Modern menu (2026-10-19, Terry: "something special with the menu up top ... more modern") ----
   Desktop: the links sit in a rounded pill and a green "blob" glides behind whichever link you point at.
   Phones and tablets: the Menu button turns into an X and a full-screen green panel slides in from the right. */
.nav-pill { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1px rgba(88, 128, 92, .2); }
nav.main .nav-pill a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; transition: color .25s ease; }
nav.main .nav-pill a::after { display: none; }
nav.main .nav-pill a[aria-current="page"] { background: var(--green-dark) !important; color: #fff; }   /* without JS */
nav.main .nav-pill.blob-ready a[aria-current="page"] { background: none !important; color: var(--earth-900); }
nav.main .nav-pill a.blob-on { color: #fff !important; }
.nav-blob { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; opacity: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); box-shadow: 0 6px 16px rgba(37, 52, 39, .3);
  transition: left .4s cubic-bezier(.3, 1.25, .5, 1), width .4s cubic-bezier(.3, 1.25, .5, 1), opacity .25s ease; }
.nav-blob.show { opacity: 1; }
.nav-extra { display: none; }
.mb-bars { display: inline-flex; flex-direction: column; justify-content: space-between; width: 20px; height: 14px; vertical-align: -2px; margin-right: 8px; }
.mb-bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .mb-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .mb-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1440px) {
  header.site { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }   /* a blur here would trap the full-screen panel inside the header */
  .menu-btn { position: relative; z-index: 52; border-radius: 999px; padding: 8px 16px; transition: background .25s ease, color .25s ease, border-color .25s ease; }
  .menu-btn[aria-expanded="true"] { background: var(--sun); color: var(--green-dark); border-color: var(--sun); }
  nav.main { display: flex; position: fixed; inset: 0; z-index: 51; flex-direction: column; align-items: stretch; gap: 0; padding: 96px 28px 32px; overflow-y: auto;
    background: radial-gradient(circle at 85% 10%, rgba(180, 234, 185, .22), transparent 45%), linear-gradient(160deg, var(--green-dark), #2f4532 60%, #35668f);
    border: 0; transform: translateX(100%); visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; }
  nav.main.open { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .nav-pill { flex-direction: column; align-items: stretch; padding: 0; background: none; box-shadow: none; }
  .nav-blob { display: none; }
  nav.main .nav-pill a { color: #fff; font-family: var(--serif); font-size: 1.5rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
    opacity: 0; transform: translateX(40px); transition: opacity .4s ease, transform .4s ease, color .2s ease, padding-left .25s ease; }
  nav.main .nav-pill a[aria-current="page"], nav.main .nav-pill.blob-ready a[aria-current="page"] { background: none !important; color: var(--sun); }
  nav.main .nav-pill a.blob-on { color: #fff !important; }
  nav.main .nav-pill a:hover { color: var(--sun) !important; padding-left: 14px; }
  nav.main.open .nav-pill a { opacity: 1; transform: none; }
  nav.main.open .nav-pill a:nth-child(2) { transition-delay: .05s; } nav.main.open .nav-pill a:nth-child(3) { transition-delay: .1s; }
  nav.main.open .nav-pill a:nth-child(4) { transition-delay: .15s; } nav.main.open .nav-pill a:nth-child(5) { transition-delay: .2s; }
  nav.main.open .nav-pill a:nth-child(6) { transition-delay: .25s; } nav.main.open .nav-pill a:nth-child(7) { transition-delay: .3s; }
  nav.main a.btn { margin: 16px 0 0; text-align: center; font-size: 1.1rem; padding: .95em 1em; }
  nav.main a.btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
  .nav-extra { display: block; margin-top: 26px; color: #cfe3d1; }
  nav.main .nav-extra a { color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
  .nav-extra svg { width: 20px; height: 20px; fill: currentColor; vertical-align: -4px; }
  .nav-extra small { display: block; margin-top: 6px; }
  body.menu-open { overflow: hidden; }
  body.menu-open header.site { z-index: 1000; }                       /* lift the panel above the bottom bar and chat */
  body.menu-open .sticky-bar, body.menu-open #rrv-chat, body.menu-open #rrv-chat-btn { display: none !important; }
  .menu-btn { display: inline-flex; align-items: center; }
  .menu-btn[aria-expanded="true"] { position: fixed; top: 18px; right: 20px; }
  nav.main { padding-top: 84px; }
}
@media (prefers-reduced-motion: reduce) { .nav-blob, nav.main, nav.main .nav-pill a { transition: none !important; } }

/* Training Records (ELDT Systems) button beside Student Login (2026-10-19) */
.btn-records { background: var(--river); color: #fff; }
.btn-records:hover { background: var(--river-dark); color: #fff; }
nav.main a.btn.btn-records { margin-left: 6px; }

/* Little road under the header with the semi driving along it, like the footer (2026-10-19, Terry: "love it!") */
header.site::after { display: none; }
.hdr-road { position: relative; height: 18px; background: #2b302c; border-top: 2px solid var(--sun-dark); overflow: hidden; }
.hdr-road::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #f2c94c 0 22px, transparent 22px 44px); animation: hdr-lines 1.6s linear infinite; }
@keyframes hdr-lines { to { background-position: -44px 0; } }
.hdr-truck { position: absolute; bottom: 0; left: 0; width: 46px; animation: truck-drive 18s linear -7s infinite; }
.hdr-truck svg { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .hdr-road::before, .hdr-truck { animation: none; } .hdr-truck { left: 24px; } }

/* Room for Student Login + Training Records + Apply Now on one line (2026-10-19) */
header.site .wrap { max-width: 1320px; }
.brand { flex: none; }
@media (min-width: 1441px) {
  nav.main .nav-pill a { padding: 8px 11px; font-size: .93rem; }
  nav.main a.btn { padding: .62em .95em; font-size: .93rem; }
}

/* Header buttons match the rounded menu: same height and pill shape (2026-10-19) */
@media (min-width: 1441px) {
  nav.main a.btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid transparent; box-sizing: border-box; }
  nav.main a.btn-outline { border-color: var(--earth-900); }
  nav.main a.btn-records { box-shadow: 0 6px 16px rgba(70, 130, 180, .3); }
  .nav-pill { height: 44px; box-sizing: border-box; }
}
.hdr-road { height: 22px; }
.hdr-truck { width: 62px; }

/* Big enough to read "Red River Valley" on the trailer (2026-10-19) */
.hdr-road { height: 46px; }
.hdr-road::before { height: 3px; }
.hdr-truck { width: 150px; bottom: 1px; animation-duration: 22s; }
.foot-road { height: 64px; }
.foot-road::before { height: 4px; }
.foot-truck { width: 200px; bottom: 2px; }
@media (max-width: 700px) { .hdr-road { height: 34px; } .hdr-truck { width: 110px; } .foot-road { height: 50px; } .foot-truck { width: 150px; } }


/* ---- CDL cost calculator makeover (2026-10-19, Terry: "let's make this calculator bad ass too") ---- */
.calc { position: relative; border: 0; border-radius: 22px; box-shadow: 0 24px 60px rgba(37, 52, 39, .16); }
.calc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; z-index: 1; background: linear-gradient(90deg, var(--sun-dark), var(--sun), var(--river)); }
.calc-modes { gap: 12px; padding: 22px 22px 18px; background: linear-gradient(180deg, var(--cream), #fff); border-bottom: 1px solid rgba(88, 128, 92, .15); }
.calc-modes button { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px; border: 2px solid rgba(88, 128, 92, .18) !important; border-radius: 18px;
  background: #fff; color: var(--earth-700); font-family: var(--serif); font-weight: 600; font-size: 1rem; box-shadow: 0 6px 18px rgba(37, 52, 39, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .3s ease, color .25s ease; }
.cm-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-soft), var(--sun)); color: var(--earth-700);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .3s ease, color .3s ease; }
.calc-modes button:nth-child(even) .cm-ico { background: linear-gradient(135deg, var(--sky), #cfe2f3); color: var(--river-dark); }
.cm-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.calc-modes button:hover { transform: translateY(-4px); border-color: var(--sun-dark) !important; box-shadow: 0 14px 30px rgba(37, 52, 39, .14); }
.calc-modes button:hover .cm-ico { transform: scale(1.1) rotate(-6deg); }
.calc-modes button[aria-selected="true"] { background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); color: #fff; border-color: transparent !important;
  box-shadow: 0 16px 34px rgba(37, 52, 39, .3); transform: translateY(-4px); }
.calc-modes button[aria-selected="true"] .cm-ico { background: rgba(255, 255, 255, .16); color: var(--sun); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.calc-body { padding: 28px; }
.calc-body label.f { font-family: var(--serif); font-weight: 600; color: var(--earth-700); }
.calc select { border: 2px solid rgba(88, 128, 92, .25); border-radius: 14px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.calc select:hover { border-color: var(--sun-dark); }
/* choices as pills with a check bubble */
.calc .seg { gap: 10px; }
.calc .seg label { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border: 2px solid rgba(88, 128, 92, .25); border-radius: 999px; font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, background .25s ease, color .2s ease, box-shadow .25s ease; }
.calc .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.calc .seg label::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(88, 128, 92, .45); background: #fff center / 12px no-repeat;
  transition: background-color .2s ease, border-color .2s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.calc .seg label:hover { transform: translateY(-2px); border-color: var(--sun-dark); box-shadow: 0 8px 18px rgba(37, 52, 39, .12); }
.calc .seg label:has(input:checked) { background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(37, 52, 39, .25); }
.calc .seg label:has(input:checked)::before { border-color: var(--sun); transform: scale(1.1);
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253427' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.calc .seg label:has(input:focus-visible) { outline: 3px solid var(--river); outline-offset: 2px; }
/* results */
.calc-out { border-top: 0; margin-top: 18px; padding-top: 0; }
.calc-out > h2, .calc-out > h3 { color: var(--earth-700); }
.calc-total { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 18px 0 20px; padding: 22px 26px; border-radius: 20px; color: #fff;
  background: radial-gradient(circle at 90% 0%, rgba(180, 234, 185, .35), transparent 50%), linear-gradient(120deg, var(--green-dark), #2f4532 50%, var(--river-dark));
  box-shadow: 0 18px 40px rgba(37, 52, 39, .28); }
.calc-total span { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.calc-total small { display: block; color: #cfe3d1; font-size: .88rem; margin-top: 2px; }
.calc-total b { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; text-shadow: 0 4px 18px rgba(0, 0, 0, .25); }
.calc table.cost { border-collapse: separate; border-spacing: 0 8px; }
.calc table.cost th, .calc table.cost td { border-bottom: 0; padding: 14px 16px; background: #fff; }
.calc table.cost tr:not(.stage):not(.total) th { border-radius: 14px 0 0 14px; box-shadow: inset 4px 0 0 var(--sun-dark); }
.calc table.cost tr:not(.stage):not(.total) td { border-radius: 0 14px 14px 0; }
.calc table.cost tr:not(.stage):not(.total) > * { border-top: 1px solid rgba(88, 128, 92, .14); border-bottom: 1px solid rgba(88, 128, 92, .14); transition: background .2s ease; }
.calc table.cost tr:not(.stage):not(.total) > th { border-left: 1px solid rgba(88, 128, 92, .14); }
.calc table.cost tr:not(.stage):not(.total) > td { border-right: 1px solid rgba(88, 128, 92, .14); }
.calc table.cost tr:not(.stage):not(.total):hover > * { background: var(--cream); }
.calc table.cost td.amt { font-family: var(--serif); font-size: 1.08rem; color: var(--earth-700); }
.calc table.cost tr.stage th { background: none; padding: 14px 4px 2px; color: var(--sun-dark); font-size: .8rem; letter-spacing: .14em; }
.calc table.cost tr.total th, .calc table.cost tr.total td { background: var(--gold-soft); border-top: 0; font-family: var(--serif); }
.calc table.cost tr.total th { border-radius: 14px 0 0 14px; }
.calc table.cost tr.total td { border-radius: 0 14px 14px 0; color: var(--green-dark); }
/* new results slide up into place */
.calc-out.fresh > *, .calc-out.fresh table.cost tr { animation: calc-in .45s ease both; }
.calc-out.fresh table.cost tr:nth-child(2) { animation-delay: .04s; } .calc-out.fresh table.cost tr:nth-child(3) { animation-delay: .08s; }
.calc-out.fresh table.cost tr:nth-child(4) { animation-delay: .12s; } .calc-out.fresh table.cost tr:nth-child(5) { animation-delay: .16s; }
.calc-out.fresh table.cost tr:nth-child(n+6) { animation-delay: .2s; }
@keyframes calc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .calc-modes { padding: 14px; gap: 10px; } .calc-modes button { padding: 14px 8px; font-size: .92rem; } .calc-body { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .calc-out.fresh > *, .calc-out.fresh table.cost tr { animation: none; } }


/* ---- CDL manuals as 3D books (2026-10-19, Terry: "bring this to life") ---- */
.manual-grid { gap: 26px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.man-card { display: flex; flex-direction: column; padding: 22px 18px 18px; background: #fff; border-radius: 22px; text-align: center;
  border: 1px solid rgba(88, 128, 92, .16); box-shadow: 0 10px 30px rgba(37, 52, 39, .08); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.man-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(37, 52, 39, .16); border-color: var(--sun-dark); }
.manual-grid .man-card a.man-book, .man-card > a.man-book { display: block; text-decoration: none; color: var(--earth-900); perspective: 900px; }
.man-cover { position: relative; display: block; width: 78%; margin: 0 auto; aspect-ratio: 3 / 4; border-radius: 3px 10px 10px 3px; overflow: hidden;
  transform-origin: left center; transform: rotateY(-8deg); box-shadow: 10px 12px 24px rgba(0, 0, 0, .28), 2px 2px 0 #e7e2d8, 4px 4px 0 #d8d1c4;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1), box-shadow .55s ease; }
.manual-grid .man-cover img, .man-cover img { display: block; width: 100%; height: 100%; max-height: none; margin: 0; object-fit: cover; border-radius: 0; box-shadow: none; transform: none !important; }
.man-cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 12%; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .18) 45%, rgba(0, 0, 0, .08)); }
.man-shine { position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%); transform: translateX(-120%); transition: transform .9s ease; }
.man-card:hover .man-cover { transform: rotateY(-24deg) rotateX(4deg) translateX(6px); box-shadow: 22px 18px 34px rgba(0, 0, 0, .32), 3px 3px 0 #e7e2d8, 6px 6px 0 #d8d1c4; }
.man-card:hover .man-shine { transform: translateX(120%); }
.man-title { display: block; margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--earth-700); }
.man-title small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-dark); margin-bottom: 2px; }
.man-actions { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.man-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .7em 1em; border-radius: 999px; font-size: .92rem; }
.man-actions .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.man-actions .btn-sun:hover svg { transform: scale(1.15); }
.man-actions .btn-outline:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.man-actions .btn-outline:hover svg { transform: translateY(3px); }
@media (prefers-reduced-motion: reduce) { .man-cover, .man-shine { transition: none; } }
.manual-grid > div { display: flex; flex-direction: column; }
.manual-grid > div > .man-card { flex: 1; }
.man-title { min-height: 3.1em; }


/* ---- Calculator: "Also plan for", sources and the closing buttons (2026-10-19, Terry: "give this some pizzaz") ---- */
.calc-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 30px 0 6px; color: var(--earth-700); }
.calc-h svg { width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 12px; background: linear-gradient(135deg, var(--gold-soft), var(--sun));
  fill: none; stroke: var(--earth-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.calc-h small { flex-basis: 100%; padding-left: 52px; margin-top: -4px; font-family: var(--sans); font-size: .88rem; font-weight: 400; color: var(--muted); }
.calc table.calc-plan tr th { box-shadow: inset 4px 0 0 var(--river) !important; }
.calc table.calc-plan td.amt { vertical-align: middle; font-family: var(--sans); font-size: .85rem; font-weight: 800; color: var(--river-dark); }/* sources box */
.calc-src-box { margin-top: 26px; padding: 6px 22px 18px; border-radius: 20px; background: linear-gradient(180deg, var(--cream), #fff); border: 1px solid rgba(88, 128, 92, .18); }
.calc-src-box .calc-h { margin-top: 16px; }
.calc .calc-sources { list-style: none; counter-reset: src; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.calc .calc-sources li { counter-increment: src; margin: 0; }
.calc .calc-sources a { position: relative; display: flex; flex-direction: column; padding: 12px 16px 12px 58px; border-radius: 14px; background: #fff; text-decoration: none;
  border: 1px solid rgba(88, 128, 92, .16); transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.calc .calc-sources a::before { content: counter(src); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--sun-dark); color: #fff; font-weight: 800; font-size: .9rem; }
.calc .calc-sources li:nth-child(even) a::before { background: var(--river); }
.cs-pub { font-size: .8rem; color: var(--muted); }
.cs-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--river-dark); }
.cs-title svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.calc .calc-sources a:hover { transform: translateX(6px); border-color: var(--river); box-shadow: 0 10px 22px rgba(37, 52, 39, .12); }
.calc .calc-sources a:hover .cs-title svg { transform: translate(2px, -2px); }
/* study note */
.calc-study { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border-radius: 16px; background: var(--sky); border-left: 5px solid var(--river); }
.calc-study svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--river-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
/* closing call to action */
.calc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; padding: 22px 24px; border-radius: 20px; color: #fff;
  background: radial-gradient(circle at 10% 0%, rgba(180, 234, 185, .3), transparent 50%), linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark));
  box-shadow: 0 18px 40px rgba(37, 52, 39, .25); }
.calc-cta > div { flex: 1 1 260px; }
.calc-cta b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--sun); }
.calc-cta span { display: block; color: #dfeee1; font-size: .95rem; }
.calc-cta .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: .85em 1.4em; }
.calc-cta .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.calc-cta .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .75); background: transparent; }
.calc-cta .btn-outline:hover { background: #fff; color: var(--green-dark); }
.calc-cta .btn-sun { position: relative; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.calc-cta .btn-sun::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-20deg); animation: btn-shine 4s ease-in-out infinite; }
.calc-cta .btn-sun:hover svg { transform: translateX(4px); }
@media print { .calc-src-box { background: none; border: 0; } .calc .calc-sources a { border: 0; padding-left: 40px; } }

/* keep the chat hello bubble clear of the side rail (2026-10-19) */
@media (min-width: 1101px) and (min-height: 601px) { body #rrv-chat-hello { right: 84px; } }

/* USDOT pill links to the FMCSA SAFER record (2026-10-19) */
footer.site a.usdot { color: var(--sun); text-decoration: none; transition: background .2s ease, color .2s ease; }
footer.site a.usdot:hover { background: var(--sun); color: var(--green-dark); }

/* leave room for the floating Ask us button at the bottom right (2026-10-19) */
@media (min-width: 701px) { .foot-bottom .wrap { padding-right: 230px; } }


/* ---- State map with wow factor (2026-10-19, Terry: "bring these maps to life ... make the user want to click around") ---- */
.st-map { background: radial-gradient(circle at 30% 20%, #f2fbff, #d7edf8 70%); border: 0; border-radius: 22px; box-shadow: 0 24px 60px rgba(37, 52, 39, .16), inset 0 0 0 1px rgba(70, 130, 180, .15); overflow: visible; }
.st-map .st-m.live path { transform-box: fill-box; transform-origin: center; transition: fill .6s ease, transform .35s cubic-bezier(.3, 1.5, .5, 1), filter .35s ease; }
.st-map.in .st-m.live path { animation: st-pop .7s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }
@keyframes st-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.st-map .st-m.live text.lbl { transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); transform-box: fill-box; transform-origin: center; }
.st-map .st-m.live:hover path, .st-map .st-m.live:focus path, .st-map .st-m.live.on path { transform: scale(1.06) translateY(-3%); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .35)); }
.st-map .st-m.live:not(.heat):hover path, .st-map .st-m.live:not(.heat):focus path, .st-map .st-m.live.on:not(.heat) path { fill: var(--river); }
.st-map .st-m.live:hover text.lbl, .st-map .st-m.live.on text.lbl { transform: scale(1.25); }
.st-map:hover .st-m.live:not(:hover) path { opacity: .82; }
.st-map text.lbl { font-size: 19px; }
.st-map path.st-route { fill: none; stroke: var(--river-dark); stroke-width: 2.4; stroke-dasharray: 7 7; stroke-linecap: round; opacity: .8; animation: st-dash 1.4s linear infinite; pointer-events: none; }
@keyframes st-dash { to { stroke-dashoffset: -28; } }
.st-routes, .st-home { pointer-events: none; }
.st-truck { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.st-home-dot { fill: #fff; stroke: var(--green-dark); stroke-width: 3.5; }
.st-home-pulse { fill: rgba(180, 234, 185, .7); stroke: var(--sun-dark); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: st-pulse 2s ease-out infinite; }
@keyframes st-pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.st-home-tag rect { fill: var(--green-dark); }
.st-home-tag text { fill: #fff; font: 700 12px var(--sans); }
@media (prefers-reduced-motion: reduce) { .st-map.in .st-m.live path, .st-route, .st-home-pulse { animation: none; } }
/* menu */
.st-map-menu { border: 0; border-radius: 20px; padding: 16px; box-shadow: 0 14px 34px rgba(37, 52, 39, .12); }
.st-map-menu legend { font-family: var(--serif); font-weight: 600; }
.st-map-menu label { gap: 12px; padding: 11px 12px; margin-bottom: 4px; border-radius: 14px; border: 2px solid transparent; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.st-map-menu label i { font-style: normal; font-size: 1.15rem; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.st-map-menu label:hover { background: var(--cream); border-color: rgba(88, 128, 92, .3); transform: translateX(4px); }
.st-map-menu label:hover i { transform: scale(1.25) rotate(-8deg); }
.st-map-menu label:has(input:checked) { background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); color: #fff; box-shadow: 0 10px 22px rgba(37, 52, 39, .25); }
.st-map-menu input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-map-menu label:has(input:focus-visible) { outline: 3px solid var(--river); outline-offset: 2px; }
.st-legend-box { border: 0; border-radius: 20px; box-shadow: 0 14px 34px rgba(37, 52, 39, .12); }
.st-heatbar { border-radius: 999px; height: 16px; border: 0; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15); }
.st-legend li { padding: 6px 8px; border-radius: 10px; animation: calc-in .4s ease both; }
.st-legend li:nth-child(2) { animation-delay: .05s; } .st-legend li:nth-child(3) { animation-delay: .1s; } .st-legend li:nth-child(4) { animation-delay: .15s; } .st-legend li:nth-child(5) { animation-delay: .2s; }
.st-legend li:first-child:has(em) { background: var(--gold-soft); }
/* state card */
.st-map-info { border: 0; border-radius: 22px; padding: 22px 24px; color: #fff; min-height: 150px;
  background: radial-gradient(circle at 92% 0%, rgba(180, 234, 185, .3), transparent 55%), linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark));
  box-shadow: 0 20px 44px rgba(37, 52, 39, .28); }
.st-map-info.pop { animation: calc-in .4s ease both; }
.smi-head strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: #fff; margin: 0; }
.smi-head span { display: block; color: #cfe3d1; font-size: .95rem; }
.smi-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.smi-tile { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .25s ease, background .25s ease; }
.smi-tile:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .16); }
.smi-tile i { font-style: normal; font-size: 1.3rem; }
.smi-tile b { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--sun); font-variant-numeric: tabular-nums; }
.smi-tile small { display: block; color: #dfeee1; font-size: .82rem; }
.st-map-info a.smi-go { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: .7em 1.3em; border-radius: 999px; background: var(--sun); color: var(--green-dark); text-decoration: none; font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.st-map-info a.smi-go:hover { transform: translateY(-2px); }
.st-map-info a.smi-go span { transition: transform .2s ease; }
.st-map-info a.smi-go:hover span { transform: translateX(4px); }

.st-map .st-truck path { fill: #b4eab9; stroke: #253427; stroke-width: 1.2; }
.st-map .st-truck rect { fill: #fff; }


/* ---- Tables that come alive (2026-10-19, Terry: "bring this section to life!") ---- */
.st-table-wrap { border: 0; border-radius: 22px; box-shadow: 0 18px 44px rgba(37, 52, 39, .12); background: #fff; }
.st-table { border-collapse: separate; border-spacing: 0; }
.st-table caption { padding: 16px 20px; background: linear-gradient(90deg, var(--gold-soft), #fff); font-size: 1.05rem; }
.st-table thead th { background: linear-gradient(120deg, var(--green-dark), #2f4532 60%, var(--river-dark)); font-family: var(--serif); font-weight: 600; letter-spacing: .01em; padding: 14px; }
.st-table th, .st-table td { padding: 14px; border-top: 1px solid rgba(88, 128, 92, .14); vertical-align: middle; transition: background .2s ease; }
.st-table tbody tr { transition: transform .2s ease, box-shadow .2s ease; }
.st-table tbody tr:hover > * { background: var(--cream); }
.st-table tbody tr:hover > :first-child { box-shadow: inset 5px 0 0 var(--sun-dark); }
.st-table tbody th[scope="row"] a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--earth-700); text-decoration: none; }
.st-table tbody th[scope="row"] a::after { content: "\2192"; color: var(--river); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.st-table tbody tr:hover th[scope="row"] a::after { opacity: 1; transform: none; }
/* numbers with a little bar showing how each state compares (added by site.js) */
.st-num { display: block; min-width: 92px; }
.st-num b { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--earth-900); font-variant-numeric: tabular-nums; }
.st-num i { display: block; height: 7px; margin-top: 6px; border-radius: 999px; background: rgba(88, 128, 92, .14); overflow: hidden; }
.st-num i::before { content: ""; display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--sun), var(--sun-dark)); transition: width 1.1s cubic-bezier(.2, .8, .2, 1); }
.st-table.bars-in .st-num i::before { width: var(--w); }
.st-num.top b::after { content: "Top"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--sun); color: var(--green-dark); font: 800 .7rem var(--sans); letter-spacing: .06em; text-transform: uppercase; vertical-align: 3px; }
.st-num.top i::before { background: linear-gradient(90deg, var(--river), var(--river-dark)); }
.st-agency { color: var(--muted); font-size: .9rem; }
.st-table a[data-manual] { display: inline-flex; align-items: center; gap: 6px; padding: .5em 1em; border-radius: 999px; background: var(--sun); color: var(--green-dark); font-weight: 800; font-size: .88rem; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.st-table a[data-manual]:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(37, 52, 39, .2); }
@media (prefers-reduced-motion: reduce) { .st-num i::before { transition: none; } }
.st-table th[scope="row"] { width: auto; white-space: nowrap; }
.st-table td.st-agency { min-width: 210px; }
.st-table thead tr { background: linear-gradient(120deg, var(--green-dark), #2f4532 60%, var(--river-dark)); }
.st-table thead th { background: transparent; }


/* ---- "Ready to start your CDL?" band that pops (2026-10-19) ---- */
.cta-band { position: relative; overflow: hidden; padding: 84px 0 70px; isolation: isolate;
  background: linear-gradient(120deg, rgba(27, 36, 28, .92), rgba(47, 69, 50, .82) 50%, rgba(53, 102, 143, .85)); 
  clip-path: polygon(0 36px, 50% 0, 100% 36px, 100% 100%, 0 100%); }
.cta-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .9; animation: hero-zoom 22s ease-in-out infinite alternate; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(27, 36, 28, .9), rgba(47, 69, 50, .78) 50%, rgba(53, 102, 143, .82)); }
.cta-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(180, 234, 185, .16); color: var(--sun);
  font-weight: 800; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(180, 234, 185, .4); }
.cta-pill i { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; animation: ch-live 2s infinite; }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3rem); margin: 16px 0 10px; text-shadow: 0 4px 18px rgba(0, 0, 0, .3); }
.cta-band h2 .hl { color: var(--sun); position: relative; display: inline-block; }
.cta-band h2 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .12em; border-radius: 1em; background: linear-gradient(90deg, var(--sun), var(--river)); }
.cta-band p { font-size: 1.1rem; }
.cta-band .btns { gap: 14px; margin-top: 24px; }
.cta-band .btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: .95em 1.6em; font-size: 1.05rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.cta-band .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cta-band .btn:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .35); }
.cta-band .btn:hover svg { transform: scale(1.2) rotate(-10deg); }
.cta-band .cta-apply { position: relative; overflow: hidden; border: 0 !important; }
.cta-band .cta-apply::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-20deg); animation: btn-shine 4s ease-in-out infinite; }
.cta-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; font-size: .92rem !important; color: #dfeee1 !important; }
.cta-trust span:first-child { color: var(--sun); font-weight: 700; }
.cta-band.cta-ready .wrap > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.cta-band.in .wrap > * { opacity: 1; transform: none; }
.cta-band.in .wrap > :nth-child(2) { transition-delay: .1s; } .cta-band.in .wrap > :nth-child(3) { transition-delay: .2s; }
.cta-band.in .wrap > :nth-child(4) { transition-delay: .3s; } .cta-band.in .wrap > :nth-child(5) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .cta-bg { animation: none; } .cta-band.cta-ready .wrap > * { opacity: 1; transform: none; transition: none; } }


/* ---- About page: "Who we are" and "Visit us" with some awesomeness (2026-10-19) ---- */
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.about-facts .af { position: relative; display: block; padding: 16px 16px 14px; border-radius: 18px; background: #fff; text-decoration: none; color: inherit; overflow: hidden;
  border: 1px solid rgba(88, 128, 92, .18); box-shadow: 0 8px 22px rgba(37, 52, 39, .08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.about-facts .af::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--sun-dark), var(--sun)); }
.about-facts .af:nth-child(even)::before { background: linear-gradient(180deg, var(--river-dark), #9cc3e4); }
.about-facts .af b { display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--earth-700); }
.about-facts .af:nth-child(even) b { color: var(--river-dark); }
.about-facts .af small { display: block; margin-top: 4px; color: var(--muted); font-size: .88rem; }
.about-facts .af:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(37, 52, 39, .15); border-color: var(--sun-dark); }
.about-btns .btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: .85em 1.4em; }
.about-btns .btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.about-btns a[href*="facebook"] svg { fill: currentColor; stroke: none; }
.about-btns .btn:hover svg { transform: scale(1.2) rotate(-8deg); }
.about-btns .btn-outline:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
/* photo with an offset color block, a logo badge and a slowly turning "Est." seal */
.photo-pop { position: relative; margin: 18px 18px 30px 0; }
.photo-pop > img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 24px 50px rgba(37, 52, 39, .25); transition: transform .5s ease; }
.photo-pop:hover > img { transform: translate(-6px, -6px) rotate(-.6deg); }
.pp-back { position: absolute; z-index: 0; inset: 18px -18px -18px 18px; border-radius: 24px; background: linear-gradient(135deg, var(--sun), var(--sun-dark) 55%, var(--river)); transition: transform .5s ease; }
.photo-pop:hover .pp-back { transform: translate(6px, 6px); }
.pp-badge { position: absolute; z-index: 2; left: -16px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: #fff; box-shadow: 0 14px 30px rgba(37, 52, 39, .25); animation: pp-float 4s ease-in-out infinite; }
.pp-badge img { width: 44px; height: 44px; border-radius: 50%; }
.pp-badge b { display: block; font-family: var(--serif); color: var(--earth-700); line-height: 1.1; }
.pp-badge small { display: block; color: var(--muted); font-size: .82rem; }
@keyframes pp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.pp-seal { position: absolute; z-index: 2; top: -22px; right: -26px; display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--green-dark); color: var(--sun); font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1; text-align: center;
  box-shadow: 0 12px 26px rgba(37, 52, 39, .35), inset 0 0 0 4px var(--green-dark), inset 0 0 0 6px var(--sun); animation: pp-spin 18s linear infinite; }
.pp-seal b { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; color: #fff; margin-bottom: 2px; }
@keyframes pp-spin { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
@media (max-width: 860px) { .photo-pop { margin: 30px 22px 40px 0; } .pp-seal { right: -10px; } }
/* "Visit us" map */
.loc-map { border-radius: 22px !important; overflow: hidden; box-shadow: 0 20px 44px rgba(37, 52, 39, .2) !important; border: 4px solid #fff; }
@media (prefers-reduced-motion: reduce) { .pp-badge, .pp-seal { animation: none; } }


/* ---- Interactive "Visit us" map that invites a click (2026-10-19) ---- */
.loc-map { position: relative; }
.loc-pin { background: none; border: 0; }
.loc-pin img { position: relative; z-index: 2; display: block; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 3px solid #58805c; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.loc-pin:hover img { transform: scale(1.15) rotate(-8deg); }
.lp-ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(180, 234, 185, .55); border: 2px solid #58805c; animation: st-pulse 2.2s ease-out infinite; }
.lp-ring.r2 { animation-delay: 1.1s; }
.rrv-pop .leaflet-popup-content-wrapper { border-radius: 20px; padding: 0; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.rrv-pop .leaflet-popup-content { margin: 0; width: 290px !important; }
.rrv-pop .leaflet-popup-tip { box-shadow: none; }
.rrv-pop a.leaflet-popup-close-button { color: #fff; top: 8px; right: 8px; font-size: 20px; }
.loc-pop .lp-top { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: #fff; background: linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark)); }
.loc-pop .lp-top img { width: 46px; height: 46px; border-radius: 50%; background: #fff; flex: none; box-shadow: 0 0 0 2px var(--sun); }
.loc-pop .lp-top b { display: block; font-family: var(--serif); font-size: 1rem; line-height: 1.2; padding-right: 14px; }
.loc-pop .lp-top span { display: block; font-size: .8rem; color: #cfe3d1; margin-top: 2px; }
.loc-pop .lp-btns { display: grid; gap: 8px; padding: 14px 16px 16px; }
.loc-pop a.lp-btn { display: block; text-align: center; padding: 10px 12px; border-radius: 999px; font: 800 .92rem var(--sans); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.loc-pop a.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0, 0, 0, .18); }
.loc-pop a.lp-g { background: var(--sun); color: var(--green-dark); }
.loc-pop a.lp-a { background: #1b1b1b; color: #fff; }
.loc-pop a.lp-c { background: var(--river); color: #fff; }
.leaflet-tooltip.loc-town { background: #fff; border: 0; border-radius: 999px; padding: 3px 10px; font: 700 12px var(--sans); color: var(--river-dark); box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.leaflet-tooltip.loc-town::before { display: none; }
.leaflet-tooltip.loc-drive { background: var(--green-dark); color: var(--sun); border: 0; border-radius: 999px; padding: 4px 12px; font: 800 12px var(--sans); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.leaflet-tooltip.loc-drive::before { border-top-color: var(--green-dark); }
.loc-route { animation: st-dash 1.4s linear infinite; }
.loc-hint { position: absolute; z-index: 800; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(37, 52, 39, .9); color: #fff; font: 700 13px var(--sans); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); pointer-events: none; animation: pp-float 3s ease-in-out infinite; transition: opacity .4s ease; }
.loc-hint.gone { opacity: 0; }
.leaflet-touch .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; color: var(--green-dark); }
.leaflet-bar { border-radius: 12px !important; overflow: hidden; border: 0 !important; box-shadow: 0 6px 16px rgba(0, 0, 0, .2) !important; }
@media (prefers-reduced-motion: reduce) { .lp-ring, .loc-route, .loc-hint { animation: none; } }


/* ---- FAQ page: two columns, numbered, with a live search (2026-10-19, Terry: "make this into 2 columns and make it pop more") ---- */
.faq-page .faq-list { column-count: 2; column-gap: 22px; counter-reset: faqn; }
.faq-page .faq-list > details.faq { display: block; break-inside: avoid; page-break-inside: avoid; margin: 0 0 16px; counter-increment: faqn; }
.faq-page details.faq summary::before { content: counter(faqn, decimal-leading-zero); font-size: .85rem; letter-spacing: .02em; }
.faq-page details.faq summary { padding-top: 20px; padding-bottom: 20px; }
.faq-page details.faq:nth-of-type(4n+1), .faq-page details.faq:nth-of-type(4n+4) { background: linear-gradient(135deg, #fff, var(--cream)); }
.faq-page details.faq:nth-of-type(4n+2), .faq-page details.faq:nth-of-type(4n+3) { background: linear-gradient(135deg, #fff, var(--sky)); }
.faq-page details.faq[open] { box-shadow: 0 20px 44px rgba(37, 52, 39, .18); }
@media (max-width: 900px) { .faq-page .faq-list { column-count: 1; } }
.faq-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.faq-search { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; padding: 6px 8px 6px 20px; border-radius: 999px; background: #fff;
  border: 2px solid rgba(88, 128, 92, .25); box-shadow: 0 12px 30px rgba(37, 52, 39, .1); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-search:focus-within { border-color: var(--sun-dark); box-shadow: 0 14px 34px rgba(37, 52, 39, .16), 0 0 0 4px rgba(180, 234, 185, .5); }
.faq-search svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--sun-dark); stroke-width: 2.2; stroke-linecap: round; }
.faq-search input { flex: 1; border: 0 !important; box-shadow: none !important; padding: 12px 6px; font-size: 1.05rem; background: transparent; }
.faq-search input:focus { outline: none; }
.faq-count { padding: 10px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); color: #fff; font-weight: 800; box-shadow: 0 10px 22px rgba(37, 52, 39, .25); }
.faq-none { text-align: center; padding: 24px; border-radius: 18px; background: var(--cream); font-size: 1.05rem; }
.faq-page details.faq[hidden] { display: none; }
details.faq mark { background: var(--sun); color: inherit; border-radius: 4px; padding: 0 2px; }


/* ---- Live office hours (2026-10-19) ---- */
.live-hours { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.live-hours > i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #9aa39b; }
.live-hours.open > i { background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: ch-live 2s infinite; }
.live-hours.open > span { color: #1e8e4e; }
.live-hours.closed > span { color: #a33a2b; }
footer.site .live-hours.open > span { color: #1a6b3c; }
.hours-week { min-width: 250px; }
.hours-week ul { list-style: none; margin: 10px 0 4px; padding: 0; }
.hours-week li { display: flex; justify-content: space-between; gap: 18px; padding: 6px 10px; border-radius: 10px; }
.hours-week li b { font-weight: 600; }
.hours-week li.today { background: var(--gold-soft); font-weight: 800; box-shadow: inset 4px 0 0 var(--sun-dark); }
.hours-week li.today b { font-weight: 800; }
.hours-week small { color: var(--muted); font-size: .8rem; padding-left: 10px; }
/* ---- Contact page, modernized (2026-10-19) ---- */
#contact-form input, #contact-form textarea { border: 2px solid rgba(88, 128, 92, .22); border-radius: 14px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
#contact-form input:focus, #contact-form textarea:focus { border-color: var(--sun-dark); box-shadow: 0 0 0 4px rgba(180, 234, 185, .45); }
#contact-form label.f { font-family: var(--serif); font-weight: 600; color: var(--earth-700); }
.file-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file-drop { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; border: 2px dashed rgba(88, 128, 92, .45); background: var(--cream); cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.file-drop:hover, .file-drop.drag { background: var(--gold-soft); border-color: var(--sun-dark); }
.file-drop svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 12px; background: var(--sun-dark); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.file-drop b { color: var(--river-dark); }
.file-input:focus-visible + .file-drop, .file-drop:focus-within { outline: 3px solid var(--river); outline-offset: 2px; }
.btn-send { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: .95em 1.8em; font-size: 1.05rem; box-shadow: 0 10px 22px rgba(88, 128, 92, .3); }
.btn-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.btn-send:hover svg { transform: translate(4px, -4px); }
.ct-apply { padding: 26px; border-radius: 22px; color: #fff; margin-bottom: 20px;
  background: radial-gradient(circle at 90% 0%, rgba(180, 234, 185, .3), transparent 55%), linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark)); box-shadow: 0 18px 40px rgba(37, 52, 39, .25); }
.ct-apply h2 { color: #fff; margin: 12px 0 8px; font-size: 1.7rem; }
.ct-apply p { color: #dfeee1; }
.ct-apply a:not(.btn) { color: var(--sun); }
.ct-apply .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.ct-info { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(88, 128, 92, .16); box-shadow: 0 12px 30px rgba(37, 52, 39, .1); margin-bottom: 20px; }
.ct-info h2 { font-size: 1.3rem; margin: 0 0 10px; }
.ct-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 16px; color: inherit; text-decoration: none; transition: background .2s ease; }
a.ct-row:hover { background: var(--cream); }
.ct-row small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-dark); }
.ct-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--gold-soft), var(--sun)); }
.ct-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--earth-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-hours .hours-week { margin-top: 4px; }


/* ---- Booking page that is sweet, not boring (2026-10-19) ---- */
.bk-how { list-style: none; counter-reset: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 22px; padding: 0; }
.bk-how li { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px;
  background: #fff; border: 1px solid rgba(88, 128, 92, .16); box-shadow: 0 8px 22px rgba(37, 52, 39, .08); }
.bk-how li span { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); color: #fff; font: 700 1.1rem var(--serif); box-shadow: 0 6px 14px rgba(37, 52, 39, .25); }
.bk-how li:nth-child(2) span { background: linear-gradient(135deg, var(--river-dark), var(--river)); }
.bk-how li b { font-family: var(--serif); font-weight: 600; color: var(--earth-700); }
.bk-how li small { color: var(--muted); }
@media (max-width: 760px) { .bk-how { grid-template-columns: 1fr; } }
.bk-card { padding: 34px !important; border-radius: 26px !important; background: radial-gradient(circle at 100% 0%, rgba(180, 234, 185, .25), transparent 40%), #fff !important; box-shadow: 0 24px 60px rgba(37, 52, 39, .14) !important; }
.bk-card::before { height: 6px; background: linear-gradient(90deg, var(--sun-dark), var(--sun), var(--river)) !important; }
.bk-h { font-size: 1.6rem; color: var(--earth-700); }
/* service cards */
.bk-services { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 24px; }
.bk-svc { position: relative; align-items: center; text-align: center; gap: 8px; padding: 0 0 24px; border: 0; border-radius: 22px; background: #fff;
  box-shadow: 0 14px 34px rgba(37, 52, 39, .14); transition: transform .3s ease, box-shadow .3s ease; overflow: hidden; }
.bk-svc::before { content: ""; display: block; width: 100%; height: 92px; background: linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark)); }
.bk-services .bk-svc:nth-child(even)::before { background: linear-gradient(120deg, var(--river-dark), #2f4532 55%, var(--green-dark)); }
.bk-svc img { width: 112px; height: 112px; aspect-ratio: auto; margin-top: -60px; padding: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px #fff, 0 10px 24px rgba(0, 0, 0, .25); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.bk-svc:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(37, 52, 39, .22); }
.bk-svc:hover img { transform: rotate(-10deg) scale(1.06); }
.bk-svc-t, .bk-svc .bk-svc-m, .bk-svc-b { margin: 0 20px; }
.bk-svc-t { font-size: 1.15rem; margin-top: 8px; color: var(--earth-700); }
.bk-svc-m { display: inline-flex; gap: 8px; }
.bk-svc .bk-svc-m { padding: 4px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--earth-700); font-weight: 700; }
.bk-svc-b { position: relative; overflow: hidden; margin-top: 10px; padding: 11px 30px; font-size: .98rem; background: linear-gradient(135deg, var(--sun), #92dc99); box-shadow: 0 8px 18px rgba(88, 128, 92, .3); transition: transform .2s ease; }
.bk-svc-b::after { content: " \2192"; }
.bk-svc:hover .bk-svc-b { transform: scale(1.05); }
/* calendar + times */
.bk-back { padding: 8px 16px; border-radius: 999px; background: var(--cream); transition: background .2s ease; }
.bk-back:hover { background: var(--gold-soft); }
.bk-calwrap { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid rgba(88, 128, 92, .16); box-shadow: 0 10px 26px rgba(37, 52, 39, .08); }
.bk-cal-head strong { font-size: 1.2rem; color: var(--earth-700); }
.bk-nav { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; padding: 0; transition: background .2s ease; }
.bk-nav:not([disabled]):hover { background: var(--sun); }
.bk-dow { color: var(--sun-dark); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.bk-dnum.is-open { background: var(--gold-soft); border: 2px solid transparent; color: var(--green-dark); font-weight: 700; transition: transform .2s ease, background .2s ease; }
.bk-dnum.is-open:hover { background: var(--sun); transform: scale(1.1); }
.bk-dnum.is-on { background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(37, 52, 39, .3); transform: scale(1.1); }
.bk-dnum.is-today { box-shadow: inset 0 0 0 2px var(--river); }
.bk-col h3 { font-family: var(--serif); color: var(--sun-dark); }
.bk-ampm .bk-time { border-radius: 999px; border: 2px solid rgba(88, 128, 92, .3); padding: 10px 6px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.bk-ampm .bk-time:hover { background: var(--gold-soft); border-color: var(--sun-dark); transform: translateY(-2px); }
.bk-time.is-on, .bk-ampm .bk-time.is-on { background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(37, 52, 39, .3); }
.bk-panel { padding: 24px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 90% 0%, rgba(180, 234, 185, .3), transparent 55%), linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark)); box-shadow: 0 18px 40px rgba(37, 52, 39, .25); }
.bk-panel h2 { color: #fff; font-weight: 600; }
.bk-panel p { color: #dfeee1; }
.bk-panel .bk-svc-m { color: var(--sun); font-weight: 700; }
.bk-panel-logo { max-width: 150px !important; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(180, 234, 185, .7); }
.bk-field input, .bk-field select, .bk-field textarea { border: 2px solid rgba(88, 128, 92, .22); border-radius: 14px; padding: 12px 14px; }
.bk-field input:focus, .bk-field select:focus, .bk-field textarea:focus { border-color: var(--sun-dark); box-shadow: 0 0 0 4px rgba(180, 234, 185, .45); outline: none; }
.bk-submit { border-radius: 999px; padding: 15px 22px; font-size: 1.08rem; background: linear-gradient(135deg, var(--sun), #92dc99); box-shadow: 0 10px 22px rgba(88, 128, 92, .3); transition: transform .2s ease; }
.bk-submit:hover { transform: translateY(-2px); }
.bk-trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.bk-trust span { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(88, 128, 92, .2); font-weight: 600; color: var(--earth-700); box-shadow: 0 6px 14px rgba(37, 52, 39, .06); }
.bk-trust span:last-child { background: var(--green-dark); color: #fff; border-color: transparent; }
.bk-trust span:last-child a { color: var(--sun); font-weight: 800; }
#bk > * { animation: calc-in .45s ease both; }
.bk-svc .bk-svc-b { margin-top: auto; }
.bk-svc .bk-svc-m { margin-bottom: 14px; }


/* ---- Apply / enrollment page matches the rest of the site (2026-10-19) ---- */
.ap-how { margin-bottom: 26px; }
.enroll-form { padding: 32px !important; border-radius: 26px !important; border: 0 !important; box-shadow: 0 24px 60px rgba(37, 52, 39, .14) !important; }
.enroll-form::before { height: 6px !important; background: linear-gradient(90deg, var(--sun-dark), var(--sun), var(--river)) !important; }
.ap-h { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; padding-bottom: 10px; font-size: 1.35rem; color: var(--earth-700); border-bottom: 2px solid rgba(88, 128, 92, .15); }
.ap-h:first-of-type { margin-top: 8px; }
.ap-h > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); color: #fff; font-size: 1rem; box-shadow: 0 6px 14px rgba(37, 52, 39, .25); }
#a-biz-box .ap-h > span:first-child { background: linear-gradient(135deg, var(--river-dark), var(--river)); }
.enroll-form label.f { font-family: var(--serif); font-weight: 600; color: var(--earth-700); }
.enroll-form input, .enroll-form select, .enroll-form textarea { border: 2px solid rgba(88, 128, 92, .22); border-radius: 14px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.enroll-form input:focus, .enroll-form select:focus, .enroll-form textarea:focus { border-color: var(--sun-dark); box-shadow: 0 0 0 4px rgba(180, 234, 185, .45); outline: none; }
.enroll-form .req { color: #c0392b; }
.enroll-form .btn-send { margin-top: 10px; }
.ap-paper { margin-top: 24px; }
.ap-paper .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
.ap-paper .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .75); }
.ap-paper .btn-outline:hover { background: #fff; color: var(--green-dark); }
.ap-paper .note { color: #cfe3d1 !important; }


/* ---- Privacy page (2026-10-19, Terry: "leave no stone unturned") ---- */
.pv-promise { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; padding: 26px 28px; margin-bottom: 28px; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 92% 0%, rgba(180, 234, 185, .3), transparent 55%), linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark)); box-shadow: 0 20px 44px rgba(37, 52, 39, .25); }
.pv-shield { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: rgba(180, 234, 185, .18); box-shadow: inset 0 0 0 1px rgba(180, 234, 185, .4); }
.pv-shield svg { width: 32px; height: 32px; fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-promise b { display: block; font-family: var(--serif); font-size: 1.5rem; }
.pv-promise span { color: #dfeee1; }
.pv-promise ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.pv-promise li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--sun); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.pv-card { position: relative; padding: 26px 24px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(88, 128, 92, .16); box-shadow: 0 10px 28px rgba(37, 52, 39, .08); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--sun-dark), var(--sun)); }
.pv-card:nth-child(even)::before { background: linear-gradient(90deg, var(--river-dark), #9cc3e4); }
.pv-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(37, 52, 39, .15); border-color: var(--sun-dark); }
.pv-card h2 { font-size: 1.3rem; margin: 14px 0 8px; color: var(--earth-700); }
.pv-card p { margin: 0; color: var(--earth-900); }
.pv-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--gold-soft), var(--sun)); }
.pv-card:nth-child(even) .pv-ico { background: linear-gradient(135deg, var(--sky), #cfe2f3); }
.pv-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--earth-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-card:nth-child(even) .pv-ico svg { stroke: var(--river-dark); }
.pv-dark { color: #fff; border: 0; background: linear-gradient(120deg, var(--green-dark), #2f4532 55%, var(--river-dark)); }
.pv-dark h2 { color: #fff; }
.pv-dark p { color: #dfeee1; }
.pv-dark a { color: var(--sun); font-weight: 800; }
.pv-dark .pv-ico { background: rgba(180, 234, 185, .18); }
.pv-dark .pv-ico svg { stroke: var(--sun) !important; }

/* About "Visit us" card, same style as the contact page (2026-10-19) */
.visit-card { margin: 0; }
.visit-card h2 { font-size: 1.6rem; }
.ct-sub { display: block; font-style: normal; color: var(--muted); font-size: .9rem; }
.ct-info .about-btns { margin: 14px 0 0; }
.ct-info .about-btns .btn-outline { border-color: var(--earth-900); }


/* ---- Training page (2026-10-19, Terry: "make these sections look awesome too") ---- */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips span { padding: 7px 14px; border-radius: 999px; background: var(--gold-soft); color: var(--earth-700); font-weight: 700; font-size: .92rem; box-shadow: inset 0 0 0 1px rgba(88, 128, 92, .25); }
.pg-chips span:nth-child(2) { background: var(--sky); color: var(--river-dark); box-shadow: inset 0 0 0 1px rgba(70, 130, 180, .25); }
.eldt-card .ico svg { width: 26px; height: 26px; fill: none; stroke: var(--earth-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grid > .eldt-card:nth-child(even) .ico { background: linear-gradient(135deg, var(--sky), #cfe2f3); }
.grid > .eldt-card:nth-child(even) .ico svg { stroke: var(--river-dark); }
.eldt-card h3 { margin-top: 14px; color: var(--earth-700); }
/* steps as a timeline */
.pg-steps { gap: 26px 18px; margin-top: 40px; }
.pg-steps .step { border-radius: 20px; padding: 34px 18px 18px; box-shadow: 0 10px 26px rgba(37, 52, 39, .1); transition: transform .25s ease, box-shadow .25s ease; }
.pg-steps .step::before { width: 42px; height: 42px; top: -21px; font-size: 1.05rem; display: grid; place-items: center; line-height: 1;
  background: linear-gradient(135deg, var(--green-dark), var(--sun-dark)); box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(37, 52, 39, .3); }
.pg-steps .step:nth-child(even)::before { background: linear-gradient(135deg, var(--river-dark), var(--river)); }
.pg-steps .step:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(37, 52, 39, .16); }
.pg-steps .step h3 { color: var(--earth-700); }
/* what you need: a check mark in front of each item */
.pg-need tbody th[scope="row"] { position: relative; padding-left: 50px; font-family: var(--serif); font-weight: 600; color: var(--earth-700); white-space: normal; }
.pg-need tbody th[scope="row"]::before { content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253427' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pg-need { margin-top: 18px; }
.pg-h3 { margin: 30px 0 12px; color: var(--earth-700); }
.pg-drug { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pg-drug > div { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(88, 128, 92, .16); box-shadow: 0 8px 22px rgba(37, 52, 39, .08); border-top: 5px solid var(--sun-dark); transition: transform .25s ease; }
.pg-drug > div:nth-child(even) { border-top-color: var(--river); }
.pg-drug > div:hover { transform: translateY(-4px); }
.pg-drug b { display: block; font-family: var(--serif); color: var(--earth-700); margin-bottom: 4px; }
.pg-drug span { color: var(--muted); font-size: .93rem; }
.pg-warn { margin-top: 24px; padding: 18px 22px; border-radius: 18px; border-left-width: 6px; background: #fff7e8; border-color: #e0a526; box-shadow: 0 8px 22px rgba(37, 52, 39, .08); }
.pg-biz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; }
.pg-biz h2 { margin: 10px 0 4px; }
.pg-biz p { margin: 0; }
.pg-biz .btn { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: .9em 1.5em; }
.pg-biz .btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* "Stop truck" button on the header and footer roads (2026-10-20, Terry: the moving truck may distract some people).
   Stopped = trucks park at the left and the lane lines stand still; site.js remembers it on the device (localStorage rrvTruckStill)
   and a line in <head> applies it before the page draws. */
html.rrv-still .hdr-road::before, html.rrv-still .hdr-truck, html.rrv-still .foot-road::before, html.rrv-still .foot-truck { animation: none !important; }
html.rrv-still .hdr-truck, html.rrv-still .foot-truck { left: 24px; transform: none; }
.hdr-road, .foot-road { position: relative; }
.rrv-truck-btn { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px 3px 9px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(27, 27, 27, .72); color: #fff;
  font: 700 .74rem/1.4 var(--sans); letter-spacing: .02em; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.rrv-truck-btn:hover { background: var(--sun-dark); border-color: var(--sun); }
.rrv-truck-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.rrv-truck-btn svg { width: 12px; height: 12px; fill: currentColor; flex: none; }
@media (max-width: 420px) { .rrv-truck-btn { padding: 3px 9px 3px 8px; font-size: .7rem; } }
@media print { .rrv-truck-btn { display: none; } }
/* keep the footer's truck button clear of the side quick-action rail while the rail is on screen */
@media (min-width: 1101px) and (min-height: 601px) { .foot-road .rrv-truck-btn { right: 92px; } }

/* Realistic truck on the header and footer roads (2026-10-20, Terry: "as realistic as possible", replaces the drawn trucks).
   It is Red River's own truck + gooseneck flatbed, facing left, so it drives right to left; the lane lines move the other way. */
.hdr-truck img, .foot-truck img { display: block; width: 100%; height: auto; }
.hdr-truck { left: 0; width: 196px; bottom: 1px; animation: rig-drive 26s linear -9s infinite; }
.foot-truck { left: 0; width: 270px; bottom: 1px; animation: rig-drive 32s linear infinite; }
@keyframes rig-drive { from { transform: translateX(100vw); } to { transform: translateX(-110%); } }
@keyframes rig-lines-hdr { from { background-position: 0 0; } to { background-position: 44px 0; } }
@keyframes rig-lines-foot { from { background-position: 0 0; } to { background-position: 68px 0; } }
.hdr-road::before { animation-name: rig-lines-hdr; }
.foot-road::before { animation-name: rig-lines-foot; }
@media (max-width: 700px) { .hdr-truck { width: 142px; } .foot-truck { width: 200px; } }
@media (prefers-reduced-motion: reduce) { .hdr-road::before, .hdr-truck, .foot-road::before, .foot-truck { animation: none; } .hdr-truck, .foot-truck { left: 24px; } }
html.rrv-still .hdr-road::before, html.rrv-still .hdr-truck, html.rrv-still .foot-road::before, html.rrv-still .foot-truck { animation: none !important; }
html.rrv-still .hdr-truck, html.rrv-still .foot-truck { left: 24px; transform: none; }


/* ---- Apply form layout (2026-10-21, Terry: "elements are crowded ... make it look more professional") ----
   A 12-column grid with fields grouped the way people read an address; labels never wrap under their inputs;
   payment is two choice cards and the employer section opens only when the employer is paying. */
.enroll-form { padding: 38px 40px 32px !important; }
.ap-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.ap-intro > span { white-space: nowrap; font-size: .85rem; }
.enroll-form .ap-h { margin: 34px 0 18px; }
.enroll-form .ap-h:first-of-type { margin-top: 14px; }
.ap-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px 18px; }
.ap-grid > .c12 { grid-column: span 12; } .ap-grid > .c8 { grid-column: span 8; } .ap-grid > .c6 { grid-column: span 6; }
.ap-grid > .c4 { grid-column: span 4; } .ap-grid > .c3 { grid-column: span 3; }
.ap-grid > div { min-width: 0; display: flex; flex-direction: column; }
.enroll-form label.f, .enroll-form legend.f { font-size: .9rem; line-height: 1.3; margin-bottom: 7px; }
.enroll-form input, .enroll-form select { height: 50px; width: 100%; }
.enroll-form textarea { width: 100%; min-height: 110px; resize: vertical; }
.ap-hint { margin-top: 6px; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.ap-opt { font-family: var(--sans); font-weight: 400; color: var(--muted); }
.pay-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pay-choice legend { grid-column: 1 / -1; padding: 0; float: left; width: 100%; }
.pay-opt { position: relative; display: block; cursor: pointer; }
.pay-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pay-card { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; height: 100%; padding: 16px 18px; border-radius: 16px;
  border: 2px solid rgba(88, 128, 92, .22); background: #fff; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.pay-card i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(88, 128, 92, .45); background: #fff; transition: all .2s ease; }
.pay-card b { font-family: var(--serif); color: var(--earth-700); }
.pay-card small { color: var(--muted); font-size: .82rem; }
.pay-opt:hover .pay-card { border-color: var(--sun-dark); transform: translateY(-1px); }
.pay-opt input:checked + .pay-card { border-color: var(--sun-dark); background: var(--gold-soft); box-shadow: 0 8px 20px rgba(37, 52, 39, .1); }
.pay-opt input:checked + .pay-card i { border-color: var(--sun-dark); background: radial-gradient(circle, var(--sun-dark) 0 5px, #fff 6px); }
.pay-opt input:focus-visible + .pay-card { box-shadow: 0 0 0 4px rgba(180, 234, 185, .6); }
#a-biz-box { margin-top: 18px; padding: 22px 22px 24px; border-radius: 18px; background: var(--cream); border: 1px solid rgba(88, 128, 92, .2); animation: ap-open .3s ease both; }
#a-biz-box[hidden] { display: none; }
.ap-sub { margin: 0 0 16px; font-size: 1.05rem; color: var(--earth-700); }
@keyframes ap-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ap-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.ap-submit .note { display: flex; align-items: center; gap: 8px; margin: 0; max-width: 420px; font-size: .88rem; }
.ap-submit .note svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--sun-dark); stroke-width: 2; stroke-linejoin: round; }
.enroll-form .ap-submit .btn-send { margin-top: 0; }
@media (max-width: 700px) {
  .enroll-form { padding: 26px 18px 22px !important; }
  .ap-grid { gap: 16px; }
  .ap-grid > [class^="c"] { grid-column: span 12; }
  .ap-grid > .c3 { grid-column: span 6; }
  .pay-choice { grid-template-columns: 1fr; }
  .ap-submit { flex-direction: column-reverse; align-items: stretch; }
  .ap-submit .btn-send { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #a-biz-box { animation: none; } .pay-card { transition: none; } }
@media (max-width: 700px) { .ap-grid > .c4 { grid-column: span 12; } }
.ap-sub { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px dashed rgba(88, 128, 92, .3); }
