/* ═══════════════════════════════════════════
   STABLEFLOW – Shared Stylesheet
   Font: Manrope only
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --gold:        #D4AF37;
  --gold-light:  #F3D878;
  --gold-dim:    rgba(212,175,55,0.12);
  --gold-border: rgba(212,175,55,0.25);
  --navy-900:    #0A101F;
  --navy-800:    #111C35;
  --navy-700:    #1A2847;
  --bg-light:    #F8FAFC;
  --surface:     #FFFFFF;
  --border:      #F1F5F9;
  --text-sub:    #64748B;
  --text-body:   #1E293B;
  --radius-sm:   12px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --px:          20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-light);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(10,16,31,0.07); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-name {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.3px;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-sub); letter-spacing: 0.3px; transition: color 0.2s; }
.nav-links a:hover { color: var(--navy-900); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  font-size: 14px; font-weight: 600; color: var(--navy-900);
  padding: 8px 16px; border-radius: var(--radius-sm); transition: background 0.2s;
}
.btn-ghost:hover { background: var(--bg-light); }
.btn-gold {
  font-size: 14px; font-weight: 600; color: var(--navy-900);
  background: var(--gold); padding: 10px 20px; border-radius: var(--radius-sm);
  letter-spacing: 0.3px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,175,55,0.35); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: all 0.3s; }

/* ── PAGE HERO (Subpages) ── */
.page-hero {
  background: var(--navy-900);
  padding: 136px var(--px) 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 50vw; height: 50vw;
  max-width: 500px; max-height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,175,55,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.page-hero-label::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--gold); }
.page-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  line-height: 1.7;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.2); }

/* ── SECTION SHARED ── */
.section { max-width: 1200px; margin: 0 auto; padding: 72px var(--px); }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--gold); }
.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px; font-weight: 400; color: var(--text-sub);
  line-height: 1.7; max-width: 540px; letter-spacing: 0.1px;
}
.section-header { margin-bottom: 48px; }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(10,16,31,0.07); border-color: rgba(212,175,55,0.2); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy-900); padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 80vw; max-width: 600px; max-height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212,175,55,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; padding: 0 var(--px); }
.cta-banner-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 16px; }
.cta-banner-title { font-family: 'Manrope', sans-serif; font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: rgba(255,255,255,0.95); margin-bottom: 14px; line-height: 1.2; }
.cta-banner-sub { font-size: 15px; color: rgba(255,255,255,0.45); margin-bottom: 32px; line-height: 1.6; }
.cta-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.cta-input {
  flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 13px 16px;
  color: #fff; font-size: 14px; font-family: 'Manrope', sans-serif; outline: none;
  transition: border-color 0.2s;
}
.cta-input::placeholder { color: rgba(255,255,255,0.3); }
.cta-input:focus { border-color: rgba(212,175,55,0.5); }
.cta-submit {
  background: var(--gold); color: var(--navy-900);
  font-size: 14px; font-weight: 700; font-family: 'Manrope', sans-serif;
  padding: 13px 22px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s; white-space: nowrap;
}
.cta-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.cta-hint { font-size: 12px; color: rgba(255,255,255,0.25); margin-top: 12px; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--navy-900); }
.form-input, .form-textarea, .form-select {
  background: var(--bg-light); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-size: 14px; font-family: 'Manrope', sans-serif; color: var(--text-body);
  outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--gold); background: #fff; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--gold); color: var(--navy-900);
  font-size: 14px; font-weight: 700; font-family: 'Manrope', sans-serif;
  padding: 14px 28px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── FOOTER ── */
.footer { background: var(--navy-900); padding: 64px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.4);
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.footer-social-btn:hover { background: rgba(212,175,55,0.1); color: var(--gold); }
.footer-col-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.2); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.08s; }
.fade-up-delay-2 { transition-delay: 0.16s; }
.fade-up-delay-3 { transition-delay: 0.24s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .btn-ghost { display: none; }
  .nav-hamburger { display: flex; }
  .cta-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
