/* ==========================================================================
   Excel RF Technologies - Subdomain-matched, dense corporate design
   Reference: excel.mainbhionline.com + Indian defence RF competitors
   ========================================================================== */

:root {
  /* ==========================================================================
     STRICT BRAND PALETTE — ONLY these two colors from the Excel RF Tech logo,
     plus pure neutrals (white, grey, black). No invented shades.
     ========================================================================== */
  --brand-blue: #005592;          /* Logo blue — official brand color */
  --brand-orange: #db6621;        /* Logo orange — official brand color */

  /* Semantic aliases (still only the two brand colors) */
  --primary: #005592;
  --accent: #db6621;

  /* Darker/lighter needs use transparency on the SAME two colors, not new hues */
  --primary-dark-layer: rgba(0, 85, 146, 0.92);      /* brand blue + darken via black layer */
  --primary-overlay: rgba(0, 85, 146, 0.85);
  --accent-soft: rgba(219, 102, 33, 0.10);
  --accent-medium: rgba(219, 102, 33, 0.20);

  /* Pure neutrals only — greyscale, no blue-tint */
  --ink: #1a1a1a;
  --text: #333333;
  --text-muted: #5a5a5a;
  --text-light: #8a8a8a;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-grey: #eeeeee;
  --bg-cool: #e8e8e8;
  --border: #dddddd;
  --border-strong: #bbbbbb;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.10);
  --radius: 0px;
  --radius-sm: 0px;
  --max: 1240px;
}

/* Hover/active states use the two brand colors at reduced opacity or overlaid on black */
.mix-darken-primary { background: #005592; box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.2); }
.mix-darken-accent  { background: #db6621; box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.2); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--accent); }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; text-transform: none; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
p { margin-bottom: 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
ul { list-style: none; }

/* ==========================================================================
   DENSE CORPORATE HEADER (3 rows like Indian defence competitors)
   Row 1: quick contact strip (phone, email, hours, social, ISO badge)
   Row 2: logo + search + "Request Quote" CTA
   Row 3: main navigation bar (navy background)
   ========================================================================== */

.topbar {
  background: var(--primary);
  color: #c9d1de;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar ul { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar li { display: flex; align-items: center; gap: 6px; }
.topbar li::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--accent);
  clip-path: circle(2px at center);
  margin-right: 2px;
}
.topbar li.email::before {
  clip-path: polygon(0 15%, 50% 55%, 100% 15%, 100% 85%, 0 85%);
}
.topbar li.phone::before {
  clip-path: polygon(10% 0, 40% 0, 50% 25%, 35% 40%, 60% 65%, 75% 50%, 100% 60%, 100% 90%, 70% 100%, 30% 80%, 0 40%);
}
.topbar a { color: #c9d1de; }
.topbar a:hover { color: var(--accent); }
.topbar .right { display: flex; gap: 18px; align-items: center; }
.topbar .iso-badge {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 1px 10px;
  border-radius: 0;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.topbar .social a {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.08);
  border-radius: 0;
  font-size: 11px;
  color: #c9d1de;
  margin-left: 4px;
}
.topbar .social a:hover { background: var(--accent); color: #fff; }

/* Logo bar */
.logobar {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.logobar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.logo img { height: 70px; width: auto; max-width: 100%; }
.logo .lg-text { display: none; }
.logo .lg-text strong {
  display: block;
  color: var(--primary);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.logo .lg-text span {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 2px;
}
.logobar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logobar-info {
  display: flex;
  gap: 30px;
}
.logobar-info .li-item {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logobar-info .li-icon {
  width: 44px; height: 44px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}
.logobar-info .li-text strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 1px;
}
.logobar-info .li-text span {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.logobar-cta {
  padding: 12px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(219, 102, 33, 0.20);
  transition: all 0.25s ease;
}
.logobar-cta:hover {
  background: var(--accent);
  color: #fff;
  filter: brightness(0.88);
}

/* Main Nav */
.mainnav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mainnav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mainnav-links {
  display: flex;
  align-items: stretch;
}
.mainnav-links > li { position: relative; }
.mainnav-links > li > a {
  display: block;
  padding: 16px 22px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
}
.mainnav-links > li > a:hover,
.mainnav-links > li > a.active {
  background: rgba(0,0,0,0.2);
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.mainnav-links .has-drop > a::after {
  content: '▾';
  margin-left: 6px;
  opacity: 0.8;
  font-size: 10px;
}
/* Dropdown */
.mainnav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--accent);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  border-radius: 0;
  z-index: 110;
}
.mainnav-links .has-drop:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mainnav-links .dropdown li a {
  display: block;
  padding: 11px 22px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}
.mainnav-links .dropdown li a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  border-left-color: var(--accent);
  padding-left: 26px;
}
.mainnav-links .dropdown li a .cnt {
  float: right;
  background: var(--bg-grey);
  color: var(--text-muted);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 0;
  font-weight: 600;
}
.mainnav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #c9d1de;
  font-size: 13px;
}
.mainnav-right a { color: var(--accent); font-weight: 600; }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 0;
  cursor: pointer;
  font-size: 18px;
  margin: 8px 0;
}

/* ==========================================================================
   HERO CAROUSEL (matches subdomain - 3 rotating slides)
   ========================================================================== */
.hero {
  position: relative;
  height: 82vh;
  min-height: 560px;
  max-height: 780px;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.9s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
  transform: translateX(0);
}
.hero-slide.slide-in-from-right {
  animation: slideInRight 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.hero-slide.slide-in-from-left {
  animation: slideInLeft 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.hero-slide.slide-out-to-left {
  animation: slideOutLeft 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  opacity: 1;
  z-index: 2;
}
.hero-slide.slide-out-to-right {
  animation: slideOutRight 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  opacity: 1;
  z-index: 2;
}
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 1; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 1; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(-100%); opacity: 1; }
}
@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(100%); opacity: 1; }
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(20, 20, 20, 0.78) 0%, rgba(20, 20, 20, 0.55) 55%, rgba(20, 20, 20, 0.3) 100%);
}
.hero-slide .container {
  position: relative;
  z-index: 1;
  color: #fff;
}
.hero-eyebrow {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 4px 0 8px;
  border-bottom: 2px solid var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 0;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-slide.active .hero-eyebrow {
  animation: slideUp 0.8s ease 0.15s forwards;
}
.hero h1 {
  color: #fff;
  max-width: 820px;
  margin-bottom: 22px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(30px);
}
.hero-slide.active h1 {
  animation: slideUp 0.9s ease 0.3s forwards;
}
.hero h1 .hl { color: var(--accent); }
.hero-tagline {
  font-size: 1.2rem;
  color: #dde3ee;
  max-width: 660px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(30px);
}
.hero-slide.active .hero-tagline {
  animation: slideUp 0.9s ease 0.45s forwards;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
}
.hero-slide.active .hero-cta {
  animation: slideUp 0.9s ease 0.6s forwards;
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dots button {
  width: 20px; height: 4px;
  border-radius: 0;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.hero-dots button.active {
  background: var(--accent);
  width: 40px;
  border-radius: 0;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 0;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  font-size: 20px;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.28s ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  filter: brightness(0.88);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}
.btn-outline:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-dark {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-dark:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  filter: brightness(1.15);
}
.btn-custom {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-custom:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-back {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border-strong);
}
.btn-back:hover {
  background: var(--bg-alt);
  color: var(--primary);
  border-color: var(--border-strong);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary); color: #c9d1de; }
.section-dark h2, .section-dark h3 { color: #fff; }

.sec-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}
.sec-header .label {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  padding: 0;
}
.sec-header .label::before,
.sec-header .label::after {
  display: none;
}
.sec-header h2 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
}
.sec-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* ==========================================================================
   PAGE BANNER
   ========================================================================== */
.page-banner {
  background:
    linear-gradient(110deg, rgba(0, 85, 146, 0.92) 0%, rgba(0, 85, 146, 0.82) 100%),
    url('../images/hero-4.jpg') center/cover no-repeat;
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(219, 102, 33, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}
.page-banner .breadcrumb {
  display: inline-flex;
  gap: 10px;
  padding: 0;
  font-size: 12.5px;
  color: #dde3ee;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 10px 0;
}
.page-banner .breadcrumb a { color: var(--accent); font-weight: 700; }
.page-banner .breadcrumb span { opacity: 0.5; }

/* ==========================================================================
   ABOUT grid (home + about page)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.welcome-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.welcome-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-align: left;
}
.welcome-intro .about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  margin-top: 0;
  border-top: 1px solid var(--border);
}
.welcome-intro .about-stats .stat {
  text-align: center;
}
.welcome-intro .about-stats strong {
  display: block;
  font-size: 2.4rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.welcome-intro .about-stats span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}
.about-image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -18px; right: -18px;
  width: 60%; height: 60%;
  border: 4px solid var(--accent);
  border-radius: 0;
  z-index: -1;
}
.about-content .lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 2px solid var(--border);
}
.about-stats .stat { text-align: center; }
.about-stats .stat strong {
  display: block;
  font-size: 2.3rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
}
.about-stats .stat span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature {
  background: #fff;
  padding: 32px 26px;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.feature:hover {
  border-color: var(--border-strong);
  border-top-color: var(--accent);
  box-shadow: var(--shadow);
}
.feature:hover::before { transform: scaleX(1); }
.feature .ic {
  width: 52px; height: 52px;
  background: var(--bg-alt);
  color: var(--primary);
  border-radius: 0;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-left: 3px solid var(--accent);
  font-family: 'Inter', sans-serif;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ==========================================================================
   CATEGORY CARDS (products landing page)
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

/* ==========================================================================
   INFRASTRUCTURE PAGE (PPT-sequenced 6 cards + tool logos)
   ========================================================================== */
.infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.infra-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}
.infra-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.infra-card.linked:hover {
  border-color: var(--accent);
}
.infra-card.linked::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.infra-card.linked:hover::after {
  transform: scaleY(1);
}
.infra-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-alt);
}
.infra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.infra-card:hover .infra-img img {
  transform: scale(1.04);
}
.infra-card h3 {
  padding: 18px 22px;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}
.infra-card.linked h3 {
  padding-bottom: 6px;
}
.infra-link {
  display: block;
  padding: 0 22px 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tools-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.tools-group {
  background: #fff;
  border: 1px solid var(--border);
  padding: 36px 32px;
  text-align: center;
}
.tools-group h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.tools-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  justify-items: center;
}
.tool-logo {
  padding: 20px;
  background: var(--bg-alt);
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cat-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
  border-top: 3px solid var(--accent);
  padding-top: 0;
}
.cat-card .ic {
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.cat-card .ic img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s ease;
}
.cat-card:hover .ic img { transform: scale(1.06); }
.cat-card .ic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 85, 146, 0.05) 100%);
}
.cat-card .bd {
  padding: 24px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-card .bd .cnt {
  display: inline-block;
  background: rgba(219, 102, 33, 0.10);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 0;
  margin-bottom: 12px;
  width: fit-content;
}
.cat-card .bd h3 { font-size: 1.18rem; margin-bottom: 10px; }
.cat-card .bd p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
  flex: 1;
}
.cat-card .bd .arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.cat-card:hover .bd .arrow { gap: 12px; }

/* ==========================================================================
   PRODUCT CARDS (category page)
   ========================================================================== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.prod-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.prod-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.prod-card .img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}
.prod-card .img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 0.4s ease;
}
.prod-card:hover .img img { transform: scale(1.05); }
.prod-card .img .mdl {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--primary);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 0;
}
.prod-card .bd { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.prod-card .bd h3 { font-size: 1rem; margin-bottom: 8px; line-height: 1.35; }
.prod-card .bd .spec {
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.prod-card .bd p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 14px; flex: 1; }
.prod-card .bd .view {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.prod-card:hover .bd .view { gap: 12px; }

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.prod-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}
.prod-gallery {
  position: sticky;
  top: 100px;
}
.prod-main-img {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 40px;
  min-height: 400px;
  display: grid;
  place-items: center;
}
.prod-main-img img { max-height: 380px; object-fit: contain; }
.prod-info .model-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  padding: 5px 14px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.prod-info h1 {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  line-height: 1.25;
  margin-bottom: 12px;
}
.prod-info .lead-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  line-height: 1.7;
}
.meta-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 20px 22px;
  border-radius: 0;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}
.meta-box .m-item strong {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 4px;
}
.meta-box .m-item span {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 600;
}
.prod-info h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.specs-table th, .specs-table td {
  padding: 11px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.specs-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  width: 42%;
}
.specs-table tr:nth-child(even) td { background: var(--bg-alt); }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }
.prod-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

/* Related products */
.related { margin-top: 70px; padding-top: 60px; border-top: 2px solid var(--border); }
.related h3 { font-size: 1.4rem; margin-bottom: 30px; }

/* ==========================================================================
   CLIENTS STRIP
   ========================================================================== */
.clients {
  padding: 50px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients h4 {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 34px;
  font-weight: 700;
}

/* Infinite scrolling marquee */
.clients-marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-left 40s linear infinite;
  align-items: center;
}
.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}
.clients-track img {
  max-height: 64px;
  max-width: 150px;
  width: auto;
  height: auto;
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.clients-track img:hover {
  transform: scale(1.08);
}
@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Legacy grid fallback (kept for any page still using it) */
.clients-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 30px 24px;
}
.clients-row img {
  max-height: 62px;
  max-width: 130px;
  width: auto;
  filter: none;
  opacity: 1;
  transition: transform 0.3s ease;
}
.clients-row img:hover { transform: scale(1.08); }

/* ==========================================================================
   VISION MISSION
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.vm-card {
  padding: 38px 34px;
  border-radius: 0;
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--accent);
}
.vm-card.accent {
  background: var(--accent);
  border-left-color: var(--primary);
}
/* Angular corner brackets - tactical marker look */
.vm-card::before {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 24px; height: 24px;
  border-top: 2px solid rgba(255,255,255,0.35);
  border-right: 2px solid rgba(255,255,255,0.35);
}
.vm-card::after {
  content: '';
  position: absolute;
  bottom: 12px; left: 12px;
  width: 24px; height: 24px;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  border-left: 2px solid rgba(255,255,255,0.2);
}
.vm-card h3 { color: #fff; margin-bottom: 14px; }
.vm-card p { margin: 0; opacity: 0.95; }

/* Core values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.v-chip {
  background: #fff;
  padding: 22px 16px;
  text-align: center;
  border-radius: 0;
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}
.v-chip:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.v-chip .n {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 6px;
}
.v-chip strong {
  font-size: 13.5px;
  color: var(--primary);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 44px;
  align-items: start;
}
.ci-box {
  background: var(--primary);
  color: #fff;
  padding: 32px 30px;
  border-radius: 0;
}
.ci-box h3 { color: #fff; margin-bottom: 20px; }
.ci-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ci-item:last-child { border-bottom: none; }
.ci-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 16px;
}
.ci-text strong {
  display: block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ci-text p { color: #dde3ee; margin: 0; font-size: 14px; line-height: 1.55; }

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.contact-form h3 { margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-alt);
  transition: all 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(219, 102, 33, 0.10);
}
.field textarea { min-height: 110px; resize: vertical; }

/* ==========================================================================
   DENSE FOOTER (5 columns, newsletter, social, certifications)
   ========================================================================== */
.footer {
  background: var(--primary);
  color: #a0aabf;
  padding-top: 60px;
  font-size: 14px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 700;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--accent);
}
.footer p { color: #a0aabf; font-size: 13.5px; line-height: 1.7; }
.footer a { color: #c9d1de; font-size: 13.5px; }
.footer a:hover { color: var(--accent); }
.footer ul li {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer ul li::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.footer-brand img {
  height: 70px;
  width: auto;
  max-width: 100%;
  margin-bottom: 16px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 0;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.footer-contact-item .fc-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
}
.footer-contact-item p { margin: 0; font-size: 13px; line-height: 1.55; color: #c9d1de; }

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-badges .bdg {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #dde3ee;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.footer-social a {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border-radius: 0;
  font-size: 13px;
  color: #c9d1de;
  transition: all 0.25s ease;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  filter: brightness(0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8892a3;
  gap: 14px;
}
.footer-bottom a { color: #c9d1de; }
.footer-bottom ul { display: flex; gap: 18px; }
.footer-bottom ul li { padding: 0; }
.footer-bottom ul li::before { content: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-size: 15px;
}
details.faq-item { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease;
  display: inline-block;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .ans {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ==========================================================================
   UTILS + RESPONSIVE
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; } .mt-4 { margin-top: 2rem; }

@media (max-width: 1160px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > :nth-child(4),
  .footer-grid > :nth-child(5) { grid-column: span 1; }
  .logobar-info { display: none; }
}
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .prod-detail { grid-template-columns: 1fr; gap: 30px; }
  .prod-gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tools-split { grid-template-columns: 1fr; gap: 28px; }
  .mainnav-right { display: none; }
  .mainnav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 80px 0 20px;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .mainnav-links.open { right: 0; }
  .mainnav-links > li > a {
    color: var(--primary);
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }
  .mainnav-links .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 20px;
    border-top: none;
    background: var(--bg-alt);
  }
  .mobile-toggle { display: block; }
  .topbar ul { gap: 14px; }
  .topbar .right { font-size: 12px; }
  .hero-arrow { display: none; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .logo img { height: 48px; }
  .topbar .right { display: none; }
  .infra-grid { grid-template-columns: 1fr; }
  .tools-logos { grid-template-columns: 1fr; gap: 18px; }
}
