/* Apex Asset Managers LLC — static site styles */

:root {
  --navy: #12323c;
  --navy-dark: #0d2630;
  --navy-deep: #071b23;
  --green: #86a83f;
  --green-dark: #789936;
  --green-soft: #c8df8d;
  --green-text: #7da53b;
  --cream: #f5f7f1;
  --cream-2: #f7f9f3;
  --cream-3: #eef3e4;
  --line: #e2e8f0;
  --slate: #475569;
  --slate-light: #64748b;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 47, 58, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: #0f172a;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #fff; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar a { color: var(--green-soft); font-weight: 700; }

.masthead {
  background: linear-gradient(135deg, #0f2f3a 0%, #112d37 52%, #071b23 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(134, 168, 63, 0.35), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.14), transparent 26%);
  pointer-events: none;
}
.masthead > * { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}
.brand-name { font-size: 17px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; }
.brand-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--green-soft); }

.nav-links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; font-size: 15px; }
.nav-links a { color: rgba(255, 255, 255, 0.82); }
.nav-links a:hover { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  transition: transform .15s ease, background .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2); }
.btn-green:hover { background: var(--green-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 12px 22px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; padding: 46px 0 90px; align-items: start; }
.eyebrow {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-soft);
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; margin: 24px 0 0; font-weight: 900; letter-spacing: -0.02em; }
.hero p.lead { font-size: 18px; color: #e2e8f0; margin-top: 22px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.hero-stats div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}
.hero-stats strong { display: block; font-size: 22px; color: #fff; }

.plan-card { background: rgba(255, 255, 255, 0.96); color: var(--navy); border-radius: 28px; padding: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.plan-head { background: var(--cream-2); border-radius: 22px; padding: 22px; }
.plan-head span { font-size: 13px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green-text); }
.plan-head h2 { margin: 10px 0 0; font-size: 26px; font-weight: 900; line-height: 1.2; }
.plan-step { display: flex; gap: 14px; border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 15px; margin-top: 14px; }
.plan-step i {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-style: normal; font-weight: 900; font-size: 17px;
}
.plan-step strong { display: block; font-size: 16px; }
.plan-step small { display: block; margin-top: 4px; font-size: 14px; color: var(--slate); line-height: 1.55; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-white { background: #fff; }
.section-cream { background: var(--cream-3); }

.kicker { font-size: 13px; font-weight: 900; letter-spacing: 0.24em; text-transform: uppercase; color: var(--green-text); margin: 0; }
h2.title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 900; color: var(--navy); margin: 12px 0 0; letter-spacing: -0.02em; line-height: 1.1; }
p.sub { font-size: 17px; color: var(--slate); max-width: 780px; margin-top: 16px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.card h3 { margin: 0; font-size: 22px; font-weight: 900; color: var(--navy); }
.card p { color: var(--slate); margin: 12px 0 0; }

ul.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
ul.ticks li { display: flex; gap: 12px; font-size: 15px; font-weight: 600; color: #334155; }
ul.ticks li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 7px; }

.pkg-tile { display: block; background: var(--cream-2); border: 1px solid var(--line); border-radius: 24px; padding: 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pkg-tile:hover { transform: translateY(-4px); border-color: var(--green); background: #fff; box-shadow: var(--shadow); }
.pkg-tile b { font-size: 19px; color: var(--navy); }
.pkg-tile span { display: block; margin-top: 10px; color: var(--slate); }

.panel { background: var(--navy); color: #fff; border-radius: 30px; padding: 44px; }
.panel h2 { color: #fff; }
.panel p { color: #cbd5e1; }
.chip { border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 12px; text-align: center; font-weight: 700; color: rgba(255, 255, 255, 0.92); }
.chip-light { background: var(--cream-2); border: 1px solid var(--line); border-radius: 16px; padding: 15px; text-align: center; font-weight: 800; color: var(--navy); }

.center { text-align: center; margin: 0 auto; }
.center p.sub { margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-links { display: grid; gap: 14px; margin-top: 28px; }
.contact-links a { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 18px; font-weight: 800; color: var(--navy); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04); }
.contact-links a:hover { border-color: var(--green); }

.form-card { background: #fff; border-radius: 30px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { margin: 8px 0 0; font-size: 24px; font-weight: 900; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 800; color: #334155; margin-top: 14px; }
input, select, textarea {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 16px;
  padding: 13px 15px;
  width: 100%;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--green); background: #fff; }
textarea { resize: vertical; min-height: 130px; }
.form-card .btn { width: 100%; margin-top: 18px; }
.form-note { font-size: 13px; color: var(--slate-light); margin-top: 14px; }
.form-status { margin-top: 14px; padding: 13px 16px; border-radius: 16px; font-size: 14px; display: none; }
.form-status.ok { display: block; background: #ecfdf5; color: #065f46; }
.form-status.err { display: block; background: #fef2f2; color: #b91c1c; }

.disclaimer { font-size: 13px; color: var(--slate-light); margin-top: 22px; line-height: 1.6; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #cbd5e1; padding: 50px 0 30px; }
footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 14px; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 34px; padding-top: 20px; font-size: 13px; color: #94a3b8; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 66px 0; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 900; line-height: 1.06; margin: 16px 0 0; letter-spacing: -0.02em; max-width: 900px; }
.page-hero p { color: #e2e8f0; font-size: 17px; max-width: 760px; margin-top: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 30px; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .form-row, .foot-grid, .hero-stats { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; font-size: 14px; }
  section { padding: 52px 0; }
  .hero { padding-bottom: 60px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
}
