/* ─── Altus Advisory — Shared Styles ─────────────────────────────── */

:root {
  --navy:    #14264D;
  --navy-2:  #1A2F5C;
  --navy-3:  #0f1e3d;
  --gold:    #C7A34D;
  --gold-lt: #d4b56a;
  --cream:   #F4F2EC;
  --muted:   rgba(244,242,236,0.55);
  --border:  rgba(199,163,77,0.2);
  --radius:  10px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 64px;
  background: rgba(20,38,77,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: 48px;
}

.nav-logo-mark {
  width: 34px; height: 34px;
  background: var(--gold);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-logo-text { line-height: 1.1; }
.nav-logo-text .brand { font-size: 14px; font-weight: 600; color: var(--cream); letter-spacing: 0.5px; }
.nav-logo-text .sub   { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex: 1;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  font-size: 12px;
}
.lang-toggle button {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.lang-toggle button.active { background: var(--gold); color: var(--navy); font-weight: 600; }

.btn-app {
  padding: 8px 20px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-app:hover { background: var(--gold); color: var(--navy); }

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-lt); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 1.5px solid var(--border);
  color: var(--cream);
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  color: var(--cream);
}
.card:hover { border-color: var(--gold); transform: translateY(-2px); }

/* ─── Tags ────────────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-policy   { background: rgba(52,152,219,0.15); color: #5dade2; }
.tag-logic    { background: rgba(46,204,113,0.15); color: #58d68d; }
.tag-dynamics { background: rgba(231,76,60,0.15);  color: #ec7063; }
.tag-art      { background: rgba(199,163,77,0.15); color: var(--gold); }

/* ─── Section ─────────────────────────────────────────────────────── */
.section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── Grid ────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

/* ─── Footer ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 12px; max-width: 280px; }

.footer-col h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a  { display: block; font-size: 13px; color: var(--muted); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--cream); }

/* ─── Form ────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--cream);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy); }

/* ─── Loading / Empty ─────────────────────────────────────────────── */
.loading { text-align: center; padding: 60px; color: var(--muted); font-size: 14px; }
.empty   { text-align: center; padding: 60px; color: var(--muted); font-size: 14px; }

/* ─── Divider ─────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 60px 20px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 28px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-logo-text .sub { display: none; }
}
