/* ===== Theme ===== */
:root {
  --navy: #0a1f44;
  --navy-900: #071634;
  --navy-700: #0e285f;
  --ink: #0f172a;
  --muted: #6b7280;
  --border: #dbe2ef;
  --bg: #f7f9fc;
  --white: #ffffff;
  --gold: #ffd700;
  --hero-img: url('contractor-financing_1024x400_acf_cropped.png');
}
.logo {
  height: 36px;           /* adjust as needed */
  width: auto;            /* keeps proportions */
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;               /* space if you want text beside the logo */
  text-decoration: none;
  font-family: "Helvetica Neue";
  font-size: x-large;
}
.brand img { height: 40px; display: block; }
  .menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
  .menu a { color: #fff; text-decoration: none; font-weight: 600; }
  .menu a:hover { text-decoration: underline; }
/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { margin: 0 0 .5rem; }
h1 { font-size: 2.2rem; line-height: 1.25; }
h2 { font-size: 1.6rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

/* ===== Header / Nav ===== */
.header {
  position: sticky; top: 0; z-index: 50; color: var(--white);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 20px rgba(10,31,68,.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }

.brand {
  position: relative; font-weight: 800; letter-spacing: .2px;
  color: var(--white); text-decoration: none;
}
.brand::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.brand:hover::after, .brand:focus-visible::after { width: 100%; }

.links { display: flex; gap: 10px; align-items: center; }
.links .pill {
  position: relative; display: inline-block; padding: 10px 16px; border-radius: 999px;
  color: var(--white); text-decoration: none;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  outline: none;
}
.links .pill::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.links .pill:hover {
  background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); transform: translateY(-1px);
}
.links .pill:hover::after, .links .pill.is-active::after { transform: scaleX(1); }
.links .pill:focus-visible { box-shadow: 0 0 0 3px rgba(255,215,0,.35); }
.links .pill.is-active { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }

.burger {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
}
.burger span { display: block; height: 2px; background: #fff; margin: 7px 0; transition: .2s; }

/* ===== Hero ===== */
.hero { background: #fff; }
.hero-split { padding: 0; }
.hero-split-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 82vh;
}

.hero-text { padding: 48px 0; max-width: 680px; }
.hero-text .lede { color: #394865; margin: 6px 0 16px; }

.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

.btn, .btn-outline {
  display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn { background: var(--navy-700); color: #fff; box-shadow: 0 8px 18px rgba(10,31,68,.18); }
.btn:hover { transform: translateY(-1px); background: var(--navy); }
.btn-outline { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: #eef2ff; border-color: #c7d2fe; }

/* Hero image pane with blur overlay */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Background layer */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/Images/contractor-financing_1024x400_acf_cropped.png') center/cover no-repeat;
  filter: blur(0px); /* blur only the background */
  transform: scale(1.05); /* prevent edge clipping after blur */
  z-index: 0;
}

/* Content layer */
.hero-content {
  position: relative;
  z-index: 1;
  color: #000; /* or white if using darker overlay */
  padding: 0 20px;
  max-width: 800px;
  
}

/* Buttons */
.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn {
  background: #ffd700;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline {
  border: 2px solid #ffd700;
  color: #ffd700;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover,
.btn-outline:hover {
  opacity: 0.85;
}



/* FAQ */
.faq{ padding: 36px 0 48px; }
.faq-item{
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:12px 14px; margin-bottom:10px;
}
.faq-item summary{
  cursor:pointer; list-style:none; font-weight:700; color:var(--navy);
}
.faq-item[open] summary{ margin-bottom:6px; }
.faq-item p{ margin:0; }


/* Heading */
/* ===== Testimonials (cards like the reference) ===== */
:root {
  --brand: #0a1f44;
  --ink: #0b1220;
  --muted: #64748b;
  --accent: #fbbf24;        /* yellow quote mark */
  --t-bg: #f4f7ff;          /* section light blue */
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --radius: 14px;
}

.testimonials.v2 {
  padding: 64px 0 40px;
  background: var(--t-bg);
}

.testimonials.v2 .eyebrow {
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 0.8rem;
}

.testimonials.v2 h2 {
  text-align: center;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
}

/* Grid of cards */
.t-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .t-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .t-grid { grid-template-columns: 1fr; }
}

/* Individual card */
.t-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px 22px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  text-align: center;
}

/* Yellow quote mark on top */
.t-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 78px;
  line-height: 1;
  color: var(--accent);
}

/* Quote text */
.t-text {
  margin: 28px 0 18px; /* space under the quote mark */
  color: var(--ink);
  line-height: 1.7;
}

/* Author */
.t-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.t-author .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(2, 6, 23, 0.15);
}
.t-author .name {
  color: var(--muted);
  font-weight: 600;
}

/* Bottom CTA (optional) */
.t-cta {
  text-align: center;
  margin-top: 36px;
}
.t-cta .btn-cta {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}
/* Space above footer */
#testimonials { margin-bottom: 48px; }

/* Services summary */
.services-slim { padding: 56px 0; }
.services-slim .section-head { text-align: center; margin-bottom: 24px; }
.services-slim .section-head h2 { color: #0a1f44; margin: 0 0 6px; }
.services-slim .section-head .muted { color: #64748b; margin: 0; }

/* Grid */
.mini-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Cards */
.mini-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(2,6,23,0.04);
}
.mini-card h3 {
  margin: 0 0 8px;
  color: #0a1f44;
  font-size: 1.05rem;
}
.mini-card p {
  margin: 0;
  color: #0b1220;
  opacity: 0.9;
  line-height: 1.6;
}

/* CTA */
.center { text-align: center; margin-top: 20px; }
.btn-outline { border: 2px solid #0a1f44; color: #0a1f44; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.btn-outline:hover { background: #0a1f44; color: #fff; }

/* Spacing from footer if needed */
#services { margin-bottom: 48px; }

/* Footer */
.footer {
  background:var(--navy); border-top: 1px solid var(--border);
  text-align: center; padding: 20px; color: var(--gold);
}

/* ===== Responsive (<= 900px) ===== */
@media (max-width: 900px) {
  .burger { display: block; }

  .links {
    position: absolute; right: 20px; top: 64px; width: 220px;
    display: none; flex-direction: column; padding: 10px; border-radius: 12px;
    background: var(--navy); border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
  }
  .links.open { display: flex; }

  .hero-split-wrap { grid-template-columns: 1fr; }

  .hero-image {
    min-height: 42vh; border-left: none; border-top: 6px solid #e5eaf6;
    border-top-left-radius: 0; border-top-right-radius: 20px;
  }

  .cards, .steps, .tiers { grid-template-columns: 1fr; }
  .service-card { grid-column: 1 / -1; }

  .cta-row { flex-direction: column; text-align: center; }

  .contact-form { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; text-align: center; }
}
