/* ==========================================================
   LCS Services India Pvt. Ltd. — Website styles
   To change the main colours, edit the values in :root below.
   ========================================================== */

:root {
  --navy: #0c2d3b;        /* main dark colour (header, footer, hero) */
  --navy-2: #17657f;      /* slightly lighter navy */
  --amber: #ee3560;       /* safety accent colour (buttons, highlights) */
  --amber-dark: #c92a50;
  --teal: #4da2af;
  --teal-dark: #17657f;
  --red: #d7263d;         /* emergency colour */
  --text: #1d2733;
  --muted: #5b6b7c;
  --bg: #ffffff;
  --soft: #f3f6f9;        /* light grey section background */
  --border: #dde4ea;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(12, 45, 59, 0.08);
  --max: 1180px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); color: #d8e2ec; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.section--dark .eyebrow, .hero .eyebrow, .page-banner .eyebrow { color: #7fd0db; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.125rem; color: var(--muted); }
.section--dark .lead { color: #aebdcc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: #fff; }
.btn--primary:hover { background: var(--amber-dark); }
.btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--emergency { background: var(--red); color: #fff; }
.btn--emergency:hover { background: #bb1d32; }

/* ---------- Emergency top bar ---------- */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: .9rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.topbar .pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; margin-right: 8px; vertical-align: middle;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.8)} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }

/* ---------- Header / navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 48px; width: auto; }
.footer .logo-img { background: #fff; padding: 10px 14px; border-radius: 8px; height: 68px; box-sizing: content-box; }
.partner-logo { background: #fff; border-radius: 12px; padding: 16px; display: grid; place-items: center; min-height: 140px; }
.partner-logo img { max-height: 150px; width: auto; }
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); letter-spacing: .02em; }
.logo-text span { font-size: .75rem; color: var(--muted); letter-spacing: .05em; }

.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 6px;
  text-decoration: none; font-weight: 500; color: var(--text);
}
.nav a:hover { background: var(--soft); }
.nav a.active { color: var(--amber-dark); font-weight: 600; }
.nav .btn { margin-left: 8px; padding: 10px 18px; }
.nav .btn:hover { background: var(--amber-dark); }

.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(23,101,127,.18), transparent 45%),
    linear-gradient(100deg, rgba(12,45,59,.97) 0%, rgba(12,45,59,.88) 45%, rgba(23,101,127,.55) 100%),
    var(--hero-photo, none) center/cover no-repeat,
    var(--navy);
  color: #d8e2ec;
  padding: 104px 0 120px;
  overflow: hidden;
}
.hero::after { /* hazard stripe along the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: linear-gradient(90deg, var(--teal) 0 30%, var(--amber) 30% 100%);
}
.hero .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #ff6b8d; }
.hero .lead { color: #b8c7d6; font-size: 1.2rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.monitor-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.monitor-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; margin-bottom: 14px; color: #fff; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #5fe39a; font-weight: 600; font-size: .8rem; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5fe39a; animation: pulse 1.6s infinite; }
.monitor-rows { display: grid; gap: 10px; margin-top: 14px; }
.monitor-row {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,.05); border-radius: 8px; padding: 10px 14px; font-size: .88rem;
}
.tag { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; letter-spacing: .04em; }
.tag--ok { background: rgba(95,227,154,.15); color: #5fe39a; }
.tag--warn { background: rgba(23,101,127,.18); color: var(--amber); }
.route-svg .truck { animation: drive 6s linear infinite; }
@keyframes drive { from { offset-distance: 0%; } to { offset-distance: 100%; } }

@media (max-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero .container { grid-template-columns: 1fr; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #b8c7d6; padding: 72px 0 64px; position: relative;
}
.page-banner::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: linear-gradient(90deg, var(--teal) 0 30%, var(--amber) 30% 100%);
}
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.page-banner p { font-size: 1.15rem; max-width: 640px; margin: 0; }

/* ---------- Stats strip ---------- */
.stats { background: var(--teal-dark); }
.stats .container { display: grid; grid-template-columns: repeat(6, 1fr); }
.stat { padding: 30px 12px; text-align: center; color: #fff; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1.1; margin-bottom: 4px; }
.stat span { font-size: .85rem; font-weight: 500; line-height: 1.35; display: block; }
@media (max-width: 1000px) {
  .stats .container { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 1px solid rgba(255,255,255,.18); }
  .stat:nth-child(3n) { border-right: 0; }
  .stat:nth-child(n+4) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+5) { border-bottom: 0; }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber); }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { margin-top: auto; font-weight: 600; color: var(--amber-dark); font-size: .9rem; }
.card--cta { background: var(--navy); border-color: var(--navy); color: #b8c7d6; }
.card--cta h3 { color: #fff; }
.card--cta p { color: #b8c7d6; }
.card--cta .more { color: var(--amber); }

.icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(77,162,175,.14); color: var(--teal-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.card--cta .icon { background: rgba(23,101,127,.2); color: var(--amber); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--amber);
  display: block; line-height: 1; margin-bottom: 14px;
}
.step p { color: #aebdcc; font-size: .95rem; margin: 0; }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

.expertise { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border);
  font-weight: 600; font-size: .9rem; color: var(--navy);
}

.visual-panel {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 16px; padding: 32px; color: #fff; position: relative; overflow: hidden;
}

/* ---------- Service detail blocks (services page) ---------- */
.service-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center;
  padding: 44px 0; border-bottom: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.service-detail:last-child { border-bottom: 0; }
.service-detail .icon { width: 72px; height: 72px; border-radius: 14px; }
.service-detail .icon svg { width: 34px; height: 34px; }
.service-detail ul { color: var(--muted); padding-left: 20px; margin: 0; }
.service-detail li { margin-bottom: 6px; }
.service-detail:nth-child(even) .detail-photo { order: 2; }
@media (max-width: 800px) { .service-detail { grid-template-columns: 1fr; gap: 28px; } .service-detail:nth-child(even) .detail-photo { order: 0; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, #a81a2d 100%);
  color: #fff; padding: 64px 0;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: #ffd9de; font-size: 1.1rem; }
.cta-band .btn--white { background: #fff; color: var(--red); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .icon { margin: 0; flex-shrink: 0; }
.contact-item h4 { margin: 0 0 2px; font-size: 1.05rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); text-decoration: none; }
.contact-item a:hover { color: var(--amber-dark); }
.emergency-box {
  background: var(--red); color: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 30px;
}
.emergency-box h3 { color: #fff; margin-bottom: 4px; }
.emergency-box a { color: #fff; font-size: 1.6rem; font-weight: 700; font-family: var(--font-head); text-decoration: none; }

.form { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form { padding: 24px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(23,101,127,.2);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.footer { background: #08202b; color: #8fa3b8; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer .logo-text strong { color: #fff; }
.footer .logo-text span { color: #8fa3b8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem;
}

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ==========================================================
   Photos & 3D effects
   ========================================================== */
.card--photo { padding: 0; overflow: visible; }
.card--photo > h3, .card--photo > p, .card--photo > .more { margin-left: 24px; margin-right: 24px; }
.card--photo > .more { margin-bottom: 24px; }
.card-photo { position: relative; margin-bottom: 34px; }
.card-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.icon--float {
  position: absolute; left: 20px; bottom: -26px; margin: 0;
  background: linear-gradient(145deg, #ff5a82, var(--amber-dark)); color: #fff;
  box-shadow: 0 10px 20px rgba(201,42,80,.35), inset 0 1px 0 rgba(255,255,255,.35);
  transform: translateZ(40px);
}
.service-detail .icon--float { width: 64px; height: 64px; left: 24px; bottom: -22px; }

.detail-photo, .photo-3d { position: relative; }
.detail-photo img, .photo-3d img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(12,45,59,.45), 0 10px 20px -10px rgba(12,45,59,.3);
}
.detail-photo::before, .photo-3d::before { /* offset colour block behind the photo for depth */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)); z-index: -1;
  transform: translateZ(-30px);
}
.detail-photo, .photo-3d { isolation: isolate; }

.visual-panel {
  background:
    linear-gradient(160deg, rgba(12,45,59,.92), rgba(23,101,127,.85)),
    var(--panel-photo, none) center/cover no-repeat;
}
.visual-panel .grid > div { backdrop-filter: blur(4px); transform: translateZ(30px); }

/* 3D tilt: elements with .tilt lean toward the mouse (see js/main.js) */
.tilt {
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease-out, box-shadow .25s ease;
  will-change: transform;
}
a.card.tilt:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.hero .monitor-card { transform: perspective(1200px) rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg)); }
.monitor-card .monitor-rows { transform: translateZ(40px); }
.tilt.reveal.visible { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (hover: none) { .tilt { transform: none !important; } }

/* Infrastructure tiles */
.infra-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.infra-tile {
  background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: #cfe3ea;
  border-radius: var(--radius); padding: 20px 14px; text-align: center;
  box-shadow: 0 14px 28px -12px rgba(12,45,59,.5), inset 0 1px 0 rgba(255,255,255,.12);
}
.infra-tile strong { display: block; font-family: var(--font-head); font-size: 2.2rem; color: #fff; line-height: 1.1; }
.infra-tile span { font-size: .82rem; line-height: 1.35; display: block; margin-top: 4px; }
@media (max-width: 480px) { .infra-tiles { grid-template-columns: 1fr; } }

/* ==========================================================
   Bright theme — light backgrounds throughout
   ========================================================== */
:root { --tint: #eaf6f8; --tint-2: #fdf0f3; }

/* Hero: light overlay on the photo, dark text */
.hero {
  background:
    linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 48%, rgba(234,246,248,.55) 100%),
    var(--hero-photo, none) center/cover no-repeat,
    #fff;
  color: var(--text);
}
.hero h1 { color: var(--navy); }
.hero h1 em { color: var(--amber); }
.hero .lead { color: #44566a; }
.hero .eyebrow, .page-banner .eyebrow, .section--dark .eyebrow { color: var(--teal-dark); }
.hero .btn--outline { color: var(--navy); border-color: var(--navy); }
.hero .btn--outline:hover { background: var(--navy); color: #fff; }

/* Inner page banners */
.page-banner { background: linear-gradient(120deg, var(--tint) 0%, #fff 60%, var(--tint-2) 100%); color: var(--muted); }
.page-banner h1 { color: var(--navy); }

/* "How we respond" section */
.section--dark { background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); color: var(--text); }
.section--dark h2, .section--dark h3 { color: var(--navy); }
.section--dark .lead { color: var(--muted); }
.step { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.step p { color: var(--muted); }

/* Stats strip: bright brand teal */
.stats { background: linear-gradient(90deg, var(--teal) 0%, #3a95a3 100%); }

/* Panels and tiles */
.visual-panel {
  background:
    linear-gradient(160deg, rgba(234,246,248,.93), rgba(253,240,243,.9)),
    var(--panel-photo, none) center/cover no-repeat;
  color: var(--text);
}
.partner-logo { border: 1px solid var(--border); }
.infra-tile { background: #fff; color: var(--muted); border: 1px solid var(--border); box-shadow: 0 14px 28px -14px rgba(12,45,59,.25); }
.infra-tile strong { color: var(--amber); }
.card--cta { background: linear-gradient(145deg, #ff5a82, var(--amber-dark)); border-color: transparent; }
.card--cta h3, .card--cta p, .card--cta .more { color: #fff; }
.card--cta .icon { background: rgba(255,255,255,.2); color: #fff; }

/* Footer */
.footer { background: #f4f8fa; color: var(--muted); border-top: 4px solid var(--teal); }
.footer h4 { color: var(--navy); }
.footer a:hover { color: var(--amber-dark); }
.footer .logo-img { background: none; padding: 0; height: 64px; }
.footer-bottom { border-top-color: var(--border); }

/* ==========================================================
   Member login & registration
   ========================================================== */
.nav-login { display: inline-flex !important; align-items: center; gap: 6px; color: var(--teal-dark) !important; font-weight: 600 !important; }
.nav-login svg { width: 16px; height: 16px; }

.login-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; box-shadow: 0 30px 60px -24px rgba(12,45,59,.35);
  max-width: 440px; width: 100%; justify-self: end; border-top: 5px solid var(--amber);
}
.login-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.login-head .icon { margin: 0; background: linear-gradient(145deg, #ff5a82, var(--amber-dark)); color: #fff; }
.login-head h3 { margin: 0; font-size: 1.5rem; }
.login-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.login-card .field { margin-bottom: 14px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 64px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--teal-dark); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; padding: 6px 8px;
}
.login-row { display: flex; justify-content: space-between; align-items: center; font-size: .88rem; margin: 4px 0 18px; gap: 10px; flex-wrap: wrap; }
.login-row a { color: var(--amber-dark); text-decoration: none; font-weight: 600; }
.remember { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); cursor: pointer; }
.btn--block { width: 100%; justify-content: center; }
.login-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--tint-2); color: var(--amber-dark); font-size: .88rem; }
.login-note {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px;
  background: var(--tint); border-radius: 10px; font-size: .9rem; color: var(--navy); line-height: 1.45;
}
.login-note svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal-dark); margin-top: 1px; }
.login-register { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--border); text-align: center; }
.login-register span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.btn--outline-dark { border-color: var(--teal-dark); color: var(--teal-dark); background: #fff; }
.btn--outline-dark:hover { background: var(--teal-dark); color: #fff; }
@media (max-width: 900px) { .login-card { justify-self: stretch; max-width: none; } }

.reg-steps { display: grid; gap: 14px; margin-top: 18px; }
.reg-step { display: flex; gap: 14px; align-items: flex-start; background: var(--soft); border-radius: 12px; padding: 16px; }
.reg-step > strong {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amber); color: #fff; font-family: var(--font-head);
}
.reg-step h4 { margin: 0 0 2px; }
.reg-step p { margin: 0; color: var(--muted); font-size: .92rem; }
.checks { display: grid; gap: 8px; }
.checks label, .agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 500 !important; color: var(--text) !important; cursor: pointer; }
.checks input, .agree input { width: auto; margin-top: 5px; accent-color: var(--amber); }
.agree { font-size: .9rem; }

/* Client logos & ISO badges */
.client-logos {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px;
  margin: 0 0 40px;
}
.client-logos img {
  width: 100%; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; filter: grayscale(100%); opacity: .8;
  transition: filter .2s, opacity .2s, transform .2s;
}
.client-logos img:hover { filter: none; opacity: 1; transform: translateY(-3px); }
.iso { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.iso span {
  font-size: .78rem; font-weight: 700; color: var(--teal-dark); background: var(--tint);
  border: 1px solid #cfe7ec; padding: 5px 10px; border-radius: 999px;
}

/* ==========================================================
   SOFT CORPORATE THEME
   Calm teal + warm off-white, serif headings, red kept only for 112.
   ========================================================== */
:root {
  --navy: #123a4a;
  --navy-2: #17657f;
  --amber: #17657f;        /* main accent is now brand teal */
  --amber-dark: #0f4d61;
  --teal: #4da2af;
  --teal-dark: #17657f;
  --red: #b83a3a;          /* used only for the 112 emergency marker */
  --gold: #a8834f;         /* small premium touches (labels) */
  --text: #22323f;
  --muted: #5f6f7c;
  --soft: #f7f5f0;         /* warm off-white sections */
  --tint: #eef5f6;
  --tint-2: #f7f5f0;
  --border: #e3e6e8;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; }
h4 { font-family: var(--font-body); font-weight: 600; }
.eyebrow, .hero .eyebrow, .page-banner .eyebrow, .section--dark .eyebrow { color: var(--gold); letter-spacing: .16em; }
.btn { border-radius: 6px; }
.btn--primary { background: var(--teal-dark); color: #fff; }
.btn--primary:hover, .nav .btn:hover { background: var(--amber-dark); }
.hero h1 em { color: var(--teal); }

/* Emergency bar: light and calm, 112 still stands out */
.topbar { background: #fbf4f3; color: var(--text); border-bottom: 1px solid #efdfdc; font-size: .85rem; }
.topbar a { color: var(--red); }
.topbar .pulse { background: var(--red); animation: pulse-red 1.8s infinite; }
@keyframes pulse-red { 0%{box-shadow:0 0 0 0 rgba(184,58,58,.5)} 70%{box-shadow:0 0 0 7px rgba(184,58,58,0)} 100%{box-shadow:0 0 0 0 rgba(184,58,58,0)} }

/* Icons, login, cards: teal instead of red */
.icon--float, .login-head .icon { background: linear-gradient(145deg, var(--accent-2), var(--teal-dark)); box-shadow: 0 10px 20px rgba(23,101,127,.28), inset 0 1px 0 rgba(255,255,255,.3); }
.card--cta { background: linear-gradient(145deg, var(--accent-2), var(--teal-dark)); }
.login-card { border-top-color: var(--teal-dark); }
.login-msg { background: var(--tint); color: var(--teal-dark); }

/* Call-to-action band and emergency box: light */
.cta-band { background: var(--tint); color: var(--text); border-top: 1px solid #d9e9ec; }
.cta-band h2 { color: var(--navy); }
.cta-band p { color: var(--muted); }
.cta-band .btn--white { background: #fff; color: var(--red); border: 1px solid var(--red); }
.cta-band .btn--outline { color: var(--teal-dark); border-color: var(--teal-dark); }
.cta-band .btn--outline:hover { background: var(--teal-dark); color: #fff; }
.emergency-box { background: #fbf4f3; color: var(--text); border-left: 4px solid var(--red); }
.emergency-box h3 { color: var(--navy); }
.emergency-box a { color: var(--red); }
.page-banner::after { height: 3px; background: linear-gradient(90deg, var(--gold), var(--teal) 40%, var(--teal-dark)); }
.section--soft { background: var(--soft); }
.section--tight { padding: 64px 0; }
.section--tight .section-head { margin-bottom: 32px; }

/* ---------- Hero with moving photos ---------- */
.hero--slides {
  position: relative; background: #fff; display: flex; align-items: center;
  min-height: min(76vh, 660px); padding: 48px 0 104px; overflow: hidden;
}
.hero--slides::after { display: none; }
.hero--slides::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 36%, rgba(255,255,255,.25) 66%, rgba(255,255,255,.05) 100%);
}
.hero--slides .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; width: 100%; }
.hero--slides h1 { font-size: clamp(2.2rem, 4.3vw, 3.3rem); }
.hero-copy { max-width: 540px; }
.slides { position: absolute; inset: 0; z-index: 0; }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04);
}
.slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.slide-caption {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px;
  font-size: .9rem; font-weight: 500; color: var(--navy); box-shadow: var(--shadow);
}
.slide-text { transition: opacity .3s ease; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2a9d6e; flex-shrink: 0; animation: pulse-green 1.8s infinite; }
@keyframes pulse-green { 0%{box-shadow:0 0 0 0 rgba(42,157,110,.5)} 70%{box-shadow:0 0 0 7px rgba(42,157,110,0)} 100%{box-shadow:0 0 0 0 rgba(42,157,110,0)} }
.slide-dots { display: flex; gap: 8px; margin-top: 14px; }
.slide-dot { width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(18,58,74,.2); cursor: pointer; }
.slide-dot.is-active { background: var(--teal-dark); }
.hero--slides .login-card { background: rgba(255,255,255,.97); backdrop-filter: blur(6px); padding: 24px; }
@media (max-width: 900px) {
  .hero--slides { padding: 40px 0 96px; min-height: 0; }
  .hero--slides .container { grid-template-columns: 1fr; }
  .hero--slides::before { background: linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.85) 100%); }
}

/* ---------- Key numbers: white card overlapping the hero ---------- */
.stats-wrap { position: relative; z-index: 3; margin-top: -56px; }
.stats-wrap .stats {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(18,58,74,.25);
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.stats-wrap .stat { color: var(--muted); border-right: 1px solid var(--border); border-bottom: 0; padding: 22px 10px; }
.stats-wrap .stat:last-child { border-right: 0; }
.stats-wrap .stat strong { color: var(--teal-dark); font-size: 1.9rem; font-weight: 600; }
.stats-wrap .stat span { font-size: .82rem; }
@media (max-width: 900px) {
  .stats-wrap .stats { grid-template-columns: repeat(3, 1fr); }
  .stats-wrap .stat { border-bottom: 1px solid var(--border); }
  .stats-wrap .stat:nth-child(3n) { border-right: 0; }
  .stats-wrap .stat:nth-child(n+4) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .stats-wrap .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-wrap .stat, .stats-wrap .stat:nth-child(3n) { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stats-wrap .stat:nth-child(2n) { border-right: 0; }
  .stats-wrap .stat:nth-child(n+5) { border-bottom: 0; }
}

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  position: relative; display: block; height: 190px; border-radius: 12px; overflow: hidden;
  text-decoration: none; color: #fff; background: var(--tint);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,58,74,0) 30%, rgba(18,58,74,.8) 100%); }
.tile-body { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: flex; align-items: center; gap: 10px; }
.tile-body strong { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.tile-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); display: grid; place-items: center; flex-shrink: 0; }
.tile-icon svg { width: 18px; height: 18px; }
.tile--all { background: var(--tint); color: var(--teal-dark); border: 1px solid #d4e7eb; }
.tile--all::after { display: none; }
.tile--all .tile-body { flex-direction: column; align-items: flex-start; gap: 4px; }
.tile--all .tile-body strong { font-size: 1.25rem; }
.tile--all .tile-body span { font-size: .88rem; color: var(--muted); }
.tile--all:hover { background: #e3f0f2; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { height: 160px; } }

/* ---------- Moving client logos ---------- */
.marquee { overflow: hidden; margin-bottom: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img {
  height: 64px; width: 150px; margin-right: 16px; object-fit: contain; background: #fff;
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 16px;
  filter: grayscale(100%); opacity: .8; transition: filter .2s, opacity .2s;
}
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Credentials row ---------- */
.creds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cred { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.cred > svg { width: 22px; height: 22px; color: var(--teal-dark); flex-shrink: 0; margin-top: 2px; }
.cred strong { display: block; color: var(--navy); font-size: .95rem; }
.cred span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }
.center-link { text-align: center; margin: 26px 0 0; }
.center-link a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.center-link a:hover { text-decoration: underline; }
.nav .btn--primary, .nav .btn--primary:hover { color: #fff; }
.hero--slides::before {
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.80) 32%, rgba(255,255,255,.18) 56%, rgba(255,255,255,0) 100%);
}
.hero--slides .container { grid-template-columns: minmax(0, 1fr) 360px; }
@media (min-width: 1100px) { .hero--slides .container { gap: 96px; } }

/* Indian Chemical Council logo */
.icc-logo { display: block; height: auto; background: #fff; border-radius: 8px; }
.icc-logo--sm { width: 110px; flex-shrink: 0; padding: 4px; border: 1px solid var(--border); }
.icc-logo--lg { width: 220px; padding: 10px 14px; border: 1px solid var(--border); margin-bottom: 20px; box-shadow: var(--shadow); }
.icc-logo--footer { width: 150px; padding: 6px 8px; border: 1px solid var(--border); }
.cred--logo { align-items: center; }
.footer-partner { margin-top: 16px; }
.footer-partner span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
@media (max-width: 1100px) { .icc-logo--sm { width: 90px; } }
.cred--logo { flex-direction: column; align-items: flex-start; gap: 8px; }
.cred--logo .icc-logo--sm { width: 130px; padding: 4px 6px; }

/* ---------- Compact login + shorter hero (landing page fits one screen) ---------- */
.hero--slides { min-height: 0; padding: 32px 0 84px; }
.hero--slides .container { grid-template-columns: minmax(0, 1fr) 330px; }
.hero--slides h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .4em; }
.hero--slides .lead { font-size: 1.05rem; margin-bottom: 0; }
.hero--slides .hero-actions { margin-top: 22px; }
.hero--slides .slide-caption { margin-top: 18px; padding: 6px 14px; font-size: .85rem; }

.login-card { padding: 18px 20px; border-radius: 14px; border-top-width: 4px; }
.hero--slides .login-card { padding: 18px 20px; }
.login-head { gap: 10px; margin-bottom: 12px; }
.login-head .icon { width: 38px; height: 38px; border-radius: 9px; }
.login-head .icon svg { width: 19px; height: 19px; }
.login-head h3 { font-size: 1.2rem; }
.login-head p { font-size: .8rem; }
.login-card .field { margin-bottom: 10px; }
.login-card .field label { font-size: .8rem; margin-bottom: 4px; }
.login-card .field input { padding: 9px 12px; font-size: .92rem; }
.login-row { font-size: .8rem; margin: 2px 0 12px; }
.login-card .btn--block { padding: 10px 16px; font-size: .95rem; }
.login-note { margin-top: 12px; padding: 8px 10px; font-size: .8rem; gap: 8px; }
.login-note svg { width: 16px; height: 16px; }
.login-register { margin: 10px 0 0; padding: 0; border: 0; text-align: center; font-size: .85rem; color: var(--muted); }
.login-register a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.login-register a:hover { text-decoration: underline; }

.stats-wrap { margin-top: -48px; }
.stats-wrap .stat { padding: 16px 8px; }
.stats-wrap .stat strong { font-size: 1.7rem; }
.section--tight { padding: 48px 0; }
.section--tight .section-head { margin-bottom: 24px; }
.section--tight .section-head h2 { margin-bottom: .2em; }
.tile { height: 170px; }

/* ==========================================================
   COLOUR THEMES (for review — choose one, then the picker is removed)
   ========================================================== */
:root { --accent-2: #2a8597; }

/* 2. Navy & Gold — classic corporate (Reliance-style) */
[data-theme="navy"] {
  --navy: #1b2f4b; --navy-2: #24426b; --amber: #24426b; --amber-dark: #1b2f4b;
  --teal: #b08d57; --teal-dark: #24426b; --accent-2: #3a5c8c; --gold: #a07c45;
  --soft: #f8f6f1; --tint: #eef1f6; --tint-2: #f8f6f1;
}
/* 3. Ocean Blue — fresh and modern (Nayara-style) */
[data-theme="ocean"] {
  --navy: #0d2f4f; --navy-2: #0b5fa5; --amber: #0b5fa5; --amber-dark: #084a81;
  --teal: #16a3b8; --teal-dark: #0b5fa5; --accent-2: #1d82c9; --gold: #1590a3;
  --soft: #f3f7fb; --tint: #e8f2fa; --tint-2: #f3f7fb;
}
/* 4. Energy Green — sustainable, calm (Jio-bp-style) */
[data-theme="green"] {
  --navy: #173a2b; --navy-2: #1f7a4d; --amber: #1f7a4d; --amber-dark: #175e3b;
  --teal: #7fb241; --teal-dark: #1f7a4d; --accent-2: #2f9563; --gold: #6f9a35;
  --soft: #f5f8f2; --tint: #eaf4ee; --tint-2: #f5f8f2;
}
/* 5. Slate & Coral — neutral with a soft touch of the logo colour */
[data-theme="slate"] {
  --navy: #26343d; --navy-2: #3d5564; --amber: #3d5564; --amber-dark: #2c3e49;
  --teal: #d9606c; --teal-dark: #3d5564; --accent-2: #56707f; --gold: #c4565f;
  --soft: #f7f6f4; --tint: #f0f3f5; --tint-2: #f7f6f4;
}
[data-theme] .tile--all { border-color: var(--border); }
[data-theme] .tile--all:hover { background: var(--tint); filter: brightness(.98); }

/* Theme picker panel */
.theme-picker {
  position: fixed; left: 16px; bottom: 16px; z-index: 100;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.25); padding: 12px 14px; font-size: .8rem;
}
.theme-picker strong { display: block; color: var(--navy); margin-bottom: 8px; font-size: .82rem; }
.theme-picker .swatches { display: flex; gap: 8px; }
.theme-picker button {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--muted); width: 56px;
}
.theme-picker .sw {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}
.theme-picker button.is-active .sw { box-shadow: 0 0 0 2px var(--navy); }
.theme-picker button.is-active { color: var(--navy); font-weight: 600; }
.theme-picker .hide { position: absolute; top: 4px; right: 8px; width: auto; color: var(--muted); font-size: 1rem; }
@media (max-width: 520px) { .theme-picker { left: 8px; right: 8px; bottom: 8px; } .theme-picker .swatches { justify-content: space-between; } }

/* ---------- Key numbers: small coloured cards ---------- */
.stats-wrap .stats {
  background: none; border: 0; box-shadow: none; border-radius: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.stats-wrap .stat, .stats-wrap .stat:nth-child(n) {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 10px 12px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--bd) !important;
  box-shadow: 0 8px 20px -12px rgba(18,58,74,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stats-wrap .stat:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(18,58,74,.35); }
.stats-wrap .stat strong { color: var(--c); font-size: 1.3rem; line-height: 1.1; margin: 0; }
.stats-wrap .stat span { font-size: .74rem; line-height: 1.25; color: var(--muted); }
.stat-ic {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: grid !important; place-items: center; background: #fff; color: var(--c);
  box-shadow: inset 0 0 0 1px var(--bd);
}
.stat-ic svg { width: 18px; height: 18px; }
.stat--c1 { --c: #17657f; --bg: #e8f4f6; --bd: #cfe6eb; }  /* teal   */
.stat--c2 { --c: #b8505b; --bg: #fbeef0; --bd: #f2d6da; }  /* coral  */
.stat--c3 { --c: #2b62a3; --bg: #eaf1fa; --bd: #d3e1f3; }  /* blue   */
.stat--c4 { --c: #a8741c; --bg: #fcf4e4; --bd: #f1e0bd; }  /* amber  */
.stat--c5 { --c: #2f7a50; --bg: #eaf5ee; --bd: #cfe7d8; }  /* green  */
.stat--c6 { --c: #6a4f9e; --bg: #f2eef9; --bd: #e0d6f0; }  /* violet */
@media (max-width: 1100px) { .stats-wrap .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .stats-wrap .stats { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- Landing page fits one screen ---------- */
.header .container { height: 64px; }
.nav { top: 64px; }
.logo-img { height: 42px; }
.topbar { padding: 6px 0; }
.hero--slides { padding: 22px 0 64px; }
.hero--slides h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.hero--slides .eyebrow { margin-bottom: 8px; }
.hero--slides .lead { font-size: 1rem; }
.hero--slides .hero-actions { margin-top: 18px; }
.hero--slides .btn { padding: 11px 22px; }
.hero--slides .slide-caption { margin-top: 14px; }
.slide-dots { margin-top: 10px; }
.hero--slides .login-card { padding: 14px 18px; }
.login-head { margin-bottom: 8px; }
.login-card .field { margin-bottom: 8px; }
.login-card .field input { padding: 8px 12px; }
.login-row { margin: 0 0 10px; }
.login-note { margin-top: 10px; }
.login-register { margin-top: 8px; }
.stats-wrap { margin-top: -38px; }

.solutions.section--tight { padding: 24px 0 32px; }
.solutions .section-head { margin-bottom: 14px; }
.solutions .section-head .eyebrow { margin-bottom: 4px; }
.solutions .section-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0; }
.solutions .tiles { grid-template-columns: repeat(8, 1fr); gap: 10px; }
.solutions .tile { height: 124px; border-radius: 10px; }
.solutions .tile-body { left: 10px; right: 10px; bottom: 10px; flex-direction: column; align-items: flex-start; gap: 6px; }
.solutions .tile-body strong { font-size: .88rem; line-height: 1.2; }
.solutions .tile-icon { width: 28px; height: 28px; border-radius: 7px; }
.solutions .tile-icon svg { width: 15px; height: 15px; }
.solutions .tile--all .tile-body { top: 10px; justify-content: center; }
.solutions .tile--all .tile-body strong { font-size: 1rem; }
.solutions .tile--all .tile-body span { font-size: .8rem; }
@media (max-width: 1100px) { .solutions .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .solutions .tiles { grid-template-columns: repeat(2, 1fr); } }
.login-row { justify-content: flex-end; margin: -2px 0 8px; }
.hero--slides { padding-bottom: 56px; }
.solutions.section--tight { padding-top: 18px; }
.solutions .section-head { margin-bottom: 12px; }
.solutions .section-head h2 { font-size: clamp(1.4rem, 2vw, 1.6rem); }
.solutions .tile { height: 112px; }
.hero--slides { padding-bottom: 50px; }
.solutions .tile { height: 100px; }
/* Theme picker: slim vertical strip on the right edge */
.theme-picker { left: auto; right: 10px; bottom: auto; top: 50%; transform: translateY(-50%); padding: 10px 6px; border-radius: 12px; }
.theme-picker strong { font-size: .62rem; text-align: center; margin-bottom: 6px; letter-spacing: .04em; text-transform: uppercase; }
.theme-picker .swatches { flex-direction: column; gap: 8px; align-items: center; }
.theme-picker button { width: 40px; font-size: 0; gap: 0; }
.theme-picker .sw { width: 26px; height: 26px; }
.theme-picker .hide { position: static; display: block; margin: 0 auto 4px; font-size: .9rem; width: auto; }
@media (max-width: 520px) { .theme-picker { left: auto; right: 6px; } }

/* ==========================================================
   FINAL THEME: OCEAN BLUE (chosen 2026-10-14)
   ========================================================== */
:root {
  --navy: #0d2f4f; --navy-2: #0b5fa5; --amber: #0b5fa5; --amber-dark: #084a81;
  --teal: #16a3b8; --teal-dark: #0b5fa5; --accent-2: #1d82c9; --gold: #1590a3;
  --soft: #f3f7fb; --tint: #e8f2fa; --tint-2: #f3f7fb;
}
.footer { border-top-color: var(--teal); }
.tile--all { border-color: #d3e3f2; }
.tile--all:hover { background: #dcebf8; }
.theme-picker { display: none !important; }

/* ==========================================================
   New menu + QRT / LFI / Quarterly pages
   ========================================================== */
.nav ul { gap: 2px; }
.nav a { padding: 8px 10px; font-size: .9rem; }
.nav-login-btn { display: inline-flex !important; align-items: center; gap: 6px; padding: 9px 14px !important; color: #fff !important; }
.nav-login-btn svg { width: 15px; height: 15px; }
@media (max-width: 1240px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.mini-stats .stat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--bd); }
.mini-stats .stat strong { display: block; color: var(--c); font-family: var(--font-head); font-size: 1.25rem; line-height: 1.1; }
.mini-stats .stat span { font-size: .75rem; color: var(--muted); }
@media (max-width: 520px) { .mini-stats { grid-template-columns: 1fr; } }

.map-panel { background: linear-gradient(145deg, var(--tint), #fff); border: 1px solid var(--border); border-radius: 16px; min-height: 320px; display: grid; place-items: center; padding: 24px; }
.map-placeholder { text-align: center; max-width: 320px; }
.map-placeholder > svg { width: 56px; height: 56px; color: var(--teal-dark); margin: 0 auto 10px; }
.map-placeholder p { color: var(--muted); font-size: .92rem; }
.tag-soon { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--gold); background: #fff; border: 1px dashed var(--gold); padding: 5px 10px; border-radius: 999px; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 18px; height: 2px; background: linear-gradient(90deg, var(--red), var(--teal-dark)); opacity: .35; }
.tl-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 44px 16px 16px; text-align: center; }
.tl-step::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--teal-dark); box-shadow: 0 0 0 4px var(--tint); }
.tl-step:first-child::before { background: var(--red); }
.tl-time { display: block; font-size: .75rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.tl-step h3 { font-size: 1.05rem; margin: 4px 0 6px; }
.tl-step p { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline::before { display: none; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } }

.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.caps--4 { grid-template-columns: repeat(4, 1fr); }
.cap { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.cap > svg { width: 22px; height: 22px; color: var(--teal-dark); flex-shrink: 0; margin-top: 2px; }
.cap strong { display: block; color: var(--navy); }
.cap span { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .caps, .caps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .caps, .caps--4 { grid-template-columns: 1fr; } }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; box-shadow: 0 10px 24px -16px rgba(13,47,79,.3); }
.case-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); background: var(--tint); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.case h3 { font-size: 1.2rem; }
.case-row { margin-bottom: 10px; }
.case-row strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); }
.case-row p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.case-results { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.case-results b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--teal-dark); line-height: 1.1; }
.case-results span { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

.q-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.q-tab { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 18px; cursor: pointer; font: inherit; font-weight: 700; color: var(--navy); text-align: left; }
.q-tab small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.q-tab.is-active { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.q-tab.is-active small { color: #d6e6f5; }
.q-panel { display: none; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.q-panel.is-active { display: grid; }
.act-card { background: var(--soft); border: 1px dashed #c9d8e6; border-radius: 12px; padding: 20px; min-height: 150px; display: flex; flex-direction: column; gap: 6px; }
.act-card svg { width: 26px; height: 26px; color: var(--teal-dark); }
.act-card strong { color: var(--navy); }
.act-card span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .q-panel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .q-panel { grid-template-columns: 1fr; } }

/* ==========================================================
   Landing page: dark "live operations" band + slim logo strip
   ========================================================== */
.ops {
  background: radial-gradient(circle at 20% 0%, #123f6b 0%, #0a2540 55%, #071b30 100%);
  padding: 36px 0; color: #cfe3f5; position: relative; overflow: hidden;
}
.ops::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120,180,230,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120,180,230,.06) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.ops-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ops-card {
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(160,205,245,.18); border-radius: 16px; padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1200px) rotateX(4deg);
}
.ops-card.tilt { transform: perspective(1200px) rotateX(calc(4deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg)); }
.ops-head { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 4px 10px; }
.ops-head strong { color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.ops-head span { font-size: .75rem; color: #8fb6da; letter-spacing: .04em; }
.ops-svg { width: 100%; height: auto; display: block; border-radius: 12px; transform: translateZ(20px); }
.em-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.em-steps span {
  font-size: .72rem; text-align: center; padding: 6px 4px; border-radius: 8px;
  border: 1px solid rgba(160,205,245,.18); color: #8fb6da; animation: step-glow 10s infinite;
}
.em-steps span:nth-child(2) { animation-delay: 2.5s; }
.em-steps span:nth-child(3) { animation-delay: 5s; }
.em-steps span:nth-child(4) { animation-delay: 7.5s; }
@keyframes step-glow {
  0%, 24% { background: rgba(22,163,184,.25); color: #fff; border-color: #16a3b8; }
  26%, 100% { background: transparent; color: #8fb6da; border-color: rgba(160,205,245,.18); }
}
@media (max-width: 900px) { .ops-grid { grid-template-columns: 1fr; } .ops-card, .ops-card.tilt { transform: none; } }

.logos-strip { background: var(--soft); padding: 18px 0; border-bottom: 1px solid var(--border); }
.logos-strip .container { display: flex; align-items: center; gap: 20px; }
.logos-label { flex-shrink: 0; font-size: .85rem; color: var(--muted); }
.logos-label b { color: var(--teal-dark); font-family: var(--font-head); font-size: 1.15rem; }
.logos-strip .marquee { margin: 0; flex: 1; min-width: 0; }
.logos-strip .marquee img { height: 48px; width: 120px; padding: 8px 12px; }
@media (max-width: 640px) { .logos-strip .container { flex-direction: column; align-items: stretch; } .logos-label { text-align: center; } }
.solutions.section--tight { padding-bottom: 28px; }

/* Client logos with names, quicker scroll */
.marquee-track { animation-duration: 22s; }
.client { margin: 0 12px 0 0; width: 124px; flex-shrink: 0; text-align: center; }
.client img, .logos-strip .marquee .client img {
  display: block; width: 124px; height: 46px; object-fit: contain; margin: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 7px 12px;
  filter: none; opacity: 1;
}
.client figcaption { font-size: .7rem; font-weight: 600; color: var(--navy); margin-top: 4px; white-space: nowrap; }
.client:hover img { border-color: var(--teal); box-shadow: 0 6px 14px -8px rgba(13,47,79,.35); }

/* ==========================================================
   QRT Teams Layout page (data from LCS presentation)
   ========================================================== */
.page-banner--photo {
  background: linear-gradient(100deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.35) 100%), var(--banner-photo) center/cover no-repeat;
  padding: 56px 0 48px;
}
.banner-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 190px)); gap: 10px; margin-top: 22px; }
.banner-stats .stat, .mini-stats .stat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--bd); }
.banner-stats .stat strong { display: block; color: var(--c); font-family: var(--font-head); font-size: 1.2rem; line-height: 1.1; }
.banner-stats .stat span { font-size: .74rem; color: var(--muted); }
@media (max-width: 760px) { .banner-stats { grid-template-columns: 1fr 1fr; } }

.qrt-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .qrt-layout { grid-template-columns: 1fr; } }
.map-3d { position: sticky; top: 90px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px; box-shadow: 0 40px 70px -35px rgba(13,47,79,.45); }
.map-3d img { width: 100%; border-radius: 12px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.dot--a { background: #2f9e5b; } .dot--b { background: #2b6fd6; } .dot--hq { background: #e5484d; }
.team-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.team-filter button { font: inherit; font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--navy); cursor: pointer; }
.team-filter button.is-active { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.state-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .state-grid { grid-template-columns: 1fr; } }
.state-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.state-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.state-head strong { color: var(--navy); }
.state-head span { font-family: var(--font-head); font-weight: 600; color: var(--teal-dark); background: var(--tint); border-radius: 999px; padding: 1px 10px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.city { font-size: .76rem; padding: 3px 9px; border-radius: 999px; border: 1px solid; transition: opacity .2s; }
.city--a { color: #23774a; background: #eaf6ee; border-color: #cfe9d9; }
.city--b { color: #2458ad; background: #eaf1fc; border-color: #d1e0f7; }
.city.is-dim { opacity: .18; }

.ops--protocol { padding: 48px 0; }
.ops--protocol .section-head h2 { color: #fff; }
.ops--protocol .eyebrow { color: #ffcf5a; }
.proto-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proto-col { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(160,205,245,.2); border-radius: 16px; padding: 18px; }
.proto-time { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.2rem; color: #ffcf5a; margin-bottom: 12px; }
.proto-time span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #ffcf5a; color: #0a2540; font-family: var(--font-body); font-weight: 800; font-size: .9rem; }
.proto-item { padding: 10px 0; border-top: 1px solid rgba(160,205,245,.14); }
.proto-item strong { color: #fff; font-size: .95rem; }
.proto-item p { margin: 2px 0 0; color: #a9c6e2; font-size: .85rem; }
@media (max-width: 900px) { .proto-grid { grid-template-columns: 1fr; } }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 800px) { .roles { grid-template-columns: 1fr; } }
.role-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: 0 20px 40px -28px rgba(13,47,79,.4); }
.role-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.role-head h3 { margin: 0; }
.role-head span { font-size: .85rem; color: var(--muted); }
.role-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent-2), var(--teal-dark)); color: #fff; flex-shrink: 0; }
.role-ic svg { width: 22px; height: 22px; }
.check-list--sm { margin-top: 6px; gap: 7px; }
.check-list--sm li { font-size: .9rem; padding-left: 28px; }
.check-list--sm li::before { width: 18px; height: 18px; background-size: 11px; }

.erv-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
@media (max-width: 900px) { .erv-split { grid-template-columns: 1fr; } }
.erv-photos { position: relative; padding-bottom: 60px; }
.erv-main { width: 88%; border-radius: 16px; box-shadow: 0 30px 60px -28px rgba(13,47,79,.55); }
.erv-sub { position: absolute; right: 0; bottom: 0; width: 48%; border-radius: 14px; border: 5px solid #fff; box-shadow: 0 20px 40px -18px rgba(13,47,79,.5); }
.kit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 560px) { .kit { grid-template-columns: 1fr; } }
.kit-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.kit-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--navy); }
.kit-head svg { width: 18px; height: 18px; color: var(--teal-dark); }
.kit-items { display: flex; flex-wrap: wrap; gap: 5px; }
.kit-items span { font-size: .74rem; padding: 3px 8px; border-radius: 6px; background: var(--tint); color: var(--navy); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gal { margin: 0; position: relative; border-radius: 12px; overflow: hidden; }
.gal img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s; }
.gal:hover img { transform: scale(1.06); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(10,37,64,.85)); }

.plan { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .plan { grid-template-columns: 1fr; } }
.plan-map { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: 0 30px 60px -32px rgba(13,47,79,.45); }
.plan-map img { width: 100%; border-radius: 10px; }
.plan-list { display: grid; gap: 7px; margin-top: 14px; }
.plan-row { display: grid; grid-template-columns: 130px 1fr 34px 54px; align-items: center; gap: 10px; font-size: .85rem; }
.plan-bar { height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.plan-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); border-radius: 999px; }
.plan-row b { color: var(--navy); text-align: right; }
.plan-row em { font-style: normal; font-size: .75rem; color: var(--muted); }
.plan-note { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* "I'm Interested" floating button + modal */
.btn svg { width: 16px; height: 16px; }
.fab-interested {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600;
  color: #fff; background: linear-gradient(145deg, var(--accent-2), var(--teal-dark));
  box-shadow: 0 14px 30px -10px rgba(11,95,165,.6); transition: transform .2s;
}
.fab-interested:hover { transform: translateY(-2px); }
.fab-interested svg { width: 18px; height: 18px; }
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(8,28,48,.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { position: relative; background: #fff; border-radius: 16px; padding: 26px; width: 100%; max-width: 520px; max-height: 90vh; overflow: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.modal-box h3 { margin-bottom: 4px; }
.modal-sub { color: var(--muted); font-size: .92rem; }
.modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 1.6rem; color: var(--muted); cursor: pointer; }
.modal .field { margin-bottom: 12px; }
@media (max-width: 520px) { .fab-interested span { display: none; } .fab-interested { padding: 14px; } }

/* ==========================================================
   New member registration form
   ========================================================== */
.reg-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 960px) { .reg-layout { grid-template-columns: 1fr; } }
.reg-aside { position: sticky; top: 90px; display: grid; gap: 14px; }
@media (max-width: 960px) { .reg-aside { position: static; } }
.reg-card { background: var(--soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.reg-card .reg-steps { margin-top: 8px; gap: 10px; }
.reg-card .reg-step { background: #fff; padding: 12px; }
.reg-card .reg-step > strong { background: var(--teal-dark); width: 30px; height: 30px; }
.reg-card .reg-step h4 { font-size: .95rem; }
.reg-card .reg-step p { font-size: .84rem; }
.reg-card--note { display: flex; gap: 10px; align-items: flex-start; background: var(--tint); }
.reg-card--note svg { width: 20px; height: 20px; color: var(--teal-dark); flex-shrink: 0; margin-top: 2px; }
.reg-card--note p { margin: 0; font-size: .86rem; color: var(--navy); }
.reg-login { font-size: .9rem; color: var(--muted); margin: 0 4px; }
.reg-login a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }

.reg-form { padding: 30px; }
.reg-form h2 { font-size: 1.7rem; margin-bottom: 4px; }
.reg-form fieldset { border: 1px solid var(--border); border-radius: 14px; padding: 18px 18px 6px; margin: 0 0 18px; }
.reg-form legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.reg-form legend svg { width: 18px; height: 18px; color: var(--teal-dark); }
.req { color: var(--red); font-weight: 700; }
.hint { display: block; font-size: .75rem; color: var(--muted); margin-top: 4px; line-height: 1.35; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,58,58,.15); }
.checks--grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .checks--grid { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #fbf4f3; border: 1px solid #efd3d0; color: var(--red); font-size: .9rem; }
.form-error a { color: var(--red); font-weight: 600; }
.reg-submit { margin-top: 18px; min-width: 220px; justify-content: center; }
.reg-submit:disabled { opacity: .7; cursor: wait; }
.reg-success { grid-column: 2; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 48px 28px; box-shadow: var(--shadow); }
@media (max-width: 960px) { .reg-success { grid-column: auto; } }
.reg-success-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: #fff; background: linear-gradient(145deg, #2f9e5b, #23774a); box-shadow: 0 14px 30px -12px rgba(35,119,74,.6); }
.reg-success p { color: var(--muted); max-width: 460px; margin: 0 auto 20px; }
.modal-reg { font-size: .85rem; background: var(--tint); border-radius: 8px; padding: 8px 12px; margin: -4px 0 14px; color: var(--navy); }
.modal-reg a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }

/* ---------- Compact registration form (fits one A4 page) ---------- */
.reg-page { padding: 28px 0 40px; background: var(--soft); }
.reg-wrap { max-width: 980px; }
.reg-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 14px; flex-wrap: wrap; }
.reg-top h1 { font-size: 1.9rem; margin: 2px 0 4px; }
.reg-top p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 560px; }
.reg-top .eyebrow { margin: 0; }
.reg-flow { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.reg-flow li { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px 5px 5px; }
.reg-flow b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-dark); color: #fff; font-size: .72rem; }
.reg-form.form { padding: 18px 20px; }
.reg-form fieldset { padding: 10px 14px 4px; margin: 0 0 10px; border-radius: 12px; }
.reg-form legend { font-size: .85rem; padding: 0 6px; }
.reg-form legend svg { width: 15px; height: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
.grid3 .span2 { grid-column: span 2; }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grid3 { grid-template-columns: 1fr; } .grid3 .span2 { grid-column: auto; } }
.reg-form .field { margin-bottom: 8px; }
.reg-form .field label { font-size: .76rem; margin-bottom: 3px; }
.reg-form .field input, .reg-form .field select { padding: 7px 10px; font-size: .88rem; border-radius: 7px; }
.reg-form .hint { margin: -2px 0 6px; font-size: .72rem; }
.checks--inline { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.checks--inline label { font-size: .85rem; }
.reg-form .agree { font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.reg-form .form-error { margin-top: 8px; padding: 8px 12px; font-size: .85rem; }
.reg-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.reg-actions .reg-submit { margin: 0; min-width: 200px; padding: 10px 20px; }
.reg-actions span { font-size: .8rem; color: var(--muted); }
.reg-actions a { color: var(--teal-dark); font-weight: 600; text-decoration: none; }
.reg-wrap .reg-success { grid-column: auto; }

/* Print: registration form on a single A4 page */
@page { size: A4; margin: 10mm; }
@media print {
  .topbar, .header, .footer, .fab-interested, .modal, .reg-flow, .reg-actions .reg-submit, .marquee { display: none !important; }
  body { background: #fff; font-size: 11px; }
  .reg-page { padding: 0; background: #fff; }
  .reg-wrap { max-width: none; padding: 0; }
  .reg-top h1 { font-size: 20px; }
  .reg-form.form { box-shadow: none; border: 0; padding: 0; }
  .reg-form fieldset { break-inside: avoid; }
  .reg-form .field input, .reg-form .field select { padding: 5px 8px; font-size: 11px; }
  .grid3 { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ==========================================================
   3D control-tower tracking scene (Home)
   ========================================================== */
.stat--link { text-decoration: none; cursor: pointer; }
.stat--link u { text-decoration: none; color: var(--c); font-weight: 600; }
.stat--link:hover { box-shadow: 0 0 0 2px var(--c), 0 14px 26px -12px rgba(18,58,74,.35); }
#live-tracking { scroll-margin-top: 70px; }

.ops-grid { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
.ops-card--atc { transform: none; padding: 14px 14px 10px; }
.atc {
  position: relative; height: 470px; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 110%, #0f4a7a 0%, #0a2540 55%, #061a2e 100%);
}
.atc::after { /* scan lines for a control-screen feel */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
}
.atc-stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 0%; }
.atc-plane {
  position: absolute; left: 50%; top: 48px; width: 560px; height: 560px; margin-left: -280px;
  transform-style: preserve-3d; transform: rotateX(var(--tilt, 54deg)) rotateZ(var(--spin, -6deg));
  transform-origin: 50% 40%; transition: transform .6s ease-out;
}
.atc-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.atc-road { fill: none; stroke: rgba(70,170,240,.45); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.atc-road-flow { fill: none; stroke: #9be7ff; stroke-width: 1.6; stroke-dasharray: 6 14; opacity: .7; animation: atc-flow 3s linear infinite; }
@keyframes atc-flow { to { stroke-dashoffset: -40; } }
.atc-city { fill: #cfeeff; }
.atc-label { fill: #bfe3ff; font: 600 20px Inter, sans-serif; opacity: .85; }
.atc-v { stroke: rgba(255,255,255,.85); stroke-width: 1.5; }
.v-ok { fill: #34d399; filter: drop-shadow(0 0 4px #34d399); }
.v-alert { fill: #f5a524; filter: drop-shadow(0 0 6px #f5a524); }
.v-inc { fill: #ff4d5a; filter: drop-shadow(0 0 8px #ff4d5a); }
.atc-link { fill: none; stroke: #5fe1ff; stroke-width: 2; stroke-dasharray: 8 10; opacity: 0; animation: atc-link 4s ease-in-out infinite; }
@keyframes atc-link { 0% { opacity: 0; stroke-dashoffset: 60; } 30% { opacity: .85; } 70% { opacity: .6; } 100% { opacity: 0; stroke-dashoffset: -60; } }
.atc-pulse { fill: none; stroke-width: 3; animation: atc-pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.p-alert { stroke: #f5a524; } .p-inc { stroke: #ff4d5a; }
@keyframes atc-pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }

.atc-radar {
  position: absolute; width: 64%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(95,225,255,.38), rgba(95,225,255,0) 70deg, transparent 360deg);
  border: 1px solid rgba(95,225,255,.25); animation: atc-sweep 4s linear infinite; pointer-events: none;
  box-shadow: inset 0 0 0 60px rgba(95,225,255,.02);
}
.atc-radar::before, .atc-radar::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(95,225,255,.22); }
.atc-radar::before { inset: 18%; } .atc-radar::after { inset: 36%; }
@keyframes atc-sweep { to { transform: translate(-50%, -50%) rotate(360deg); } }

.atc-tower {
  position: absolute; width: 74px; transform-origin: 50% 100%;
  transform: translate(-50%, -100%) rotateZ(calc(-1 * var(--spin, -6deg))) rotateX(calc(-1 * var(--tilt, 54deg)));
  filter: drop-shadow(0 0 18px rgba(95,225,255,.45));
}
.atc-tower-svg { width: 100%; height: auto; display: block; }
.tw-beacon { fill: #ff4d5a; animation: tw-blink 1.2s steps(2, start) infinite; filter: drop-shadow(0 0 6px #ff4d5a); }
@keyframes tw-blink { 50% { fill: #5b1b20; filter: none; } }
.atc-tower-tag {
  position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -6px); white-space: nowrap;
  font: 700 11px Inter, sans-serif; color: #e6f6ff; background: rgba(10,37,64,.85); border: 1px solid rgba(95,225,255,.5);
  padding: 4px 10px; border-radius: 999px; letter-spacing: .02em;
}

.atc-hud { position: absolute; z-index: 2; color: #cfe3f5; font-family: Inter, sans-serif; }
.atc-hud--count { left: 14px; top: 12px; background: rgba(6,26,46,.72); border: 1px solid rgba(95,225,255,.25); border-radius: 12px; padding: 10px 14px; backdrop-filter: blur(4px); }
.atc-hud--count strong { display: block; font-family: var(--font-head); font-size: 2rem; color: #fff; line-height: 1.05; letter-spacing: .01em; }
.atc-hud--count span:last-child { font-size: .72rem; color: #9fc3e3; }
.atc-live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: #34d399; }
.atc-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: tw-blink 1.4s steps(2, start) infinite; }
.atc-hud--feed { right: 12px; top: 12px; width: 230px; height: 128px; overflow: hidden; background: rgba(6,26,46,.72); border: 1px solid rgba(95,225,255,.25); border-radius: 12px; padding: 8px 12px; backdrop-filter: blur(4px); }
.atc-feed-title { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ffcf5a; margin-bottom: 4px; }
.atc-feed { list-style: none; margin: 0; padding: 0; animation: atc-feed 12s steps(6) infinite; }
.atc-feed li { height: 16.5px; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
@keyframes atc-feed { to { transform: translateY(-99px); } }
.atc-hud i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.b-ok { background: #34d399; } .b-alert { background: #f5a524; } .b-inc { background: #ff4d5a; }
.atc-hud--legend { left: 14px; bottom: 10px; display: flex; gap: 14px; font-size: .72rem; background: rgba(6,26,46,.6); border-radius: 999px; padding: 5px 12px; }
.atc-hud--legend span { display: inline-flex; align-items: center; gap: 6px; }
.atc-hud--legend b { color: #9be7ff; font-size: .7rem; }
@media (max-width: 900px) {
  .ops-grid { grid-template-columns: 1fr; }
  .atc { height: 400px; }
  .atc-plane { width: 460px; height: 460px; margin-left: -230px; }
  .atc-hud--feed { display: none; }
}
@media (max-width: 520px) { .atc-plane { width: 380px; height: 380px; margin-left: -190px; top: 70px; } .atc-hud--count strong { font-size: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .atc-radar, .atc-feed, .atc-road-flow { animation: none !important; } }
.atc-plane { top: 4px; width: 540px; height: 540px; margin-left: -270px; transform-origin: 50% 32%; transform: rotateX(var(--tilt, 56deg)) rotateZ(var(--spin, -6deg)); }
.atc-tower { width: 96px; transform: translate(-50%, -100%) rotateZ(calc(-1 * var(--spin, -6deg))) rotateX(calc(-1 * var(--tilt, 56deg))); }
.ops-grid > .ops-card:last-child { display: flex; flex-direction: column; }
.em-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 12px; }
.em-facts div { background: rgba(255,255,255,.05); border: 1px solid rgba(160,205,245,.18); border-radius: 10px; padding: 10px; }
.em-facts b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: #fff; }
.em-facts span { font-size: .72rem; color: #9fc3e3; line-height: 1.3; display: block; }
.atc { height: 420px; }
.atc-plane { top: 14px; width: 500px; height: 500px; margin-left: -250px; transform: rotateX(var(--tilt, 58deg)) rotateZ(var(--spin, -6deg)); }
.atc-tower { width: 88px; transform: translate(-50%, -100%) rotateZ(calc(-1 * var(--spin, -6deg))) rotateX(calc(-1 * var(--tilt, 58deg))); }
.atc-hud--count { left: auto; top: auto; right: 12px; bottom: 10px; text-align: right; }
.atc-hud--count strong { font-size: 1.7rem; }
.em-facts { margin-top: 12px; }
@media (max-width: 900px) { .atc { height: 380px; } .atc-plane { width: 440px; height: 440px; margin-left: -220px; } }

/* ==========================================================
   Animated safety-violation scene (Home, dark band)
   ========================================================== */
.ops-card--vs { margin-top: 24px; transform: none; padding: 14px; }
.vs { position: relative; height: 300px; border-radius: 12px; overflow: hidden; --spd: 1.6s; }
.vs-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vs-night, .vs-stars, .vs-lights, .vs-side, .vs-nogo, .vs-pin, .vs-skid { opacity: 0; transition: opacity .8s ease; }
.vs-scroll { animation: vs-scroll var(--spd) linear infinite; }
.vs-scroll--far { animation-duration: calc(var(--spd) * 2.4); }
@keyframes vs-scroll { to { transform: translateX(-280px); } }
.vs-scroll--far { animation-name: vs-scroll-far; }
@keyframes vs-scroll-far { to { transform: translateX(-140px); } }
.vs-lane { stroke: #e8edf2; stroke-width: 4; stroke-dasharray: 40 30; animation: vs-lane calc(var(--spd) * .25) linear infinite; }
@keyframes vs-lane { to { stroke-dashoffset: -70; } }
.vs-wheel { animation: vs-wheel calc(var(--spd) * .35) linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes vs-wheel { to { transform: rotate(360deg); } }
.vs-truck { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.2s ease; animation: vs-bob .5s ease-in-out infinite alternate; }
@keyframes vs-bob { to { translate: 0 -1.5px; } }
.vs-truck-wrap { transition: transform 1.6s ease; }
.vs-beam { opacity: 0; transition: opacity .4s; }
.vs-beam path { animation: vs-beam 1s linear infinite; }
@keyframes vs-beam { to { stroke-dashoffset: -36; } }
.vs-tag { font: 700 12px Inter, sans-serif; }
.vs-tag--ok { fill: #bfefff; } .vs-tag--red { fill: #ffd0d2; }

/* states */
.vs.is-alert .vs-beam { opacity: 1; }
.vs[data-s="speed"].is-alert { --spd: .55s; }
.vs[data-s="night"] .vs-night, .vs[data-s="night"] .vs-stars, .vs[data-s="night"] .vs-lights { opacity: 1; }
.vs[data-s="night"].is-fixed .vs-scroll, .vs[data-s="night"].is-fixed .vs-lane, .vs[data-s="night"].is-fixed .vs-wheel,
.vs[data-s="stop"].is-alert .vs-scroll, .vs[data-s="stop"].is-alert .vs-lane, .vs[data-s="stop"].is-alert .vs-wheel,
.vs[data-s="cont"].is-fixed .vs-scroll, .vs[data-s="cont"].is-fixed .vs-lane, .vs[data-s="cont"].is-fixed .vs-wheel { animation-play-state: paused; }
.vs[data-s="stop"] .vs-pin { opacity: 1; }
.vs[data-s="brake"].is-alert { --spd: 3.2s; }
.vs[data-s="brake"].is-alert .vs-skid { opacity: 1; }
.vs[data-s="brake"].is-alert .vs-truck { transform: rotate(1.8deg); }
.vs[data-s="route"] .vs-side { opacity: 1; }
.vs[data-s="route"].is-alert .vs-truck-wrap { transform: translate(60px, 26px) rotate(6deg); }
.vs[data-s="nogo"] .vs-nogo { opacity: 1; }
.vs[data-s="nogo"].is-fixed .vs-nogo { opacity: .35; }
.vs[data-s="tilt"].is-alert .vs-truck { transform: rotate(-16deg); }
.vs[data-s="tilt"].is-alert .vs-scroll, .vs[data-s="tilt"].is-alert .vs-lane, .vs[data-s="tilt"].is-alert .vs-wheel { animation-play-state: paused; }

/* overlays */
.vs-alert {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%); min-width: 340px; max-width: 92%;
  background: rgba(6,26,46,.86); border: 1px solid rgba(95,225,255,.3); border-radius: 12px; padding: 10px 14px;
  color: #cfe3f5; font-family: Inter, sans-serif; backdrop-filter: blur(4px); transition: border-color .4s, opacity .4s; opacity: 0;
}
.vs.is-alert .vs-alert { opacity: 1; border-color: #f5a524; box-shadow: 0 0 0 3px rgba(245,165,36,.18); }
.vs.is-fixed .vs-alert { border-color: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.18); }
.vs-alert-top { display: flex; align-items: center; gap: 8px; }
.vs-alert-top b { color: #fff; font-size: .95rem; }
.vs-dot { width: 9px; height: 9px; border-radius: 50%; background: #f5a524; animation: tw-blink .8s steps(2, start) infinite; }
.vs.is-fixed .vs-dot { background: #34d399; animation: none; }
.vs-detail { font-size: .8rem; margin-top: 2px; }
.vs-fix { font-size: .8rem; color: #34d399; font-weight: 600; margin-top: 4px; opacity: 0; transition: opacity .4s; }
.vs.is-fixed .vs-fix { opacity: 1; }
.vs-gauge {
  position: absolute; right: 14px; top: 14px; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle, #0b2440 58%, transparent 59%), conic-gradient(from 225deg, #34d399 0 150deg, #f5a524 150deg 200deg, #e5484d 200deg 270deg, transparent 270deg);
  display: grid; place-content: center; text-align: center; color: #fff; font-family: Inter, sans-serif;
}
.vs-speed { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.vs-gauge small { font-size: .62rem; color: #9fc3e3; }
.vs-gauge em { display: none; font-style: normal; font-size: .62rem; color: #ffcf5a; margin-top: 2px; }
.vs[data-s="night"] .vs-clock, .vs[data-s="cont"] .vs-hours { display: block; }
.vs.is-alert .vs-speed.is-over { color: #ff6b6b; }
.vs-lib { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px; background: linear-gradient(transparent, rgba(6,26,46,.9) 40%); }
.vs-lib span { font: 600 .68rem Inter, sans-serif; color: #9fc3e3; border: 1px solid rgba(160,205,245,.22); border-radius: 999px; padding: 3px 9px; transition: all .3s; }
.vs-lib span.is-on { color: #0a2540; background: #ffcf5a; border-color: #ffcf5a; }
@media (max-width: 700px) { .vs { height: 340px; } .vs-alert { min-width: 0; left: 12px; right: 12px; transform: none; max-width: none; } .vs-gauge { top: auto; bottom: 74px; width: 72px; height: 72px; } }
@media (prefers-reduced-motion: reduce) { .vs-scroll, .vs-lane, .vs-wheel, .vs-truck { animation: none !important; } }
.vs.is-fixed .vs-alert { opacity: 1; }
.vs { height: auto; aspect-ratio: 10 / 3; }
.vs-lib { position: static; background: none; padding: 10px 0 2px; }
@media (max-width: 700px) { .vs { aspect-ratio: auto; height: 300px; } }

/* ==========================================================
   3D on-road chemical emergency scene (Home)
   ========================================================== */
.em { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px rgba(160,205,245,.15); }
.em-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.em-hud { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; pointer-events: none; font-family: Inter, sans-serif; }
.em-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .03em; color: #ffd0d2; background: rgba(120,16,22,.65); border: 1px solid #e5484d; border-radius: 999px; padding: 4px 10px; backdrop-filter: blur(3px); }
.em-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d5a; animation: tw-blink .8s steps(2, start) infinite; }
.em-timer { margin-left: auto; font-size: .72rem; color: #9fc3e3; background: rgba(6,26,46,.75); border: 1px solid rgba(95,225,255,.3); border-radius: 999px; padding: 4px 10px; }
.em-timer b { color: #fff; font-variant-numeric: tabular-nums; }
.em-status { flex-basis: 100%; font-size: .72rem; color: #e6f6ff; background: rgba(6,26,46,.7); border-radius: 8px; padding: 4px 10px; width: fit-content; transition: color .3s; }
.em-status.is-done { color: #34d399; }
.em-steps--16 span { animation: step-glow16 16s infinite; }
.em-steps--16 span:nth-child(2) { animation-delay: 4s; }
.em-steps--16 span:nth-child(3) { animation-delay: 8s; }
.em-steps--16 span:nth-child(4) { animation-delay: 12s; }
@keyframes step-glow16 {
  0%, 24% { background: rgba(22,163,184,.25); color: #fff; border-color: #16a3b8; }
  26%, 100% { background: transparent; color: #8fb6da; border-color: rgba(160,205,245,.18); }
}
.em-photos { margin-top: 10px; }
.em-photos-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ffcf5a; margin-bottom: 6px; }
.em-reel { overflow: hidden; perspective: 700px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.em-track { display: flex; width: max-content; animation: marquee 28s linear infinite; transform-style: preserve-3d; }
.em-reel:hover .em-track { animation-play-state: paused; }
.em-ph { margin: 0 10px 0 0; width: 132px; height: 76px; border-radius: 8px; overflow: hidden; flex-shrink: 0; transform: rotateY(-14deg); box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); border: 1px solid rgba(160,205,245,.25); transition: transform .3s; }
.em-ph:hover { transform: rotateY(0) scale(1.08); }
.em-ph img { width: 100%; height: 100%; object-fit: cover; }
.ops-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.ops-grid > * { min-width: 0; }
@media (max-width: 900px) { .ops-grid { grid-template-columns: minmax(0, 1fr); } }
.ops-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .ops-grid { grid-template-columns: minmax(0, 1fr); } }
.atc-feed-title { position: relative; z-index: 1; background: #071d33; margin: -8px -12px 4px; padding: 8px 12px 4px; }
.em-hud .em-status { font-size: .7rem; }

/* ==========================================================
   Member Login: compact, gradient header, frosted glass
   ========================================================== */
.login-card {
  padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-top: 0;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px) saturate(1.2);
  border-radius: 16px; box-shadow: 0 24px 50px -22px rgba(11,95,165,.55), 0 0 0 1px rgba(11,95,165,.06);
}
.hero--slides .login-card { padding: 0; background: rgba(255,255,255,.86); }
.login-head {
  margin: 0; padding: 12px 16px; gap: 10px;
  background: linear-gradient(120deg, #0b5fa5 0%, #1d82c9 55%, #16a3b8 100%); position: relative;
}
.login-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 90% -20%, rgba(255,255,255,.35), transparent 50%); pointer-events: none; }
.login-head .icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.login-head .icon svg { width: 17px; height: 17px; }
.login-head h3 { color: #fff; font-size: 1.1rem; }
.login-head p { color: #d8ecff; font-size: .74rem; }
.login-form { padding: 12px 16px 4px; }
.login-card .field { margin-bottom: 8px; }
.login-card .field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.login-card .field input {
  padding: 9px 12px; font-size: .88rem; border-radius: 9px;
  background: #f1f6fb; border: 1px solid #dbe7f3;
}
.login-card .field input:focus { background: #fff; border-color: #1d82c9; box-shadow: 0 0 0 3px rgba(29,130,201,.18); }
.login-card .pw-toggle { color: #0b5fa5; font-size: .76rem; }
.login-row { margin: 0 0 10px; font-size: .76rem; }
.login-card .btn--block {
  padding: 10px 14px; font-size: .92rem; border-radius: 9px;
  background: linear-gradient(120deg, #0b5fa5, #16a3b8); box-shadow: 0 10px 20px -10px rgba(11,95,165,.7);
}
.login-card .btn--block:hover { filter: brightness(1.08); box-shadow: 0 14px 26px -10px rgba(22,163,184,.8); }
.login-note {
  margin: 8px 16px 0; padding: 7px 10px; font-size: .74rem; border-radius: 9px;
  background: linear-gradient(120deg, #fff7e6, #fdf0f3); color: #6b4a12; border: 1px solid #f6e3bd;
}
.login-note svg { color: #c98a1a; width: 15px; height: 15px; }
.login-register { margin: 8px 16px 12px; font-size: .78rem; }
.login-register a { color: #0b5fa5; }
.hero--slides .container { grid-template-columns: minmax(0, 1fr) 290px; }
.login-msg { margin: 8px 0 0; font-size: .76rem; }

/* ==========================================================
   Condensed inner pages: slim banners, tabs, explorers
   ========================================================== */
.page-banner { padding: 34px 0 28px; }
.page-banner h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .2em; }
.page-banner p { font-size: 1rem; }
.page-banner--photo { padding: 36px 0 30px; }

/* Solutions explorer */
.sol-explorer { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.sol-tabs { display: grid; gap: 6px; position: sticky; top: 84px; }
.sol-tab { display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-weight: 600; font-size: .9rem; color: var(--navy);
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: all .2s; }
.sol-tab svg { width: 18px; height: 18px; color: var(--teal-dark); flex-shrink: 0; }
.sol-tab:hover { border-color: var(--teal); transform: translateX(3px); }
.sol-tab.is-active { background: linear-gradient(120deg, #0b5fa5, #16a3b8); color: #fff; border-color: transparent; box-shadow: 0 12px 24px -14px rgba(11,95,165,.8); }
.sol-tab.is-active svg { color: #fff; }
.sol-panel { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: 0 30px 60px -40px rgba(13,47,79,.45); }
.sol-panel.is-active { display: grid; animation: sol-in .45s ease; }
@keyframes sol-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sol-media { position: relative; border-radius: 14px; }
.sol-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 50px -26px rgba(13,47,79,.6); }
.sol-badge { position: absolute; left: 14px; bottom: -16px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #1d82c9, #0b5fa5); box-shadow: 0 12px 24px -10px rgba(11,95,165,.7); transform: translateZ(30px); }
.sol-badge svg { width: 24px; height: 24px; }
.sol-body h2 { font-size: 1.6rem; margin-bottom: .3em; }
.sol-body .lead { font-size: 1rem; margin-bottom: 10px; }
.sol-points { grid-template-columns: 1fr 1fr; display: grid; gap: 6px 14px; }
.sol-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sol-facts span { font-size: .76rem; font-weight: 600; color: var(--teal-dark); background: var(--tint); border: 1px solid #d3e3f2; border-radius: 999px; padding: 4px 10px; }
.sol-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.sol-thumbs img { width: 92px; height: 62px; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 16px -10px rgba(0,0,0,.5); transition: transform .2s; }
.sol-thumbs img:hover { transform: scale(1.6); position: relative; z-index: 2; }
@media (max-width: 960px) {
  .sol-explorer { grid-template-columns: 1fr; }
  .sol-tabs { position: static; grid-template-columns: repeat(2, 1fr); }
  .sol-panel { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .sol-points { grid-template-columns: 1fr; } }

/* slim dark band */
.ops--slim { padding: 32px 0; }
.ops-slim-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.ops--slim h2 { color: #fff; font-size: 1.6rem; }
.ops--slim .eyebrow { color: #ffcf5a; }
.viol-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.viol-chips span { font-size: .76rem; color: #dff1ff; border: 1px solid rgba(160,205,245,.3); background: rgba(255,255,255,.05); border-radius: 999px; padding: 4px 10px; }
.ops-note { margin: 12px 0 0; font-size: .85rem; color: #9fe8c3; }
.prod-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prod-card { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(160,205,245,.2); border-radius: 12px; padding: 12px; }
.prod-card b { display: block; color: #fff; font-family: var(--font-head); font-size: 1.25rem; }
.prod-card span { font-size: .78rem; color: #a9c6e2; }
@media (max-width: 900px) { .ops-slim-grid { grid-template-columns: 1fr; } }

/* generic tabs */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs-nav button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: .88rem; color: var(--navy);
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: all .2s; }
.tabs-nav button svg { width: 16px; height: 16px; color: var(--teal-dark); }
.tabs-nav button.is-active { background: linear-gradient(120deg, #0b5fa5, #16a3b8); color: #fff; border-color: transparent; }
.tabs-nav button.is-active svg { color: #fff; }
.tab-panel { display: none; animation: sol-in .4s ease; }
.tab-panel.is-active { display: block; }
.tab-panel--dark { background: radial-gradient(circle at 20% 0%, #123f6b 0%, #0a2540 60%); border-radius: 18px; padding: 20px; }

/* About: hero with 3D building stack */
.about-hero { padding: 36px 0 28px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about-grid h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.about-facts span { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--navy); background: var(--tint); border-radius: 10px; padding: 8px 10px; }
.about-facts svg { width: 16px; height: 16px; color: var(--teal-dark); flex-shrink: 0; }
.bld-stack { position: relative; height: 380px; perspective: 1200px; }
.bld { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 5px solid #fff; box-shadow: 0 30px 50px -24px rgba(13,47,79,.55); }
.bld img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bld figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(10,37,64,.85)); }
.bld--1 { left: 0; top: 10px; width: 46%; height: 340px; transform: rotateY(12deg); z-index: 2; }
.bld--2 { left: 34%; top: 0; width: 44%; height: 300px; transform: rotateY(-6deg) translateZ(20px); z-index: 3; }
.bld--3 { right: 0; bottom: 0; width: 40%; height: 150px; transform: rotateY(-14deg); z-index: 4; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .bld-stack { height: 320px; } }
.about-row { margin-bottom: 18px; }
.about-row--2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .about-row--2 { grid-template-columns: 1fr; } }
.timeline-h { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; position: relative; }
.timeline-h::before { content: ""; position: absolute; left: 4%; right: 4%; top: 14px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); opacity: .4; }
.timeline-h li { position: relative; text-align: center; padding-top: 30px; }
.timeline-h li::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--teal-dark); box-shadow: 0 0 0 4px #fff; }
.timeline-h li:last-child::before { background: var(--red); }
.timeline-h b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; }
.timeline-h span { font-size: .74rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 760px) { .timeline-h { grid-template-columns: repeat(2, 1fr); } .timeline-h::before { display: none; } }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.team-card { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--bd); }
.team-card strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--c); line-height: 1; }
.team-card b { display: block; font-size: .82rem; color: var(--navy); }
.team-card span:not(.stat-ic) { font-size: .72rem; color: var(--muted); }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.partner-box { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.partner-box p { font-size: .88rem; color: var(--muted); margin: 0 0 8px; }
.center-link-a { color: var(--teal-dark); font-weight: 600; text-decoration: none; font-size: .9rem; }

/* LFI: real incident strip */
.inc-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 18px; perspective: 900px; }
.inc { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 24px -14px rgba(0,0,0,.6); }
.inc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.inc-caption { text-align: center; font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 760px) { .inc-strip { grid-template-columns: repeat(3, 1fr); } }
.solutions .tiles { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 1100px) { .solutions .tiles { grid-template-columns: repeat(4, 1fr); } }
/* compact footer + CTA band on every page */
.footer { padding: 30px 0 0; font-size: .86rem; }
.footer-grid { gap: 24px; }
.footer h4 { margin-bottom: 8px; font-size: .95rem; }
.footer li { margin-bottom: 4px; }
.footer .logo-img { height: 48px; }
.footer p { margin-bottom: 6px; }
.footer-bottom { margin-top: 18px; padding: 12px 0; }
.cta-band { padding: 22px 0; }
.cta-band h2 { font-size: 1.4rem; margin: 0; }
.cta-band p { font-size: .92rem; }
/* QRT: tighter map + 3-column state list */
.qrt-layout { grid-template-columns: 0.62fr 1.38fr; gap: 28px; }
.map-3d { padding: 10px; }
.map-3d img { max-height: 520px; object-fit: contain; }
.state-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.state-card { padding: 9px 10px; }
.city { font-size: .7rem; padding: 2px 7px; }
@media (max-width: 960px) { .state-grid { grid-template-columns: 1fr 1fr; } }
.tab-panel .reveal, .sol-panel .reveal { opacity: 1 !important; transform: none; }

/* ==========================================================
   Professional header: utility bar + dropdown / mega menu
   ========================================================== */
.topbar { background: #0b2c4d; color: #cfe3f5; border-bottom: 0; font-size: .8rem; padding: 6px 0; }
.topbar a { color: #fff; }
.topbar .pulse { background: #ff5a5f; }
.topbar-links { display: inline-flex; gap: 18px; }
.topbar-links a { color: #cfe3f5; font-weight: 500; text-decoration: none; }
.topbar-links a:first-child { color: #fff; font-weight: 700; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .tb-hide { display: none; } }

.header { box-shadow: 0 6px 20px -16px rgba(13,47,79,.5); }
.menu { gap: 2px !important; }
.menu > li { position: relative; }
.menu-link { display: inline-flex !important; align-items: center; gap: 6px; padding: 22px 12px !important; font-weight: 600 !important; font-size: .92rem !important; color: var(--navy) !important; border-radius: 0 !important; position: relative; }
.menu-link:hover { background: none !important; color: var(--teal-dark) !important; }
.menu-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 2px; background: var(--teal-dark); transform: scaleX(0); transition: transform .25s; }
.menu-link:hover::after, .menu-link.is-active::after { transform: scaleX(1); }
.menu-link.is-active { color: var(--teal-dark) !important; }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.header .container { height: 64px; }

.dd {
  position: absolute; left: 0; top: 100%; min-width: 280px; padding: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 30px 60px -24px rgba(13,47,79,.4); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 60;
}
.has-dd:hover > .dd, .has-dd:focus-within > .dd { opacity: 1; visibility: visible; transform: none; }
.dd > a { display: block !important; padding: 10px 12px !important; border-radius: 10px !important; font-size: .9rem !important; color: var(--navy) !important; }
.dd > a:hover { background: var(--tint) !important; }
.dd b { display: block; font-weight: 600; }
.dd small { display: block; font-size: .76rem; color: var(--muted); margin-top: 1px; }
.dd--mega { left: 50%; width: 640px; transform: translate(-50%, 8px); padding: 14px; }
.has-mega:hover > .dd--mega, .has-mega:focus-within > .dd--mega { transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex !important; gap: 10px; align-items: flex-start; padding: 10px !important; border-radius: 10px !important; color: var(--navy) !important; font-size: .9rem !important; }
.mega-item:hover { background: var(--tint) !important; }
.mega-item > svg { width: 34px; height: 34px; padding: 8px; flex-shrink: 0; border-radius: 9px; color: #fff; background: linear-gradient(145deg, #1d82c9, #0b5fa5); }
.mega-item b { display: block; font-weight: 600; }
.mega-all { display: block !important; margin-top: 8px; padding: 10px 12px !important; border-radius: 10px !important; background: var(--soft); color: var(--teal-dark) !important; font-weight: 600 !important; text-align: center; font-size: .88rem !important; }
.nav-login-btn { margin-left: 10px; }

@media (max-width: 1240px) {
  .menu-link { padding: 12px 6px !important; }
  .menu-link::after { display: none; }
  .dd, .dd--mega { position: static; opacity: 1; visibility: visible; transform: none !important; box-shadow: none; border: 0; padding: 0 0 6px 10px; width: auto; min-width: 0; display: none; }
  .has-dd:hover > .dd, .has-dd:focus-within > .dd { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-login-btn { margin: 8px 0 0; }
}

/* ==========================================================
   Landing: "How LCS protects every journey" + credentials strip
   ========================================================== */
.ops-intro { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: center; margin-bottom: 20px; }
.ops-intro h2 { color: #fff; font-size: 1.55rem; margin: 2px 0 0; }
.ops-intro .eyebrow { color: #ffcf5a; margin: 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: f; }
.flow li { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); border: 1px solid rgba(160,205,245,.2); }
.flow li > svg { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 8px; color: #0a2540; background: #5fe1ff; }
.flow b { color: #fff; font-size: .95rem; }
.flow span { font-size: .74rem; color: #a9c6e2; line-height: 1.3; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: #5fe1ff; font-weight: 700; z-index: 1; }
@media (max-width: 1000px) { .ops-intro { grid-template-columns: 1fr; } .flow { grid-template-columns: 1fr 1fr; } .flow li::after { display: none; } }

.creds-strip { background: #fff; padding: 22px 0; border-bottom: 1px solid var(--border); }
.creds-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cred-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--soft); border: 1px solid var(--border); text-decoration: none; color: var(--navy); transition: transform .2s, box-shadow .2s; }
a.cred-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(11,95,165,.6); }
.cred-card b { display: block; font-size: .9rem; }
.cred-card small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }
.cred-card img { flex-shrink: 0; border-radius: 8px; }
.cred-card--map img { width: 46px; height: 60px; object-fit: cover; background: #fff; }
.cred-logo { width: 70px; height: 34px; object-fit: contain; background: #fff; padding: 2px; }
.cred-photo { width: 46px; height: 56px; object-fit: cover; }
.cred-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; background: linear-gradient(145deg, #1d82c9, #0b5fa5); }
.cred-ic--red { background: linear-gradient(145deg, #e5484d, #b3121c); font-size: 1.05rem; }
@media (max-width: 1100px) { .creds-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .creds-row { grid-template-columns: 1fr 1fr; } }
.ops-intro { grid-template-columns: 360px 1fr; }
.ops-intro h2 { font-size: 1.35rem; }

/* Solutions: video + full-width diagram panels */
.sol-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #0a2540; display: block; box-shadow: 0 30px 50px -26px rgba(13,47,79,.6); }
.sol-vtag { position: absolute; right: 12px; top: 12px; font-size: .72rem; font-weight: 700; color: #fff; background: rgba(229,72,77,.9); border-radius: 999px; padding: 4px 10px; }
.sol-panel--wide { grid-template-columns: 1fr; gap: 18px; }
.sol-panel--wide .sol-media img { aspect-ratio: auto; object-fit: contain; background: #fff; box-shadow: none; border: 1px solid var(--border); }
.sol-panel--wide .sol-badge { display: none; }
.sol-panel--wide .sol-body { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.sol-panel--wide .sol-body h2, .sol-panel--wide .sol-body .lead { grid-column: 1 / -1; }
.sol-panel--wide .sol-facts { margin-top: 0; align-self: start; }
@media (max-width: 760px) { .sol-panel--wide .sol-body { grid-template-columns: 1fr; } }

/* QRT solution: network map block */
.sol-map { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center; margin-top: 14px; padding: 10px; border-radius: 14px; background: var(--soft); border: 1px solid var(--border); }
.sol-map-img { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 12px 24px -14px rgba(13,47,79,.6); transition: transform .3s; }
.sol-map-img:hover { transform: perspective(600px) rotateY(-6deg) scale(1.04); }
.sol-map-img img { width: 100%; height: 170px; object-fit: cover; object-position: 30% 45%; display: block; }
.sol-map-img span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: .68rem; font-weight: 700; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(10,37,64,.9)); }
.sol-map-info b { display: block; color: var(--navy); font-size: .95rem; }
.sol-map-info small { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.sol-states { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 6px; }
.sol-states span { font-size: .7rem; font-weight: 600; color: #23774a; background: #eaf6ee; border: 1px solid #cfe9d9; border-radius: 999px; padding: 2px 8px; }
.sol-map-legend { display: flex !important; align-items: center; gap: 4px; flex-wrap: wrap; }
.sol-map-legend .dot { margin: 0 2px 0 6px; }
@media (max-width: 520px) { .sol-map { grid-template-columns: 1fr; } }
#escort .sol-media img { aspect-ratio: 8 / 5; object-fit: contain; background: #0a1f3d; }

/* Transport safety: threat of chemical incidents */
.threats { margin-top: 14px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, #fff5f4, #fdf8ee); border: 1px solid #f3d9d4; }
.threats-title { display: block; font-size: .86rem; color: #8f1d22; margin-bottom: 8px; }
.threat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.threat { display: flex; gap: 8px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 8px 10px; border: 1px solid #f1e1dc; }
.threat > svg { width: 18px; height: 18px; flex-shrink: 0; color: #c2323a; margin-top: 1px; }
.threat b { display: block; font-size: .82rem; color: var(--navy); }
.threat small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.35; }
.threats-note { margin: 8px 0 0; font-size: .78rem; color: var(--navy); }
@media (max-width: 560px) { .threat-grid { grid-template-columns: 1fr; } }

/* Tracking: control tower photo cards */
.sol-panel--wide .ct-strip { grid-column: 1 / -1; }
.ct-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 10px; perspective: 1000px; }
.ct-card { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #0a2540; box-shadow: 0 24px 40px -24px rgba(13,47,79,.7); transition: transform .4s ease; }
.ct-card:nth-child(1) { transform: rotateY(8deg); } .ct-card:nth-child(3) { transform: rotateY(-8deg); }
.ct-card:hover { transform: rotateY(0) translateY(-4px); }
.ct-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.ct-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(6,26,46,.92) 45%); color: #fff; }
.ct-card figcaption b { display: block; font-size: .92rem; }
.ct-card figcaption small { display: block; font-size: .74rem; color: #cfe3f5; line-height: 1.35; }
.ct-rep { position: absolute; top: 8px; right: 8px; font-size: .62rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); border-radius: 999px; padding: 2px 8px; }
.ct-rep--lcs { background: #0b5fa5; font-weight: 700; }
@media (max-width: 760px) { .ct-strip { grid-template-columns: 1fr; } .ct-card { transform: none !important; } }

/* ==========================================================
   Home: client achievements
   ========================================================== */
.achieve { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.achieve-head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: end; margin-bottom: 18px; }
.achieve-head h2 { margin: 2px 0 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.achieve-head p { margin: 0; color: var(--muted); font-size: .95rem; }
.achieve-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; perspective: 1200px; }
.ach {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 16px; background: #fff;
  border: 1px solid var(--border); box-shadow: 0 16px 30px -24px rgba(13,47,79,.5); transition: transform .3s ease, box-shadow .3s ease;
}
.ach:hover { transform: translateY(-5px) rotateX(4deg); box-shadow: 0 26px 40px -24px rgba(11,95,165,.55); }
.ach > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #1d82c9, #0b5fa5); margin-bottom: 8px; box-shadow: 0 10px 18px -10px rgba(11,95,165,.8); }
.ach b { font-family: var(--font-head); font-size: 1.7rem; color: var(--teal-dark); line-height: 1.05; }
.ach strong { font-size: .92rem; color: var(--navy); }
.ach .ach-t { font-size: 1rem; margin-top: 2px; }
.ach span { font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.ach--hero { background: linear-gradient(150deg, #0b5fa5 0%, #16a3b8 100%); border-color: transparent; }
.ach--hero > svg { background: rgba(255,255,255,.2); box-shadow: none; }
.ach--hero b { color: #fff; font-size: 2.3rem; }
.ach--hero strong { color: #fff; }
.ach--hero span { color: #e2f2ff; }
.ach:nth-child(2) > svg { background: linear-gradient(145deg, #2fa36b, #1f7a4d); }
.ach:nth-child(3) > svg { background: linear-gradient(145deg, #6a5ad1, #4a3aa8); }
.ach:nth-child(4) > svg { background: linear-gradient(145deg, #e08a2c, #b86a14); }
.ach:nth-child(5) > svg { background: linear-gradient(145deg, #4b5d70, #2c3e50); }
.ach:nth-child(6) > svg { background: linear-gradient(145deg, #e5484d, #b3121c); }
.ach:nth-child(7) > svg { background: linear-gradient(145deg, #18a0a8, #0e7a80); }
.ach:nth-child(8) > svg { background: linear-gradient(145deg, #a8834f, #7d5f33); }
@media (max-width: 1000px) { .achieve-grid { grid-template-columns: repeat(2, 1fr); } .achieve-head { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .achieve-grid { grid-template-columns: 1fr; } }
#achievements { scroll-margin-top: 70px; }
.map-link { display: inline-block; margin-top: 4px; font-size: .85rem; font-weight: 600; color: var(--teal-dark) !important; }

/* Event photos */
.event-fig { position: relative; margin: 0 0 12px; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 30px -20px rgba(13,47,79,.6); }
.event-fig img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.event-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: .78rem; color: #fff; background: linear-gradient(transparent, rgba(6,26,46,.88)); }
.event-fig--wide img { aspect-ratio: 21 / 8; object-position: 50% 62%; }
.event-fig--wide figcaption { font-size: .9rem; }
.recent-events { margin-bottom: 18px; }

/* ==========================================================
   Events page
   ========================================================== */
.ev-top { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .ev-top { grid-template-columns: 1fr; } }
.ev-cal { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: 0 20px 40px -30px rgba(13,47,79,.5); position: sticky; top: 84px; }
.ev-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ev-cal-head strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.ev-nav { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 1.2rem; color: var(--teal-dark); cursor: pointer; }
.ev-nav:hover { background: var(--tint); }
.ev-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ev-dow span { font-size: .68rem; font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; text-transform: uppercase; }
.ev-days button { position: relative; aspect-ratio: 1; border: 0; border-radius: 9px; background: var(--soft); font: inherit; font-size: .85rem; color: var(--navy); cursor: default; }
.ev-days button.has-ev { background: var(--tint); font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1px #c9def2; }
.ev-days button.has-ev:hover, .ev-days button.is-picked { background: var(--teal-dark); color: #fff; }
.ev-days button.is-today { outline: 2px solid var(--teal); }
.ev-days button i { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; gap: 2px; }
.ev-days button i b { width: 5px; height: 5px; border-radius: 50%; }
.t-training { --tc: #0b5fa5; } .t-seminar { --tc: #6a4f9e; } .t-drill { --tc: #c2323a; } .t-other { --tc: #2f7a50; }
.ev-days b, .ev-legend i { background: var(--tc); }
.ev-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: .72rem; color: var(--muted); }
.ev-legend span { display: inline-flex; align-items: center; gap: 5px; }
.ev-legend i { width: 8px; height: 8px; border-radius: 50%; }
.ev-up-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ev-up-head h2 { margin: 0; font-size: 1.5rem; }
.ev-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ev-filters button { font: inherit; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--navy); cursor: pointer; }
.ev-filters button.is-active { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.ev-list { display: grid; gap: 12px; }
.ev-card { display: grid; grid-template-columns: 76px 1fr; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; box-shadow: 0 14px 28px -24px rgba(13,47,79,.5); }
.ev-date { border-radius: 12px; background: var(--tc); color: #fff; display: grid; place-content: center; text-align: center; min-height: 76px; }
.ev-date b { font-family: var(--font-head); font-size: 1.8rem; line-height: 1; }
.ev-date span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.ev-type { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tc); background: color-mix(in srgb, var(--tc) 12%, #fff); border-radius: 999px; padding: 2px 9px; }
.ev-info h3 { margin: 6px 0 2px; font-size: 1.15rem; }
.ev-meta { font-size: .82rem; color: var(--muted); margin: 0 0 6px; }
.ev-sum { font-size: .88rem; margin: 0 0 8px; }
.ev-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ev-btn { padding: 8px 16px; font-size: .85rem; }
.ev-link { font-size: .82rem; font-weight: 600; color: var(--teal-dark); text-decoration: none; }
.ev-empty { display: grid; gap: 4px; background: var(--soft); border: 1px dashed #c9d8e6; border-radius: 14px; padding: 22px; text-align: center; color: var(--muted); font-size: .9rem; }
.ev-empty b { color: var(--navy); font-size: 1rem; }
.ev-inline { border: 0; background: none; padding: 0; font: inherit; color: var(--teal-dark); font-weight: 600; cursor: pointer; text-decoration: underline; }
.ev-past { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .ev-past { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .ev-past { grid-template-columns: 1fr; } }
.ev-pcard { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; font: inherit; box-shadow: 0 16px 30px -24px rgba(13,47,79,.55); transition: transform .25s; }
.ev-pcard:hover { transform: translateY(-4px); }
.ev-pcard img, .ev-noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: grid; place-items: center; background: var(--tint); color: var(--muted); font-size: .85rem; }
.ev-pbody { display: grid; gap: 4px; padding: 12px 14px 14px; }
.ev-pbody b { font-size: 1rem; color: var(--navy); }
.ev-pbody small { color: var(--muted); font-size: .76rem; }
.ev-pbody span:not(.ev-type) { font-size: .84rem; color: var(--text); }
.ev-pbody em { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--teal-dark); }
.ev-modal-box { max-width: 760px; }
.ev-modal-box h3 { margin: 8px 0 2px; }
.ev-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.ev-gallery img { width: 100%; border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.event-fig--stall img { aspect-ratio: 4 / 3; object-position: 50% 42%; }
.recent-events--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .recent-events--2 .event-fig { margin: 0; } .recent-events--2 .event-fig--wide img { aspect-ratio: 16 / 9; } @media (max-width: 760px) { .recent-events--2 { grid-template-columns: 1fr; } }

/* Live operations layout: violations scene beside the map, emergency scene full width */
.ops-card--side { margin-top: 0; display: flex; flex-direction: column; }
.ops-card--side .vs { aspect-ratio: 1000 / 530; flex: none; height: auto; }
.ops-card--side .vs-alert { min-width: 0; width: 62%; top: 10px; padding: 8px 12px; }
.ops-card--side .vs-alert-top b { font-size: .88rem; }
.ops-card--side .vs-detail, .ops-card--side .vs-fix { font-size: .74rem; }
.ops-card--side .vs-gauge { width: 76px; height: 76px; top: 10px; right: 10px; }
.ops-card--side .vs-speed { font-size: 1.3rem; }
.ops-card--side .vs-lib span { font-size: .62rem; padding: 2px 7px; }
.ops-card--em-wide { margin-top: 24px; transform: none; padding: 14px; }
.ops-card--em-wide .em { aspect-ratio: 21 / 9; }
.ops-card--em-wide .em-svg { height: 100%; }
.ops-card--em-wide .em-steps { margin-top: 12px; }
.ops-card--em-wide .em-ph { width: 168px; height: 96px; }

/* ---- bottom row: QRT emergency | AI alert management ---- */
.ops-grid--bottom { margin-top: 24px; align-items: stretch; }
.ops-card--em-half, .ops-card--ai { margin-top: 0; transform: none; padding: 14px; display: flex; flex-direction: column; }
.ops-card--em-half .em { aspect-ratio: 16 / 9; }
.ops-card--em-half .em-svg { height: 100%; }
.ops-card--em-half .em-ph { width: 120px; height: 70px; }
.ai { aspect-ratio: 16 / 9; position: relative; border-radius: 12px; overflow: hidden; background: #071a30; }
.ai-svg { display: block; width: 100%; height: 100%; }
.ai-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; counter-reset: ai; }
.ai-steps span { counter-increment: ai; font-size: 11px; font-weight: 700; line-height: 1.25; color: #cfe3f5;
  background: rgba(255,255,255,.06); border: 1px solid rgba(95,225,255,.18); border-radius: 8px; padding: 6px 6px;
  animation: ai-step 16s infinite; }
.ai-steps span::before { content: counter(ai) " · "; color: #5fe1ff; }
.ai-steps span:nth-child(2) { animation-delay: 2.667s; } .ai-steps span:nth-child(3) { animation-delay: 5.333s; }
.ai-steps span:nth-child(4) { animation-delay: 8s; } .ai-steps span:nth-child(5) { animation-delay: 10.667s; }
.ai-steps span:nth-child(6) { animation-delay: 13.333s; }
@keyframes ai-step { 0%, 16.6% { background: rgba(95,225,255,.22); border-color: #5fe1ff; color: #fff; }
  17%, 100% { background: rgba(255,255,255,.06); border-color: rgba(95,225,255,.18); color: #cfe3f5; } }
@media (max-width: 900px) { .ai-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---- footer visitor counter ---- */
.visit-count { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px;
  background: #e8f4fb; border: 1px solid #b9dcef; color: #0b5fa5; font-weight: 600; font-size: 13px; }
.visit-count svg { color: #0b5fa5; }
.visit-count b { color: #0c2d3b; font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@media (max-width: 900px) { .footer-bottom { padding-bottom: 76px; } }
