/* Verco Lending — site styles */
:root {
  --navy: #003049;
  --navy-deep: #00243a;
  --tan: #ca9762;
  --tan-dark: #b07f4d;
  --light: #f7f8f8;
  --ink: #111418;
  --muted: #4a5560;
  --white: #ffffff;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --max: 1140px;
  --font-head: "Kanit", "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--tan); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--tan); }
.nav .btn, .nav .btn[aria-current="page"] { color: #fff; }
.nav .btn[aria-current="page"] { background: var(--tan-dark); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--tan);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 0;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--tan-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ---------- Dotted rule (signature detail from the original site) ---------- */
.dots {
  display: block;
  width: 150px;
  height: 4px;
  margin: 14px 0 22px;
  background-image: radial-gradient(circle, var(--tan) 1.6px, transparent 1.8px);
  background-size: 9px 4px;
  background-repeat: repeat-x;
}
.dots-navy { background-image: radial-gradient(circle, var(--navy) 1.6px, transparent 1.8px); }
.center .dots, .dots.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  padding: 110px 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,48,73,.92) 0%, rgba(0,48,73,.72) 50%, rgba(0,48,73,.35) 100%);
}
.hero .container { position: relative; }
.hero-content { max-width: 600px; }
.hero h1 { font-family: var(--font-body); font-size: clamp(28px, 4vw, 40px); text-transform: uppercase; letter-spacing: .5px; margin: 0; }
.hero .eyebrow { font-family: var(--font-body); text-transform: uppercase; font-weight: 600; font-size: 18px; letter-spacing: .6px; margin: 0 0 14px; }
.hero p { color: #e6edf2; font-size: 17px; }
.hero .btn { margin-top: 12px; }
.hero-sm { padding: 90px 0; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy p { color: #e6edf2; }
.section-light { background: var(--light); }
.section-title { font-size: clamp(28px, 3.4vw, 36px); }
.center { text-align: center; }
.lead { font-size: 18px; max-width: 640px; margin: 0 auto 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split + .split { margin-top: 80px; }
.split .media img { border-radius: 4px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.split .text { text-align: center; }
.split .text .dots { margin-left: auto; margin-right: auto; }
.split .text.left { text-align: left; }
.split .text.left .dots { margin-left: 0; }
.split.reverse .media { order: 2; }

.service h3 { font-size: 28px; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0 44px; }
.testimonial { background: #fff; color: var(--ink); padding: 36px 22px; text-align: center; border-radius: 4px; }
.testimonial .stars { color: var(--ink); font-size: 20px; letter-spacing: 4px; margin-bottom: 10px; }
.testimonial p { color: var(--ink); font-size: 16px; }
.testimonial .name { font-weight: 600; font-size: 18px; margin: 0; }

/* ---------- Forms (GHL embeds) ---------- */
.form-wrap { width: 100%; max-width: 560px; margin: 0 auto; }
.form-wrap.wide { max-width: 860px; }
.form-embed { width: 100%; height: 960px; border: 0; border-radius: 4px; display: block; }
.form-embed.tall { height: 6800px; }
/* form_embed.js wraps the iframe in shrink-to-fit containers; force full width */
.form-wrap .ep-iFrameContainer,
.form-wrap .ep-wrapper { width: 100% !important; max-width: 100% !important; display: block !important; }
.form-wrap iframe { width: 100% !important; }
.form-note { font-size: 14px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- Contact block ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { margin-bottom: 8px; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--tan); }
.section-light .contact-list a, .on-light .contact-list a { color: var(--navy); }
.hours strong { display: block; }
.map-link img { border-radius: 4px; box-shadow: var(--shadow); }

/* ---------- Team ---------- */
.team-member .media img { aspect-ratio: 1 / 1; max-width: 380px; margin: 0 auto; }
.team-member .text { text-align: left; }
.team-member h3 { font-size: 28px; margin-bottom: 4px; }
.team-member .role { color: var(--tan); font-weight: 600; margin-bottom: 14px; }

/* ---------- Process list ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: #fff; border-radius: 4px; padding: 26px 22px 22px; box-shadow: 0 4px 14px rgba(0,0,0,.06); position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 18px; margin-bottom: 12px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 14px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--tan); box-shadow: inset 0 0 0 5px var(--tan), inset 0 0 0 9px #fff; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal h3 { font-size: 19px; margin-top: 24px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 50px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 46px 0 26px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.footer-grid .brand img { height: 56px; }
.footer-contact { text-align: center; font-weight: 600; }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--tan); }
.footer-links { text-align: right; }
.footer-links a { color: #cfd9e1; text-decoration: none; margin-left: 18px; }
.footer-links a:hover { color: var(--tan); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; text-align: center; color: #aebdca; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 24px 22px;
    display: none;
    box-shadow: 0 12px 20px rgba(0,0,0,.2);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split .media, .split.reverse .media { order: -1; }
  .split .text.left, .team-member .text { text-align: center; }
  .split .text.left .dots { margin-left: auto; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0; }
  .hero::before { background: rgba(0,48,73,.82); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid .brand img { margin: 0 auto; }
  .footer-links { text-align: center; }
  .footer-links a { margin: 0 9px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .testimonials, .steps { grid-template-columns: 1fr; }
  .brand img { height: 48px; }
}
