/* ═══════════════ FONTS ═══════════════ */
@font-face {
  font-family: 'OldStyle';
  src: url('../fonts/OLDSH___.TTF') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'OldStyle';
  src: url('../fonts/OLDSIH__.TTF') format('truetype');
  font-weight: 700;
  font-style: italic;
}
/* ═══════════════ VARIABLES ═══════════════ */
:root {
  --gold:    #2979ff;
  --gold2:   #82b1ff;
  --dark:    #0d0b08;
  --dark2:   #171410;
  --dark3:   #1e1a14;
  --cream:   #f5f0e8;
  --text:    #d4cfc7;
  --white:   #ffffff;
  --blue:    #1a3a6b;
  --blue2:   #2356a8;
  --radius:  12px;
  --trans:   0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════ RESET ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Garet,Montserrat,Arial,sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  cursor: default;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ═══════════════ SCROLLBAR ═══════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ═══════════════ HEADER ═══════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 18px 24px;
  transition: var(--trans);
}
#site-header.scrolled {
  background: rgba(13,11,8,0.9);
  backdrop-filter: blur(20px);
  padding: 10px 24px;
  box-shadow: 0 2px 40px rgba(0,0,0,0.6);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(41,121,255,0.2);
  border-radius: 50px;
  padding: 8px 10px 8px 18px;
  gap: 0;
}

.nav-logo { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.8);
  padding: 7px 14px;
  border-radius: 30px;
  transition: var(--trans);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(41,121,255,0.15);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav-link .arrow { font-size: 0.6rem; margin-left: 2px; }

.btn-quote {
  margin-left: 6px;
  background: linear-gradient(135deg, #0a1e3d, #1a3a6b);
  color: #fff;
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  transition: var(--trans);
  white-space: nowrap;
  border: 1px solid rgba(100,160,255,0.25);
}
.btn-quote:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(26,58,107,0.6);
  background: linear-gradient(135deg, #1a3a6b, #2356a8);
}
.btn-catalogue {
  margin-left: 6px;
  background: linear-gradient(135deg, #0a1e3d, #1a3a6b);
  color: #fff;
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  transition: var(--trans);
  white-space: nowrap;
  border: 1px solid rgba(100,160,255,0.25);
}
.btn-catalogue:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(26,58,107,0.6);
  background: linear-gradient(135deg, #1a3a6b, #2356a8);
}

/* ═══════════════ MEGA MENU ═══════════════ */
.has-mega { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%; transform: translateX(-50%);
  background: rgba(15,12,8,0.97);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(41,121,255,0.2);
  border-radius: 16px;
  padding: 24px;
  display: none;
  gap: 24px;
  min-width: 700px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  /* Bridge the gap so mouse movement doesn't close it */
  margin-top: 0;
  padding-top: 28px;
}
/* Invisible bridge above the dropdown to prevent gap */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
  background: transparent;
}
.has-mega:hover .mega-menu {
  display: flex;
}
.mega-col { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mega-item {
  position: relative;
  border-radius: 8px;
  transition: var(--trans);
}
.mega-item > span,
.mega-item > a {
  display: block;
  padding: 9px 12px;
  font-size: 0.8rem;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
  transition: var(--trans);
  border: 1px solid transparent;
}
.mega-item > span:hover,
.mega-item > a:hover {
  color: var(--gold);
  background: rgba(41,121,255,0.08);
  border-color: rgba(41,121,255,0.15);
}
.submenu {
  display: none;
  position: absolute;
  left: 100%; top: -8px;
  background: rgba(10,8,5,0.98);
  border: 1px solid rgba(41,121,255,0.2);
  border-radius: 10px;
  min-width: 200px;
  padding: 8px;
  z-index: 10;
}
/* Bridge gap between parent and submenu */
.submenu::before {
  content: '';
  position: absolute;
  left: -10px; top: 0; bottom: 0;
  width: 10px;
  background: transparent;
}
.mega-item.has-sub:hover .submenu { display: block; }
.submenu a {
  display: block;
  padding: 8px 14px;
  font-size: 0.78rem;
  color: var(--text);
  border-radius: 6px;
  transition: var(--trans);
}
.submenu a:hover { color: var(--gold); background: rgba(41,121,255,0.08); }

/* ═══════════════ BUTTONS ═══════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--dark);
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 30px;
  border-radius: 40px;
  letter-spacing: 0.5px;
  transition: var(--trans);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(41,121,255,0.4);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: var(--trans);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(41,121,255,0.1);
  border: 1px solid rgba(41,121,255,0.3);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.title-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  margin: 0 auto 20px;
  border-radius: 2px;
}
.section-sub {
  font-size: 1.0125rem;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════ WHATSAPP FLOAT ═══════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--trans);
}
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }

/* ══════════ PRODUCTS SECTION (white bg) ══════════ */
.products-section {
  padding: 80px 6vw;
  background: #ffffff;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}
.product-card {
  background: #fff;
  border: 1.5px solid #e8eef8;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(41,121,255,.06);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
  animation: cardFadeIn 0.5s ease forwards;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}


.product-card:hover {
  border-color: #2979ff;
  box-shadow: 0 10px 32px rgba(41,121,255,.14);
  transform: translateY(-4px);
}
.card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f4ff;
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  background: linear-gradient(135deg,#f0f5ff,#e8f0fe);
}
.card-body {
  padding: 16px;
}
.card-cat {
  font-size: .65rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #2979ff; margin-bottom: 6px;
}
.card-name {
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-size: 1rem; font-weight: 700; color: #0a1e3d;
  margin-bottom: 6px; line-height: 1.2;
}
.card-desc {
  font-size: 0.7925rem; color: #666; line-height: 1.6; margin-bottom: 10px;
}
.card-arrow {
  font-size: .72rem; font-weight: 600; color: #2979ff;
  letter-spacing: .5px;
}
.view-all-wrap {
  text-align: center; margin-top: 40px;
}
.btn-view-all {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,#0a1e3d,#1a3a6b);
  color: #fff;
  font-family: Garet,Montserrat,Arial,sans-serif; font-weight: 600; font-size: .88rem;
  padding: 12px 32px; border-radius: 30px; border: none; cursor: pointer;
  transition: all .3s; letter-spacing: .5px;
}
.btn-view-all:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(41,121,255,.35);
  background: linear-gradient(135deg,#1a3a6b,#2979ff);
}
@media(max-width:1100px){.products-grid{grid-template-columns:repeat(4,1fr);}}
@media(max-width:800px){.products-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:480px){.products-grid{grid-template-columns:1fr 1fr;gap:12px;}}

/* ══════════ ISO SECTION ══════════ */
.iso-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 90px 8vw;
  background: linear-gradient(135deg,#060d1a 0%,#0a1e3d 70%,#1a3a6b 100%);
}
.iso-visual {
  position: relative;
  width: 360px; height: 360px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.iso-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(41,121,255,.35);
}
.iso-ring.orbit-outermost {
  width: 350px; height: 350px;
  border-color: rgba(41,121,255,.15);
  border-style: dashed;
  animation: rotateCCW 28s linear infinite;
}
.iso-ring.orbit-outermost::after {
  content:''; position:absolute;
  width: 8px; height: 8px;
  background: #4fc3f7; border-radius: 50%;
  top: -4px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 10px #4fc3f7;
}
.iso-ring.orbit-outer {
  width: 270px; height: 270px;
  border-color: rgba(41,121,255,.28);
  animation: rotateCW 18s linear infinite;
}
.iso-ring.orbit-outer::after {
  content:''; position:absolute;
  width: 10px; height: 10px;
  background: #2979ff; border-radius: 50%;
  top: -5px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 12px #2979ff;
}
.iso-ring.orbit-inner {
  width: 185px; height: 185px;
  border-color: rgba(150,200,255,.5);
  animation: rotateCCW 11s linear infinite;
}
.iso-ring.orbit-inner::after {
  content:''; position:absolute;
  width: 7px; height: 7px;
  background: #82b1ff; border-radius: 50%;
  top: -3.5px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 0 9px #82b1ff;
}
@keyframes rotateCW  { from{transform:rotate(0deg);}   to{transform:rotate(360deg);} }
@keyframes rotateCCW { from{transform:rotate(0deg);}   to{transform:rotate(-360deg);} }
.iso-badge {
  position: relative; z-index: 2;
  width: 100px; height: 100px;
  background: radial-gradient(circle,#1a5aff,#0a2e8a);
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(41,121,255,.5), 0 0 80px rgba(41,121,255,.2);
}
.iso-icon { font-size: 1.6rem; line-height: 1; }
.iso-text { font-family:Garet,Montserrat,Arial,sans-serif; font-size: 1.1rem; font-weight: 700; color:#fff; line-height:1; margin-top:4px; }
.iso-sub { font-size: .5rem; letter-spacing: 2px; color: #82b1ff; margin-top: 2px; }
.iso-content h2 {
  font-family: Garet,Montserrat,Arial,sans-serif;
  font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: #fff; margin-bottom: 16px;
}
.iso-content h2 span { color: #2979ff; }
.iso-content > p { font-size: 0.9625rem; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 28px; }
.iso-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.iso-list li {
  display: flex; align-items: center; gap: 12px;
  font-family: Garet,Montserrat,Arial,sans-serif; font-size: 0.9625rem;
  color: rgba(255,255,255,.85);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.iso-list li:last-child { border-bottom: none; padding-bottom: 0; }
.iso-check { font-size: 1rem; flex-shrink: 0; }
.btn-cert {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg,#2979ff,#82b1ff);
  color: #fff;
  font-family: Garet,Montserrat,Arial,sans-serif; font-weight: 700; font-size: .88rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 13px 32px; border-radius: 30px; transition: all .3s;
}
.btn-cert:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(41,121,255,.45); }
@media(max-width:900px){
  .iso-section{grid-template-columns:1fr;text-align:center;padding:60px 6vw;}
  .iso-list li{justify-content:center;}
}

/* ══════════ CLIENTS SECTION (white bg, marquee) ══════════ */
.clients-section {
  padding: 80px 0 90px;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}
.mq-outer {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.mq-fade-left, .mq-fade-right {
  position: absolute; top: 0; bottom: 0; width: 140px;
  z-index: 2; pointer-events: none;
}
.mq-fade-left  { left:0;  background: linear-gradient(90deg,#fff,transparent); }
.mq-fade-right { right:0; background: linear-gradient(270deg,#fff,transparent); }
.mq-row { overflow: hidden; padding: 8px 0; }
.mq-track {
  display: flex; gap: 16px;
  width: max-content;
}
.mq-left  { animation: mqLeft  50s linear infinite; }
.mq-right { animation: mqRight 55s linear infinite; }
.mq-row:hover .mq-track { animation-play-state: paused; }
@keyframes mqLeft  { 0%{transform:translateX(0);}    100%{transform:translateX(-50%);} }
@keyframes mqRight { 0%{transform:translateX(-50%);} 100%{transform:translateX(0);} }
.mq-logo {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid #e8eef8; border-radius: 14px;
  padding: 14px 16px 12px; width: 178px;
  box-shadow: 0 2px 10px rgba(41,121,255,.05);
  flex-shrink: 0; transition: all .3s;
}
.mq-logo:hover {
  border-color: #2979ff;
  box-shadow: 0 8px 24px rgba(41,121,255,.14);
  transform: translateY(-3px);
}
.mq-logo img {
  width: 100%; height: 84px; object-fit: contain; object-position: center;
  mix-blend-mode: multiply; transition: transform .3s;
}
.mq-logo:hover img { transform: scale(1.05); }
.mq-logo span {
  font-size: .78rem; font-weight: 600; color: #444;
  letter-spacing: .3px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

/* Ensure section-title/sub readable on white */
.clients-section .section-title,
.products-section .section-title { color: #0a1e3d; }
.clients-section .section-sub,
.products-section .section-sub { color: #555; }
.clients-section .section-tag { color: #2979ff; background: rgba(41,121,255,.08); border-color: rgba(41,121,255,.25); }

/* ── Product card entrance animation — guaranteed visibility ── */
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card {
  animation: cardEnter 0.5s ease forwards;
}
.product-card.card-hidden {
  display: none !important;
  animation: none;
}
/* nth-child delays for stagger effect */
.products-grid .product-card:nth-child(1)  { animation-delay: 0.05s; }
.products-grid .product-card:nth-child(2)  { animation-delay: 0.10s; }
.products-grid .product-card:nth-child(3)  { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(4)  { animation-delay: 0.20s; }
.products-grid .product-card:nth-child(5)  { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(6)  { animation-delay: 0.10s; }
.products-grid .product-card:nth-child(7)  { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(8)  { animation-delay: 0.20s; }
.products-grid .product-card:nth-child(9)  { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(10) { animation-delay: 0.30s; }
.products-grid .product-card:nth-child(11) { animation-delay: 0.15s; }
.products-grid .product-card:nth-child(12) { animation-delay: 0.20s; }
.products-grid .product-card:nth-child(13) { animation-delay: 0.25s; }
.products-grid .product-card:nth-child(14) { animation-delay: 0.30s; }
.products-grid .product-card:nth-child(15) { animation-delay: 0.35s; }

/* ═══════════════════════════════════════════════
