/* US Leasing & Financing Services — shared stylesheet */

:root {
  --brand: #0071bd;
  --brand-dark: #0a4266;
  --brand-eyebrow: #005f9f;
  --ink: #17384d;
  --ink-soft: rgba(23, 56, 77, 0.68);
  --bg: #f4f9fc;
  --bg-alt: #e8f3fa;
  --white: #ffffff;
  --border: rgba(0, 113, 189, 0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 12px 32px rgba(10, 66, 102, 0.08);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Libre Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brand-dark);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-eyebrow);
  margin-bottom: 0.9em;
}

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--white); }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 113, 189, 0.28);
}
.btn-primary:hover { background: #0064a6; }

.btn-secondary {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--brand); }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}
.logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--brand); border-color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-cta { display: flex; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-dark);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding: 76px 0 56px;
  background-image:
    linear-gradient(rgba(0, 113, 189, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 113, 189, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero-lead { font-size: 1.08rem; max-width: 46ch; }
.hero-fine {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--brand-eyebrow);
  font-weight: 500;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
}
.hero-card .eyebrow { margin-bottom: 6px; }
.hero-card .hero-card-title { font-family: var(--font-head); font-size: 1.9rem; color: var(--brand-dark); margin: 0 0 4px; }
.hero-card-sub { font-size: 0.85rem; margin-bottom: 20px; }
.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
  text-align: center;
}
.hero-stat-row div { font-family: var(--font-head); font-size: 1.15rem; color: var(--brand-dark); font-weight: 700; }
.hero-stat-row span { display: block; font-size: 0.72rem; color: var(--ink-soft); font-weight: 400; font-family: var(--font-body); margin-top: 2px; }
.hero-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 0.86rem;
}
.hero-card ul li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}
.hero-card ul li::before { content: "✓"; color: var(--brand); font-weight: 700; }

/* Lender strip */
.lender-strip { text-align: center; }
.lender-strip .eyebrow { display: block; margin-bottom: 24px; }
.lender-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-dark);
  opacity: 0.75;
}

/* Feature grid (Why USL&F) */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 0.92rem; }

/* Services grid */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  position: relative;
}
.service-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin: 0; font-size: 0.92rem; }
.services-cta { text-align: center; margin-top: 40px; }

/* Who we serve cards */
.serve-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.serve-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.serve-card ul {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  font-size: 0.9rem;
}
.serve-card ul li { padding: 6px 0; display: flex; gap: 8px; }
.serve-card ul li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.serve-card .btn { margin-top: auto; align-self: flex-start; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-bar div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--brand-dark);
}
.stats-bar div span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.industry-tag {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.testimonial-card p {
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 1.02rem;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-name { font-weight: 700; color: var(--brand-dark); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--ink-soft); }

/* Closing CTA */
.closing-cta { text-align: center; }
.closing-cta h2 { margin-bottom: 12px; }
.closing-cta p { max-width: 56ch; margin: 0 auto 28px; }
.closing-cta .btn-group { justify-content: center; }

/* Page hero (interior pages) */
.page-hero { padding: 64px 0 48px; text-align: center; }
.page-hero .eyebrow { display: block; }
.page-hero p { max-width: 58ch; margin: 0 auto; font-size: 1.02rem; }

/* Steps */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 8px; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-card p { font-size: 0.9rem; margin: 0; }

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--brand);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 20px; margin: 0; font-size: 0.92rem; }

/* Forms */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
}
.form-section { margin-bottom: 32px; }
.form-section:last-of-type { margin-bottom: 0; }
.form-section h3 { margin-bottom: 4px; }
.form-section > p { font-size: 0.86rem; margin-bottom: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  font-size: 0.88rem;
}
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.checkbox-grid input { width: auto; }

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 24px 0;
}
.consent-row input { margin-top: 3px; }
.consent-row a { color: var(--brand); text-decoration: underline; }

.form-note { font-size: 0.78rem; color: var(--ink-soft); text-align: center; margin-top: 14px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Legal pages */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 2em; font-size: 1.3rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-meta { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 2em; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 40ch; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: var(--brand-dark);
}
.footer-social a:hover { border-color: var(--brand); color: var(--brand); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-eyebrow);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--ink); }
.footer-col a:hover { color: var(--brand); }
.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.footer-legal p { font-size: 0.78rem; margin-bottom: 14px; }
.footer-copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .testimonial-grid, .steps-row { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 6px;
  }
  .nav-cta { display: none; }
  .site-header.nav-open .nav-cta { display: flex; margin-top: 12px; }
  .site-header.nav-open .nav-cta .btn { width: 100%; }
  .grid-4, .grid-2, .checkbox-grid, .form-row { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: 1fr; gap: 32px; }
  .form-wrap { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-copy { flex-direction: column; }
}
