:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --surface: #f8fafc;
  --card: #ffffff;
  --brand: #1c9ccd;
  --brand-dark: #1b3e73;
  --accent: #f97316; /* Premium safety orange */
  --line: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", "Inter", "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% -8%, rgba(28, 156, 205, 0.12), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(249, 115, 22, 0.08), transparent 25%),
    var(--surface);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(244, 247, 250, 0.90);
  border-bottom: 1px solid rgba(210, 222, 235, 0.8);
}

.contact-strip { background: var(--brand-dark); color: #dff3ef; font-size: 0.85rem; }
.contact-strip__inner {
  min-height: 2.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.nav-wrap {
  min-height: 5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
}
.brand img { height: 50px; width: auto; object-fit: contain; }

.main-nav > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.main-nav > ul > li { position: relative; }

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1b3e73;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-dark);
  background: rgba(28, 156, 205, 0.12);
}

.nav-subtoggle,
.nav-toggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
}

.nav-subtoggle { display: none; }
.nav-toggle { display: none; padding: 0.5rem 0.8rem; }

.submenu {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 220px;
  padding: 0.4rem;
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.submenu::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
  background: transparent;
}
.submenu a {
  display: block;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  min-height: auto;
  font-size: 0.88rem;
}
.has-children.open > .submenu { display: block; }

.hero { padding: 3rem 0 2.2rem; }
.eyebrow {
  margin: 0;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}
.lead { font-size: 1.04rem; color: #2f444d; }
h1 { margin: 0.5rem 0 1rem; line-height: 1.2; font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { margin-top: 0; line-height: 1.3; }

.section { padding: 2.8rem 0; }
.section--surface {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(225, 239, 237, 0.82));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.page-head { padding: 2.4rem 0 0.3rem; }

.grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.card--media { overflow: hidden; padding: 0; }
.card--media img { width: 100%; aspect-ratio: 1.75 / 1; object-fit: cover; }
.card--media h2,
.card--media p { padding-inline: 1rem; }
.card--media h2 { margin-top: 0.9rem; }
.card--media p { margin-bottom: 1.1rem; }

.split {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.split--top { grid-template-columns: 1fr 1fr; align-items: start; }

.stack { display: grid; gap: 1rem; }
.cta-row { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.7rem; }

.chip-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chip-list li {
  border: 1px solid #b9d8d4;
  background: #eff8f7;
  color: #1c9ccd;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary { 
  color: #fff; 
  background: linear-gradient(135deg, var(--brand), #1b3e73); 
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -5px rgba(28, 156, 205, 0.35);
  background: linear-gradient(135deg, #129081, var(--brand));
  color: #fff;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px -3px rgba(28, 156, 205, 0.3);
}

.btn--ghost { 
  background: #fff; 
  border: 1px solid var(--line); 
  color: var(--ink-soft);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -5px rgba(0, 0, 0, 0.06);
  border-color: var(--brand);
  color: var(--brand-dark);
  background: rgba(28, 156, 205, 0.02);
}

.btn--ghost:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px -3px rgba(0, 0, 0, 0.04);
}

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
label { display: block; margin-bottom: 0.8rem; font-weight: 600; }
input,
textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid #c8d7d7;
  font: inherit;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 1.2rem;
  color: #dbe8e7;
  background: linear-gradient(150deg, #0f2f36, #102127);
}
.footer-grid { display: grid; gap: 1.2rem; grid-template-columns: 1.1fr 1fr 1fr; }
.site-footer h3,
.site-footer h4 { color: #fff; margin-top: 0; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 0.3rem; }
.footer-bottom {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(216, 227, 227, 0.2);
}

.hero--video {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 600;
  min-height: 480px;
  overflow: clip;
  display: flex;
  align-items: center;
}
.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.8s ease-in-out, transform 0s 1.8s;
}
.hero-slide-item.active {
  opacity: 1;
  transform: scale(1.08);
  transition: opacity 1.8s ease-in-out, transform 7s ease-out;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(8, 22, 25, 0.88) 25%, rgba(10, 37, 42, 0.55) 60%, rgba(15, 23, 42, 0.75) 100%);
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero-copy { color: #f8fafc; max-width: 850px; }
.hero-copy h1 { color: #fff; max-width: 20ch; font-size: clamp(2.2rem, 4.5vw, 3.8rem); margin-top: 0.55rem; font-weight: 800; line-height: 1.15; }
.hero-copy .lead { color: #cbd5e1; max-width: 65ch; font-size: 1.15rem; }
.hero-copy .chip-list li {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.1);
  color: #ffedd5;
}

.hero-side-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 20px 42px rgba(6, 20, 24, 0.24);
  backdrop-filter: blur(8px);
}
.hero-side-panel h2,
.hero-side-panel h3 { margin-top: 0; color: #123038; }
.hero-side-panel h2 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.hero-side-panel h3 { margin-top: 0.95rem; margin-bottom: 0.6rem; font-size: 0.98rem; }

.project-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.project-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c7dad8;
  background: #f8fcfc;
  color: #1a3f46;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.customer-strip { padding-top: 1.5rem; }
.customer-rail {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.customer-chip {
  display: grid;
  gap: 0.35rem;
  place-items: center;
  padding: 0.6rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.customer-chip img { width: 100%; max-width: 130px; height: 54px; object-fit: contain; }
.customer-chip span { font-size: 0.78rem; font-weight: 700; color: #2a4950; }

.hero--video .btn--ghost { background: #ffffff; border: 1px solid #d0ddec; color: #1c9ccd; }
.hero--video .btn--ghost:hover { background: #eef7fa; color: #1b3e73; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-head { gap: 1.2rem; }
.product-hero-image { margin: 0; padding: 0; overflow: hidden; }
.product-hero-image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.product-nav-wrap { padding-top: 0; }
.product-quick-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.product-quick-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #b0cbdc;
  background: #f0f7fb;
  color: #1c9ccd;
  font-weight: 700;
  font-size: 0.9rem;
}
.product-quick-nav a:hover { background: #e0eff8; }
.product-detail-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-detail-card h2 { margin-bottom: 0.65rem; }
.rich-content ul,
.rich-content ol { margin: 0.3rem 0 0; padding-left: 1.1rem; }
.rich-content table { width: 100%; border-collapse: collapse; }
.rich-content td,
.rich-content th { border: 1px solid #cfddeb; padding: 0.5rem 0.6rem; vertical-align: top; }
.rich-content tr:nth-child(even) { background: #f2f8fc; }

/* Redesign & Differentiation Sections */
.section-title-block {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-inline: auto;
}
.section-title-block h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.section-title-block p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.why-lion-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.why-lion-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}
.why-lion-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.8;
}
.why-lion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(28, 156, 205, 0.15);
}
.why-lion-icon {
  width: 48px;
  height: 48px;
  background: rgba(28, 156, 205, 0.1);
  color: var(--brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}
.why-lion-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--ink);
}
.why-lion-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .brand span { display: none; }
  .hero-video-grid,
  .grid-3,
  .why-lion-grid,
  .footer-grid,
  .split,
  .split--top,
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    align-items: stretch !important;
  }

  .main-nav {
    position: absolute;
    right: 3%;
    top: calc(100% + 0.35rem);
    min-width: min(92vw, 360px);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    background: #fff;
    padding: 0.55rem;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { display: block; }
  .main-nav a { display: block; border-radius: 8px; min-height: auto; }
  .main-nav li + li { margin-top: 0.25rem; }
  .main-nav .has-children { padding-right: 2.3rem; }

  .nav-subtoggle {
    display: inline-flex;
    width: 1.65rem;
    height: 1.65rem;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0.3rem;
    top: 0.28rem;
    font-weight: 700;
  }

  .submenu {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0.3rem 0 0.3rem 0.7rem;
    margin-top: 0.2rem;
  }

  .nav-toggle { display: inline-flex; }

  .contact-strip__inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.35rem 0;
  }

  .hero--video { min-height: 480px; aspect-ratio: auto; padding: 4.5rem 0; }
  .hero-copy h1 { max-width: none; font-size: clamp(1.9rem, 7.2vw, 2.9rem); }
  .customer-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .customer-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Application Sector Homepage Hover Effects */
.sector-item-link:hover {
  border-color: var(--brand) !important;
  background: rgba(28, 156, 205, 0.04) !important;
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(28, 156, 205, 0.08);
}
.sector-item-link:hover .arrow-indicator {
  transform: translateX(5px);
}

@media (max-width: 1200px) {
  .why-lion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .why-lion-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Hero Intro Section Spacing */
.hero-intro-section {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 0 3rem 0;
}

@media (max-width: 1080px) {
  .hero-intro-section {
    padding: 2rem 0 2rem 0 !important;
  }
}

@media (max-width: 768px) {
  .hero-intro-section {
    padding: 1.25rem 0 1.25rem 0 !important;
  }
}
