/* ============================================================
   BEDROCK CAPITAL MANAGEMENT — Main Stylesheet
   Brand: Deep Purple #3D1558 + Gold #C9A06A
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lato:wght@300;400;700&family=Lato+Condensed:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300&display=swap');

:root {
  --purple:        #3D1558;
  --purple-deep:   #2A0E3F;
  --purple-mid:    #4E2070;
  --purple-light:  #5C2A82;
  --purple-faint:  rgba(61,21,88,0.06);
  --gold:          #C9A06A;
  --gold-light:    #DDB98A;
  --gold-dark:     #9A7540;
  --gold-faint:    rgba(201,160,106,0.15);
  --white:         #FFFFFF;
  --off-white:     #F8F5F0;
  --text-dark:     #1A1A1A;
  --text-mid:      #4A3F52;
  --text-muted:    #7A6E82;
  --border:        rgba(201,160,106,0.2);
  --border-light:  rgba(201,160,106,0.1);
  --nav-h:         84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; }
h4 { font-family: 'Lato', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }

p { font-size: 1rem; color: var(--text-mid); line-height: 1.75; }
a { color: inherit; text-decoration: none; }

.gold { color: var(--gold); }
.label {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem 0;
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: var(--purple-deep);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(1.1);
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  padding: 0.55rem 1.5rem !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--purple-deep) !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--gold); transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 8vw, 8rem);
  overflow: hidden;
  background: var(--purple-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(42,14,63,0.92) 0%, rgba(61,21,88,0.85) 50%, rgba(42,14,63,0.95) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80') center/cover no-repeat;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(201,160,106,0.08) 1px, transparent 0);
  background-size: 40px 40px;
}
.hero-accent {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(to left, rgba(201,160,106,0.05), transparent);
  border-left: 1px solid rgba(201,160,106,0.12);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 54ch;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.btn-gold { background: var(--gold); color: var(--purple-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: var(--purple-mid); }

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--purple);
  padding: 2rem clamp(1.5rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  border-bottom: 1px solid rgba(201,160,106,0.3);
}
.stat-item { text-align: center; padding: 0.75rem 0; }
.stat-val {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.4rem;
}

/* ── SECTIONS ── */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 8vw, 8rem); }
.section-purple { background: var(--purple-deep); }
.section-purple-mid { background: var(--purple); }
.section-light { background: var(--off-white); }

.section-header { margin-bottom: 3.5rem; }
.section-header h2 { color: var(--purple); }
.section-header h2.light { color: var(--white); }
.section-header p { margin-top: 1rem; max-width: 68ch; }

/* ── ABOUT STRIP ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.two-col-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.two-col-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.two-col-img:hover img { transform: scale(1.04); }
.two-col-img::before {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid var(--border);
  z-index: 2; pointer-events: none;
}
.two-col-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  z-index: 3;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
}
.service-card:hover { background: var(--off-white); }
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(61,21,88,0.08);
  line-height: 1;
  margin-bottom: 1rem;
}
.service-card h3 { color: var(--purple); margin-bottom: 0.75rem; font-size: 1.4rem; }
.service-card p { font-size: 0.92rem; }

/* ── VALUE PILLARS ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.pillar-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,160,106,0.2);
  padding: 2rem 1.75rem;
  transition: border-color 0.3s, background 0.3s;
}
.pillar-card:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.pillar-card .pillar-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.pillar-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.6rem; }
.pillar-card p { font-size: 0.88rem; color: rgba(255,255,255,0.65); }

/* ── TRANSACTION LIST ── */
.transactions {
  border: 1px solid rgba(201,160,106,0.25);
  background: var(--white);
}
.transaction-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(201,160,106,0.15);
  transition: background 0.2s;
}
.transaction-item:last-child { border-bottom: none; }
.transaction-item:hover { background: var(--off-white); }
.transaction-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: rgba(61,21,88,0.15);
  line-height: 1;
  text-align: center;
}
.transaction-desc { color: var(--text-mid); font-size: 0.92rem; }
.transaction-desc strong { color: var(--text-dark); font-weight: 700; }
.transaction-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--purple);
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

/* ── PROCESS STEPS ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.process-step h4 { color: var(--purple-deep); font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; letter-spacing: 0; text-transform: none; margin-bottom: 0.3rem; }
.process-step p { font-size: 0.88rem; margin: 0; }

/* ── BUYER GRID ── */
.buyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.buyer-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background 0.25s;
}
.buyer-card:hover { background: var(--off-white); }
.buyer-card .buyer-icon {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 0.75rem;
  display: block;
}
.buyer-card h3 { color: var(--purple); font-size: 1rem; margin-bottom: 0.4rem; }
.buyer-card p { font-size: 0.82rem; }

/* ── INDUSTRY LIST ── */
.industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.industry-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,160,106,0.15);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.25s, background 0.25s;
}
.industry-item:hover { border-color: var(--gold); background: rgba(201,160,106,0.1); color: var(--white); }
.industry-item::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { color: var(--gold); flex-shrink: 0; margin-top: 0.1rem; }
.contact-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-val { font-size: 0.95rem; color: var(--text-dark); }
.contact-val a { color: var(--purple); }
.contact-val a:hover { color: var(--gold-dark); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--off-white);
  border: 1px solid rgba(61,21,88,0.15);
  color: var(--text-dark);
  padding: 0.8rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--purple); }
.form-group textarea { min-height: 130px; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--purple-deep);
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 8vw, 8rem) 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,160,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.page-hero .label { margin-bottom: 0.75rem; }
.page-hero h1 { color: var(--white); }
.page-hero p { margin-top: 1rem; font-size: 1.05rem; color: rgba(255,255,255,0.7); max-width: 58ch; }

/* ── FOOTER ── */
footer {
  background: var(--purple-deep);
  padding: 3.5rem clamp(1.5rem, 8vw, 8rem) 2rem;
  border-top: 1px solid rgba(201,160,106,0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,160,106,0.15);
  margin-bottom: 2rem;
}
.footer-brand img { height: 50px; width: auto; margin-bottom: 1rem; filter: brightness(1.1); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 28ch; margin: 0; }
.footer-col h4 { color: rgba(255,255,255,0.9); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.25s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); max-width: none; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: color 0.25s; }
.footer-legal a:hover { color: var(--gold); }

/* ── QUOTE BLOCK ── */
.quote-block {
  background: var(--purple);
  padding: 3rem clamp(1.5rem, 8vw, 8rem);
  text-align: center;
  border-top: 1px solid rgba(201,160,106,0.2);
  border-bottom: 1px solid rgba(201,160,106,0.2);
}
.quote-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}
.quote-block blockquote::before { content: '\201C'; color: var(--gold); }
.quote-block blockquote::after  { content: '\201D'; color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col-img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .transaction-item { grid-template-columns: 50px 1fr; }
  .transaction-amount { grid-column: 2; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--purple-deep);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201,160,106,0.2);
  }
  .nav-cta { margin-left: 0; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
