/* =====================================================================
   SyskeyOT website - shared stylesheet
   Every page links to this one file.
   To change the colour theme, edit the values in :root below.
   ===================================================================== */

/* ---------- 1. Theme settings ---------- */
:root {
  /* Brand blues (taken from the SyskeyOT logo) */
  --brand-950: #051833;
  --brand-900: #0b2a55;   /* dark navy - headings, dark sections */
  --brand-800: #0d3d7a;
  --brand-700: #0f5aa8;
  --brand-600: #1171cc;   /* main brand blue - buttons, links */
  --brand-500: #1a9ff5;   /* bright logo blue - highlights */
  --brand-100: #e4f2fe;
  --brand-50:  #f4f9ff;
  --brand-200: #bfe0fb;   /* light blue - hover borders */
  --brand-150: #cfe6ff;   /* pale blue text on dark blue */
  --brand-75:  #eef5fd;   /* very light blue band */

  /* Region colours (Customers page) */
  --region-mea:  #f2a93b; /* Middle East & Africa */
  --region-apac: #22c3a6; /* Asia Pacific */
  --region-eu:   #5aa9ff; /* Europe */
  --region-am:   #a78bfa; /* Americas */

  /* Accent pairs for coloured number tiles (light, dark) */
  --teal-500: #14a58b;  --teal-900: #00564a;
  --amber-500: #d98a1e; --amber-900: #7a3f00;
  --violet-500: #6d4ad8; --violet-900: #2e1065;

  --ink:   #14243b;       /* body text */
  --muted: #5b6b82;       /* secondary text */
  --line:  #dde7f3;       /* borders */
  --white: #ffffff;

  --shadow-sm: 0 2px 8px rgba(11, 42, 85, .06);
  --shadow:    0 12px 32px rgba(11, 42, 85, .12);

  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 4px; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* "Under review" marker - for content you may remove later.
   Delete the element (or this rule) once a decision is made. */
/* "Coming soon" marker - a tiny calm clock icon.
   Pointing at it (or at its menu/footer line) gently shows a small "Coming soon" tip. */
.soon { position: relative; display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 5px; vertical-align: -2px; color: #a3b0c2; cursor: default; }
.soon svg { width: 12px; height: 12px; }
.soon-tip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translate(-50%, 3px);
  padding: 3px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none;
  font-size: .62rem; font-weight: 500; letter-spacing: .02em; line-height: 1.4; color: #4a5a72;
  background: #fff; border: 1px solid #e3eaf3; box-shadow: 0 4px 12px rgba(11, 42, 85, .08);
  opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.soon:hover .soon-tip, .pmx-sensor:hover .soon-tip, .footer-links li:hover .soon-tip { opacity: 1; transform: translate(-50%, 0); }
.site-footer .soon { color: rgba(255, 255, 255, .4); margin-left: 6px; }
/* footer: the clock stays glued to the last word, and the tip opens to the right so it never covers the link */
.nobr { white-space: nowrap; }

/* Footer Platform column: Central Management / Sensors groups with a thin vertical line (as on the new site) */
.footer-platform { display: grid; gap: 16px; }
.fp-label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; color: #fff; }
.fp-sub { margin-left: 3px; padding-left: 13px; border-left: 1px solid rgba(255, 255, 255, .24); }
.site-footer .soon-tip { bottom: auto; top: 50%; left: calc(100% + 6px); transform: translate(3px, -50%); }
.footer-links li:hover .soon-tip { transform: translate(0, -50%); }
/* phones: the clock is often near the right edge, so the tip opens above it towards the left and stays on screen */
@media (max-width: 640px) {
  .soon-tip, .site-footer .soon-tip { top: auto; bottom: calc(100% + 6px); left: auto; right: -4px; transform: translateY(3px); }
  .soon:hover .soon-tip, .pmx-sensor:hover .soon-tip, .footer-links li:hover .soon-tip { transform: none; }
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  transition: background .2s, transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand-600); color: var(--white); box-shadow: 0 6px 18px rgba(17, 113, 204, .30); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--brand-700); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }

/* =====================================================================
   4. HEADER
   ===================================================================== */

/* 4a. Top bar (contact details + social links) */
.topbar { position: relative; background: var(--brand-950); color: #b8c8e0; font-size: .8rem; }
/* thin brand-gradient line along the very top of the site */
.topbar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand-600), var(--brand-500), #6cc4ff, var(--brand-600)); }
.topbar-tagline { display: inline-flex; align-items: center; gap: 8px; color: #dbe8f8; font-weight: 500; }
.topbar-tagline .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 3px rgba(61, 220, 151, .2); }
.topbar-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .15); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 14px; height: 14px; color: var(--brand-500); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right .label { opacity: .75; }

.social { display: flex; gap: 8px; }
.social a {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); transition: background .2s;
}
.social a:hover { background: var(--brand-600); }
.social svg { width: 13px; height: 13px; color: currentColor; }

/* 4b. Main header bar */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11, 42, 85, .10); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .25s; }
.brand img { height: 38px; width: auto; transition: height .25s; }
/* header becomes slimmer once the page is scrolled */
.site-header.scrolled .header-inner { height: 64px; }
.site-header.scrolled .brand img { height: 33px; }

/* 4c. Navigation */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: 8px;
  font-weight: 600; font-size: .93rem; color: var(--brand-900); transition: color .2s;
}
/* animated underline under the hovered / open / current menu item */
.nav-link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item.open > .nav-link, .nav-link.active { color: var(--brand-600); }
.nav-link:hover::after, .nav-item:hover > .nav-link::after, .nav-item.open > .nav-link::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }
/* home button: first menu item, a plain house icon (same colours as the other menu links) */
.nav-home { padding: 10px; }
.nav-home svg { width: 19px; height: 19px; }
.nav-home::after { display: none; }
.nav-home-label { display: none; }

/* Dropdown panels */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 22px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav-item:hover > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-item:hover > .nav-link .chev, .nav-item.open > .nav-link .chev { transform: rotate(180deg); }

.dropdown.mega { display: grid; gap: 26px; }
/* Wide menus are centred under the whole header, not under their button,
   so they never run off the edge of the screen */
@media (min-width: 981px) {
  .nav-item:has(> .dropdown.mega) { position: static; }
  .dropdown.mega { top: calc(100% - 6px); }
}
/* ---------------------------------------------------------------
   Platform menu - FINAL design (approved, v3)
   Left: simple dark Cockpit card (label, name, tagline, button)
   Middle: sensors with small icon tiles and one-line descriptions
   Right: industries as plain text (no links, no icons)
   Bottom: the three pillars (text) + Request a Demo link
   --------------------------------------------------------------- */
.dropdown.pmx {
  width: 980px; padding: 0; overflow: hidden; border-radius: 18px; border: 1px solid #e3ecf7;
  box-shadow: 0 30px 70px rgba(11, 42, 85, .20), 0 4px 12px rgba(11, 42, 85, .06);
  grid-template-columns: 280px 1fr 250px; gap: 0;
}
/* Cockpit card - kept deliberately simple: label, name, one line, one button */
.pmx-hero {
  display: flex; flex-direction: column; padding: 30px 26px 26px; color: #fff;
  background: linear-gradient(160deg, #0b2a55, #0f5aa8);
}
.pmx-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8fc6f5; }
.pmx-hero h4 { margin: 12px 0 10px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.pmx-hero .tagline { font-size: .86rem; font-weight: 400; color: #cfe1f6; line-height: 1.6; }
/* mini dashboard illustration */
.pmx-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 9px 16px; border-radius: 999px; background: #fff; color: #0f5aa8; font-size: .82rem; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.pmx-cta svg { width: 14px; height: 14px; transition: transform .2s; }
.pmx-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.pmx-cta:hover svg { transform: translateX(3px); }

.pmx-col { padding: 24px 22px; }
.pmx-col + .pmx-col { border-left: 1px solid #edf2f9; }
.pmx-industries { background: #f7faff; }
.pmx-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pmx-head h5 { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #5b6b84; }
.pmx-flow { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 600; color: var(--brand-600); background: var(--brand-50); padding: 3px 9px; border-radius: 999px; }

.pmx-sensor { display: flex; align-items: center; gap: 14px; padding: 10px; margin: 0 -10px; border-radius: 12px; transition: background .2s; }
/* small, quiet icon tiles */
.pmx-sensor .tile {
  flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: var(--brand-600); background: var(--brand-50); border: 1px solid #e1ecf9; transition: background .2s, color .2s;
}
.pmx-sensor .tile svg { width: 17px; height: 17px; }
.pmx-sensor strong { display: block; font-size: .9rem; font-weight: 700; color: var(--brand-900); }
.pmx-sensor small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }
.pmx-sensor .go { margin-left: auto; width: 16px; height: 16px; color: var(--brand-600); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.pmx-sensor:hover { background: var(--brand-50); }
.pmx-sensor:hover .tile { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

/* Industries: plain text list (no links, no icons) */
.pmx-ind { display: grid; gap: 2px; }
.pmx-ind li { padding: 7px 0; font-size: .88rem; font-weight: 500; color: #33415a; border-bottom: 1px dashed #e3ebf5; }
.pmx-ind li:last-child { border-bottom: 0; }
.pmx-sensor:hover .go { opacity: 1; transform: none; }


.pmx-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; border-top: 1px solid #edf2f9; background: #fbfdff; font-size: .8rem; color: var(--muted); }
.pmx-pillars { display: flex; gap: 10px; }
.pmx-pillars span { font-weight: 600; color: var(--brand-900); }
.pmx-pillars span + span::before { content: "·"; margin-right: 10px; color: var(--brand-500); }
.pmx-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-600); }
.pmx-foot a svg { width: 14px; height: 14px; }


/* sensors slide in one after another when the menu opens */
@media (min-width: 981px) {
  .dropdown.pmx .pmx-sensor { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s, background .2s; }
  .nav-item:hover > .dropdown.pmx .pmx-sensor, .nav-item.open > .dropdown.pmx .pmx-sensor { opacity: 1; transform: none; }
  .pmx-sensor:nth-child(3) { transition-delay: .05s; }
  .pmx-sensor:nth-child(4) { transition-delay: .1s; }
  .pmx-sensor:nth-child(5) { transition-delay: .15s; }
  .pmx-sensor:nth-child(6) { transition-delay: .2s; }
  .pmx-sensor:nth-child(7) { transition-delay: .25s; }
}

/* Help strip along the bottom of the large menus */

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.menu-toggle, .nav-close { display: none; width: 44px; height: 44px; border-radius: 10px; place-items: center; color: var(--brand-900); }
.menu-toggle:hover, .nav-close:hover { background: var(--brand-50); }
.menu-toggle svg, .nav-close svg { width: 24px; height: 24px; }

/* =====================================================================
   5. FOOTER
   ===================================================================== */
.footer-cta { position: relative; z-index: 1; margin-bottom: -70px; }
.footer-cta .box {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 44px 48px; border-radius: 22px; color: var(--white);
  background: radial-gradient(600px 220px at 90% 0%, rgba(26, 159, 245, .5), transparent 70%), linear-gradient(120deg, var(--brand-900), var(--brand-600));
  box-shadow: 0 24px 50px rgba(11, 42, 85, .28);
}
/* faint grid pattern + shield watermark inside the banner */
.footer-cta .box::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.footer-cta .watermark { position: absolute; right: 24%; top: 50%; width: 220px; height: 220px; transform: translateY(-50%) rotate(-8deg); opacity: .07; color: #fff; pointer-events: none; }
.footer-cta .box > *:not(.watermark) { position: relative; }
.footer-cta .kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fd3fb; }
.footer-cta .kicker::before { content: ""; width: 20px; height: 2px; background: #9fd3fb; }
.footer-cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; font-weight: 800; }
.footer-cta p { color: #d6e9fc; margin-top: 6px; }
.footer-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { background: var(--brand-950); color: #a9bad3; font-size: .9rem; padding-top: 130px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.15fr 1fr .8fr 1.3fr; gap: 36px; padding-bottom: 48px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 16px; }
.footer-brand p { line-height: 1.6; max-width: 300px; }
.badges { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
/* both badges in identical white boxes so they look the same size */
.badges img { width: 120px; height: 46px; object-fit: contain; background: var(--white); border-radius: 8px; padding: 5px 10px; }
.site-footer .social a { width: 34px; height: 34px; }
.site-footer .social svg { width: 15px; height: 15px; }

.site-footer { position: relative; }
/* soft glow behind the footer columns */
.site-footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 300px at 15% 100%, rgba(17, 113, 204, .18), transparent 70%); }
/* animated network background (drawn by js/main.js): slow drifting dots joined by faint lines.
   Fades out at the edges; stays still for visitors who turn off motion in their system settings. */
.site-footer > .footer-net {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 80%, transparent 100%);
}
.site-footer > * { z-index: 1; }
.site-footer > * { position: relative; }
.site-footer h3 { position: relative; color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 18px; padding-bottom: 10px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--brand-500); }
.footer-links { display: grid; gap: 9px; }
/* links slide right with a small chevron on hover */
.footer-links a { position: relative; display: inline-block; transition: color .2s, transform .2s; }
.footer-links a::before { content: "›"; position: absolute; left: -12px; opacity: 0; color: var(--brand-500); transition: opacity .2s; }
.footer-links a:hover { color: var(--white); transform: translateX(10px); }
.footer-links a:hover::before { opacity: 1; }

.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 11px; line-height: 1.5; }
.footer-contact svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 3px; color: var(--brand-500); }
.footer-contact b { display: block; color: #dbe6f5; font-weight: 600; font-size: .82rem; }
.footer-contact a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 0; font-size: .82rem; }
.footer-bottom .made { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .made svg { width: 15px; height: 15px; color: var(--brand-500); }
.to-top-link { display: inline-flex; align-items: center; gap: 6px; color: #cfe0f5; font-weight: 600; }
.to-top-link:hover { color: var(--white); }
.to-top-link svg { width: 14px; height: 14px; }

/* Floating "back to top" button (appears after scrolling) */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: var(--brand-600);
  box-shadow: 0 10px 24px rgba(17, 113, 204, .4); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand-700); }
.back-to-top svg { width: 20px; height: 20px; }

/* =====================================================================
   7. Responsive
   ===================================================================== */
@media (max-width: 1120px) {
  .header-actions .btn-primary { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile menu: below 980px the nav becomes a slide-in panel */
@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  /* backdrop-filter would trap the fixed menu panel inside the header, so turn it off here */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }
  body.menu-open .site-header { z-index: 300; }
  .header-actions .btn-primary { display: inline-flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 200;
    flex-direction: column; align-items: stretch; gap: 0; padding: 76px 18px 30px; overflow-y: auto;
    background: var(--white); box-shadow: none; transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  body.menu-open .nav { transform: none; visibility: visible; box-shadow: var(--shadow); }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(5, 24, 51, .45); z-index: 150; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link::after { display: none; }
  .nav-home { padding: 14px 10px; justify-content: flex-start; gap: 10px; }
  .nav-home-label { display: inline; }
  .topbar-tagline, .topbar-sep { display: none; }
  .nav-close { display: grid; position: absolute; top: 16px; right: 16px; }
  .dropdown, .dropdown.mega {
    position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 8px 0 14px;
    opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; gap: 14px;
  }
  .nav-item:hover > .dropdown, .nav-item.open > .dropdown { transform: none; }
  .nav-item.open > .dropdown { display: grid; }
  .nav-item:hover > .nav-link .chev { transform: none; }
  .nav-item.open > .nav-link .chev { transform: rotate(180deg); }
}
@media (min-width: 981px) { .nav-close { display: none; } }

@media (max-width: 680px) {
  .topbar-right .label { display: none; }
  .header-actions .btn-primary { display: none; }
  .brand img { height: 32px; }
  .footer-cta .box { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact-col { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Platform menu (v3) - medium and small screens */
@media (max-width: 1100px) and (min-width: 981px) {
  .dropdown.pmx { width: 96vw; grid-template-columns: 290px 1fr 220px; }
}
@media (max-width: 980px) {
  .dropdown.pmx { grid-template-columns: 1fr; border: 0; border-radius: 0; overflow: visible; box-shadow: none; gap: 6px; }
  .pmx-hero { border-radius: 14px; padding: 20px; }
  .pmx-cta { margin-top: 14px; }
  .pmx-col { padding: 14px 0 4px; }
  .pmx-col + .pmx-col { border-left: 0; }
  .pmx-industries { background: none; }
  .pmx-flow { display: none; }
  .pmx-sensor { margin: 0; }
  .pmx-foot { display: none; }
}

/* =====================================================================
   8. Internal remarks (for the SyskeyOT team only)
   Shown only when the site is opened on localhost (your laptop).
   Hidden automatically on the live website. Remove them once verified.
   .internal       = small "verify" label
   ===================================================================== */
.internal { display: none !important; }
html.is-local .internal {
  display: inline-flex !important; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 8px; border-radius: 6px; vertical-align: middle;
  font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5;
  color: #8a4b00; background: #fff4d6; border: 1px dashed #e0a800;
}
html.is-local .internal::before { content: "⚑"; }

/* ==== Company logos (shared: Customers page + landing-page trust strip) ==== */
.lg { display: block; width: 100%; background-repeat: no-repeat; }
/* Logos: each logo is cut from one of two combined images (sprites).
   To add a logo: add a class here with its size (aspect-ratio) and position. */
.lg-customers { background-image: url(../assets/imgs/partners/scribbler-logos-3.jpg); }
.lg-partners  { background-image: url(../assets/imgs/partners/scribbler-logos-5.jpg); }
.logo-dewa { aspect-ratio: 200/90; background-size: 430.00% auto; background-position: 2.27% 22.82%; }  /* DEWA */
.logo-sharjah-electricity-and-water-authority { aspect-ratio: 200/106; background-size: 430.00% auto; background-position: 2.27% 92.51%; }  /* Sharjah Electricity & Water Authority */
.logo-al-ain-distribution-company { aspect-ratio: 200/106; background-size: 430.00% auto; background-position: 66.67% 92.51%; }  /* Al Ain Distribution Company */
.logo-transco { aspect-ratio: 200/110; background-size: 430.00% auto; background-position: 66.67% 40.87%; }  /* TRANSCO */
.logo-dubai-municipality { aspect-ratio: 202/106; background-size: 425.74% auto; background-position: 34.65% 92.51%; }  /* Dubai Municipality */
.logo-adopt { aspect-ratio: 200/108; background-size: 430.00% auto; background-position: 2.27% 75.14%; }  /* ADOPT */
.logo-etihad-water-and-electricity { aspect-ratio: 200/108; background-size: 430.00% auto; background-position: 66.67% 75.14%; }  /* Etihad Water & Electricity */
.logo-adnoc { aspect-ratio: 204/90; background-size: 421.57% auto; background-position: 98.78% 22.82%; }  /* ADNOC */
.logo-acwa-power-risha { aspect-ratio: 202/90; background-size: 425.74% auto; background-position: 34.65% 22.82%; }  /* ACWA Power Risha */
.logo-gcc-interconnection-authority { aspect-ratio: 204/108; background-size: 421.57% auto; background-position: 98.78% 75.14%; }  /* GCC Interconnection Authority */
.logo-moya-water-and-environmental-services { aspect-ratio: 200/80; background-size: 430.00% auto; background-position: 66.67% 58.06%; }  /* Moya Water and Environmental Services */
.logo-oman-electricity-transmission-company-nama-group { aspect-ratio: 202/108; background-size: 425.74% auto; background-position: 34.65% 75.14%; }  /* Oman Electricity Transmission Company (Nama Group) */
.logo-kahramaa { aspect-ratio: 200/90; background-size: 430.00% auto; background-position: 66.67% 22.82%; }  /* Kahramaa */
.logo-equate { aspect-ratio: 204/110; background-size: 421.57% auto; background-position: 98.78% 40.87%; }  /* EQUATE */
.logo-powergrid { aspect-ratio: 200/90; background-size: 430.00% auto; background-position: 2.27% 6.76%; }  /* Powergrid */
.logo-greenko { aspect-ratio: 202/90; background-size: 425.74% auto; background-position: 34.65% 6.76%; }  /* Greenko */
.logo-jakson-green { aspect-ratio: 200/90; background-size: 430.00% auto; background-position: 66.67% 6.76%; }  /* Jakson Green */
.logo-gail-india-limited { aspect-ratio: 204/90; background-size: 421.57% auto; background-position: 98.78% 6.76%; }  /* GAIL (India) Limited */
.logo-perdaman-chemicals-and-fertilisers { aspect-ratio: 202/80; background-size: 425.74% auto; background-position: 34.65% 58.06%; }  /* Perdaman Chemicals and Fertilisers */
.logo-equinor { aspect-ratio: 202/110; background-size: 425.74% auto; background-position: 34.65% 40.87%; }  /* Equinor */
.logo-orsted { aspect-ratio: 204/80; background-size: 421.57% auto; background-position: 98.78% 58.06%; }  /* Ørsted */
.logo-transnetbw { aspect-ratio: 200/80; background-size: 430.00% auto; background-position: 2.27% 58.06%; }  /* TransnetBW */
.logo-national-grid { aspect-ratio: 200/110; background-size: 430.00% auto; background-position: 2.27% 40.87%; }  /* National Grid */
.logo-siemens { aspect-ratio: 190/85; background-size: 452.63% auto; background-position: 2.99% 13.56%; }  /* Siemens */
.logo-hitachi-energy { aspect-ratio: 201/38; background-size: 428.36% auto; background-position: 36.06% 20.18%; }  /* Hitachi Energy */
.logo-ge { aspect-ratio: 190/85; background-size: 452.63% auto; background-position: 70.15% 13.56%; }  /* GE */
.logo-schweitzer-engineering-laboratories { aspect-ratio: 185/85; background-size: 464.86% auto; background-position: 98.52% 13.56%; }  /* Schweitzer Engineering Laboratories */
.logo-phoenix-contact { aspect-ratio: 190/82; background-size: 452.63% auto; background-position: 2.99% 46.98%; }  /* Phoenix Contact */
.logo-larsen-and-toubro { aspect-ratio: 217/82; background-size: 396.31% auto; background-position: 35.46% 46.98%; }  /* Larsen & Toubro */
.logo-andritz { aspect-ratio: 190/82; background-size: 452.63% auto; background-position: 70.15% 46.98%; }  /* Andritz */
.logo-honeywell { aspect-ratio: 185/82; background-size: 464.86% auto; background-position: 98.52% 46.98%; }  /* Honeywell */
.logo-eurocontrolli { aspect-ratio: 190/76; background-size: 452.63% auto; background-position: 2.99% 79.61%; }  /* Eurocontrolli */
.logo-gbm { aspect-ratio: 170/60; background-size: 505.88% auto; background-position: 32.17% 77.50%; }  /* GBM */
.logo-3w-networks { aspect-ratio: 170/64; background-size: 505.88% auto; background-position: 62.03% 77.85%; }  /* 3W Networks */
