/* ===================================================================
   SYSTECH — shared stylesheet (index.html, about.html, services.html)
   Ink #0B0D0F · Charcoal #15181C · Amber #F5871F · Amber glow #FFA94D
   Paper #F7F6F3 · Steel #5B6470 · Near-white #ECECE9
=================================================================== */

:root{
  --ink: #0B0D0F;
  --charcoal: #15181C;
  --charcoal-2: #1D2126;
  --amber: #F5871F;
  --amber-glow: #FFA94D;
  --paper: #F7F6F3;
  --paper-2: #EFEDE6;
  --steel: #5B6470;
  --steel-light: #8890997e;
  --near-white: #ECECE9;
  --line-dark: #2A2E33;
  --line-light: #DEDAD0;

  --display: 'Barlow Semi Condensed', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --wrap: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--near-white);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,dl,dd{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family: var(--display); }
p{ margin:0; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
::selection{ background: var(--amber); color: var(--ink); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- shared bits ---------- */
.eyebrow{
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .12em;
  color: var(--amber); margin: 0 0 14px; font-weight: 500;
}
.eyebrow--dark{ color: #C25E0D; }

.section__title{
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
}
.section__title--onDark{ color: var(--near-white); }

.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 3px; font-family: var(--body); font-weight: 600;
  font-size: 15px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--solid{ background: var(--amber); color: var(--ink); }
.btn--solid:hover{ background: var(--amber-glow); transform: translateY(-1px); }
.btn--outline{ border-color: var(--steel-light); color: var(--near-white); }
.btn--outline:hover{ border-color: var(--amber); color: var(--amber); }
.btn--outline-dark{ border-color: var(--line-light); color: var(--ink); }
.btn--outline-dark:hover{ border-color: var(--amber); color: #C25E0D; }
.btn--ghost{ border-color: var(--line-dark); color: var(--near-white); padding: 10px 20px; font-size: 14px; }
.btn--ghost:hover{ border-color: var(--amber); color: var(--amber); }
.btn--full{ width: 100%; }

/* ===================================================================
   TOP UTILITY BAR
=================================================================== */
.topbar{ background: var(--charcoal); border-bottom: 1px solid var(--line-dark); }
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between; height: 36px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing:.02em; color: var(--steel-light);
  flex-wrap: wrap; gap: 6px 0;
}
.topbar__contact{ display:flex; align-items:center; gap: 20px; flex-wrap: wrap; }
.topbar a{ color: #B9BEC5; }
.topbar a:hover{ color: var(--amber); }

/* ===================================================================
   NAVBAR + MEGA-MENU DROPDOWN
=================================================================== */
.navbar{
  position: sticky; top:0; z-index: 100;
  background: rgba(11,13,15,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.navbar__inner{ display:flex; align-items:center; gap: 20px; height: 76px; }
.brand{ display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand__mark{ width: 42px; height:42px; object-fit:cover; border-radius:6px; background: var(--ink); }
.brand__text{ display:flex; flex-direction:column; line-height:1.15; }
.brand__name{ font-family: var(--display); font-weight:700; font-size: 18px; letter-spacing: .03em; color: var(--near-white); }
.brand__tag{ font-family: var(--mono); font-size: 10.5px; color: var(--steel-light); letter-spacing:.04em; }

.navlinks > ul{ display:flex; gap: 2px; list-style:none; margin:0; padding:0; }
.navlinks li{ position: relative; }
.navlinks > ul > li > a{
  display:flex; align-items:center; gap:6px;
  font-size: 14px; font-weight:500; color: var(--near-white);
  padding: 27px 13px; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.navlinks > ul > li > a:hover,
.navlinks > ul > li.is-current > a{ color: var(--amber); border-color: var(--amber); }
.has-dropdown > a .caret{
  display:inline-block; width:7px; height:7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top:-3px; transition: transform .2s ease;
}
.has-dropdown:hover > a .caret{ transform: rotate(-135deg); margin-top:2px; }

.dropdown{
  list-style:none; margin:0; padding: 8px 0;
  position:absolute; top: 100%; left:0; min-width: 260px;
  background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  opacity:0; visibility:hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover > .dropdown{ opacity:1; visibility:visible; transform: translateY(0); }
.dropdown a{ display:block; padding: 10px 18px; font-size: 13.5px; color: #C7CBD1; white-space: normal; }
.dropdown a:hover{ background: rgba(245,135,31,.08); color: var(--amber); }

.navbar__cta{ flex: 0 0 auto; }

.hamburger{
  display:none; background:none; border:none; cursor:pointer;
  width:32px; height:32px; padding:0; flex-direction:column; justify-content:center; gap:6px;
}
.hamburger span{ width:100%; height:2px; background: var(--near-white); }

/* ===================================================================
   HERO
=================================================================== */
.hero{ position: relative; background: var(--ink); padding: 90px 0 0; overflow: hidden; }
.hero__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(245,135,31,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245,135,31,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 40%, transparent 100%);
}
.hero__inner{ position:relative; max-width: 780px; text-align:left; padding-bottom: 70px; }
.hero__title{
  font-size: clamp(38px, 6vw, 64px); line-height: 1.05; font-weight: 800;
  color: var(--near-white); letter-spacing: -0.015em; margin: 8px 0 22px;
}
.hero__title span{ color: var(--amber); }
.hero__sub{ font-size: 17px; line-height: 1.65; color: #B9BEC5; max-width: 560px; margin-bottom: 34px; }
.hero__actions{ display:flex; gap: 14px; flex-wrap: wrap; }

.osd{
  position: relative; border-top: 1px solid var(--line-dark); padding: 16px 28px;
  display:flex; align-items:center; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: #8D949C;
}
.osd__item{ display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
.osd__sep{ color: var(--line-dark); }
.osd__dot{
  width:7px; height:7px; border-radius:50%; background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,135,31,.6); animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink{
  0%,100%{ opacity:1; box-shadow: 0 0 0 0 rgba(245,135,31,.55); }
  50%{ opacity:.35; box-shadow: 0 0 0 5px rgba(245,135,31,0); }
}

/* ===================================================================
   PAGE BANNER — used on about.html / services.html in place of the hero
=================================================================== */
.page-banner{
  position: relative; background: var(--ink); padding: 64px 0 46px; overflow: hidden;
}
.page-banner__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(to right, rgba(245,135,31,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245,135,31,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 60% 80% at 20% 20%, #000 40%, transparent 100%);
}
.breadcrumb{
  position:relative; font-family: var(--mono); font-size: 12px; letter-spacing:.04em;
  color: var(--steel-light); margin-bottom: 14px;
}
.breadcrumb a{ color: var(--amber); }
.breadcrumb span{ margin: 0 6px; }
.page-banner h1{
  position:relative; font-size: clamp(32px, 5vw, 52px); font-weight: 800;
  color: var(--near-white); letter-spacing:-0.015em; margin-bottom: 12px;
}
.page-banner p{ position:relative; color: #B9BEC5; font-size: 16px; max-width: 600px; line-height:1.6; }

/* ===================================================================
   ABOUT (home-page teaser)
=================================================================== */
.about{ background: var(--paper); padding: 100px 0; }
.about__grid{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.about__label{ position: sticky; top: 110px; align-self: start; }
.about__body p{ color: #40474F; font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; max-width: 620px; }
.about__body strong{ color: var(--ink); }
.about__stats{ display:flex; gap: 40px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line-light); flex-wrap: wrap; }
.stat{ display:flex; flex-direction:column; }
.stat__num{ font-family: var(--display); font-weight:700; font-size: 30px; color: var(--amber); }
.stat__label{ font-family: var(--mono); font-size: 11.5px; color: var(--steel); letter-spacing:.04em; margin-top:4px; }
.about__more{ margin-top: 30px; }

/* full Company Profile section, used on about.html */
.profile{ background: var(--paper); padding: 90px 0; }
.profile__grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; }
.profile__body p{ color: #40474F; font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; max-width: 640px; }
.profile__body strong{ color: var(--ink); }

/* ===================================================================
   MISSION / VISION / VALUES
=================================================================== */
.mvv{ background: var(--ink); padding: 90px 0; }
.mvv .section__title{ margin: 10px 0 46px; max-width: 620px; }
.mvv__grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mvv__card{
  background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: 8px;
  padding: 32px 28px; transition: border-color .2s ease, transform .2s ease;
}
.mvv__card:hover{ border-color: var(--amber); transform: translateY(-3px); }
.mvv__icon{
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 20px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(245,135,31,.1); color: var(--amber); font-size: 20px;
  font-family: var(--mono); font-weight:600;
}
.mvv__card h3{ font-size: 19px; color: var(--near-white); margin-bottom: 10px; font-weight: 600; }
.mvv__card p{ font-size: 14.5px; line-height: 1.65; color: #97A0A9; }

/* ===================================================================
   CERTIFICATIONS (full showcase on about.html)
=================================================================== */
.cert-section{ background: var(--paper-2); padding: 90px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.cert-section .section__title{ margin: 8px 0 12px; max-width: 560px; }
.cert-section__sub{ color: var(--steel); font-size: 15.5px; line-height:1.6; max-width: 520px; margin-bottom: 40px; }
.cert-showcase{ display:flex; flex-wrap: wrap; gap: 20px; }
.cert-showcase__item{
  display:flex; flex-direction:column; align-items:center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line-light); border-radius: 10px;
  padding: 24px 22px; width: 168px;
}
.cert-showcase__item img{ width: 74px; height: 74px; object-fit: contain; }
.cert-showcase__item span{ font-family: var(--mono); font-size: 11.5px; color: var(--steel); text-align:center; letter-spacing:.02em; }

/* ===================================================================
   SERVICES (home-page teaser grid)
=================================================================== */
.services{ background: var(--ink); padding: 100px 0; }
.services .section__title{ margin: 10px 0 50px; max-width: 640px; }
.cards{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.card{ background: var(--charcoal); padding: 34px 28px; transition: background .2s ease; }
.card:hover{ background: var(--charcoal-2); }
.card__idx{
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--amber);
  display:inline-block; margin-bottom: 18px; border: 1px solid rgba(245,135,31,.35);
  padding: 3px 8px; border-radius: 3px; min-width: 18px; min-height: 14px;
}
.card h3{ font-size: 20px; color: var(--near-white); margin-bottom: 10px; font-weight: 600; }
.card p{ font-size: 14.5px; line-height: 1.6; color: #97A0A9; }
.services__more{ margin-top: 44px; text-align: center; }

/* full service list, used on services.html */
.service-full-list{ background: var(--ink); padding: 20px 0 40px; }
.service-full{
  display:grid; grid-template-columns: 84px 1fr; gap: 26px;
  padding: 40px 0; border-bottom: 1px solid var(--line-dark);
  scroll-margin-top: 100px;
}
.service-full:last-child{ border-bottom: none; }
.service-full__idx{
  width: 72px; height: 72px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(245,135,31,.08); border: 1px solid rgba(245,135,31,.3);
  font-family: var(--mono); font-weight: 700; font-size: 15px; color: var(--amber);
}
.service-full h3{ font-size: 24px; color: var(--near-white); margin-bottom: 10px; font-weight: 700; }
.service-full p{ font-size: 15.5px; line-height: 1.7; color: #97A0A9; max-width: 700px; margin-bottom: 14px; }
.service-full__points{ display:flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.service-full__points li{
  font-family: var(--mono); font-size: 11.5px; color: #B9BEC5;
  border: 1px solid var(--line-dark); border-radius: 20px; padding: 6px 14px;
}

/* ===================================================================
   MARQUEE — what we deal in
=================================================================== */
.marquee-section{ background: var(--paper); padding: 90px 0 100px; overflow: hidden; }
.marquee-section__head{ margin-bottom: 44px; }
.marquee-section .section__title{ max-width: 560px; margin-top: 8px; }
.marquee{
  position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.marquee__track{ display: flex; width: max-content; gap: 18px; animation: marquee-scroll 32s linear infinite; }
.marquee:hover .marquee__track{ animation-play-state: paused; }
.marquee__item{
  flex: 0 0 auto; width: 168px; margin: 0; background: var(--paper-2); border: 1px solid var(--line-light);
  border-radius: 6px; padding: 26px 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.marquee__item:hover{ border-color: var(--amber); transform: translateY(-3px); }
.marquee__item img{ width: 54px; height: 54px; color: var(--ink); }
.marquee__item figcaption{ font-family: var(--mono); font-size: 11.5px; letter-spacing: .03em; color: var(--steel); text-align: center; line-height: 1.4; }
@keyframes marquee-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .marquee__track{ animation: none; }
  .marquee{ overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ===================================================================
   BRANDS
=================================================================== */
.brands{ background: var(--paper-2); padding: 84px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.brands .section__title{ margin: 8px 0 40px; max-width: 560px; }
.brandlist{ display:flex; flex-wrap: wrap; gap: 14px; }
.brandlist li{
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .02em; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-light); padding: 14px 24px; border-radius: 3px;
}

/* ===================================================================
   TRUSTED / COLLABORATIVE INSTITUTES — static, full colour, no animation
=================================================================== */
.trusted{ background: var(--paper); padding: 96px 0 100px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.trusted__head{ text-align: center; max-width: 680px; margin: 0 auto 56px; }
.trusted__head .eyebrow{ justify-content: center; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow__rule{ display: inline-block; width: 22px; height: 1px; background: var(--amber); }
.trusted__title{
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 44px);
  color: var(--ink); letter-spacing: -0.01em; margin: 8px 0 16px;
}
.trusted__sub{ color: var(--steel); font-size: 16px; line-height: 1.65; }
.trusted__logos{ display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.trusted__logo{
  flex: 0 0 auto; width: 150px; height: 76px; object-fit: contain; background: #fff;
  border: 1px solid var(--line-light); border-radius: 10px; padding: 14px 18px;
  box-shadow: 0 4px 12px rgba(11,13,15,.05);
}

/* ===================================================================
   CTA BANNER — used near the bottom of about.html / services.html
=================================================================== */
.cta-banner{ background: var(--amber); padding: 56px 0; }
.cta-banner__inner{ display:flex; align-items:center; justify-content:space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h2{ font-size: clamp(24px, 3vw, 32px); color: var(--ink); font-weight: 800; }
.cta-banner p{ color: #6B3E0E; font-size: 15px; margin-top: 6px; }
.cta-banner .btn{ background: var(--ink); color: var(--near-white); border-color: var(--ink); }
.cta-banner .btn:hover{ background: #000; }

/* ===================================================================
   CONTACT
=================================================================== */
.contact{ background: var(--ink); padding: 100px 0 110px; }
.contact__grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact__intro{ color: #B9BEC5; font-size: 16px; line-height:1.65; margin: 18px 0 34px; max-width: 460px; }
.contact__list{ margin-bottom: 34px; display:flex; flex-direction:column; gap: 20px; }
.contact__list dt{ font-family: var(--mono); font-size: 11.5px; letter-spacing:.08em; color: var(--amber); margin-bottom: 6px; }
.contact__list dd{ font-size: 15.5px; color: var(--near-white); line-height:1.6; }
.contact__list a:hover{ color: var(--amber); }
.contact__form{ background: var(--charcoal); border: 1px solid var(--line-dark); padding: 34px; border-radius: 4px; display:flex; flex-direction:column; gap: 18px; }
.contact__form label{ display:flex; flex-direction:column; gap:8px; font-family: var(--mono); font-size: 11.5px; letter-spacing:.06em; color: #9AA1A9; }
.contact__form input, .contact__form select, .contact__form textarea{
  font-family: var(--body); font-size: 14.5px; color: var(--near-white); background: var(--ink);
  border: 1px solid var(--line-dark); border-radius: 3px; padding: 12px 14px; resize: vertical;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus{
  outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber);
}
.contact__note{ font-family: var(--mono); font-size: 11.5px; color: var(--steel-light); text-align:center; }

/* ===================================================================
   FOOTER
=================================================================== */
.footer{ background: #08090A; border-top: 1px solid var(--line-dark); }
.footer__inner{ display:flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; padding: 50px 0 30px; }
.footer__certificates{ display:flex; flex-direction:column; gap:12px; }
.footer__certificates h4{ color: var(--near-white); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0; font-weight: 600; }
.certificate-grid{ display: grid; grid-template-columns: repeat(4, 56px); gap: 10px; }
.certificate-grid img{ width: 56px; height: 56px; object-fit: contain; background: #fff; padding: 6px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); transition: transform .2s ease, box-shadow .2s ease; }
.certificate-grid img:hover{ transform: translateY(-3px); box-shadow: 0 10px 22px rgba(245,135,31,.22); }
.footer__links{ display:flex; gap: 22px; padding-top: 8px; flex-wrap: wrap; }
.footer__links a{ font-size: 14px; color: #9AA1A9; }
.footer__links a:hover{ color: var(--amber); }
.footer__contact{ font-size: 14px; color: #9AA1A9; line-height: 1.8; text-align: right; }
.footer__contact a:hover{ color: var(--amber); }
.footer__bottom{ border-top: 1px solid var(--line-dark); padding: 20px 0 30px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-family: var(--mono); font-size: 11.5px; color: #666D74; }

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 900px){
  .about__grid, .profile__grid, .contact__grid{ grid-template-columns: 1fr; }
  .about__label{ position: static; }
  .cards{ grid-template-columns: repeat(2,1fr); }
  .mvv__grid{ grid-template-columns: 1fr; }
  .footer__contact{ text-align:left; }
  .service-full{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .navlinks, .navbar__cta{ display:none; }
  .hamburger{ display:flex; }
  .navbar.is-open .navlinks{
    display:block; position:absolute; top:76px; left:0; right:0;
    background: var(--ink); border-top: 1px solid var(--line-dark); max-height: 80vh; overflow-y: auto;
  }
  .navbar.is-open .navlinks > ul{ display:block; }
  .navbar.is-open .navlinks > ul > li > a{ padding: 16px 24px; border-bottom: 1px solid var(--line-dark); }
  .navbar.is-open .dropdown{
    position: static; opacity:1; visibility:visible; transform:none; border:none; border-radius:0;
    box-shadow:none; background: var(--charcoal-2); display:none; padding: 4px 0;
  }
  .navbar.is-open li.is-expanded > .dropdown{ display:block; }
  .navbar.is-open .dropdown a{ padding: 12px 40px; }

  .hero{ padding-top: 54px; }
  .osd{ font-size: 10.5px; gap: 10px 12px; }
  .cards{ grid-template-columns: 1fr; }
  .brandlist li{ font-size: 15px; padding: 12px 18px; }
  .trusted__logo{ width: 122px; height: 60px; padding: 10px 12px; }
  .cta-banner__inner{ text-align:center; justify-content:center; }
}