/* ===== HERO ===== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--iron);
  --hero-focal-x: 52%;
}

.hero-bg picture.hero-slide:nth-child(1) {
  --hero-focal-x: 48%;
}
.hero-bg picture.hero-slide:nth-child(2) {
  --hero-focal-x: 55%;
}
.hero-bg picture.hero-slide:nth-child(3) {
  --hero-focal-x: 50%;
}
.hero-bg picture.hero-slide:nth-child(4) {
  --hero-focal-x: 58%;
}
.hero-bg picture.hero-slide:nth-child(5) {
  --hero-focal-x: 52%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
  filter: saturate(0.3);
}
[data-theme="light"] .hero-bg {
  opacity: 0.5;
}

.hero-bg picture.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0;
  transform: scale(1.04);
  transform-origin: center center;
  will-change: opacity, transform;
}

.hero-bg picture.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focal-x, 50%) var(--hero-focal-y, 50%);
  display: block;
}

.hero-bg picture.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.1);
}

.hero-bg.is-ready picture.hero-slide {
  transition:
    opacity 1.3s ease-in-out,
    transform 5.5s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(10, 10, 12, 0.92) 0%,
    rgba(10, 10, 12, 0.6) 50%,
    rgba(10, 10, 12, 0.1) 100%
  );
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(
    108deg,
    rgba(167, 167, 166, 0.646) 0%,
    rgba(127, 127, 127, 0.6) 55%,
    rgba(242, 240, 236, 0.05) 100%
  );
}

.hero-slash {
  position: absolute;
  top: 0;
  right: 30%;
  bottom: 0;
  z-index: 2;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201, 85, 39, 0.3) 30%,
    rgba(255, 123, 0, 0.3) 70%,
    transparent
  );
  transform: skewX(-12deg);
  pointer-events: none;
}

.hero-crosshair {
  position: absolute;
  right: 14%;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 22px;
  opacity: 0; 
  animation: fadeUp 0.8s ease 0.1s forwards;
}
.hero-eyebrow .eline {
  width: 40px;
  height: 1px;
  background: var(--text);
}
.hero-eyebrow .etext {
  position: relative;
}

.hero-heading {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(42px, 5.5vw, 90px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.3s forwards;
}
.hero-heading .gold {
  color: var(--gold);
}
.hero-heading .outline {
  -webkit-text-stroke: 1px var(--text3);
  color: transparent;
}

[data-theme="light"] .outline {
  -webkit-text-stroke: 1px var(--text);
  color: transparent;
}

.hero-heading-sub {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-tagline {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.4;
  color: var(--text2);
  max-width: 480px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.7s forwards;
}

[data-theme="light"] .hero-tagline,
.hero-stat-label {
  color: #dadada;
}
[data-theme="light"] .hero-stat-label {
  color: #dadada;
}

[data-theme="light"] .ticker-item {
  color: #dadada;
}
[data-theme="light"] .scroll-text {
  color: #dadada;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gold);
  color: #000;
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.25s;
}
.btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  background: #484848;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.25s;
}

[data-theme="light"] .btn-outline {
  background: #9a9a9a;
}

.btn-outline:hover {
  background-color: #7e7e7e;
  transform: translateY(-2px);
}

/* Hero stats strip */
.hero-stats {
  position: absolute;
  bottom: 56px;
  left: 80px;
  right: 80px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.1s forwards;
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  border-left: 1px solid rgba(224, 102, 20, 0.281);
  position: relative;
}
.hero-stat:first-child {
  border-left: none;
  align-items: flex-start;
}
.hero-stat-num {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -1px;
}
.hero-stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text3);
  font-weight: 600;
  margin-top: 4px;
}

/* Ticker */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
  height: 42px;
  display: flex;
  align-items: center;
  background: rgba(73, 73, 73, 0.414);
  border-top: 1px solid rgba(224, 102, 20, 0.281);
}

[data-theme="light"] .hero-ticker {
  background: rgba(73, 73, 73, 0.414);
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  padding: 0 28px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text3);
  font-family: "Space Mono", monospace;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-sep {
  color: var(--gold);
  font-size: 14px;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 52px;
  right: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.9s ease 1.3s forwards;
}
.scroll-track {
  width: 1px;
  height: 60px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.scroll-track::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollDrop 2s ease-in-out 1.5s infinite;
}
@keyframes scrollDrop {
  0% {
    top: -100%;
  }
  100% {
    top: 200%;
  }
}
.scroll-text {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text3);
  writing-mode: vertical-rl;
  font-family: "Space Mono", monospace;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================================ SECTION BASE ====================== */
section {
  width: 100%;
}
.sec {
  max-width: 1920px;
  margin: 0 auto;
  padding: 100px 80px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 14px;
}
.sec-tag .tline {
  width: 28px;
  height: 1px;
  background: var(--text);
}
.sec-tag .tnum {
  opacity: 0.5;
}

.sec-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 12px;
}
.sec-title .gold {
  color: var(--gold);
}
.sec-title .outline {
  -webkit-text-stroke: 1px var(--text3);
  color: transparent;
}

.sec-sub {
  font-size: 17px;
  line-height: 1.4;
  color: var(--text2);
  max-width: 600px;
  font-weight: 400;
}

/* ===== ABOUT SECTION ===== */
#about {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-frame {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  /* Angular cutout top-right */
  clip-path: polygon(
    0 0,
    calc(100% - 32px) 0,
    100% 32px,
    100% 100%,
    32px 100%,
    0 calc(100% - 32px)
  );
}
.about-img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(10, 10, 12, 0.5) 0%,
    transparent 50%
  );
}
.about-img-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.7);
}

.about-corner-badge {
  position: absolute;
  bottom: -1px;
  left: -1px;
  z-index: 2;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding: 18px 28px 18px 20px;
}
.acb-num {
  font-family: "Orbitron", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #000;
  line-height: 1;
}
.acb-text {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 700;
  text-transform: uppercase;
}

/* Corner decoration */
.about-corner-tl,
.about-corner-br {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold);
  z-index: 3;
}
.about-corner-tl {
  top: -6px;
  left: -6px;
  border-right: none;
  border-bottom: none;
}
.about-corner-br {
  bottom: -6px;
  right: -6px;
  border-left: none;
  border-top: none;
}

.about-text {
  padding-right: 16px;
}
.about-body {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text2);
  font-weight: 400;
  margin-bottom: 24px;
}

.mission-block {
  position: relative;
  padding: 28px 28px 28px 36px;
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--gold);
  margin: 32px 0;
  clip-path: polygon(
    0 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% 100%,
    16px 100%,
    0 calc(100% - 16px)
  );
}
.mission-label {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mission-text {
  font-size: 15px;
  line-height: 1.4;
  color: var(--text2);
  font-weight: 400;
}

/* Certifications row */
.cert-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.cert-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.cert-chip:hover {
  border-color: var(--gold);
  color: var(--text);
}
.cert-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== STATS SECTION ===== */
#stats {
  background: var(--iron);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.stats-gold-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 20%,
    var(--gold2) 50%,
    var(--gold) 80%,
    transparent
  );
}

.stats-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 70px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 28px;
  text-align: center;
  position: relative;
  border-right: 1px solid var(--border);
}
.stat-block:last-child {
  border-right: none;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  fill: var(--gold);
  opacity: 0.8;
}

.stat-num {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.stat-plus {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--gold2);
}

.stat-label {
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text2);
  font-weight: 600;
  line-height: 1.4;
}
.stat-year {
  font-size: 10px;
  color: var(--text3);
  margin-top: 4px;
  font-family: "Space Mono", monospace;
  letter-spacing: 1px;
}

[data-theme="light"] #stats {
  background: linear-gradient(
    108deg,
    rgba(167, 167, 166, 0.646) 0%,
    rgba(242, 240, 236, 0.6) 55%,
    rgba(242, 240, 236, 0.05) 100%
  );
}

/* ===== PRODUCTS SECTION ===== */
#products {
  background: var(--bg3);
  position: relative;
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.prod-card {
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  clip-path: polygon(
    0 0,
    calc(100% - 16px) 0,
    100% 16px,
    100% 100%,
    16px 100%,
    0 calc(100% - 16px)
  );
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  aspect-ratio: 4/3;
}
.prod-card:hover {
  border-color: var(--gold);
  box-shadow:
    0 16px 48px rgba(201, 162, 39, 0.2),
    0 0 0 1px rgba(201, 162, 39, 0.15);
}
.prod-card.span2 {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.prod-card.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.prod-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.7);
  transition:
    transform 0.6s ease,
    filter 0.4s ease;
}
.prod-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.85) saturate(0.9);
}

.prod-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}
.prod-label-cat {
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.prod-label-name {
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
}

.prod-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  clip-path: polygon(16px 0%, 100% 0%, 100% 100%, 0% 100%);
  padding: 4px 12px 4px 22px;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
}

.see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 36px;
  background: #484848;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.25s;
}

[data-theme="light"] .see-all-btn {
  background: #9a9a9a;
}

.see-all-btn:hover {
  background-color: #7e7e7e;
  transform: translateY(-2px);
}

/* ============================= DIVISIONS =============================== */
/* ===== DIVISIONS ===== */
#divisions {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.div-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 4 per row → 8 cards = 2 rows */
  gap: 14px;
  margin-top: 52px;
}

.div-card {
  padding: 32px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform, border-color, background-color, box-shadow;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.div-card:hover {
  border-color: var(--gold);
  background: var(--card-hover);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 162, 39, 0.1) inset;
}

.div-icon-wrap {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(201, 112, 39, 0.15),
    rgba(201, 131, 39, 0.03)
  );
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
}
.div-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}

.div-num {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text3);
  text-transform: uppercase;
}

.div-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text);
  line-height: 1.3;
}
.div-desc {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.4;
  flex: 1;
}
.div-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-top: 4px;
  font-family: "Space Mono", monospace;
  transition: gap 0.2s;
}
.div-card:hover .div-arrow {
  gap: 10px;
}

/* Responsive: 4 → 2 → 1 columns */
/* @media (max-width: 1100px) {
  .div-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .div-grid {
    grid-template-columns: 1fr;
  }
} */
/* ========================== SERVICES SECTION ============================= */
#services {
  background: var(--bg);
  position: relative;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 52px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.2s;
}
.service-item:hover,
.service-item.active {
  background: var(--card-bg);
  border-color: var(--border);
}
.service-item:hover::before,
.service-item.active::before {
  transform: scaleY(1);
}
.service-item.active {
  border-color: var(--border-gold);
}

.svc-n {
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.3;
  width: 32px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.service-item:hover .svc-n,
.service-item.active .svc-n {
  opacity: 1;
}

.svc-name {
  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text2);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.service-item:hover .svc-name,
.service-item.active .svc-name {
  color: var(--text);
}

.svc-arr {
  margin-left: auto;
  color: var(--gold);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.service-item:hover .svc-arr,
.service-item.active .svc-arr {
  opacity: 1;
  transform: translateX(0);
}

.services-visual-wrap {
  position: sticky;
  top: 90px;
}
.services-img-box {
  position: relative;
  overflow: hidden;
  height: 500px; /* now set on the box, since images are stacked absolutely */
  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% 100%,
    24px 100%,
    0 calc(100% - 24px)
  );
}

/* Stacked images that cross-fade + zoom on hover change */
.services-img-box .svc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.7);
  opacity: 0;
  transform: scale(1.08);
  transform-origin: center center;
  will-change: opacity, transform;
  transition:
    opacity 0.55s ease,
    transform 0.9s ease;
}
.services-img-box .svc-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.svc-corner-tl,
.svc-corner-br {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  z-index: 2;
}
.svc-corner-tl {
  top: -4px;
  left: -4px;
  border-right: none;
  border-bottom: none;
}
.svc-corner-br {
  bottom: -4px;
  right: -4px;
  border-left: none;
  border-top: none;
}

/* ===== GLOBAL PRESENCE ===== */
#global {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}

.global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 52px;
}

.country-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.country-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text2);
  transition: all 0.2s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.country-chip:hover {
  border-color: var(--gold);
  color: var(--text);
  background: rgba(201, 162, 39, 0.06);
}
.country-chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

.global-sub-title {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  margin-top: 28px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.client-chip {
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  text-align: center;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.client-chip:hover {
  border-color: var(--gold);
  color: var(--text);
}

/* ── Flat map container ─────────────────────────────────────── */
.global-map-visual {
  position: relative;
}

.map-frame {
  background: #0a0a0c;
  border: 1px solid var(--border-gold);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 24px) 0,
    100% 24px,
    100% 100%,
    24px 100%,
    0 calc(100% - 24px)
  );
  transition: background 0.4s, border-color 0.4s;
}
[data-theme="light"] .map-frame {
  background: #f0eeea;
}

#globe-mount {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s;
}
[data-theme="light"] #globe-mount {
  background: #f0eeea;
}

#globe-mount svg {
  display: block;
}

/* Loading placeholder */
.globe-placeholder {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text3);
  text-align: center;
  animation: pulse-text 1.8s ease-in-out infinite;
}
@keyframes pulse-text {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── Flat map theme colours ─────────────────────────────────── */
.MHIL-map-ocean {
  fill: #0a0a0c;
  transition: fill 0.4s;
}
[data-theme="light"] .MHIL-map-ocean {
  fill: #f0eeea;
}

.MHIL-map-grid {
  fill: none;
  stroke: rgba(201, 162, 39, 0.05);
  stroke-width: 0.5px;
  transition: stroke 0.4s;
}
[data-theme="light"] .MHIL-map-grid {
  stroke: rgba(100, 100, 110, 0.18);
}

.MHIL-map-land {
  fill: #4a4a52;
  stroke: rgba(155, 155, 158, 0.22);
  stroke-width: 0.4px;
  stroke-linejoin: round;
  transition: fill 0.4s, stroke 0.4s;
}
[data-theme="light"] .MHIL-map-land {
  fill: #c8c4be;
  stroke: rgba(80, 78, 74, 0.3);
}

/* ── Marker animations ──────────────────────────────────────── */
.MHIL-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: mhil-ring-pulse 2.4s ease-out infinite;
}
@keyframes mhil-ring-pulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(5.5); opacity: 0;    }
}

.MHIL-dot {
  animation: mhil-dot-breathe 2.4s ease-in-out infinite;
}
@keyframes mhil-dot-breathe {
  0%, 100% { opacity: 1;   }
  50%       { opacity: 0.5; }
}

/* ── Instant marker tooltip ─────────────────────────────────── */
.map-tooltip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -150%);
  padding: 7px 14px;
  font-family: "Space Mono", monospace;
  font-size: 14px;
  letter-spacing: 1.8px;
  white-space: nowrap;
  color: var(--gold);
  background: rgba(10, 10, 12, 0.92);
  border: 1px solid rgba(201, 162, 39, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.05s linear;
}
.map-tooltip.visible {
  opacity: 1;
}
[data-theme="light"] .map-tooltip {
  color: #6e5210;
  background: rgba(240, 238, 234, 0.96);
  border-color: rgba(150, 110, 20, 0.45);
}

.map-frame-footer {
  padding: 10px 20px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text3);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  background: #0a0a0c;
  transition: background 0.4s, border-color 0.4s;
}
[data-theme="light"] .map-frame-footer {
  background: #f0eeea;
  border-top-color: rgba(130, 100, 20, 0.2);
}

/* ===== NEWS SECTION ===== */
#news {
  background: var(--bg3);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

a.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.news-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.news-card:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}
.news-img-wrap {
  overflow: hidden;
  position: relative;
}
.news-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.8) saturate(0.8);
  transition:
    transform 0.5s,
    filter 0.3s;
}
.news-card:hover .news-img-wrap img {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(1);
}

.news-cat-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gold);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  padding: 5px 18px 5px 12px;
  font-family: "Space Mono", monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
}

.news-body {
  padding: 24px;
}
.news-date {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.news-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.news-excerpt {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.65;
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}
.news-card:hover .news-more {
  gap: 10px;
}

/* ===== VALUES SECTION ===== */
#values {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.values-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 52px;
}

.values-img-frame {
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 32px) 0,
    100% 32px,
    100% 100%,
    32px 100%,
    0 calc(100% - 32px)
  );
}
.values-img-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: brightness(0.65) saturate(0.6);
}
.values-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 12, 0.7) 0%,
    transparent 60%
  );
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.value-item {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition:
    border-color 0.25s,
    transform 0.25s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.value-item:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.val-indicator {
  width: 3px;
  background: var(--gold);
  flex-shrink: 0;
  margin: 2px 0;
  border-radius: 2px;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.value-item:hover .val-indicator {
  opacity: 1;
}

.val-title {
  font-family: "Rajdhani", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}
.val-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

/* ===== CTA BAND ===== */
#cta-band {
  background: var(--iron);
  border-top: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(201, 117, 39, 0.06) 0%,
    rgba(201, 125, 39, 0.02) 50%,
    transparent 100%
  );
}
[data-theme="light"] #cta-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
[data-theme="light"] .cta-band-bg {
  background: linear-gradient(
    90deg,
    rgba(201, 117, 39, 0.06) 0%,
    rgba(201, 125, 39, 0.02) 50%,
    transparent 100%
  );
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-h {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(26px, 2.5vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.cta-h .gold {
  color: var(--gold);
}
.cta-p {
  font-size: 16px;
  color: var(--text2);
  font-weight: 400;
}
.cta-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

/* ===== TRUST BADGE ===== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  margin-top: 24px;
}
.trust-icon {
  width: 32px;
  height: 32px;
  fill: var(--gold);
  flex-shrink: 0;
}
.trust-text {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text2);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .div-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  .sec {
    padding: 80px 40px;
  }
  .about-grid,
  .services-layout,
  .global-grid,
  .values-layout {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content {
    padding: 0 40px;
  }
  .hero-stats {
    left: 40px;
    right: 40px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 40px;
  }
}
@media (max-width: 768px) {
  .hero-bg picture.hero-slide img {
    object-position: center center;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
  #services .services-visual-wrap {
    display: none;
  }
  #services .service-item:hover,
  #services .service-item:focus {
    background: transparent;
    border-color: transparent;
  }
  #services .service-item:hover::before,
  #services .service-item:focus::before {
    transform: scaleY(0);
  }
  #services .service-item.active {
    background: var(--card-bg);
    border-color: var(--border-gold);
  }
  #services .service-item.active::before {
    transform: scaleY(1);
  }
  .prod-card.span2,
  .prod-card.tall {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/3;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
  }
  .stat-block {
    border-right: none;
  }
  .div-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Sticky card-stack scroll (mobile only — enabled via JS .card-stack-active) */
  #divisions,
  #values {
    overflow: visible !important;
  }

  #divisions .sec,
  #values .sec,
  #values .values-layout,
  #values .reveal-right {
    overflow: visible;
  }

  .card-stack-active {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    grid-template-columns: unset !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .card-stack-reveal-parent.reveal,
  .card-stack-reveal-parent.reveal-left,
  .card-stack-reveal-parent.reveal-right {
    transform: none !important;
    opacity: 1 !important;
  }

  .card-stack-active .card-stack-item {
    position: sticky;
    top: calc(100px + var(--stack-i, 0) * 12px);
    z-index: calc(var(--stack-i, 0) + 1);
    margin-bottom: 18px;
    transform: scale(var(--stack-scale, 1));
    transform-origin: center top;
    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease;
    backface-visibility: hidden;
  }

  .card-stack-active .card-stack-item.is-stack-pinned {
    box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.42),
      0 0 0 1px rgba(201, 125, 39, 0.14);
  }

  .card-stack-active .card-stack-item:last-child {
    margin-bottom: 0;
  }

  .card-stack-active .prod-card:hover,
  .card-stack-active .div-card:hover,
  .card-stack-active .value-item:hover,
  .card-stack-active .news-card:hover {
    transform: scale(var(--stack-scale, 1));
  }

  .card-stack-active .prod-card:hover img {
    transform: none;
    filter: brightness(0.8) saturate(0.8);
  }

  .hero-btns {
    flex-direction: column;
  }
  .hero-stats {
    display: none;
  }
  .reveal {
    flex-wrap: wrap !important;
  }
}
