/* =========================================================
   Majestic Investment LLC — Stylesheet
   A clean, modern theme for a financial services firm.
   ========================================================= */

:root {
  --navy: #0a2342;
  --navy-light: #123a63;
  --gold: #c8a14a;
  --gold-light: #e0c478;
  --ink: #1a2230;
  --slate: #5b6677;
  --mist: #f5f7fa;
  --line: #e3e8ef;
  --white: #ffffff;
  --success: #1e7f5c;

  --maxw: 1160px;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(10, 35, 66, 0.08);
  --shadow-md: 0 12px 30px rgba(10, 35, 66, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

section { padding: 84px 0; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--slate); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 161, 74, 0.4); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-light); }

/* ---------- Header / Nav ---------- */
.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(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.brand-name { font-weight: 700; color: var(--navy); font-size: 1.12rem; letter-spacing: 0.02em; }
.brand-name span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.96rem;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { padding: 10px 22px; }

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(10,35,66,0.82), rgba(10,35,66,0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23123a63'/%3E%3Cstop offset='1' stop-color='%230a2342'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1200' height='600' fill='url(%23g)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(200,161,74,0.22), transparent 70%);
  border-radius: 50%;
}
.hero-inner { max-width: 720px; position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--gold-light); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.18rem; margin: 22px 0 34px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 46px;
  display: flex; gap: 38px; flex-wrap: wrap;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.hero-trust strong { color: var(--gold-light); font-size: 1.6rem; display: block; font-weight: 700; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num { font-size: 2.4rem; font-weight: 700; color: var(--navy); }
.stat .num span { color: var(--gold); }
.stat .label { color: var(--slate); font-size: 0.95rem; margin-top: 4px; }

/* ---------- Cards / Services ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(200,161,74,0.15), rgba(200,161,74,0.05));
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }

/* ---------- Feature / About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split .media {
  border-radius: var(--radius);
  min-height: 380px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split .media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(200,161,74,0.3), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08), transparent 40%);
}
.split .media .badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: var(--white);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
}
.split .media .badge strong { display: block; font-size: 1.8rem; color: var(--navy); }
.split .media .badge span { color: var(--slate); font-size: 0.85rem; }

.check-list { list-style: none; margin-top: 24px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; color: var(--ink);
}
.check-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  background: rgba(30,127,92,0.1);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 70px;
  margin-bottom: 36px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.2rem;
}

/* ---------- Testimonials ---------- */
.quote {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 34px 30px;
  border-left: 4px solid var(--gold);
}
.quote p { font-style: italic; color: var(--ink); font-size: 1.02rem; }
.quote .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote .who .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: grid; place-items: center;
  font-weight: 700; color: var(--navy);
}
.quote .who .name { font-weight: 600; color: var(--navy); font-style: normal; }
.quote .who .role { font-size: 0.85rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; left: -80px; bottom: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,161,74,0.2), transparent 70%);
  border-radius: 50%;
}
.cta-band h2 { color: var(--white); position: relative; }
.cta-band p { color: rgba(255,255,255,0.82); margin: 14px auto 28px; max-width: 520px; position: relative; }

/* ---------- Page banner (sub pages) ---------- */
.page-banner {
  background: linear-gradient(rgba(10,35,66,0.9), rgba(10,35,66,0.95)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='400'%3E%3Crect width='1200' height='400' fill='%23123a63'/%3E%3C/svg%3E");
  background-size: cover;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.page-banner h1 { color: var(--white); }
.page-banner p { color: rgba(255,255,255,0.8); margin-top: 12px; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 16px; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.97rem;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,161,74,0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note {
  margin-top: 10px; font-size: 0.85rem; color: var(--slate);
}
.form-success {
  display: none;
  background: rgba(30,127,92,0.1);
  border: 1px solid rgba(30,127,92,0.3);
  color: var(--success);
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 16px;
  font-weight: 600;
}

.contact-info { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ic {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--mist); display: grid; place-items: center; font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { color: var(--navy); margin-bottom: 2px; }
.contact-item p { font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none; border: none;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: inherit;
}
.faq-q .plus { color: var(--gold); font-size: 1.4rem; transition: transform 0.2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 24px 20px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .photo {
  width: 110px; height: 110px; border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: grid; place-items: center;
  color: var(--gold-light); font-size: 2rem; font-family: var(--serif); font-weight: 700;
}
.team-card .role { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 44px;
}
.site-footer h4 { color: var(--white); margin-bottom: 18px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand-name { color: var(--white); }
.footer-about p { margin: 14px 0; font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem;
}
.disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 18px;
  line-height: 1.6;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 760px) {
  section { padding: 60px 0; }
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 8px; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-trust { gap: 24px; }
}
