/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A84C;
  --gold-light: #E0BC6E;
  --dark: #0D1117;
  --dark-2: #161B22;
  --dark-3: #1C2333;
  --mid: #374151;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --radius: 4px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
}

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.text-center { text-align: center; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

.lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.25rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark-3); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }

.btn-full { width: 100%; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
}
.logo-mj { color: var(--gold); }
.logo-br { color: var(--white); margin-left: 2px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--gold); }
.main-nav .nav-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}
.main-nav .nav-cta:hover { background: var(--gold-light); color: var(--dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0D1117 0%, #1a2744 50%, #0D1117 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(201,168,76,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(255,255,255,0.03) 0%, transparent 60%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,17,23,0.85) 50%, rgba(13,17,23,0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 72px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-headline {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.75rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 2.5rem;
}
.trust-item strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.trust-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

/* ===== ABOUT ===== */
.about-section { background: var(--light); }

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: start;
}

.about-image-wrap {
  position: relative;
  flex-shrink: 0;
}

.about-photo {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  filter: grayscale(15%);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--dark);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow);
}
.badge-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.badge-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.about-copy { padding-top: 0.5rem; }
.about-copy h2 { margin-bottom: 1.25rem; }

.about-sub-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 2rem 0 1.25rem;
  font-family: var(--font-sans);
}

.credential-list { margin-bottom: 2rem; }
.credential-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.credential-list li:first-child { border-top: 1px solid var(--border); }

.cred-icon {
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.credential-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.credential-list p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== PHILOSOPHY ===== */
.philosophy-section {
  background: var(--dark);
  color: var(--white);
}
.philosophy-section h2 { color: var(--white); margin-bottom: 3rem; }
.philosophy-section .section-eyebrow { margin-bottom: 0.75rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.pillar-card:hover { background: rgba(255,255,255,0.07); }

.pillar-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.pillar-card h3 { color: var(--white); margin-bottom: 0.75rem; }
.pillar-card p { color: rgba(255,255,255,0.65); font-size: 0.93rem; }

/* ===== SERVICES ===== */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
  background: var(--white);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.15rem; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }

.outcomes-strip {
  background: var(--light);
  border-radius: var(--radius);
  padding: 3rem;
}
.outcomes-strip h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.outcome-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.outcome-icon {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.outcome-item strong { display: block; margin-bottom: 0.4rem; font-size: 0.95rem; }
.outcome-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== CASE STUDIES ===== */
.case-studies-section { background: var(--light); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.case-card-wide {
  grid-column: 1 / -1;
  background: var(--dark);
  color: var(--white);
  border-color: transparent;
}
.case-card-wide h3 { color: var(--white); }
.case-card-wide p { color: rgba(255,255,255,0.75); }

.case-sector {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.case-row {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}
.case-row strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.case-row p { font-size: 0.9rem; margin: 0; }

.case-result {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  color: var(--text);
}
.case-result span {
  font-weight: 700;
  color: var(--gold);
  margin-right: 0.4rem;
}

/* ===== ACTIVE RESCUES ===== */
.active-rescues-section { background: var(--white); }

.rescues-grid { max-width: 640px; margin: 0 auto; }

.rescue-card {
  background: var(--light);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}

.rescue-icon { font-size: 3rem; margin-bottom: 1.5rem; opacity: 0.5; }
.rescue-card h3 { margin-bottom: 1rem; }
.rescue-card ul { text-align: left; display: inline-block; margin: 1.25rem auto; }
.rescue-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.rescue-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.rescue-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 1.25rem 0;
}

/* ===== ASSESSMENT CTA ===== */
.assessment-section {
  background: linear-gradient(135deg, #1a2744 0%, #0D1117 100%);
  color: var(--white);
}

.assessment-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
}

.assessment-copy h2 { color: var(--white); margin-bottom: 1.25rem; }
.assessment-copy p { color: rgba(255,255,255,0.7); }
.assessment-copy .section-eyebrow { margin-bottom: 0.75rem; }
.assessment-copy .btn { margin-top: 1.5rem; }

.assessment-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem;
}
.assessment-box h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
}

.signs-list li {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-left: 1.25rem;
  position: relative;
}
.signs-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  color: var(--gold);
  top: 0.6rem;
}

.signs-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-top: 1rem;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--light); }

.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.5rem; }

.contact-item {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-item span:last-child { font-size: 0.93rem; }

.contact-link {
  color: var(--text);
  transition: color var(--transition);
}
.contact-link:hover { color: var(--gold); }

.contact-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.5rem;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.93rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

textarea { resize: vertical; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-mj { color: var(--gold); font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; }
.footer-brand .logo-br { color: var(--white); font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; margin-left: 2px; }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; line-height: 1.65; }
.footer-contact {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.9;
}
.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }

.footer-reg { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 1rem; }

.footer-links h4, .footer-legal h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  padding: 0.35rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-legal p { font-size: 0.82rem; line-height: 1.6; margin-bottom: 0.75rem; }

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 340px 1fr; gap: 3rem; }
  .assessment-inner { gap: 3rem; }
  .footer-inner { gap: 2.5rem; }
}

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .assessment-inner { grid-template-columns: 1fr; }
  .assessment-box { margin-top: 0; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 380px; margin: 0 auto 4rem; }

  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card-wide { grid-column: auto; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .trust-bar-inner { gap: 0; }
  .trust-item { padding: 0.75rem 1.25rem; }
  .trust-divider { display: none; }
  .trust-bar-inner { display: grid; grid-template-columns: 1fr 1fr; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .outcomes-strip { padding: 2rem 1.5rem; }
}
