/* ═══════════════════════════════════════════════
   PACTUS ADVISORY — MAIN STYLESHEET
   pactus.net
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --ink:         #1a1a18;
  --ink-light:   #4a4a46;
  --ink-muted:   #8a8a84;
  --cream:       #f5f3ee;
  --cream-dark:  #ede9e1;
  --green:       #2d4a2d;
  --green-mid:   #3d6b3a;
  --green-light: #e8f0e4;
  --gold:        #9a7c3a;
  --gold-bright: #c9a84c;
  --gold-light:  #f5edd8;
  --border:      rgba(26,26,24,0.12);
  --border-gold: rgba(154,124,58,0.25);
  --shadow:      0 2px 24px rgba(26,26,24,0.08);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
p { line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,243,238,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--green);
}
.nav-logo-text span { color: var(--gold); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--green); background: var(--green-light); }
.nav-link.active { color: var(--green); font-weight: 500; }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  background: var(--green);
  padding: 10px 22px;
  border-radius: 2px;
  text-decoration: none;
  margin-left: 10px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-mid); }

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  padding: 20px 24px;
  z-index: 199;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu .nav-link { padding: 12px 16px; font-size: 14px; }
.nav-mobile-menu .nav-cta { margin: 12px 0 0; text-align: center; padding: 14px; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 148px 48px 72px;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-light), transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; max-width: 720px; }
.page-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }
.page-title { font-size: clamp(44px, 6vw, 72px); color: var(--ink); margin-bottom: 24px; }
.page-title em { color: var(--green); font-style: italic; }
.page-subtitle { font-size: 17px; font-weight: 300; color: var(--ink-light); max-width: 560px; line-height: 1.75; }

/* ── SHARED SECTION STYLES ── */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(34px, 4vw, 52px); color: var(--ink); line-height: 1.12; }
.section-title em { color: var(--green); font-style: italic; }
.section-body { font-size: 15px; font-weight: 300; color: var(--ink-light); line-height: 1.8; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  background: var(--green);
  padding: 16px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, gap 0.2s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--green-mid); gap: 14px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--green); border-color: var(--green); }
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--gold-light);
  border: 0.5px solid var(--border-gold);
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-gold:hover { background: #ecdfc8; }

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--cream);
  padding: 40px 36px;
  transition: background 0.2s;
}
.card:hover { background: var(--cream-dark); }
.card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.badge-ai    { background: var(--gold-light); color: var(--gold); border: 0.5px solid var(--border-gold); }
.badge-consulting { background: var(--green-light); color: var(--green); border: 0.5px solid rgba(45,74,45,0.2); }
.badge-featured { background: var(--green); color: var(--cream); }
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.card-text { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ink-light); margin-bottom: 20px; }
.card-price {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--green);
  padding: 6px 14px;
  background: var(--green-light);
  border-radius: 2px;
  display: inline-block;
}
.card-price-gold {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
  padding: 6px 14px;
  background: var(--gold-light);
  border: 0.5px solid var(--border-gold);
  border-radius: 2px;
  display: inline-block;
}
.card-bullets { list-style: none; margin-bottom: 20px; }
.card-bullets li {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-light);
  padding: 4px 0 4px 18px;
  position: relative;
  line-height: 1.5;
}
.card-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 5px;
}
.card-featured { border-top: 3px solid var(--gold); }

/* ── STAT STRIP ── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.stat-item { background: var(--cream); padding: 36px 32px; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; font-weight: 300; color: var(--ink-light); line-height: 1.5; }

/* ── DARK SECTION ── */
.dark-section { background: var(--green); position: relative; overflow: hidden; }
.dark-section::before {
  content: '';
  position: absolute;
  bottom: -120px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.dark-section .section-eyebrow { color: rgba(255,255,255,0.45); }
.dark-section .section-eyebrow::before { background: rgba(255,255,255,0.25); }
.dark-section .section-title { color: #fff; }
.dark-section .section-title em { color: rgba(255,255,255,0.6); }
.dark-section .section-body { color: rgba(255,255,255,0.75); }
.dark-section h3 { color: #fff; }
.dark-section p { color: rgba(255,255,255,0.75); }
.dark-section strong { color: #fff; font-weight: 500; }

/* ── GOLD SECTION ── */
.gold-section {
  background: var(--gold-light);
  border-top: 0.5px solid var(--border-gold);
  border-bottom: 0.5px solid var(--border-gold);
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 0.5px solid var(--border); }

/* ── CREDENTIALS STRIP ── */
.cred-strip {
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--cream);
}
.cred-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; flex-shrink: 0; }
.cred-items { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cred-item { font-size: 13px; color: var(--ink-light); display: flex; align-items: center; gap: 8px; }
.cred-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── FOOTER ── */
.footer {
  background: var(--green);
  padding: 64px 48px 32px;
  color: rgba(255,255,255,0.75);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; color: #fff; letter-spacing: 0.04em; }
.footer-logo-text span { color: var(--gold-bright); font-style: italic; }
.footer-tagline { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.footer-contact-item { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 6px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-col-title { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-col-link { display: block; font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col-link:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-adr-link {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.footer-adr-link:hover { color: rgba(255,255,255,0.75); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.anim-fade-up  { animation: fadeUp 0.7s ease both; }
.anim-delay-1  { animation-delay: 0.1s; }
.anim-delay-2  { animation-delay: 0.2s; }
.anim-delay-3  { animation-delay: 0.3s; }
.anim-delay-4  { animation-delay: 0.4s; }
.anim-delay-5  { animation-delay: 0.5s; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LOGO SVG ── */
.logo-mark { display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip  { grid-template-columns: repeat(2, 1fr); }
  .footer-top  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .page-header { padding: 112px 24px 56px; }
  .card-grid, .card-grid-3 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cred-strip { padding: 20px 24px; gap: 20px; }
  .footer { padding: 48px 24px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stat-strip { grid-template-columns: 1fr; }
}
