/* ==========================================================================
   Tanjuriel El-Buba Co. Ltd — Corporate Design System
   Primary A: #5da985 (Emerald Sage) | Primary B: #895a30 (Rich Earth Brown)
   ========================================================================== */

:root {
  --green: #5da985;
  --green-dark: #48876a;
  --green-deep: #2f5c47;
  --green-tint: #eef6f2;
  --green-tint-2: #ddeee6;
  --brown: #895a30;
  --brown-dark: #6e4726;
  --brown-tint: #f6efe8;
  --ink: #1c2420;
  --ink-soft: #46534d;
  --muted: #6d7a74;
  --line: #e3ebe7;
  --white: #ffffff;
  --bg-alt: #f7faf8;
  --shadow-sm: 0 1px 2px rgba(28, 36, 32, 0.06);
  --shadow-md: 0 6px 24px -8px rgba(28, 36, 32, 0.14);
  --shadow-lg: 0 20px 50px -18px rgba(28, 36, 32, 0.22);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
button { font-family: inherit; }

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.925rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(93, 169, 133, 0.6);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(93, 169, 133, 0.7);
}
.btn-outline {
  border-color: var(--green);
  color: var(--green-deep);
  background: transparent;
}
.btn-outline:hover { background: var(--green-tint); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--muted); }
.btn-white { background: var(--white); color: var(--green-deep); }
.btn-white:hover { background: var(--green-tint); transform: translateY(-2px); }
.btn-outline-white { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 4px 12px -4px rgba(93, 169, 133, 0.55);
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--white);
  padding: 3px;
}
.brand-logo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
}
.brand-mark.no-logo .brand-logo { display: none; }
.brand-mark.no-logo .brand-logo-fallback { display: grid; }
.brand-mark-footer { background: rgba(255, 255, 255, 0.95); box-shadow: none; }
.brand-mark-footer .brand-logo { background: transparent; padding: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 1rem; color: var(--ink); }
.brand-rc {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brown);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--green-deep); background: var(--green-tint); }
.nav-link.active { color: var(--green-deep); background: var(--green-tint); }
.chevron { transition: transform 0.25s var(--ease); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 8px;
  min-width: 280px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), translate 0.25s var(--ease), visibility 0.25s;
}
.has-dropdown.open .dropdown-menu,
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; translate: -50% 0; }
.has-dropdown.open .chevron,
.has-dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
}
.dropdown-menu a:hover { background: var(--green-tint); color: var(--green-deep); padding-left: 18px; }
.dd-num {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--brown);
  letter-spacing: 0.08em;
}

.nav-cta { flex-shrink: 0; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, #10201a 0%, #163025 55%, #1b3a2c 100%);
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-photo.active { opacity: 1; z-index: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 18, 14, 0.78) 0%, rgba(8, 18, 14, 0.58) 50%, rgba(8, 18, 14, 0.82) 100%),
    linear-gradient(120deg, rgba(20, 45, 35, 0.35) 0%, rgba(60, 38, 20, 0.22) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.hero.has-photo .hero-overlay { opacity: 1; }
.hero.has-photo .hero-orb,
.hero.has-photo .hero-skyline,
.hero.has-photo .hero-grid-pattern { opacity: 0; }
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 30%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.hero-orb-a { width: 480px; height: 480px; background: var(--green); top: -140px; right: -100px; }
.hero-orb-b { width: 420px; height: 420px; background: var(--brown); bottom: -180px; left: -120px; opacity: 0.4; }
.hero-skyline {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background:
    linear-gradient(transparent, rgba(0,0,0,0.25)),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.05) 0 40px, rgba(255,255,255,0.02) 40px 90px,
      rgba(255,255,255,0.06) 90px 120px, rgba(255,255,255,0.03) 120px 200px);
  clip-path: polygon(0 100%, 0 60%, 6% 60%, 6% 35%, 13% 35%, 13% 70%, 20% 70%, 20% 20%, 28% 20%, 28% 55%, 36% 55%, 36% 40%, 44% 40%, 44% 75%, 52% 75%, 52% 15%, 60% 15%, 60% 50%, 68% 50%, 68% 65%, 76% 65%, 76% 30%, 84% 30%, 84% 60%, 92% 60%, 92% 45%, 100% 45%, 100% 100%);
  opacity: 0.6;
}

.hero-inner { position: relative; z-index: 3; max-width: 880px; }

.hero-title {
  margin: 28px 0 22px;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.accent-a { color: #c8f5de; }
.accent-b { color: #f5d4a8; }

.hero-lede {
  max-width: 640px;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.75); color: #ffffff; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.14); border-color: #ffffff; }

.hero-locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero-locations i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}
.loc-global { color: #c8f5de; }

/* Crisp legibility over bright hero photos — light shadow only */
.hero.has-photo .hero-title { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4); }
.hero.has-photo .hero-lede { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.hero.has-photo .hero-locations { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }

/* ---------- Metrics ---------- */
.metrics {
  position: relative;
  margin-top: -56px;
  padding-bottom: 30px;
  z-index: 5;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 16px;
}
.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.metric-card:hover {
  transform: translateY(-5px);
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
}
.metric-icon {
  width: 46px; height: 46px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green-tint);
  color: var(--green-deep);
}
.metric-icon svg { width: 22px; height: 22px; }
.metric-card:nth-child(even) .metric-icon { background: var(--brown-tint); color: var(--brown); }
.metric-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.metric-value small { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.metric-label {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- Sections generic ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }

/* ---------- Overview ---------- */
.overview-inner {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: center;
}
.overview-copy .section-eyebrow { margin-bottom: 10px; }
.overview-copy .section-title { margin-bottom: 22px; }
.overview-copy > p { color: var(--ink-soft); margin-bottom: 16px; }
.lead-para { font-size: 1.16rem; font-weight: 500; color: var(--ink) !important; line-height: 1.6; }
.overview-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.overview-panel { display: grid; gap: 18px; }
.panel-card {
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.panel-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.panel-card-a { background: linear-gradient(135deg, var(--green-tint) 0%, var(--white) 70%); border-left: 4px solid var(--green); }
.panel-card-b { background: linear-gradient(135deg, var(--brown-tint) 0%, var(--white) 70%); border-left: 4px solid var(--brown); margin-left: 28px; }
.panel-card-c { background: linear-gradient(135deg, var(--green-tint-2) 0%, var(--white) 70%); border-left: 4px solid var(--green-deep); margin-left: 56px; }
.panel-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
}
.panel-card strong { font-size: 1.08rem; font-weight: 800; color: var(--ink); }
.panel-card span:last-child { font-size: 0.88rem; color: var(--muted); }

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.mvv-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.mvv-card:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: var(--shadow-md); }
.mvv-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green-deep);
  margin-bottom: 20px;
}
.mvv-icon svg { width: 26px; height: 26px; }
.mvv-card:nth-child(2) .mvv-icon { background: var(--brown-tint); color: var(--brown); }
.mvv-card h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.mvv-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.65; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Business Arm image cards ---------- */
.arm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.arm-card {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--green-deep);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.arm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.arm-card:nth-child(3n) { background: var(--brown-dark); }
.arm-card-media {
  position: absolute;
  inset: 0;
  background-image: var(--arm-img);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
  z-index: -2;
}
.arm-card:hover .arm-card-media { transform: scale(1.08); }
.arm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 32, 26, 0.15) 0%, rgba(16, 32, 26, 0.55) 48%, rgba(16, 32, 26, 0.94) 100%);
  transition: background 0.4s var(--ease);
}
.arm-card:hover::after {
  background: linear-gradient(180deg, rgba(47, 92, 71, 0.35) 0%, rgba(16, 32, 26, 0.7) 50%, rgba(16, 32, 26, 0.96) 100%);
}
.arm-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: var(--white);
}
.arm-num {
  align-self: flex-start;
  display: inline-grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.arm-card-text h3 { font-size: 1.16rem; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.arm-card-text p {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.arm-card:hover .arm-card-text p,
.arm-card:focus-within .arm-card-text p { max-height: 120px; opacity: 1; margin-bottom: 12px; }
.arm-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #a8e0c4;
}
.arm-more svg { transition: transform 0.3s var(--ease); }
.arm-card:hover .arm-more svg { transform: translateX(4px); }

/* ---------- Business Arm detail overlay ---------- */
.arm-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.arm-overlay[hidden] { display: none; }
.arm-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 20, 0.55);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.arm-detail {
  position: relative;
  width: min(880px, 100%);
  margin: auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: detailIn 0.4s var(--ease);
}
@keyframes detailIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.arm-detail-close {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 3;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
}
.arm-detail-close:hover { background: var(--white); transform: rotate(90deg); }
.arm-detail-hero {
  position: relative;
  padding: 48px 44px 34px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}
.arm-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 32, 26, 0.35) 0%, rgba(16, 32, 26, 0.82) 100%);
}
.arm-detail-hero-content { position: relative; }
.arm-detail-num {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #a8e0c4;
  margin-bottom: 10px;
}
.arm-detail-hero h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; }
.arm-detail-hero p { margin-top: 10px; font-size: 1rem; color: rgba(255, 255, 255, 0.85); max-width: 620px; }

.arm-detail-body { padding: clamp(28px, 4vw, 44px); }
.arm-intro { font-size: 1.08rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; }
.arm-sec { margin-top: 34px; }
.arm-sec > h4 {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
}
.arm-sec > p { color: var(--ink-soft); margin-bottom: 16px; line-height: 1.7; }

/* Detail CTA */
.arm-cta {
  margin-top: 40px;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green-dark) 60%, var(--green) 120%);
  color: var(--white);
  text-align: center;
}
.arm-cta h4 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.arm-cta p { color: rgba(255, 255, 255, 0.85); max-width: 520px; margin: 0 auto 22px; }
.arm-cta .btn { background: var(--white); color: var(--green-deep); }
.arm-cta .btn:hover { background: var(--green-tint); transform: translateY(-2px); }

/* Project / commodity / catalog cards */
.project-grid, .commodity-grid, .catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.project-card, .commodity-card, .catalog-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.project-card:hover, .commodity-card:hover, .catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.project-card h5, .commodity-card h5, .catalog-card h5 {
  font-size: 1.02rem;
  font-weight: 800;
  margin: 12px 0 8px;
  color: var(--ink);
}
.catalog-card h5 { margin-top: 0; }
.project-card p, .commodity-card p, .catalog-card p {
  font-size: 0.88rem;
  color: var(--muted);
}
.commodity-card h5 { margin-top: 0; }

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-delivered { background: var(--green-tint-2); color: var(--green-deep); }
.status-active { background: var(--green); color: var(--white); }
.status-progress { background: var(--brown-tint); color: var(--brown); }
.commodity-card .status-badge { margin-bottom: 10px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.chip:hover { border-color: var(--brown); color: var(--brown); background: var(--brown-tint); }

/* Checklist grid (Media / ICT) */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.checklist-grid li {
  position: relative;
  padding: 14px 18px 14px 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-alt);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.checklist-grid li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 -50%;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 800;
  transition: all 0.25s;
}
.checklist-grid li:hover {
  border-color: var(--green);
  background: var(--white);
  transform: translateX(4px);
  color: var(--ink);
}
.checklist-grid li:hover::before { background: var(--green); color: var(--white); }

/* ---------- Leadership ---------- */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.leader-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}
.leader-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.leader-card.open, .leader-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.leader-content { padding: 24px 24px 26px; }
.leader-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.leader-photo-wrap {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-tint) 0%, var(--green-tint-2) 100%);
  overflow: hidden;
  box-shadow: 0 4px 12px -4px rgba(93, 169, 133, 0.45);
}
.leader-card:nth-child(even) .leader-photo-wrap {
  background: linear-gradient(135deg, var(--brown-tint) 0%, #efe4d8 100%);
  box-shadow: 0 4px 12px -4px rgba(137, 90, 48, 0.35);
}
.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.leader-photo-wrap.no-photo .leader-photo { display: none; }
.leader-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  background: linear-gradient(135deg, var(--green-tint) 0%, var(--green-tint-2) 100%);
}
.leader-card:nth-child(even) .leader-photo-fallback {
  color: var(--brown);
  background: linear-gradient(135deg, var(--brown-tint) 0%, #efe4d8 100%);
}
.leader-photo-wrap.no-photo .leader-photo-fallback { display: grid; }

.leader-meta { min-width: 0; flex: 1; }
.leader-meta h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 5px; line-height: 1.25; }
.leader-role { font-size: 0.8rem; font-weight: 600; color: var(--muted); line-height: 1.45; }

.leader-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--green-deep);
  cursor: pointer;
  transition: color 0.2s;
}
.leader-toggle:hover { color: var(--green); }
.leader-toggle svg { transition: transform 0.3s var(--ease); }
.leader-card.open .leader-toggle svg { transform: rotate(180deg); }
.leader-toggle .toggle-label-close { display: none; }
.leader-card.open .leader-toggle .toggle-label-open { display: none; }
.leader-card.open .leader-toggle .toggle-label-close { display: inline; }

.leader-bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.leader-bio-inner { padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.leader-bio ul { display: grid; gap: 12px; }
.leader-bio li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.leader-bio li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Careers ---------- */
.careers-inner {
  max-width: 680px;
}
.careers-copy .section-title { margin: 8px 0 20px; }
.careers-catch { font-size: 1.06rem; color: var(--ink-soft); margin-bottom: 28px; }
.careers-benefits { display: grid; gap: 14px; }
.careers-benefits li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.careers-benefits span { color: var(--green); font-size: 0.7rem; }

.careers-open { margin-top: 30px; }

/* ---------- Contact strip ---------- */
.contact-strip {
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green-dark) 55%, var(--green) 120%);
  color: var(--white);
  padding: 66px 0;
}
.contact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.contact-strip h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; margin-bottom: 8px; }
.contact-strip p { color: rgba(255,255,255,0.8); }
.contact-strip-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #12211b;
  color: rgba(255, 255, 255, 0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 72px 0 56px;
}
.brand-footer .brand-name { color: var(--white); }
.brand-footer .brand-rc { color: #c9a071; }
.footer-tagline {
  margin: 18px 0 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8ecfaf;
  transition: color 0.2s;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social:hover { color: var(--white); }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-contacts, .footer-links { display: grid; gap: 10px; }
.footer-contacts a, .footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-contacts a:hover, .footer-links a:hover { color: #8ecfaf; padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .nav-link { padding: 9px 10px; font-size: 0.86rem; }
  .arm-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .overview-inner { grid-template-columns: 1fr; gap: 48px; }
  .panel-card-b, .panel-card-c { margin-left: 0; }
  .mvv-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 56px; padding-top: 44px; }
  .arm-card-text p { max-height: 120px; opacity: 1; margin-bottom: 12px; }

  .nav-burger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transition: max-height 0.4s var(--ease);
  }
  .main-nav.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 16px 24px 8px; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; border-radius: 10px; padding: 13px 14px; }
  .dropdown-menu {
    position: static;
    translate: 0 0;
    min-width: 0;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: var(--bg-alt);
    border-radius: 12px;
    transition: max-height 0.35s var(--ease), visibility 0.35s;
  }
  .has-dropdown.open .dropdown-menu { visibility: visible; max-height: 560px; padding: 8px; margin-top: 4px; }
  .has-dropdown:hover .dropdown-menu:not(.open) { translate: 0 0; }
  .nav-cta { margin: 12px 24px 20px; }
}

@media (max-width: 720px) {
  .arm-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 56px) 0 90px; }
  .hero-actions .btn { width: 100%; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 44px; }
  .brand-name { font-size: 0.9rem; }
  .contact-strip-actions { width: 100%; }
  .contact-strip-actions .btn { flex: 1; }
  .overview-cta { flex-direction: column; }
  .overview-cta .btn { width: 100%; }
  .arm-overlay { padding: 0; }
  .arm-detail { border-radius: 0; min-height: 100%; }
  .arm-detail-hero { padding: 40px 26px 28px; }
  .arm-detail-body { padding: 26px 22px 40px; }
}

@media (max-width: 420px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-card { padding: 20px 12px 16px; }
  .metric-value { font-size: 1.25rem; }
}

/* Lock scroll when overlay open */
body.overlay-open { overflow: hidden; }
