/* =========================================================
   LA Global Investments — shared stylesheet
   Financial-services theme: navy / gold, clean & professional
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-2: #12294d;
  --navy-3: #1a3a66;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --bg: #f6f7f9;
  --white: #ffffff;
  --text: #1c2b3a;
  --muted: #5b6b7c;
  --border: #e2e6ea;
  --success-bg: #eaf7ef;
  --success-text: #1f8a55;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 8px 28px rgba(11, 31, 58, 0.10);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: var(--white);
  padding: 96px 24px 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.16), transparent 70%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 700px;
  font-weight: 800;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  margin-top: 64px;
  max-width: 640px;
}
.hero-stats .stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-light);
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ---------- Page header (non-home hero, smaller) ---------- */

.page-header {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  padding: 62px 24px 74px;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 2.3rem; margin: 0 0 12px; font-weight: 800; }
.page-header p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--gold-light); }

/* ---------- Sections ---------- */

section { padding: 80px 24px; }
.section-tight { padding: 56px 24px; }

.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 2rem; margin: 0 0 12px; color: var(--navy); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- About / two-column ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.split h2 { font-size: 2rem; color: var(--navy); margin: 0 0 18px; font-weight: 800; }
.split p { color: var(--muted); margin: 0 0 16px; }

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.stat-box {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px;
  background: var(--bg);
}
.stat-box .num { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.stat-box .lbl { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

/* ---------- Cards grid (financing options) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin: 0 0 10px; font-size: 1.25rem; color: var(--navy); font-weight: 700; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0 0 22px; flex-grow: 1; }

.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---------- Detail page layout ---------- */

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.detail-main h2 {
  color: var(--navy);
  font-size: 1.5rem;
  margin: 40px 0 16px;
  font-weight: 700;
}
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: var(--muted); margin: 0 0 14px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.check-list li:last-child { border-bottom: none; }
.check-list .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 2px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.sidebar-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.fact-row:last-of-type { border-bottom: none; }
.fact-row .fact-label { color: var(--muted); }
.fact-row .fact-value { color: var(--navy); font-weight: 700; text-align: right; }
.sidebar-card .btn { margin-top: 20px; }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}
.cta-banner h2 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 800; }
.cta-banner p { margin: 0; color: rgba(255,255,255,0.78); }

/* ---------- Forms ---------- */

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 44px 40px;
}

.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-row .hint { color: var(--muted); font-size: 0.83rem; margin-top: 6px; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.15s ease, background 0.15s ease;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.file-drop {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 26px;
  text-align: center;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.file-drop:hover { border-color: var(--gold); background: #fdfaf0; }
.file-drop input[type="file"] { display: none; }
.file-drop .file-icon { color: var(--navy); margin-bottom: 10px; }
.file-drop .file-main { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.file-drop .file-sub { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.file-list { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

.form-note {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 24px;
}

.form-success {
  display: none;
  background: var(--success-bg);
  color: var(--success-text);
  border-radius: 8px;
  padding: 16px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 52px 24px 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.92rem;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; margin-bottom: 14px; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 22px; }
  .cta-banner { padding: 36px 28px; text-align: center; justify-content: center; }
  .hero { padding: 64px 20px 84px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
}
