/* ============================================================
   Mid America Banklease Corp. — Shared Styles
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-950: #04101f;
  --navy-900: #060f22;
  --navy-800: #0b1d3a;
  --navy-700: #102444;
  --navy-600: #162e56;
  --navy-500: #1d3a6a;
  --gold-600: #9e7820;
  --gold-500: #c9a84c;
  --gold-400: #d6b96a;
  --gold-300: #e4cc8e;
  --gold-100: #f7edcc;
  --white:    #ffffff;
  --text-100: #e8edf5;
  --text-200: #b8c8dc;
  --text-400: #7090b0;
  --text-600: #3a5570;
  --border-gold: rgba(201,168,76,.22);
  --border-dim:  rgba(255,255,255,.07);
  --shadow-gold: 0 6px 28px rgba(201,168,76,.18);
  --shadow-dark: 0 6px 28px rgba(0,0,0,.35);
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 18px;
  --ease: .22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--navy-800);
  color: var(--text-100);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── Layout ─────────────────────────────────────────────── */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

main { flex: 1; margin-top: 72px; }

.section      { padding: 5.5rem 0; }
.section-alt  { background: rgba(255,255,255,.025); }

/* ── Navbar ──────────────────────────────────────────────── */

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4,16,31,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  height: 72px;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { text-decoration: none; line-height: 1.25; }
.nav-brand-name { display: block; font-size: 1.05rem; font-weight: 700; color: var(--gold-500); letter-spacing: .02em; }
.nav-brand-tag  { display: block; font-size: .68rem; color: var(--text-400); text-transform: uppercase; letter-spacing: .12em; }

.nav-list { list-style: none; display: flex; align-items: center; gap: .25rem; }

.nav-link {
  display: block;
  text-decoration: none;
  color: var(--text-200);
  font-size: .875rem;
  font-weight: 500;
  padding: .45rem 1rem;
  border-radius: var(--r-sm);
  transition: color var(--ease), background var(--ease);
  letter-spacing: .02em;
}
.nav-link:hover       { color: var(--gold-400); background: rgba(201,168,76,.08); }
.nav-link.active      { color: var(--gold-500); }
.nav-link.nav-cta     { background: var(--gold-500); color: var(--navy-900); font-weight: 600; padding: .45rem 1.2rem; }
.nav-link.nav-cta:hover { background: var(--gold-400); color: var(--navy-900); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-500); border-radius: 2px; transition: var(--ease); }

.hero-logo { height: 72px; width: auto; object-fit: contain; display: block; margin-bottom: 1.5rem; }

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-600) 100%);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(201,168,76,.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(201,168,76,.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-500);
  padding: .28rem .8rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--r-sm);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: normal; color: var(--gold-500); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-200);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 0;
}

.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

/* Home hero is taller */
.hero-home { padding: 8rem 0 6.5rem; }

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-md);
  font-size: .925rem; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none;
  transition: all var(--ease);
  letter-spacing: .02em;
}
.btn-gold    { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; color: var(--gold-400); border: 1.5px solid var(--border-gold); }
.btn-outline:hover { background: rgba(201,168,76,.08); border-color: var(--gold-400); }

/* ── Section headings ────────────────────────────────────── */

.sec-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: .9rem;
}
.sec-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.sec-title em { font-style: normal; color: var(--gold-500); }
.sec-rule { width: 44px; height: 3px; background: var(--gold-500); border-radius: 2px; margin: .9rem 0 2.5rem; }
.sec-lead { font-size: 1rem; color: var(--text-200); line-height: 1.8; max-width: 780px; margin-bottom: 1.25rem; }

/* ── Stat chips ──────────────────────────────────────────── */

.stats-row { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 2.75rem; }
.stat-chip {
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  text-align: center; min-width: 140px;
  transition: border-color var(--ease);
}
.stat-chip:hover { border-color: var(--border-gold); }
.stat-num   { font-size: 2rem; font-weight: 800; color: var(--gold-500); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text-400); margin-top: .35rem; }

/* ── FAQ ─────────────────────────────────────────────────── */

.faq-stack { display: flex; flex-direction: column; gap: .875rem; max-width: 820px; }

.faq-item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item:hover, .faq-item.open { border-color: var(--border-gold); }

.faq-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.5rem; gap: 1rem;
  background: none; border: none; cursor: pointer; text-align: left;
  color: var(--white); font-size: .925rem; font-weight: 600;
  transition: color var(--ease);
}
.faq-trigger:hover { color: var(--gold-400); }

.faq-plus {
  flex-shrink: 0; width: 24px; height: 24px;
  background: rgba(201,168,76,.1); border: 1px solid var(--border-gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-500); font-size: .85rem; font-weight: 400;
  transition: transform var(--ease), background var(--ease);
}
.faq-item.open .faq-plus { transform: rotate(45deg); background: rgba(201,168,76,.2); }

.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-body.open { max-height: 400px; }
.faq-body-inner {
  padding: 1.2rem 1.5rem 1.4rem;
  border-top: 1px solid var(--border-dim);
  color: var(--text-200); font-size: .9rem; line-height: 1.75;
}

/* ── Benefits grid ───────────────────────────────────────── */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.1rem;
}

.benefit-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  transition: all var(--ease);
}
.benefit-card:hover { border-color: var(--border-gold); background: rgba(201,168,76,.04); transform: translateY(-2px); }

.benefit-num {
  flex-shrink: 0; width: 32px; height: 32px;
  background: rgba(201,168,76,.14); border: 1px solid var(--border-gold); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; color: var(--gold-500);
}
.benefit-text { font-size: .9rem; color: var(--text-200); line-height: 1.65; }

/* ── Intro block ─────────────────────────────────────────── */

.intro-copy p { font-size: 1rem; color: var(--text-200); line-height: 1.8; margin-bottom: 1.2rem; }
.intro-copy p:last-child { margin-bottom: 0; }

/* ── Accordion (For Lease) ───────────────────────────────── */

.accordion { display: flex; flex-direction: column; gap: .75rem; max-width: 900px; }

.acc-item {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--ease);
}
.acc-item.open { border-color: var(--border-gold); }

.acc-trigger {
  width: 100%; display: flex; align-items: center; gap: .75rem;
  padding: 1.2rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left;
}

.acc-badge {
  flex-shrink: 0; width: 38px; height: 38px;
  background: rgba(201,168,76,.1); border: 1px solid var(--border-gold); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: var(--gold-500); letter-spacing: .04em;
}

.acc-label { font-size: .95rem; font-weight: 600; color: var(--white); flex: 1; }

.acc-count {
  padding: .18rem .6rem;
  background: rgba(201,168,76,.1); border: 1px solid var(--border-gold); border-radius: 20px;
  font-size: .72rem; font-weight: 600; color: var(--gold-500);
  margin-right: .5rem;
}

.acc-chevron {
  flex-shrink: 0; width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-500); font-size: .65rem;
  transition: transform var(--ease);
}
.acc-item.open .acc-chevron { transform: rotate(180deg); }

.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body.open { max-height: 360px; }

.acc-content {
  padding: 1.1rem 1.5rem 1.4rem;
  border-top: 1px solid var(--border-dim);
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }

.eq-tag {
  padding: .32rem .85rem;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dim);
  border-radius: 20px;
  font-size: .845rem; color: var(--text-200);
  transition: all var(--ease);
}
.eq-tag:hover { border-color: var(--border-gold); color: var(--gold-400); background: rgba(201,168,76,.06); }

/* ── Contact layout ──────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.info-list { margin-top: 2rem; }
.info-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-dim);
}
.info-row:last-child { border-bottom: none; }

.info-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(201,168,76,.1); border: 1px solid var(--border-gold); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-500);
}
.info-icon svg { width: 18px; height: 18px; }

.info-lbl { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-400); margin-bottom: .2rem; }
.info-val { font-size: .95rem; font-weight: 500; color: var(--text-100); line-height: 1.5; }

/* ── Form ────────────────────────────────────────────────── */

.form-head { margin-bottom: 2rem; }
.form-head h2 { font-size: 1.6rem; font-weight: 700; color: var(--white); margin-bottom: .35rem; }
.form-head p  { font-size: .9rem; color: var(--text-400); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: .38rem; }
.form-group.span2 { grid-column: 1 / -1; }

.form-label {
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-400);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
  padding: .72rem 1rem;
  color: var(--text-100); font-size: .9rem; font-family: inherit;
  outline: none; width: 100%;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-600); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-500);
  background: rgba(201,168,76,.04);
  box-shadow: 0 0 0 3px rgba(201,168,76,.09);
}

.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-select option { background: var(--navy-800); color: var(--text-100); }

.form-textarea { resize: vertical; min-height: 110px; }

.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; margin-top: .4rem; }

.btn-submit {
  background: var(--gold-500); color: var(--navy-900);
  border: none; padding: .82rem 2.5rem; border-radius: var(--r-md);
  font-size: .95rem; font-weight: 700; cursor: pointer; letter-spacing: .03em;
  transition: all var(--ease);
}
.btn-submit:hover { background: var(--gold-400); transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* ── CTA strip ───────────────────────────────────────────── */

.cta-strip { text-align: center; }
.cta-strip .sec-title { text-align: center; }
.cta-strip p { color: var(--text-200); max-width: 460px; margin: .75rem auto 2.25rem; font-size: .975rem; line-height: 1.75; }
.cta-strip .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */

.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border-gold);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.75rem;
}

.ft-brand-name { font-size: 1.05rem; font-weight: 700; color: var(--gold-500); margin-bottom: .2rem; }
.ft-brand-tag  { font-size: .68rem; color: var(--text-400); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.ft-brand-desc { font-size: .85rem; color: var(--text-400); line-height: 1.65; max-width: 280px; }

.ft-heading { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 1rem; }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.ft-links a { font-size: .85rem; color: var(--text-400); text-decoration: none; transition: color var(--ease); }
.ft-links a:hover { color: var(--gold-400); }

.ft-contact-row { font-size: .85rem; color: var(--text-400); margin-bottom: .55rem; display: flex; gap: .5rem; line-height: 1.4; }
.ft-contact-lbl { color: var(--gold-500); font-weight: 600; flex-shrink: 0; min-width: 58px; }

.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
}
.footer-copy { font-size: .78rem; color: var(--text-600); }

.footer-logo-wrap { text-align: center; padding-top: 2rem; margin-top: 1rem; border-top: 1px solid var(--border-dim); }
.footer-logo { height: 64px; width: auto; object-fit: contain; opacity: .85; }

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(4,16,31,.98);
    flex-direction: column; padding: 1rem;
    border-bottom: 1px solid var(--border-gold); gap: .2rem;
  }
  .nav-list.open { display: flex; }
  .nav-link { width: 100%; padding: .75rem 1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-row { gap: .75rem; flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.1rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-home { padding: 5.5rem 0 4.5rem; }
}
