/* ==========================================================================
   Lendvue — Design System
   Brand: navy #1F3A56 / #366796, accent #ED4224, font Poppins
   ========================================================================== */

:root {
  --color-primary: #ED4224;       /* CTA red-orange */
  --color-primary-dark: #D6371B;
  --color-navy: #1F3A56;          /* deep navy for header/footer */
  --color-navy-light: #366796;    /* heading blue */
  --color-accent-blue: #008AFC;   /* icons, step numbers, footer headings */
  --color-ink: #17242F;
  --color-body: #3C4650;
  --color-muted: #6B7684;
  --color-border: #E4E8EC;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FAFAFA;        /* UIkit uk-section-muted, measured on live */
  --color-white: #FFFFFF;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(23, 36, 47, 0.08);
  --shadow-md: 0 8px 24px rgba(23, 36, 47, 0.10);
  --shadow-lg: 0 20px 48px rgba(23, 36, 47, 0.16);
  --container-w: 1280px;          /* UIkit container: 1200 content + 2x40 padding */
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: #000;
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; color: var(--color-navy-light); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4.5vw, 3.25rem); line-height: 1.2; color: var(--color-white); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; }
h3 { font-size: 24px; line-height: 1.4; color: #333; }
h4 { font-size: 20px; line-height: 1.4; color: #333; }
p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
/* UIkit container: 15px gutters on phones, 30px tablets, 40px desktop */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 15px; }
@media (min-width: 640px) { .container { padding: 0 30px; } }
@media (min-width: 960px) { .container { padding: 0 40px; } }
.container-xl { max-width: 1480px; }
section { padding: 40px 0; }
@media (min-width: 960px) { section { padding: 70px 0; } }
.section-alt { background: var(--color-bg-alt); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.lede { color: #000; font-size: 16px; max-width: 640px; }
.section-head { margin-bottom: 20px; }
.section-head.text-center .lede { margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary);
  color: #fff; padding: 12px 20px; z-index: 10000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 40px;
  line-height: 53px;               /* 55px tall incl. 1px border — measured on live */
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  transition: color 0.1s ease-in-out, background-color 0.1s ease-in-out;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: #E53213; color: #fff; }
.btn-outline { background: transparent; border-color: currentColor; color: var(--color-navy); }
.btn-outline:hover { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--color-navy); }
.btn-lg { }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 500;
  background: var(--color-white);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 24px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { width: 159px; height: 35px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav ul a { display: flex; align-items: center; height: 60px; font-weight: 500; color: #303030; font-size: 14px; line-height: 21px; letter-spacing: normal; text-transform: uppercase; transition: color 0.1s ease-in-out; }
.main-nav ul a:hover { color: #666; }
.main-nav ul a[aria-current="page"] { color: #333; }
.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-cta .btn { line-height: 38px; padding: 0 30px; font-size: 14px; }
.header-phone { display: flex; flex-direction: column; font-weight: 600; color: var(--color-navy); font-size: 0.9rem; text-align: right; }
.header-phone span { font-weight: 400; color: var(--color-muted); font-size: 0.75rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; color: var(--color-navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--color-white);
    flex-direction: column; align-items: flex-start; padding: 100px 28px 28px; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.25s ease; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav ul li { width: 100%; }
  .main-nav ul a { display: block; height: auto; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .main-nav .header-cta { flex-direction: column; align-items: flex-start; margin-top: 24px; width: 100%; }
  .main-nav .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .nav-scrim { display: none; position: fixed; inset: 0; background: rgba(15, 23, 31, 0.5); z-index: 400; }
  .nav-scrim.is-open { display: block; }
}

/* ---------- Hero (live: uk-section 140px padding, photo with no overlay) ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy) 0%, #14202D 100%);
  color: #fff;
  padding: 140px 0;
  overflow: hidden;
}
@media (max-width: 959px) { .hero { padding: 80px 0; } }
.hero.has-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero.has-image.hero-top { background-position: center top; }  /* live: uk-background-top-center (home, landing, thank-you) */
.hero.hero-blue { background: linear-gradient(90deg, #1B4B80 0%, #2E8FE0 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 580px; }            /* homepage: half of the 1200 grid */
.hero-inner.hero-inner-wide { max-width: 704px; }  /* inner pages: 3/5 of the grid */
.hero h1 { margin-bottom: 20px; }
.hero p.lede { color: #fff; font-size: 24px; line-height: 36px; max-width: none; margin: 0; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; }
.trust-strip li { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 600; }
.trust-strip svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }
.hero-badges { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.16); opacity: 0.85; }
.hero-badges img { height: 28px; width: auto; object-fit: contain; }

.hero-small { padding: 64px 0; }
.hero-small h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }

/* ---------- Post-hero trust bar (live: 5 equal columns, 68px badges, 20px padding) ---------- */
.trust-bar { background: linear-gradient(90deg, #2176C2 0%, #0489F5 74%); padding: 20px 0; }
.trust-bar .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; justify-items: center; align-items: center; }
.trust-bar img { height: 68px; width: auto; }
@media (max-width: 640px) { .trust-bar .container { grid-template-columns: repeat(3, 1fr); gap: 16px; } .trust-bar img { height: 48px; } }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 959px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(237, 66, 36, 0.1); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

.service-card { text-align: left; }
.service-card .btn { margin-top: 12px; }
.service-card-photo { padding: 0 0 28px; overflow: hidden; }
.service-card-photo img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 20px; }
.service-card-photo h3, .service-card-photo p, .service-card-photo .btn { margin-left: 28px; margin-right: 28px; }
.card-icon img { max-width: 26px; max-height: 28px; }

/* ---------- Hover tile (homepage "Our Services", "Industries Served")
   Live (UIkit uk-transition-toggle): at rest = photo scaled 1.03 + white title;
   on hover/focus the photo scales to 1, a rgba(54,103,150,.8) scrim fades in and the
   description slides up from +50px. ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.tile-grid.tile-grid-tight { gap: 15px; }
@media (max-width: 959px) { .tile-grid, .tile-grid.tile-grid-tight { grid-template-columns: repeat(2, 1fr); gap: 15px; } }
@media (max-width: 560px) { .tile-grid, .tile-grid.tile-grid-tight { grid-template-columns: 1fr; } }
.hover-tile { position: relative; display: block; overflow: hidden; color: #fff; aspect-ratio: 1 / 1; }
.hover-tile.tile-industry { aspect-ratio: 390 / 334; }
.hover-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0;
  transform: scale(1.03); transition: transform 0.3s ease-out; }
.hover-tile::after { content: ""; position: absolute; inset: 0; background: rgba(54, 103, 150, 0.8);
  opacity: 0; transition: opacity 0.3s linear; }
.tile-body { position: absolute; left: 0; right: 0; top: var(--title-top, 145px); z-index: 2; text-align: center;
  padding: 0 25px; transition: transform 0.3s ease-out; }
.tile-industry .tile-body { --title-top: 73px; padding: 0; }
.tile-body h2, .tile-body h3 { color: #fff; font-size: 24px; line-height: 33.6px; font-weight: 700; margin: 0; padding: 0 30px; }
.tile-text { margin: 29px 0 0; color: #fff; font-size: 16px; line-height: 24px;
  opacity: 0; transform: translateY(50px); transition: opacity 0.3s ease-out, transform 0.3s ease-out; }
.tile-industry .tile-text { margin-top: 33px; }
.tile-text strong { color: #fff; }
.hover-tile:hover img, .hover-tile:focus-within img, .hover-tile:focus img { transform: scale(1); }
.hover-tile:hover::after, .hover-tile:focus-within::after, .hover-tile:focus::after { opacity: 1; }
/* measured on live: title rises 25px (services) / 34px (industries) as the text slides in */
.hover-tile:hover .tile-body, .hover-tile:focus-within .tile-body, .hover-tile:focus .tile-body { transform: translateY(-25px); }
.tile-industry:hover .tile-body, .tile-industry:focus-within .tile-body, .tile-industry:focus .tile-body { transform: translateY(-34px); }
.hover-tile:hover .tile-text, .hover-tile:focus-within .tile-text, .hover-tile:focus .tile-text { opacity: 1; transform: none; }
/* Touch screens can't hover: show the scrim + description permanently */
@media (hover: none) {
  .hover-tile img { transform: none; }
  .hover-tile::after { opacity: 1; }
  .tile-text { opacity: 1; transform: none; }
  .tile-body, .hover-tile:hover .tile-body, .tile-industry:hover .tile-body { top: 50%; transform: translateY(-50%); }
}

/* ---------- Stats / Feature strip ---------- */
.feature-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.feature-row .card-icon { flex-shrink: 0; margin-bottom: 0; }
.feature-row h3 { margin-bottom: 6px; }
.feature-row p { margin-bottom: 0; color: var(--color-muted); }

/* ---------- Icon-top-centered feature (Reasons to Choose, icon rows) ---------- */
.feature-top { text-align: center; }
.feature-top .card-icon {
  width: 50px; height: 50px; margin: 0 auto 20px; background: transparent; color: var(--color-accent-blue);
}
.feature-top .card-icon img { max-width: 50px; max-height: 50px; margin: 0 auto; }
.feature-top .card-icon svg { width: 50px; height: 50px; color: var(--color-accent-blue); }
.feature-top h3 {
  font-size: 20px; line-height: 28px; text-transform: uppercase; letter-spacing: normal; color: var(--color-navy-light);
  padding-bottom: 7px; margin: 0 auto 20px; border-bottom: 1px solid #E5E5E5;
  max-width: none; width: 100%;
}
.feature-top p { color: #000; margin-bottom: 0; font-size: 16px; line-height: 24px; }
.section-head + .grid, .section-head + .tile-grid { margin-top: 0; }
.section-head.head-gap-70 { margin-bottom: 70px; }
.section-head.head-gap-40 { margin-bottom: 40px; }

/* ---------- Steps ---------- */
.step { position: relative; margin-top: 40px; }
.step h3 { color: var(--color-accent-blue); font-size: 24px; line-height: 33.6px; font-weight: 700; margin: 0 0 20px; }
.step p { color: #000; font-size: 16px; line-height: 24px; margin-bottom: 0; }

/* ---------- Steps card (live: #E9F5FF box 1240px wide, sticking out 40px to the left
   of the grid, cutout photo as a right-aligned background at full box height) ---------- */
.steps-card {
  background: #E9F5FF url('/assets/images/steps-photo-v2.webp') no-repeat right center / auto 100%;
  margin-left: -40px; padding: 70px 40px 70px 80px;
}
.steps-card h2 { margin-bottom: 0; }
.steps-card .step-narrow p { max-width: 600px; }
.steps-card .btn { margin-top: 20px; }
@media (max-width: 959px) {
  .steps-card { margin-left: 0; padding: 40px 30px 300px; background-position: right bottom; background-size: auto 280px; }
}

/* ---------- Eligibility table ---------- */
.eligibility {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 640px) { .eligibility { grid-template-columns: 1fr; } }
.eligibility li {
  display: flex; align-items: center; gap: 12px; background: var(--color-white);
  border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px 20px; font-weight: 600; color: var(--color-navy);
}
.eligibility svg { width: 22px; height: 22px; color: var(--color-primary); flex-shrink: 0; }

/* ---------- Testimonials (live: 1/3 rating column with 150px panel + 2/3 nested 3-col grid) ---------- */
.testimonial-head { text-align: center; margin-bottom: 69px; }
.testimonial-head h2 { color: var(--color-navy-light); margin-bottom: 0; }
.testimonial-grid { display: grid; grid-template-columns: calc((100% + 40px) / 3 - 40px) 1fr; gap: 40px; align-items: start; }
.testimonial-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 959px) { .testimonial-grid { grid-template-columns: 1fr; } .rating-summary { margin: 0 auto; } }
@media (max-width: 640px) { .testimonial-cards { grid-template-columns: 1fr; } }
.rating-summary { width: 150px; text-align: center; }
.rating-summary .rating-word { font-size: 24px; line-height: 36px; font-weight: 400; color: #333; margin: 0; }
.rating-summary .stars-row img { width: 150px; height: 22px; margin: 0 auto; }
.rating-summary img.google-logo { width: 99px; height: 40px; margin: 20px auto 0; }
.testimonial-card { background: transparent; border-radius: 0; padding: 4px 0 0; }
.testimonial-card .stars-row img { width: 125px; height: 18px; }
.testimonial-card p { font-style: normal; color: #000; font-size: 16px; line-height: 24px; margin: 22px 0 0; }
.testimonial-card p strong { color: #000; }
.testimonial-card .testimonial-name { font-weight: 400; color: #999; margin: 20px 0 0; font-size: 14px; line-height: 19.6px; }

/* ---------- Industries / accordion ---------- */
.industry-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .industry-list { grid-template-columns: 1fr; } }
.industry-card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px 28px; background: #fff; }
.industry-card h3 { margin-bottom: 8px; }
.industry-card p { margin-bottom: 0; color: var(--color-muted); font-size: 0.95rem; }
.industry-card p strong { color: var(--color-ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy) 0%, #14202D 100%);
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  padding: 56px 32px; margin: 0 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); }
.cta-band .btn-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Contact / CTA strip (full-width blue bar) ---------- */
.contact-strip { background: linear-gradient(90deg, #366797 0%, #0388F7 74%); padding: 40px 0; text-align: left; }
.contact-strip .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.contact-strip .contact-strip-text { display: flex; align-items: flex-start; gap: 40px; }
.contact-strip .contact-strip-icon {
  flex-shrink: 0; width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.contact-strip .contact-strip-icon svg { width: 80px; height: 80px; color: #fff; }
.contact-strip h3 { color: #fff; margin-bottom: 20px; font-size: 24px; line-height: 33.6px; font-weight: 700; }
.contact-strip h3 a { color: inherit; text-decoration: none; }
.contact-strip p { color: #fff; margin-bottom: 0; font-size: 16px; }

/* ---------- Footer (measured on live: 70px section, 3 equal cols, 40px gutter) ---------- */
.site-footer { background: #fff; color: #000; padding: 0; }
.site-footer > .container { padding-top: 70px; padding-bottom: 70px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 959px) { .site-footer > .container { padding-top: 40px; padding-bottom: 40px; } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand img { width: 159px; height: 35px; margin: 0; }
.footer-brand p { font-size: 14px; line-height: 21px; color: #000; margin: 20px 0 0; }
.site-footer h4 { color: var(--color-accent-blue); font-size: 20px; line-height: 28px; font-weight: 700; margin-bottom: 20px; }
.site-footer ul li { margin: 0; font-size: 14px; line-height: 21px; }
.site-footer a { font-size: 14px; color: #000; }
.site-footer a:hover { color: #666; }
.footer-contact p { font-size: 14px; line-height: 21px; color: #000; margin: 0; }

.footer-bottom-bar { background: var(--color-bg-alt); padding: 20px 0; }
.footer-bottom-bar .container { max-width: 1480px; }
.footer-bottom {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: start;
  font-size: 13px; line-height: 19.5px; color: #999;
}
.footer-bottom-item { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-bottom-item:last-child { justify-content: flex-end; }
.footer-bottom-item svg { width: 20px; height: 20px; flex-shrink: 0; color: #999; }
.footer-center { text-align: center; }
.footer-center p { margin: 0 0 20px; }
.footer-center p:last-child { margin: 0; }
.footer-legal a { color: #1E87F0; font-size: 13px; }
.footer-legal a:hover { color: #0F6ECD; text-decoration: underline; }
@media (max-width: 760px) {
  .footer-bottom { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .footer-bottom-item, .footer-bottom-item:last-child { justify-content: center; }
}
.footer-disclosure { font-size: 0.78rem; color: var(--color-muted); margin-top: 18px; line-height: 1.6; }

/* ---------- Modal / forms ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 31, 0.6); z-index: 1000;
  display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 36px; position: relative; box-shadow: var(--shadow-lg);
  animation: modal-in 0.2s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.modal-close {
  position: absolute; top: 18px; right: 18px; background: var(--color-bg-alt); border: 0; border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--color-navy);
}
.modal-box h2 { color: var(--color-navy); font-size: 1.5rem; margin-bottom: 6px; }
.modal-sub { color: var(--color-muted); margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--color-navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.96rem; color: var(--color-ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(237,66,36,0.12);
}
.field-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--color-muted); }
.field-check input { width: auto; }
.form-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.form-note { font-size: 0.78rem; color: var(--color-muted); text-align: center; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: #E7F6EC; color: #1E7A3B; }
.form-status.error { background: #FDECEC; color: #B3261E; }

.step-indicator { display: flex; gap: 6px; margin-bottom: 22px; }
.step-indicator span { flex: 1; height: 4px; border-radius: 2px; background: var(--color-border); }
.step-indicator span.is-active { background: var(--color-primary); }
.form-step { display: none; }
.form-step.is-active { display: block; }

/* ---------- Inline apply form (vendor partners page) ---------- */
.inline-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; }

/* ---------- Page content generic ---------- */
.prose h2 { color: var(--color-navy); margin-top: 40px; }
.prose h3 { margin-top: 24px; }
.prose p, .prose li { color: var(--color-body); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; }
.updated-badge { display: inline-block; background: var(--color-bg-alt); color: var(--color-muted); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; margin-bottom: 24px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .error-code { font-size: 6rem; font-weight: 800; color: var(--color-primary); margin-bottom: 0; }
.error-actions { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Utility spacing ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Floating call button (mobile) ---------- */
.floating-call {
  display: none; position: fixed; bottom: 18px; right: 18px; z-index: 600;
  background: var(--color-primary); color: #fff; width: 56px; height: 56px; border-radius: 50%;
  align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.floating-call svg { width: 26px; height: 26px; }
@media (max-width: 960px) { .floating-call { display: flex; } }
figure.testimonial-card, .testimonial-card blockquote { margin: 0; }
.testimonial-card figcaption { display: block; }
.section-head .lede { max-width: 750px; margin-left: auto; margin-right: auto; }
.section-head .lede.lede-wide { max-width: 900px; }
.footer-contact { padding-bottom: 20px; }   /* live has an empty <p> under the address */
.feature-top .card-icon svg.icon { width: 50px; height: 50px; display: block; color: var(--color-accent-blue); }
.rating-summary .stars-row { height: 36px; padding-top: 9px; }


/* ---------- Full-width blue heading band (live "Industries Served": uk-section-primary) ---------- */
.band-blue { background: linear-gradient(90deg, #366797 0%, #0388F7 74%); text-align: center; }
.band-blue h2 { color: #fff; margin: 0; }

/* ---------- Eligibility (live: 280px red circle + 450px list, 750px centered grid) ---------- */
.eligibility-wrap { display: grid; grid-template-columns: 300px 450px; justify-content: center; align-items: center; }
.eligibility-circle { width: 280px; height: 280px; border-radius: 50%; background: var(--color-primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eligibility-circle p { color: #fff; font-size: 48px; line-height: 62.4px; font-weight: 600; margin: 0; text-align: center; }
.eligibility-list { text-align: center; }
.eligibility-list h3 { font-size: 24px; line-height: 33.6px; color: #333; padding-bottom: 7.4px; border-bottom: 1px solid #E5E5E5; margin: 0 0 20px; }
.eligibility-list li { font-weight: 600; color: #000; font-size: 16px; line-height: 24px; }
.eligibility-list li + li { margin-top: 10px; padding-top: 10px; border-top: 1px solid #E5E5E5; }
.eligibility-note { font-size: 14px; line-height: 19.6px; color: #999; margin: 20px 0 0; }
@media (max-width: 959px) {
  .eligibility-wrap { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
  .eligibility-circle { width: 220px; height: 220px; }
  .eligibility-circle p { font-size: 38px; line-height: 48px; }
  .eligibility-list { max-width: 450px; width: 100%; }
}
.tile-grid.tile-grid-tight { margin-bottom: 20px; }
.testimonial-card .testimonial-name { min-height: 20px; }  /* live el-meta box renders 20px tall */

/* ---------- Centered tall hero (Vendor Partners: 210px padding, centered) ---------- */
.hero.hero-tall { padding: 210px 0; }
@media (max-width: 959px) { .hero.hero-tall { padding: 100px 0; } }
.hero.hero-center { text-align: center; }
.hero.hero-center .hero-actions { justify-content: center; }

/* ---------- Vendor application band (live: blue gradient with a white 185px strip
   at the bottom so the form card overlaps onto white) ---------- */
.vendor-apply { position: relative; padding: 40px 0; background: linear-gradient(to right, #366797 0%, #0388F7 100%); }
.vendor-apply::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 185px; background: #fff; z-index: 1; }
.vendor-apply .container { position: relative; z-index: 2; }
.vendor-apply-head { display: grid; grid-template-columns: 2fr 1fr; align-items: start; margin: 0 0 40px -40px; }
.vendor-apply-head > * { padding-left: 40px; }  /* UIkit grid gutter math: 2/3 column = 786.67px */
.vendor-apply-head h2 { color: #fff; margin: 0 0 20px; }
.vendor-apply-head p { color: #fff; margin: 0; }
.vendor-apply-head img { justify-self: center; margin-top: 13px; box-sizing: content-box; }
@media (max-width: 959px) { .vendor-apply-head { grid-template-columns: 1fr; gap: 16px; margin-left: 0; } .vendor-apply-head > * { padding-left: 0; } .vendor-apply-head img { justify-self: start; margin: 0; } }

/* ---------- Gravity-Forms-style card form (measured on live) ---------- */
.form-card { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
@media (max-width: 640px) { .form-card { padding: 24px 20px; } }
.form-card h3 { color: var(--color-navy-light); font-size: 24px; line-height: 33.6px; padding-bottom: 7.4px; border-bottom: 1px solid #E5E5E5; margin: 0 0 40px; }
.gf-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 24px; }
.gf-field { grid-column: span 2; }
.gf-field.gf-half { grid-column: span 3; }
@media (max-width: 760px) { .gf-grid { grid-template-columns: 1fr; gap: 16px; } .gf-field, .gf-field.gf-half { grid-column: auto; } }
.gf-field input, .gf-field select, .gf-field textarea {
  width: 100%; height: 39px; padding: 8px; border: 0; border-radius: 5px; background: #F5F5F5;
  font-family: inherit; font-size: 15px; color: #000; -moz-appearance: textfield;
}
.gf-field textarea { height: auto; min-height: 120px; }
.gf-field input::placeholder, .gf-field textarea::placeholder { color: #757575; opacity: 1; }
.gf-field input::-webkit-outer-spin-button, .gf-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gf-field input:focus, .gf-field select:focus, .gf-field textarea:focus { outline: 2px solid var(--color-accent-blue); outline-offset: 0; }
.gf-field .is-invalid { outline: 2px solid #C02B0A; }
.gf-footer { text-align: center; margin-top: 28px; padding-bottom: 16px; }
.gf-button { background: var(--color-primary); color: #fff; border: 0; border-radius: 5px; padding: 8px 30px; font-size: 13.3333px; line-height: 20px;
  font-weight: 600; text-transform: uppercase; font-family: inherit; transition: background-color 0.1s ease-in-out; }
.gf-button:hover { background: #E53213; }

/* ---------- Page title band (About / Contact / legal: gradient, 70px padding, centered H1) ---------- */
.page-title { background: linear-gradient(90deg, #2176C2 0%, #0489F5 74%); text-align: center; padding: 70px 0; }
@media (max-width: 959px) { .page-title { padding: 40px 0; } }
.page-title h1 { margin: 0; }

/* ---------- About (live: 1/3 contact column + 2/3 copy) ---------- */
.about-grid { display: grid; grid-template-columns: calc((100% + 40px) / 3 - 40px) 1fr; gap: 40px; }  /* UIkit 1-3 / 2-3 */
@media (max-width: 959px) { .about-grid { grid-template-columns: 1fr; } }
.contact-label { color: var(--color-accent-blue); font-size: 24px; line-height: 33.6px; font-weight: 700; margin: 0 0 10px; }
.about-contact p, .about-contact address { margin: 0 0 10px; font-style: normal; }
.about-contact address { margin-bottom: 0; }
.about-contact a:hover { color: var(--color-primary); }
.about-body .about-first { margin-top: 40px; }

/* ---------- Contact (live: 600+600 split card, #366796 form panel, cover photo; 1400x300 map) ---------- */
.contact-hero { padding: 40px 0; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; }
.contact-card-panel { background: var(--color-navy-light); color: #fff; padding: 50px 50px 74px; }
.contact-card-panel h1 { font-size: 42px; line-height: 50.4px; margin: 0 0 20px; }
.contact-card-panel p { color: #fff; margin: 0 0 20px; }
.contact-card-panel a { color: #fff; }
.contact-card-panel a:hover { text-decoration: underline; }
.contact-form { margin-top: 40px; }
.contact-form .gf-grid { grid-template-columns: 1fr 1fr; gap: 16px 13px; }
.contact-form .gf-field.gf-half { grid-column: span 1; }
.contact-form .gf-field.gf-full { grid-column: 1 / -1; }
.contact-form textarea { display: block; height: 96px; min-height: 0; resize: vertical; }
.gf-footer.gf-footer-left { text-align: left; margin-top: 29px; padding: 0; }
.contact-card-photo { background: url('/assets/images/contact-worker-phone.webp') center / cover no-repeat; min-height: 300px; }
.contact-card-panel .form-status.error { background: #fff; }
@media (max-width: 959px) {
  .contact-card { grid-template-columns: 1fr; }
  .contact-card-panel { padding: 30px 20px 40px; }
  .contact-card-panel h1 { font-size: 34px; line-height: 42px; }
}
@media (max-width: 560px) { .contact-form .gf-grid { grid-template-columns: 1fr; } }
.contact-map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* ---------- Apply Now (live: gradient band with 213px white strip, 1200 card holding two
   540x290 #366796 program panels, 80px white icons) ---------- */
.apply-band { position: relative; padding: 70px 0; background: linear-gradient(to right, #366797 0%, #0388F7 100%); }
.apply-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 213.6px; background: #fff; z-index: 1; }
@media (max-width: 959px) { .apply-band { padding: 40px 0; } }
.apply-band .container { position: relative; z-index: 2; }
.apply-head { display: grid; grid-template-columns: 3fr 2fr; margin: 0 0 40px -40px; }
.apply-head > * { padding-left: 40px; }
.apply-head h1 { font-size: 42px; line-height: 50.4px; margin: 0 0 20px; }
.apply-head .lede { color: #fff; font-size: 24px; line-height: 36px; margin: 0; max-width: none; }
.apply-badges { display: flex; gap: 15px; align-items: flex-start; padding-top: 41px; }
.apply-badges img:first-child { margin-left: 15px; }
.program-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.program { background: var(--color-navy-light); border-radius: 20px; padding: 40px; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: grid; grid-template-columns: 1fr 80px; gap: 40px; align-items: center; color: #fff; }
.program h2 { color: #fff; font-size: 24px; line-height: 33.6px; text-transform: uppercase; margin: 0 0 20px; }
.program p { color: #fff; margin: 0 0 20px; }
.program .icon { width: 80px; height: 80px; color: #fff; }
.btn.btn-sm { line-height: 38px; padding: 0 30px; }
@media (max-width: 959px) {
  .apply-head { grid-template-columns: 1fr; margin-left: 0; } .apply-head > * { padding-left: 0; }
  .apply-badges { padding-top: 20px; } .apply-badges img:first-child { margin-left: 0; }
  .apply-head h1 { font-size: 34px; line-height: 42px; }
  .program-card { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 480px) { .program { grid-template-columns: 1fr; padding: 28px 24px; } .program .icon { display: none; } }

/* ---------- Quote modals (live UIkit modal: 1200px, radius 20, 30px padding, 60% black overlay) ---------- */
.modal-overlay { background: rgba(0,0,0,0.6); align-items: flex-start; padding: 50px 20px; }
.modal-box { max-width: 1200px; border-radius: 20px; padding: 30px; max-height: none; overflow: visible; box-shadow: none; margin: auto 0; }
.modal-box h2 { color: var(--color-navy-light); font-size: 32px; line-height: 1.3; margin: 0 0 20px; padding-right: 40px; }
.modal-note { font-size: 15px; color: #000; margin: 0 0 20px; }
.modal-close { background: transparent; top: 10px; right: 10px; color: #999; }
.modal-close:hover { color: #666; }
.modal-close svg { width: 20px; height: 20px; }
.gf-grid.gf-grid-2 { grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.gf-grid-2 .gf-field.gf-half { grid-column: span 1; }
.gf-grid-2 .gf-field.gf-full { grid-column: 1 / -1; }
.gf-field select { height: 35px; padding: 0 8px; cursor: pointer; }
.gf-field.gf-labelled label { display: block; font-size: 15px; font-weight: 600; color: #000; margin: 0 0 8px; }
.gf-checks label { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 23px; color: #000; margin: 0 0 1px 7px; cursor: pointer; }
.gf-checks input { width: 13px; height: 13px; margin-top: 5px; flex-shrink: 0; }
.modal-box .gf-footer { margin-top: 20px; }
.gf-button-secondary { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #ccc; margin-right: 8px; }
.gf-button-secondary:hover { background: #f5f5f5; }
@media (max-width: 640px) { .gf-grid.gf-grid-2 { grid-template-columns: 1fr; } .gf-grid-2 .gf-field.gf-half { grid-column: auto; } .modal-box h2 { font-size: 26px; } .modal-overlay { padding: 20px 10px; } .modal-box { padding: 24px 18px; } }
.program-card { padding-bottom: 60px; }  /* live card has a trailing empty <p> (20px) */

/* ---------- Legal pages (live: 900px centered column, #333 42px H1, plain uppercase headings) ---------- */
.legal-body { max-width: 900px; margin: 0 auto; }
.legal-body h1 { color: #333; font-size: 42px; line-height: 50.4px; margin: 0 0 20px; }
.legal-updated { font-size: 14px; line-height: 19.6px; color: #999; margin: 0 0 20px; }
.legal-body p { margin: 0 0 20px; }
.legal-body .legal-h { font-size: 16px; line-height: 24px; font-weight: 400; color: #000; margin: 20px 0; }
.legal-body ul { list-style: disc; padding-left: 30px; margin: 20px 0; }
.legal-body strong { font-weight: 700; }
.legal-body a { color: #1E87F0; }
.legal-body a:hover { text-decoration: underline; }
@media (max-width: 640px) { .legal-body h1 { font-size: 32px; line-height: 40px; } }
.legal-body ul.spaced li + li { margin-top: 20px; }
.legal-body > :last-child { margin-bottom: 0; }

/* ---------- Landing pages (/get-equipment-financing/, -2, thank-you funnel) ---------- */
.landing-header .container { height: 80px; }
.landing-header .main-nav ul a { font-size: 16px; line-height: 24px; height: auto; color: #000; }
.landing-header .main-nav ul { gap: 20px; }
.landing-header .main-nav ul a:hover { color: #666; }
.landing-hero { padding: 140px 0; }
.landing-card { width: 580px; max-width: 100%; border-radius: 20px; padding: 20px; color: #fff;
  background: linear-gradient(90deg, #366797 0%, #0388F7 74%); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.landing-card h1 { font-size: 32px; line-height: 41.6px; margin: 0 0 20px; }
.landing-card .landing-sub { font-size: 19.2px; line-height: 28.8px; font-weight: 500; color: #fff; margin: 0 0 40px; }
.landing-card .gf-checks label { color: #fff; }
.landing-card .gf-labelled label { color: #fff; font-size: 16px; font-weight: 700; }
.landing-card .form-status.error { background: #fff; }
.landing-card .gf-footer { margin-top: 20px; }
.container.container-expand { max-width: none; }
.landing-card.landing-card-wide { width: calc((100% + 40px) * 2 / 3 - 40px); }
.landing-card-wide h1 { font-size: 38.4px; line-height: 49.92px; }
.landing-card-wide .landing-sub { border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 20px; margin-bottom: 20px; font-size: 16px; line-height: 24px; font-weight: 400; }
.thanks-hero { padding: 140px 0; }
.thanks-hero h1 { font-size: 38.4px; line-height: 49.92px; margin: 40px 0 68px; }
.steps-fade { background: linear-gradient(#fff 0%, #fff 65%, #FAFAFA 65%, #FAFAFA 100%); }
@media (max-width: 959px) {
  .landing-hero, .thanks-hero { padding: 60px 0; }
  .landing-card.landing-card-wide { width: 100%; }
  .landing-card h1, .landing-card-wide h1 { font-size: 28px; line-height: 36px; }
  .thanks-hero h1 { font-size: 30px; line-height: 40px; margin-bottom: 20px; }
  .landing-header .container { height: 60px; }
}
.landing-card .gf-grid.gf-grid-2 { column-gap: 10px; }
.landing-card .gf-footer { margin-top: 23px; padding-bottom: 24px; }
.landing-card-wide .gf-grid.gf-grid-2 { column-gap: 23px; }
.landing-card-wide .landing-sub { padding-bottom: 25px; }
.landing-card-wide .gf-footer { margin-top: 22px; padding-bottom: 24px; }
.landing-card-wide .gf-labelled label { min-height: 40px; }
