/* InoVA Local content refresh (Stephany's requests, 2026-11-13). Additions only: the ported
   Webflow CSS stays as it was. Colors and type come from the site's own tokens. */

/* ---------- Navigation dropdowns (desktop) ---------- */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer; }
.nav-dd-chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-dd.is-open .nav-dd-chev { transform: translateY(1px) rotate(-135deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + 10px); left: -14px; z-index: 50; min-width: 250px;
  display: flex; flex-direction: column; padding: 8px; border-radius: 12px; background: #fff;
  box-shadow: 0 14px 40px -12px rgba(16, 52, 38, .28), 0 0 0 1px rgba(16, 52, 38, .06);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd-panel, .nav-dd:focus-within .nav-dd-panel, .nav-dd.is-open .nav-dd-panel { opacity: 1; visibility: visible; transform: none; }
.nav-dd.is-closed .nav-dd-panel { opacity: 0; visibility: hidden; }
.nav-dd-link { display: block; padding: 10px 12px; border-radius: 8px; color: var(--primary-color-500, #25573f); text-decoration: none; font-size: 15px; line-height: 1.3; white-space: nowrap; }
.nav-dd-link:hover, .nav-dd-link:focus-visible { background: #eef4f0; outline: none; }
.nav-dd-toggle:focus-visible, .nav-dd-link:focus-visible { outline: 2px solid var(--primary-color-500, #25573f); outline-offset: 2px; }

/* ---------- Mobile menu groups ---------- */
.nav-m-group { margin: 14px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #6b7a72; }
.footer-text-link.nav-m-sub { padding-left: 12px; }
.footer-text-link.nav-m-cta { margin-top: 12px; font-weight: 600; }
.nav-dd-panel { text-align: left; align-items: stretch; }
.nav-dd-link { text-align: left; }
.nav-m-group { align-self: stretch; text-align: left; padding: 0; }
.footer-text-link.nav-m-sub, .nav-m-group + .footer-text-link { align-self: stretch; text-align: left; }

/* ---------- Footer columns ---------- */
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; }
.ft-col .footer-nav-title.v2 { margin-bottom: 14px; }
.ft-links { display: flex; flex-direction: column; gap: 10px; }
.ft-links .footer-text-link.v1 { font-size: 17px; line-height: 1.35; margin: 0; }
@media (max-width: 991px) { .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .ft-cols { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
@media (max-width: 767px) { .ft-col { text-align: center; } .ft-links { align-items: center; } }

/* ---------- New sections: shared ---------- */
.rf-sec { background: var(--white, #fff); }
.rf-head { max-width: 760px; margin: 0 0 32px; }
.rf-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rf-head .section-text { margin-top: 14px; color: var(--primary-black-400, #25573f); }
.rf-actions { display: flex; justify-content: center; margin-top: 32px; }
.rf-note { max-width: 760px; margin: 28px auto 0; padding: 16px 20px; border-radius: var(--border-radias, 8px); background: var(--primary-color-50, #f1f8f4); color: var(--primary-black-500, #1f4633); text-align: center; font-size: 16px; line-height: 1.55; }
.refresh-intro { margin-top: 14px; max-width: 640px; color: var(--primary-black-400, #25573f); }

/* ---------- FAQ accordion ---------- */
.rf-faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.rf-faq-item { border: 1px solid var(--primary-color-100, #ddeee2); border-radius: 12px; background: var(--primary-black-50, #f5f8f6); }
.rf-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--primary-black-500, #1f4633); }
.rf-faq-item summary::-webkit-details-marker { display: none; }
.rf-faq-item summary:focus-visible, .rf-compare summary:focus-visible { outline: 2px solid var(--primary-color-500, #25573f); outline-offset: 2px; border-radius: 12px; }
.rf-faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.rf-faq-icon::before, .rf-faq-icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease; }
.rf-faq-icon::after { transform: rotate(90deg); }
details[open] > summary .rf-faq-icon::after { transform: rotate(0deg); }
.rf-faq-a { padding: 0 20px 18px; }
.rf-faq-a p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--primary-black-400, #25573f); }

/* ---------- Homepage service cards ---------- */
.rf-offer-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rf-card { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 14px; background: var(--white, #fff); border: 1px solid var(--primary-color-100, #ddeee2); box-shadow: 0 10px 30px -18px rgba(31, 70, 51, .35); }
.rf-card-top { display: flex; flex-direction: column; gap: 4px; }
.rf-card-name { margin: 0; font-size: 24px; line-height: 1.2; color: var(--primary-black-500, #1f4633); }
.rf-card-badge { margin: 0; font-size: 14px; font-weight: 600; color: var(--primary-color-400, #408962); }
.rf-card-list { margin: 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rf-card-row dt { font-size: 13px; font-weight: 600; color: #6b7a72; margin-bottom: 2px; }
.rf-card-row dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--primary-black-500, #1f4633); }
.rf-card-cta .banner-btn { width: 100%; }
.rf-compare { margin-top: 22px; border-radius: 12px; border: 1px solid var(--primary-color-100, #ddeee2); background: var(--white, #fff); }
.rf-compare > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--primary-black-500, #1f4633); }
.rf-compare > summary::-webkit-details-marker { display: none; }
.rf-compare[open] > summary { border-bottom: 1px solid var(--primary-color-100, #ddeee2); }
.rf-compare .offer-scroll { margin: 0; padding: 12px; }
@media (max-width: 991px) { .rf-offer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rf-offer-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Get Started ---------- */
.rf-cal-sub { margin: 0 0 16px; text-align: center; font-size: 24px; line-height: 1.3; color: var(--primary-black-500, #1f4633); }
.rf-cal-note { margin: 18px auto 0; max-width: 640px; text-align: center; font-size: 17px; color: var(--primary-black-400, #25573f); }

/* ---------- Careers: support team ---------- */
.rf-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rf-person { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 22px; border-radius: 14px; background: var(--primary-black-50, #f5f8f6); }
.rf-person-img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; background: var(--primary-color-100, #ddeee2); }
.rf-person-name { margin: 0; font-size: 22px; line-height: 1.25; color: var(--primary-black-500, #1f4633); }
.rf-person-role { margin: 4px 0 12px; font-size: 14px; font-weight: 600; color: var(--primary-color-400, #408962); }
.rf-person-bio { margin: 0; font-size: 15px; line-height: 1.6; color: var(--primary-black-400, #25573f); }
@media (max-width: 900px) { .rf-team { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }

/* ---------- Careers: VA spotlights ---------- */
.rf-spots-sec { background: var(--primary-color-50, #f1f8f4); }
.rf-spots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.rf-spot { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 18px; padding: 24px; border-radius: 14px; background: var(--white, #fff); }
.rf-spot-img { grid-row: 1 / 3; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.rf-spot-name { grid-column: 2; grid-row: 1; font-size: 20px; font-weight: 600; color: var(--primary-black-500, #1f4633); }
.rf-spot-quote { grid-column: 2; grid-row: 2; margin: 0; padding: 0; border: 0; }
.rf-spot-quote p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--primary-black-400, #25573f); }
@media (max-width: 800px) { .rf-spots { grid-template-columns: minmax(0, 1fr); } .rf-spot { grid-template-columns: 72px minmax(0, 1fr); } .rf-spot-img { width: 72px; height: 72px; grid-row: 1; } .rf-spot-quote { grid-column: 1 / -1; } }

/* ---------- Careers: hiring timeline ---------- */
.rf-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: flex; flex-direction: column; }
.rf-step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.rf-step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 4px; width: 2px; background: var(--primary-color-200, #bdddc7); }
.rf-step-n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-color-500, #25573f); color: #fff; font-weight: 700; font-size: 18px; }
.rf-step-title { margin: 10px 0 6px; font-size: 20px; line-height: 1.3; color: var(--primary-black-500, #1f4633); }
.rf-step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--primary-black-400, #25573f); }
.rf-card-cta .primary-button-text { white-space: nowrap; }
.rf-card-cta .banner-btn { padding-left: 18px; padding-right: 10px; }

/* ---------- Homepage testimonials: three featured ---------- */
.rf-testi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; margin-top: 28px; }
.rf-testi-card { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 14px; background: var(--primary-black-50, #f5f8f6); border: 1px solid var(--primary-color-100, #ddeee2); }
.rf-testi-video .client-testimonial-video { width: 100%; aspect-ratio: 9 / 16; max-height: 420px; object-fit: cover; border-radius: 10px; background: #000; }
.rf-testi-quote { margin: 0; padding: 0; border: 0; flex: 1; }
.rf-testi-quote p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--primary-black-500, #1f4633); }
.rf-testi-who { font-size: 15px; font-weight: 600; color: var(--primary-color-400, #408962); }
.rf-testi-link, .rf-more-link { font-weight: 600; color: var(--primary-color-500, #25573f); text-decoration: underline; text-underline-offset: 3px; }
.rf-more-link { font-size: 17px; }
@media (max-width: 991px) { .rf-testi { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; } }
.rf-testi-who { text-align: left; }

/* ---------- Horizontal-scroll fixes (Stephany's mobile/tablet request) ----------
   All five existed on the live site before this refresh. */
.home-slider, .marquee-v2-wrapper, .section.home-slider { overflow-x: clip; }                       /* logo marquee ran past the edge at 1024px */
.service-img { max-width: 100%; height: auto; }           /* Services image, 768px */
.bullet-wrap, .bullet-item, .faq-v1-tabs-item-wrap, .faq-v1-question-wrap { min-width: 0; max-width: 100%; }
.faq-v1-question-2, .faq-v1-answer-2 { overflow-wrap: anywhere; }
.submit-button-3 { max-width: 100%; white-space: normal; } /* Blog newsletter button */
body { overflow-x: visible; }                               /* Privacy/Terms have no .page-wrapper */
.form-2 { display: flex; flex-wrap: wrap; gap: 10px; max-width: 100%; }
.form-2 > div { flex: 1 1 200px; min-width: 0; }
.form-2 .text-field-2 { width: 100%; max-width: 100%; }
div:has(> .ft-cols) { min-width: 0; }
.ft-cols { min-width: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
@media (min-width: 992px) { .footer-wrapper.v1 { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); } }
.section, .w-background-video { overflow-x: clip; }      /* decorative hero image (Services) and background video (Why InoVA) */
