/* EP Valuation - Fast, Clean, Modern */
:root {
  --bg: #0a0f0d;
  --bg-elevated: #121916;
  --text: #e8ebe9;
  --text-muted: #8a9a94;
  --accent: #2dd4bf;
  --accent-dim: rgba(45, 212, 191, 0.15);
  --tagline-orange: #e85c2b;
  --tagline-orange-dim: rgba(232, 92, 43, 0.12);
  --border: rgba(255,255,255,0.08);
  --radius: 8px;
  --space: clamp(1.5rem, 4vw, 3rem);
}

.tagline-orange {
  color: var(--tagline-orange) !important;
  font-weight: 700;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #5eead4;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(10, 15, 13, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
}

.header-tagline {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
}

.nav {
  display: none;
}

.nav a {
  color: var(--text-muted);
  margin-left: 1.5rem;
  font-size: 0.9rem;
}

.nav a:hover,
.nav-cta {
  color: var(--text) !important;
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--accent-dim);
  border-radius: var(--radius);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
  position: relative;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.nav.open {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.nav.open a {
  margin-left: 0;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .nav { display: flex; align-items: center; }
  .nav.open { position: static; flex-direction: row; background: transparent; border: none; box-shadow: none; padding: 0; }
  .nav.open a { margin-left: 1.5rem; padding: 0; }
  .menu-btn { display: none; }
}

/* Hero */
.hero {
  padding: clamp(4rem, 12vw, 8rem) 1.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Hero with background image (Insert #2 → panel Insert #3) */
.hero-with-bg {
  position: relative;
  max-width: none;
  background-image: url('assets/AbidjanNight.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 13, 0.5);
}

.hero-with-bg .hero-inner {
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.hero-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-tag-item {
  display: inline-block;
  padding: 0.35em 0.75em;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.hero-tag-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 32px rgba(0, 0, 0, 0.35);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 0, 0, 0.4);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
}

/* Who We Are */
.who-we-are {
  background: var(--bg-elevated);
}

.who-we-are-purpose {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.who-we-are-purpose strong {
  color: var(--accent);
  font-weight: 600;
}

.who-we-are-people {
  margin-bottom: 2.5rem;
}

.who-we-are-people p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.who-we-are-people strong {
  color: var(--text);
  font-weight: 600;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-item {
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.stat-value {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.stat-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: calc(var(--fill, 100) * 1%);
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.6s ease-out;
}

/* Expertise Tags */
.expertise-visual h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.expertise-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.expertise-tag.expertise-pillar {
  border-color: rgba(45, 212, 191, 0.4);
  font-weight: 500;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.expertise-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-dim);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text);
}

/* Sections */
.section {
  padding: var(--space) 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.services-grid-five {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid-five { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .services-grid-five { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Areas of Expertise - standalone section below Services */
.expertise-section {
  background: var(--bg-elevated);
}

.expertise-section .expertise-intro {
  margin-bottom: 1.25rem;
}

.firm-expertise-about {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.firm-expertise-about p {
  margin-bottom: 1rem;
}

.firm-expertise-about .about-tagline {
  margin-bottom: 0;
  margin-top: 1rem;
}

/* EP Valuation Statistics */
.ep-stats-section {
  background: var(--bg);
}

.ep-stats-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .ep-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

.ep-stat-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ep-stat-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 1.25rem;
  line-height: 1.3;
}

.ep-chart {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ep-bar-row {
  display: grid;
  grid-template-columns: minmax(6rem, 2fr) minmax(4rem, 1fr) 2.5rem;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.ep-bar-label {
  color: var(--text-muted);
  white-space: normal;
  overflow: visible;
  word-break: break-word;
  min-width: 0;
}

.ep-bar-wrap {
  height: 1.25rem;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.ep-bar {
  height: 100%;
  width: calc(var(--pct, 0) * 1%);
  max-width: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.5s ease-out;
}

.ep-bar-pct {
  background: linear-gradient(90deg, var(--tagline-orange), #f59e0b);
}

.ep-bar-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* Testimonials - What Our Clients Say */
.testimonials-section {
  background: var(--bg-elevated);
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  margin: 0;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--tagline-orange);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--tagline-orange);
  opacity: 0.4;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 1rem;
  font-style: italic;
  position: relative;
  z-index: 0;
}

.testimonial-attribution {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  margin: 0;
}

.midstream-block {
  padding: 1.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(45, 212, 191, 0.2);
  border-radius: var(--radius);
}

.midstream-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.midstream-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* Where We Add Value - distinct from Areas of Expertise (list format) */
.value-block {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 2rem;
}

.value-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.value-block-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.value-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.value-list li {
  margin-bottom: 0.25rem;
}

/* ESG */
.esg-section {
  background: var(--bg-elevated);
}

.esg-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .esg-grid { grid-template-columns: repeat(2, 1fr); }
}

.esg-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.esg-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.esg-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* News & Updates */
.updates-section {
  background: var(--bg);
}

.updates-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.update-card {
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.update-date {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tagline-orange);
  margin-bottom: 0.5rem;
}

.update-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.update-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* About */
.about-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-tagline {
  font-weight: 600;
  color: var(--accent) !important;
  margin-top: 1.5rem !important;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-item {
  display: block;
  padding: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.contact-item .contact-value {
  font-weight: 500;
  color: var(--text);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-weight: 500;
  color: var(--text);
}

.contact-locations {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-locations-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-locations-value {
  font-weight: 500;
  color: var(--text);
}

.feedback-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feedback-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
}

.feedback-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.feedback-input,
.feedback-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

.feedback-input:focus,
.feedback-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.feedback-textarea {
  resize: vertical;
  min-height: 6rem;
}

.feedback-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
