﻿/* ============================================================
   KF DIAFA CONSULTING — style.css
   Palette: #0E0805 (Obsidian) | #C8860A (Bronze) | #B87333 (Copper)
            #D4A853 (Gold) | #F5F0E8 (Ivory) | #1C1008 (Dark Warm)
   Fonts: Playfair Display (headings) | Poppins (body)
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #c8b89a;
  background: #0E0805;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- CSS Variables ---- */
:root {
  --obsidian: #0E0805;
  --dark: #160C05;
  --dark-warm: #1C1008;
  --dark-card: #1F1209;
  --dark-card2: #251608;
  --navy: #0E0805;
  --navy-light: #1C1008;

  --bronze: #C8860A;
  --bronze-dark: #A86E06;
  --copper: #B87333;
  --gold: #D4A853;
  --gold-light: #E8C97A;
  --gold-dark: #C8860A;

  --ivory: #F5F0E8;
  --ivory-dim: #C8B89A;
  --ivory-muted: #8A7A64;

  --white: #F5F0E8;
  --light: #1C1008;
  --light-alt: #251608;
  --text: #C8B89A;
  --text-muted: #7A6A54;
  --border: rgba(200,134,10,0.18);
  --border-warm: rgba(212,168,83,0.14);

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 16px rgba(0,0,0,0.45);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.55);
  --shadow-lg: 0 20px 70px rgba(0,0,0,0.65);
  --shadow-gold: 0 8px 32px rgba(200,134,10,0.25);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Section base ---- */
section { padding: 96px 0; }
.section-light { background: var(--dark-warm); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-desc {
  font-size: 1rem;
  color: var(--ivory-muted);
  margin-top: 16px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--ivory);
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ivory);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.overline {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--gold) 60%, var(--copper) 100%);
  color: #0E0805;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(200,134,10,0.35);
  border: 1px solid rgba(212,168,83,0.4);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200,134,10,0.5);
}

.btn-navy {
  background: var(--dark-card);
  color: var(--ivory);
  border: 1px solid var(--border);
}
.btn-navy:hover {
  background: var(--dark-card2);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(212,168,83,0.45);
}
.btn-outline-white:hover {
  background: rgba(212,168,83,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212,168,83,0.2);
}

.btn-full { width: 100%; justify-content: center; }

.mt-32 { margin-top: 32px; }

/* ---- Scroll Animation Classes ---- */
.reveal-up, .reveal-left, .reveal-right, .reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-fade  { }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(14,8,5,0.97);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.6), 0 1px 0 rgba(200,134,10,0.15);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-kf {
  width: 100px;
  height: 40px;
  color: var(--ivory);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.6rem;
  color: rgba(245,240,232,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(245,240,232,0.7);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.nav-link:hover { color: var(--gold); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0E0805;
  background: linear-gradient(135deg, var(--bronze) 0%, var(--gold) 100%);
  padding: 9px 22px;
  border-radius: var(--radius);
  margin-left: 8px;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(200,134,10,0.3);
  letter-spacing: 0.04em;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold) 0%, var(--bronze) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,134,10,0.45);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-overlay.active { opacity: 1; }

/* ---- Language Picker ---- */
.lang-picker-item { position: relative; display: flex; align-items: center; }

.lang-picker { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: var(--radius);
  color: rgba(245,240,232,0.7);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
  color: var(--gold);
  border-color: rgba(200,134,10,0.3);
  background: rgba(200,134,10,0.06);
}

.lang-globe {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity var(--transition);
}
.lang-btn:hover .lang-globe,
.lang-btn[aria-expanded="true"] .lang-globe { opacity: 1; }

.lang-current {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang-caret {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: rgba(20,12,6,0.97);
  border: 1px solid rgba(200,134,10,0.22);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,134,10,0.08);
  backdrop-filter: blur(16px);
  list-style: none;
  padding: 6px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1200;
}
.lang-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(245,240,232,0.65);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.lang-option:hover {
  background: rgba(200,134,10,0.1);
  color: var(--ivory);
}
.lang-option.active {
  color: var(--gold);
  font-weight: 600;
  background: rgba(200,134,10,0.08);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

/* RTL support */
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
html[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .lang-btn { flex-direction: row-reverse; }
html[dir="rtl"] .lang-option { flex-direction: row-reverse; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.7) brightness(0.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14,8,5,0.88) 0%,
    rgba(22,12,5,0.72) 45%,
    rgba(30,18,8,0.45) 75%,
    rgba(14,8,5,0.3) 100%
  );
}

/* Cinematic warm vignette */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, transparent 40%, rgba(14,8,5,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 24px;
  margin: 0 auto 0 max(24px, calc((100vw - 1200px)/2 + 24px));
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(200,134,10,0.4);
}

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(245,240,232,0.72);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.4);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ================================================================
   STATISTICS
   ================================================================ */
.stats {
  padding: 0;
  background: linear-gradient(90deg, #1A0C04 0%, #221005 50%, #1A0C04 100%);
  border-top: 1px solid rgba(200,134,10,0.2);
  border-bottom: 1px solid rgba(200,134,10,0.2);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(200,134,10,0.04) 50%, transparent 100%);
  pointer-events: none;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1 1 160px;
  text-align: center;
  padding: 48px 32px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  text-shadow: 0 0 30px rgba(200,134,10,0.3);
}

.stat-symbol {
  font-size: 1.5rem;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(245,240,232,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(200,134,10,0.2);
  flex-shrink: 0;
}

/* ================================================================
   OUR STORY
   ================================================================ */
section:not(.stats):not(.trusted) { background: var(--obsidian); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.story-image-col { position: relative; }

.story-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  border: 1px solid rgba(200,134,10,0.15);
}

.story-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.85) brightness(0.9);
}

.story-image-frame:hover img { transform: scale(1.04); filter: saturate(1) brightness(0.95); }

.story-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--bronze) 0%, var(--gold) 100%);
  color: #0E0805;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.badge-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: #0E0805;
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(14,8,5,0.8);
}

.story-content p {
  color: var(--ivory-dim);
  margin-bottom: 16px;
  font-size: 0.96rem;
}

.story-content em { color: var(--gold); font-style: italic; }
.story-content .section-title { margin-bottom: 24px; }

/* Vision */
.vision-block {
  background: linear-gradient(135deg, #1C1008 0%, #251608 50%, #1C1008 100%);
  border-radius: var(--radius-lg);
  padding: 60px 80px;
  margin-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200,134,10,0.18);
  box-shadow: var(--shadow-md);
}

.vision-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--bronze), transparent);
}

.vision-block::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200,134,10,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vision-inner .overline { color: var(--gold); opacity: 0.85; }

.vision-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(245,240,232,0.88);
  line-height: 1.7;
  margin-top: 16px;
}

/* Values */
.values-header { text-align: center; margin-bottom: 48px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,134,10,0.12);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,134,10,0.35);
  background: var(--dark-card2);
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(200,134,10,0.3));
}

.value-icon svg { width: 100%; height: 100%; }

.value-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ivory);
}

.value-card p {
  font-size: 0.84rem;
  color: var(--ivory-muted);
  line-height: 1.7;
}

/* ================================================================
   EXPERTISE
   ================================================================ */
.expertise { background: var(--obsidian); }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.expertise-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,134,10,0.12);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,134,10,0.3);
  border-color: rgba(200,134,10,0.3);
}

.card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.75) brightness(0.8);
}

.expertise-card:hover .card-img-wrap img { transform: scale(1.08); filter: saturate(0.9) brightness(0.85); }

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(14,8,5,0.75));
}

.card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--dark-card);
}

.card-icon-wrap {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 6px rgba(200,134,10,0.3));
}
.card-icon-wrap svg { width: 100%; height: 100%; }

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ivory);
}

.card-body p {
  font-size: 0.87rem;
  color: var(--ivory-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-list {
  margin-bottom: 24px;
  flex: 1;
}

.card-list li {
  font-size: 0.82rem;
  color: var(--ivory-muted);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(200,134,10,0.5);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}

.card-link:hover { color: var(--gold-light); gap: 10px; }

/* ================================================================
   INDUSTRIES
   ================================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,134,10,0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: radial-gradient(ellipse at top left, rgba(200,134,10,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200,134,10,0.25);
}

.industry-card:hover::before { opacity: 1; }
.industry-card:hover::after { transform: scaleX(1); }

.industry-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(200,134,10,0.3));
}
.industry-icon svg { width: 100%; height: 100%; }

.industry-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 0.84rem;
  color: var(--ivory-muted);
  line-height: 1.7;
}

/* ================================================================
   SUCCESS STORIES
   ================================================================ */
.success { background: var(--obsidian); }

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.success-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,134,10,0.1);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.success-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,134,10,0.25);
  border-color: rgba(200,134,10,0.25);
}

.success-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.success-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.75) brightness(0.8);
}

.success-card:hover .success-img-wrap img { transform: scale(1.06); filter: saturate(0.9) brightness(0.85); }

.success-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: linear-gradient(135deg, var(--bronze) 0%, var(--gold) 100%);
  color: #0E0805;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(200,134,10,0.4);
}

.success-body {
  padding: 28px;
  flex: 1;
  background: var(--dark-card);
}

.success-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 10px;
}

.success-body p {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.metrics-row {
  display: flex;
  gap: 24px;
  border-top: 1px solid rgba(200,134,10,0.12);
  padding-top: 16px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(200,134,10,0.3);
}

.metric-lbl {
  font-size: 0.72rem;
  color: var(--ivory-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Testimonial */
.testimonial-block {
  background: linear-gradient(135deg, #1C1008 0%, #251608 50%, #1C1008 100%);
  border-radius: var(--radius-lg);
  padding: 60px 80px;
  text-align: center;
  border: 1px solid rgba(200,134,10,0.18);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.testimonial-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.testimonial-inner { max-width: 700px; margin: 0 auto; }

.quote-svg {
  width: 48px;
  height: 48px;
  color: var(--gold);
  opacity: 0.5;
  margin: 0 auto 24px;
}

.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  color: rgba(245,240,232,0.88);
  line-height: 1.8;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.author-property {
  font-size: 0.78rem;
  color: var(--ivory-muted);
}

/* ================================================================
   JOURNAL
   ================================================================ */
.journal-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.journal-card {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,134,10,0.1);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.journal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(200,134,10,0.25);
  border-color: rgba(200,134,10,0.25);
}

.journal-img-wrap {
  position: relative;
  overflow: hidden;
}

.journal-featured .journal-img-wrap { height: 260px; }
.journal-card:not(.journal-featured) .journal-img-wrap { height: 180px; }

.journal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.75) brightness(0.8);
}

.journal-card:hover .journal-img-wrap img { transform: scale(1.06); filter: saturate(0.9) brightness(0.85); }

.journal-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(14,8,5,0.85);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid rgba(200,134,10,0.35);
  backdrop-filter: blur(4px);
}

.journal-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.journal-date {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  opacity: 0.8;
}

.journal-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 10px;
  line-height: 1.4;
}

.journal-featured .journal-body h3 { font-size: 1.15rem; }

.journal-body p {
  font-size: 0.84rem;
  color: var(--ivory-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.journal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}

.journal-link:hover { color: var(--gold-light); gap: 10px; }

/* ================================================================
   TRUSTED BY
   ================================================================ */
.trusted {
  background: linear-gradient(180deg, #120A03 0%, #0E0805 100%);
  padding: 80px 0;
  border-top: 1px solid rgba(200,134,10,0.12);
}

.trusted .section-header .section-title { color: var(--ivory); }
.trusted .section-header .section-desc { color: rgba(245,240,232,0.45); }
.trusted .overline { color: var(--gold); }

.logo-carousel {
  overflow: hidden;
  position: relative;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #120A03, transparent);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #120A03, transparent);
}

.logo-track {
  display: flex;
  gap: 24px;
  animation: logoScroll 22s linear infinite;
  width: max-content;
}

.logo-track:hover { animation-play-state: paused; }

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  flex-shrink: 0;
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-ph {
  background: rgba(200,134,10,0.05);
  border: 1px solid rgba(200,134,10,0.15);
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(245,240,232,0.35);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  padding: 8px;
}

.logo-item:hover .logo-ph {
  background: rgba(200,134,10,0.1);
  border-color: rgba(200,134,10,0.4);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(200,134,10,0.1);
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact .container { max-width: 1100px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }
.contact-info em { color: var(--gold); }

.contact-desc {
  font-size: 0.93rem;
  color: var(--ivory-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.c-icon {
  width: 42px;
  height: 42px;
  background: rgba(200,134,10,0.1);
  border: 1px solid rgba(200,134,10,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.c-icon svg { width: 18px; height: 18px; }

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--ivory-muted);
}

/* Form */
.contact-form-wrap {
  background: var(--dark-card);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(200,134,10,0.15);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ivory-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.req { color: var(--gold); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--ivory);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(200,134,10,0.18);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245,240,232,0.25); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,134,10,0.12);
  background: rgba(255,255,255,0.06);
}

.form-group select option {
  background: #1C1008;
  color: var(--ivory);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.select-wrap {
  position: relative;
}

.select-wrap select { padding-right: 40px; cursor: pointer; }

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ivory-muted);
  pointer-events: none;
}

.field-error {
  font-size: 0.75rem;
  color: #e07070;
  min-height: 18px;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #e07070;
}

#submitBtn svg { width: 18px; height: 18px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(200,134,10,0.08);
  border: 1px solid rgba(200,134,10,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--gold);
}

.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success p { font-size: 0.88rem; font-weight: 500; }
.hidden { display: none !important; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: linear-gradient(180deg, #0E0805 0%, #070402 100%);
  padding-top: 80px;
  border-top: 1px solid rgba(200,134,10,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(200,134,10,0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.38);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(200,134,10,0.07);
  border: 1px solid rgba(200,134,10,0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,240,232,0.4);
  transition: all var(--transition);
}

.social-link svg { width: 16px; height: 16px; }

.social-link:hover {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--gold) 100%);
  border-color: var(--gold);
  color: #0E0805;
  box-shadow: 0 4px 16px rgba(200,134,10,0.35);
}

.footer-col h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.45);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-col p {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.45);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-est {
  display: inline-block;
  margin-top: 16px;
  border: 1px solid rgba(200,134,10,0.3);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  opacity: 0.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.25);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Large desktop */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { gap: 48px; }
  .vision-block { padding: 48px 48px; }
  .testimonial-block { padding: 48px; }
}

/* Tablet landscape */
@media (max-width: 960px) {
  section { padding: 72px 0; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-image-col { max-width: 480px; margin: 0 auto; }
  .story-badge { right: 0; }

  .expertise-grid { grid-template-columns: repeat(2, 1fr); }

  .industries-grid { grid-template-columns: repeat(2, 1fr); }

  .success-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto 64px; }

  .journal-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .journal-featured .journal-img-wrap { height: 220px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .stat-divider { display: none; }
  .stats-grid { gap: 0; }
  .stat-item { flex: 1 1 140px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: #0E0805;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 4px;
    z-index: 1000;
    transition: right var(--transition);
    box-shadow: -4px 0 40px rgba(0,0,0,0.6);
    border-left: 1px solid rgba(200,134,10,0.12);
  }

  .nav-links.open { right: 0; }

  .nav-link {
    font-size: 1rem;
    color: rgba(245,240,232,0.65);
    padding: 12px 0;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hamburger { display: flex; }
  .mobile-overlay { display: block; }

  /* Lang picker in mobile slide menu */
  .lang-picker-item { width: 100%; padding: 4px 0; }
  .lang-picker { width: 100%; }
  .lang-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 0;
    font-size: 1rem;
    color: rgba(245,240,232,0.65);
    border: none;
    background: none;
  }
  .lang-dropdown {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  .lang-dropdown.open {
    pointer-events: auto;
    max-height: 240px;
    padding: 4px 0 4px 16px;
  }
  .lang-option { padding: 8px 0; font-size: 0.9rem; }
  html[dir="rtl"] .lang-btn { flex-direction: row; justify-content: flex-end; }

  .hero-content {
    padding: 0 24px;
    margin-left: 24px;
  }

  .vision-block { padding: 40px 28px; }
  .testimonial-block { padding: 40px 28px; }
  .contact-form-wrap { padding: 32px 24px; }

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

  .values-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ================================================================
   STORY SECTION — EDITORIAL ENHANCEMENTS
   ================================================================ */

/* Stretch both columns to equal height — image fills full content height */
.story-grid {
  align-items: stretch;
}

.story-image-col {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Override fixed aspect-ratio: let image fill the column height */
.story-image-frame {
  flex: 1;
  aspect-ratio: unset !important;
  min-height: 440px;
}

/* Restore fixed ratio on tablet/mobile where columns stack */
@media (max-width: 960px) {
  .story-image-col { display: block; }
  .story-image-frame { flex: none; aspect-ratio: 4/5 !important; min-height: unset; }
}

.story-content {
  display: flex;
  flex-direction: column;
}

.story-content .section-title { margin-bottom: 20px; }

.story-opening {
  font-size: 1rem;
  font-style: italic;
  color: var(--ivory-dim);
  line-height: 1.85;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin-bottom: 0;
}

.story-opening em {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

.story-sep {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.story-sep span {
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, rgba(200,134,10,0.5), rgba(200,134,10,0.12), transparent);
}

.story-block { display: flex; flex-direction: column; gap: 12px; }

.story-block-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.story-block p {
  color: var(--ivory-dim);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 0;
}

.story-block em {
  color: var(--gold);
  font-style: italic;
}

.story-name {
  color: var(--gold);
  font-weight: 600;
  font-style: normal;
}

.story-mission-line {
  background: rgba(200,134,10,0.06);
  border: 1px solid rgba(200,134,10,0.18);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--ivory-dim);
}

.story-mission-line em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}


/* Mobile */
@media (max-width: 500px) {
  section { padding: 56px 0; }

  .expertise-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .stats-grid { flex-direction: column; }
  .stat-divider { display: none; }
  .stat-item { padding: 28px 24px; }

  .values-grid { grid-template-columns: 1fr; }

  .industries-grid { grid-template-columns: 1fr; }

  .story-badge { right: 0; bottom: -16px; }
}

/* ---- Journal View-All CTA ---- */
.journal-view-all { text-align: center; margin-top: 48px; }
