/* ═══════════════════════════════════════════
   LUSAIL INTERNATIONAL — style.css
   Design: Teal-on-stone with Cormorant display
   ═══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --brand:       #5C8B84;
  --brand-dark:  #3D6860;
  --brand-light: #8BB8B1;
  --stone:       #F5F2EE;
  --stone-mid:   #E8E3DC;
  --ink:         #1A1A18;
  --ink-mid:     #3C3C38;
  --ink-soft:    #6B6B65;
  --dark-bg:     #14201F;
  --dark-card:   #1D2E2C;
  --white:       #FFFFFF;
  --brand-pattern: url('../images/lusail-brand-pattern.png');

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;
  --ff-utility:  'Rajdhani', sans-serif;

  --radius:      12px;
  --radius-sm:   6px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-md:   0 8px 40px rgba(0,0,0,.12);
  --transition:  all .3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font: inherit; }
.container { padding-left: clamp(1rem, 3vw, 1.5rem); padding-right: clamp(1rem, 3vw, 1.5rem); }

/* ── Utilities ── */
.section-pad { padding: 100px 0; }
.section-dark { background: var(--dark-bg); }
.section-muted { background: var(--stone); }

/* ── Lusail brand pattern watermark approach ── */
.section-pad {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-pad::before,
.section-pad::after {
  content: "";
  position: absolute;
  background-image: var(--brand-pattern);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.section-pad::before {
  width: min(34vw, 420px);
  aspect-ratio: 1 / 1;
  top: -30px;
  right: -90px;
  opacity: .045;
}
.section-pad::after {
  width: min(22vw, 260px);
  aspect-ratio: 1 / 1;
  bottom: 10px;
  left: -70px;
  opacity: .028;
}
.section-pad > .container {
  position: relative;
  z-index: 1;
}
.section-dark::before { opacity: .07; }
.section-dark::after { opacity: .045; }
.section-muted::before { opacity: .055; }
.section-muted::after { opacity: .035; }

.section-eyebrow {
  font-family: var(--ff-utility);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: .5rem;
}
.section-eyebrow.light { color: var(--brand-light); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0;
}
.section-title.light { color: var(--white); }

.section-body-text {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.section-body-text.light { color: rgba(255,255,255,.65); }

/* ── Buttons ── */
.btn-primary-brand {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .06em;
  transition: var(--transition);
}
.btn-primary-brand:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,139,132,.35);
}
.btn-outline-brand {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .06em;
  transition: var(--transition);
}
.btn-outline-brand:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#mainNav {
  background: transparent;
  padding: 1.2rem 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#mainNav.scrolled {
  background: rgba(20,32,31,.96);
  padding: .8rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.brand-sub {
  font-family: var(--ff-utility);
  font-size: .55rem;
  letter-spacing: .2em;
  color: var(--brand-light);
  line-height: 1;
}
.nav-link {
  color: rgba(255,255,255,.8) !important;
  font-family: var(--ff-utility);
  font-size: .85rem;
  letter-spacing: .08em;
  font-weight: 500;
  padding: .4rem .8rem !important;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active {
  color: #fff !important;
}
.navbar-toggler {
  border-color: rgba(255,255,255,.3);
}
.navbar-toggler-icon {
  filter: invert(1);
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
}
.brand-logo-card {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.brand-logo-card-footer {
  background: transparent;
}
.site-logo {
  display: block;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.22));
}
.site-logo-nav {
  height: 56px;
}
.site-logo-footer {
  height: 62px;
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(20,32,31,.92) 0%, rgba(61,104,96,.85) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1600&q=72') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,22,21,.7) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.03), transparent 48%),
    var(--brand-pattern),
    var(--brand-pattern);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, min(36vw, 430px) auto, min(20vw, 210px) auto;
  background-position: center, right -80px top -25px, left -40px bottom 30px;
  opacity: .38;
  pointer-events: none;
}
.hero-section .container {
  flex: 1;
  padding-top: 120px;
  padding-bottom: 140px;
}
.hero-eyebrow {
  font-family: var(--ff-utility);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-accent {
  color: var(--brand-light);
  font-style: italic;
}
.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.7;
}

/* Hero Stats Bar */
.hero-stats {
  background: rgba(92,139,132,.15);
  border-top: 1px solid rgba(92,139,132,.25);
  backdrop-filter: blur(8px);
  padding: 1.5rem 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: .5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-family: var(--ff-utility);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-top: .3rem;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-img-grid {
  position: relative;
  padding-bottom: 80px;
}
.about-img-main img {
  border-radius: var(--radius);
  height: 380px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: -20px;
  width: 55%;
  border: 4px solid #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-img-accent img {
  height: 200px;
  object-fit: cover;
}

.ceo-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--brand);
}
.ceo-card::after,
.qa-banner::after {
  content: "";
  position: absolute;
  width: 220px;
  aspect-ratio: 1 / 1;
  right: -55px;
  top: 50%;
  transform: translateY(-50%);
  background-image: var(--brand-pattern);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .065;
  pointer-events: none;
}
.ceo-card > *,
.qa-banner > * {
  position: relative;
  z-index: 1;
}
.ceo-quote-mark {
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--brand);
  line-height: .5;
  margin-bottom: .5rem;
  opacity: .5;
}
.ceo-quote {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--ink-mid);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.ceo-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ceo-avatar {
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-utility);
  font-weight: 600;
  font-size: .85rem;
  flex-shrink: 0;
}

.mv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--stone-mid);
  height: 100%;
  transition: var(--transition);
}
.mv-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.mv-icon {
  width: 38px; height: 38px;
  background: rgba(92,139,132,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
  color: var(--brand);
  font-size: 1.1rem;
}
.mv-card h6 {
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: .4rem;
  color: var(--ink);
}
.mv-card p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.value-tag {
  background: rgba(92,139,132,.1);
  color: var(--brand-dark);
  border: 1px solid rgba(92,139,132,.25);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-family: var(--ff-utility);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(92,139,132,.15);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(92,139,132,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-light);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--brand);
  color: #fff;
}
.service-card h5 {
  font-family: var(--ff-utility);
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  letter-spacing: .03em;
  margin-bottom: .6rem;
}
.service-card p {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  line-height: 1.6;
  margin: 0;
}

.qa-banner {
  background: rgba(92,139,132,.12);
  border: 1px solid rgba(92,139,132,.3);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.qa-banner h5 {
  color: var(--white);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .05em;
}
.qa-banner p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0; }
.qa-shield-icon {
  font-size: 3rem;
  color: var(--brand-light);
}

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.project-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1.5px solid var(--stone-mid);
  color: var(--ink-soft);
  padding: .45rem 1.2rem;
  border-radius: 20px;
  font-family: var(--ff-utility);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--stone-mid);
  transition: var(--transition);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-img-wrap img {
  transform: scale(1.06);
}
.project-badge {
  position: absolute;
  top: .8rem; right: .8rem;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-family: var(--ff-utility);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-badge.completed {
  background: var(--brand);
  color: #fff;
}
.project-badge.ongoing {
  background: #E8A848;
  color: #fff;
}
.project-info {
  padding: 1.4rem;
}
.project-location {
  font-size: .72rem;
  color: var(--brand);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-bottom: .5rem;
}
.project-info h5 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.project-info p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.project-item.hidden { display: none; }

/* ── Gallery hover overlay on card ── */
.project-img-wrap .gallery-hint {
  position: absolute;
  inset: 0;
  background: rgba(20,32,31,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity .3s ease;
  cursor: pointer;
}
.project-card:hover .gallery-hint { opacity: 1; }
.gallery-hint i {
  font-size: 2rem;
  color: #fff;
}
.gallery-hint span {
  font-family: var(--ff-utility);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.gallery-photo-count {
  position: absolute;
  bottom: .7rem;
  left: .7rem;
  background: rgba(20,32,31,.75);
  color: #fff;
  font-family: var(--ff-utility);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: .2rem .6rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ══════════════════════════════════════════
   GALLERY LIGHTBOX
══════════════════════════════════════════ */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,18,17,.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  padding: 1rem;
}
.gallery-overlay.open {
  opacity: 1;
  visibility: visible;
}

.gallery-modal {
  background: var(--dark-card);
  border-radius: 16px;
  width: 100%;
  max-width: 1000px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(92,139,132,.2);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  transform: translateY(20px) scale(.98);
  transition: transform .35s ease;
}
.gallery-overlay.open .gallery-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.gallery-badge-label {
  display: inline-block;
  font-family: var(--ff-utility);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 20px;
  margin-bottom: .4rem;
}
.gallery-badge-label.completed { background: var(--brand); color: #fff; }
.gallery-badge-label.ongoing   { background: #E8A848; color: #fff; }

.gallery-modal-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: .1rem 0 .2rem;
  line-height: 1.2;
}
.gallery-location-label {
  font-family: var(--ff-utility);
  font-size: .72rem;
  color: var(--brand-light);
  letter-spacing: .08em;
}
.gallery-close {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.gallery-close:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* Main viewer */
.gallery-viewer {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  flex: 1;
  min-height: 0;
  position: relative;
}
.gallery-main-wrap {
  flex: 1;
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.3);
  height: 380px;
}
.gallery-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity .22s ease;
}
.gallery-main-img.fading { opacity: 0; }

.gallery-counter {
  position: absolute;
  bottom: .6rem;
  right: .7rem;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.8);
  font-family: var(--ff-utility);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: .2rem .6rem;
  border-radius: 20px;
}

/* Nav arrows */
.gallery-nav {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  z-index: 2;
}
.gallery-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.gallery-nav:disabled {
  opacity: .25;
  cursor: default;
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: .5rem;
  padding: .6rem 1.4rem;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(92,139,132,.4) transparent;
  border-top: 1px solid rgba(255,255,255,.05);
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(92,139,132,.4); border-radius: 2px; }

.gallery-thumb {
  width: 70px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, opacity .2s;
  opacity: .55;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb.active {
  border-color: var(--brand);
  opacity: 1;
}

/* Description bar */
.gallery-desc-bar {
  padding: .7rem 1.6rem .9rem;
  border-top: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.gallery-desc-bar p {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  margin: 0;
  line-height: 1.5;
}

/* ── Keyboard hint ── */
.gallery-kb-hint {
  text-align: center;
  padding: .3rem;
  font-size: .62rem;
  color: rgba(255,255,255,.2);
  font-family: var(--ff-utility);
  letter-spacing: .1em;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .gallery-main-wrap { height: 240px; }
  .gallery-modal-title { font-size: 1.2rem; }
  .gallery-nav { width: 36px; height: 36px; font-size: .9rem; }
  .gallery-thumb { width: 54px; height: 40px; }
  .gallery-viewer { padding: .5rem .4rem; gap: .3rem; }
  .gallery-header { padding: 1rem 1rem .8rem; }
  .gallery-thumbs { padding: .5rem .8rem; }
  .gallery-desc-bar { padding: .5rem 1rem .8rem; }
}

/* ══════════════════════════════════════════
   TEAM
══════════════════════════════════════════ */
.org-chart { }
.org-node-top {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.org-node {
  background: #fff;
  border: 1.5px solid var(--stone-mid);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.ceo-node {
  border-top: 3px solid var(--brand);
  min-width: 260px;
}
.org-node strong {
  display: block;
  font-family: var(--ff-utility);
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem;
}
.org-node span {
  font-size: .75rem;
  color: var(--ink-soft);
}
.org-node-icon {
  width: 40px; height: 40px;
  background: var(--brand);
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.org-node-icon.sm { width: 32px; height: 32px; font-size: .9rem; }
.org-branches {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.org-branch { flex: 1; max-width: 300px; }
.dept-node {
  margin-bottom: 1rem;
}
.org-subnodes {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding-left: 1rem;
  border-left: 2px solid var(--stone-mid);
}
.org-subnodes span {
  font-size: .78rem;
  color: var(--ink-soft);
  padding: .3rem .6rem;
  background: var(--stone);
  border-radius: var(--radius-sm);
  font-family: var(--ff-utility);
}

.team-card {
  background: #fff;
  border: 1px solid var(--stone-mid);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.avatar-placeholder {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-utility);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto;
}
.team-avatar { margin-bottom: 1.2rem; }
.team-card h5 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .2rem;
}
.team-role {
  color: var(--brand);
  font-size: .75rem;
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.team-desc {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.manpower-card {
  background: #fff;
  border: 1px solid var(--stone-mid);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: var(--transition);
}
.manpower-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.manpower-card i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: .8rem;
  display: block;
}
.manpower-card h4 {
  font-family: var(--ff-utility);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: .5rem;
}
.manpower-card p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(92,139,132,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  font-family: var(--ff-utility);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.contact-item a, .contact-item span {
  color: #fff;
  font-size: .9rem;
}
.contact-item a:hover { color: var(--brand-light); }

.social-links { display: flex; gap: .6rem; }
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.social-btn.sm { width: 34px; height: 34px; font-size: .85rem; }

.hp-field[hidden],
.form-honeypot[hidden] {
  display: none !important;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}
.hp-field input,
.hp-field label {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.form-honeypot input,
.form-honeypot label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.6vw, 1.5rem);
  box-shadow: 0 16px 42px rgba(0,0,0,.12);
}
.form-input-dark {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: .85rem 1rem !important;
  font-size: .95rem !important;
  min-height: 52px;
  transition: var(--transition) !important;
}
.form-input-dark::placeholder { color: rgba(255,255,255,.3) !important; }
.form-input-dark:focus {
  outline: none !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(92,139,132,.2) !important;
  background: rgba(255,255,255,.08) !important;
}
.form-input-dark option { background: var(--dark-bg); color: #fff; }
.form-input-dark.is-invalid {
  border-color: rgba(232,82,82,.85) !important;
  box-shadow: 0 0 0 3px rgba(232,82,82,.15) !important;
}
.captcha-card {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: .45rem .55rem .45rem .75rem;
}
.captcha-image {
  height: 38px;
  width: auto;
  max-width: calc(100% - 46px);
  border-radius: 4px;
}
.captcha-refresh {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.captcha-refresh:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .86rem;
  line-height: 1.45;
}
.form-status.visible { display: block; }
.form-status.success {
  background: rgba(92,139,132,.18);
  border: 1px solid rgba(139,184,177,.35);
  color: rgba(255,255,255,.88);
}
.form-status.error {
  background: rgba(232,82,82,.12);
  border: 1px solid rgba(232,82,82,.32);
  color: rgba(255,255,255,.88);
}
.contact-submit {
  min-height: 54px;
  touch-action: manipulation;
}



/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.main-footer {
  background: #0D1918;
  padding: 60px 0 0;
}
.footer-heading {
  font-family: var(--ff-utility);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-text {
  color: rgba(255,255,255,.4);
  font-size: .82rem;
  line-height: 1.7;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-links li a, .footer-links li span {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  transition: color .2s;
}
.footer-links li a:hover { color: var(--brand-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.2rem 0;
  margin-top: 2rem;
}
.footer-bottom p {
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  margin: 0;
}

/* ══════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(92,139,132,.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }
  .row.mb-5 { row-gap: 1rem; }
  .section-body-text { margin-top: .6rem; }
  #contact .contact-info-block { margin-bottom: .5rem; }
  .section-pad::before { width: min(40vw, 280px); right: -60px; }
  .section-pad::after { width: min(24vw, 170px); left: -45px; }
  .hero-bg-pattern {
    background-size: auto, min(42vw, 300px) auto, min(24vw, 160px) auto;
    background-position: center, right -60px top -10px, left -25px bottom 25px;
  }
  .ceo-card::after,
  .qa-banner::after { width: 180px; right: -50px; }
  .about-img-grid { padding-bottom: 60px; }
  .about-img-accent { right: 0; }
  .org-branches { flex-direction: column; align-items: center; }
  .org-branch { width: 100%; }
  #navMenu {
    background: rgba(20,32,31,.97);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: .5rem;
  }
}

@media (max-width: 767px) {
  .section-pad { padding: 55px 0; }
  body { line-height: 1.6; }
  .section-title { font-size: clamp(2rem, 9vw, 2.7rem); overflow-wrap: anywhere; }
  #contact .section-title { font-size: clamp(2.1rem, 10vw, 3rem); }
  .section-body-text { font-size: .95rem; }
  .hero-desc { font-size: 1rem; max-width: 100%; }
  .hero-content .btn { width: 100%; justify-content: center; }
  .hero-stats { padding: .75rem 0; }
  .stat-item { padding: .45rem .35rem; }
  .project-filters { display: grid; grid-template-columns: 1fr; }
  .filter-btn { width: 100%; }
  .contact-form { padding: 1rem; }
  .contact-item { gap: .8rem; }
  .captcha-card { min-height: 58px; }
  .captcha-image { height: 42px; }
  .back-to-top { right: 1rem; bottom: 1rem; }
  .section-pad::before { width: 180px; top: -15px; right: -70px; opacity: .04; }
  .section-pad::after { width: 110px; left: -35px; bottom: 15px; opacity: .022; }
  .hero-bg-pattern {
    background-size: auto, 230px auto, 120px auto;
    background-position: center, right -55px top 10px, left -30px bottom 20px;
    opacity: .28;
  }
  .ceo-card::after,
  .qa-banner::after { width: 140px; right: -45px; opacity: .05; }
  .site-logo-nav { height: 44px; }
  .site-logo-footer { height: 48px; }
  .brand-logo-card { padding: 0; border-radius: 0; }
  .hero-title { font-size: 3rem; }
  .hero-section .container { padding-top: 100px; padding-bottom: 80px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: .6rem; }
  .about-img-accent { display: none; }
  .about-img-grid { padding-bottom: 0; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .org-branches { gap: 1rem; }
}


@media (max-width: 420px) {
  .brand-logo-card { max-width: 230px; }
  .site-logo-nav { max-width: 205px; height: auto; }
  .hero-title { font-size: 2.55rem; }
  .hero-section .container { padding-top: 92px; }
  .stat-label { letter-spacing: .05em; }
  .contact-form .row { --bs-gutter-y: .85rem; }
  .form-input-dark { min-height: 50px; padding: .75rem .85rem !important; }
  .captcha-card { flex-wrap: nowrap; }
  .footer-links li a, .footer-links li span { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
/* ── Scroll-triggered fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════
   PRODUCTION SEO, ACCESSIBILITY & INNER PAGES
══════════════════════════════════════════ */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -80px;
  z-index: 10000;
  background: var(--white);
  color: var(--dark-bg);
  padding: .7rem 1rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }
.hero-slogan {
  color: rgba(255,255,255,.82);
  font-family: var(--ff-utility);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: -.5rem 0 1rem;
}
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card > p { flex: 1; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
  color: var(--brand-light);
  font-family: var(--ff-utility);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.service-more:hover { color: #fff; }
.project-card-title {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.project-seo-link { text-align: center; }
.faq-section { background: var(--white); }
.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: .9rem;
}
.faq-item {
  background: var(--stone);
  border: 1px solid var(--stone-mid);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.4rem;
  font-family: var(--ff-utility);
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 500;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 1.4rem 1.3rem;
  margin: 0;
  color: var(--ink-soft);
}
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
}
.footer-legal a {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
}
.footer-legal a:hover { color: var(--brand-light); }

.inner-page { background: var(--white); }
.inner-hero {
  position: relative;
  padding: 170px 0 85px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20,32,31,.97), rgba(61,104,96,.90)),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1600&q=70') center/cover no-repeat;
}
.inner-hero::after {
  content: "";
  position: absolute;
  width: min(38vw, 430px);
  aspect-ratio: 1;
  right: -80px;
  top: 55px;
  background: var(--brand-pattern) center/contain no-repeat;
  opacity: .12;
}
.inner-hero .container { position: relative; z-index: 1; }
.inner-eyebrow {
  font-family: var(--ff-utility);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: .75rem;
}
.inner-title {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.inner-lead {
  max-width: 760px;
  color: rgba(255,255,255,.75);
  font-size: 1.08rem;
  margin: 0;
}
.breadcrumb-lite {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,.55);
  font-family: var(--ff-utility);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.breadcrumb-lite a { color: var(--brand-light); }
.content-shell { max-width: 900px; }
.content-shell h2,
.content-shell h3 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.15;
}
.content-shell h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.content-shell h3 { font-size: 1.45rem; margin: 2rem 0 .75rem; }
.content-shell p,
.content-shell li { color: var(--ink-soft); }
.service-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 1.5rem 0;
}
.service-scope-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--stone);
  border: 1px solid var(--stone-mid);
  border-radius: 10px;
  padding: 1rem;
}
.service-scope-item i { color: var(--brand); margin-top: .15rem; }
.service-scope-item span { color: var(--ink-mid); }
.inner-cta {
  background: var(--dark-bg);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2.5rem;
}
.inner-cta h2 { color: #fff; font-size: 2rem; }
.inner-cta p { color: rgba(255,255,255,.65); }
.project-index-grid .project-card { height: 100%; }
.legal-content h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  font-family: var(--ff-display);
  font-size: 1.65rem;
  margin-top: 2rem;
}
.legal-content p,
.legal-content li { color: var(--ink-soft); }

@media (max-width: 767px) {
  .hero-slogan { font-size: .78rem; letter-spacing: .08em; }
  .inner-hero { padding: 125px 0 65px; }
  .inner-hero::after { width: 220px; right: -80px; top: 70px; }
  .service-scope-grid { grid-template-columns: 1fr; }
  .footer-legal { justify-content: center; }
}
