:root {
  --navy: #07172f;
  --blue: #003b7a;
  --deep: #020817;
  --red: #ed1c24;
  --orange: #f58220;
  --green: #10a46b;
  --cyan: #19b5ff;
  --white: #fff;
  --text: #102033;
  --muted: #64748b;
  --soft: #f6f8fb;
  --border: #e5e9f1;
  --shadow: 0 24px 70px rgba(7, 23, 47, 0.14);
  --radius: 22px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 32px rgba(7, 23, 47, 0.06);
}
.nav-wrap {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img {
  height: 62px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}
.main-nav > a,
.mega-holder > a {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.02em;
  padding: 34px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--orange);
}
.nav-cta {
  margin-left: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  min-height: 50px;
  padding: 14px 24px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: 0.2s;
}
.btn-red {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(245, 130, 32, 0.25);
}
.btn-red:hover {
  background: #e67300;
  transform: translateY(-2px);
}
.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 28px rgba(245, 130, 32, 0.25);
}
.btn-orange:hover {
  background: #e67300;
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 26px rgba(7, 23, 47, 0.16);
}
.text-link {
  font-weight: 900;
  color: var(--orange);
}
.mega-holder {
  position: relative;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: min(1040px, calc(100vw - 40px));
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.18s;
}
.mega-holder:hover .mega-menu,
.mega-holder:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-intro {
  background: linear-gradient(135deg, var(--navy), #0b3774);
  border-radius: 18px;
  color: #fff;
  padding: 24px;
}
.mega-intro h3 {
  margin: 6px 0 12px;
  font-size: 24px;
  line-height: 1.1;
}
.mega-intro p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mega-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid transparent;
}
.mega-item:hover {
  background: var(--soft);
  border-color: var(--border);
}
.mega-item img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.mega-item strong {
  display: block;
  font-size: 14px;
}
.mega-item small {
  color: var(--muted);
  font-size: 12px;
}
.nav-toggle {
  display: none;
  background: var(--navy);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 20px;
}
.home-hero {
  position: relative;
  min-height: 690px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #020817 0%, #0a1628 40%, #0d2847 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 75% 45%,
    var(--hero-accent, rgba(25, 181, 255, 0.15)),
    transparent 50%
  );
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 690px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 38px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin: 0 0 20px;
}
.hero-copy h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-copy h1 span {
  display: block;
  font-weight: 500;
}
.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: 670px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-device-panel {
  position: relative;
  min-height: 560px;
}
.device-glow {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(25, 181, 255, 0.28),
    transparent 65%
  );
  filter: blur(6px);
}
.hero-phone-main {
  position: absolute;
  right: 3%;
  bottom: 30px;
  height: 500px;
  width: 540px;
  display: block;
  filter: drop-shadow(0 34px 65px rgba(0, 0, 0, 0.48));
  border-radius: 28px;
}
.hero-signal {
  position: absolute;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  padding: 13px 16px;
  border-radius: 18px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}
.signal-one {
  right: 18%;
  top: 86px;
}
.signal-two {
  left: 8%;
  top: 230px;
}
.signal-three {
  right: 0;
  bottom: 82px;
}
.section {
  padding: 88px 0;
}
.section.soft {
  background: var(--soft);
}
.eyebrow {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
}

/* Quick navigator used on long solution pages (like Safety Nodes) */
.quick-nav {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.25rem 0 2rem 0;
}
.quick-nav .nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(7,23,47,0.04);
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.quick-nav .nav-item:hover {
  transform: translateY(-3px);
  background: var(--soft);
}
.quick-nav .nav-item:active { transform: translateY(0); }

/* Small screens: make quick-nav scrollable horizontally */
@media (max-width: 640px) {
  .quick-nav { overflow-x: auto; gap: 0.5rem; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .quick-nav .nav-item { flex: 0 0 auto; }
}

/* Tighter spacing for quick-nav and the following section to avoid large gaps after hero */
.quick-nav-section {
  padding-top: 12px;
  padding-bottom: 12px;
}
.quick-nav-section + .section {
  padding-top: 18px;
}

/* If a section immediately follows the hero, reduce its top padding */
.home-hero + .section {
  padding-top: 18px;
}

/* Tighten spacing specifically for the 6 Angels section on Safety Nodes */
#features {
  padding-top: 22px; /* override global section padding */
}
#features h2 {
  margin-top: 0.2rem; /* reduce extra white-space above heading */
}
/* If quick-nav directly precedes features, make it even tighter */
.quick-nav-section + #features {
  padding-top: 12px;
}

/* The 6 Angels styles */
.angels-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}
.angels-section .section-head { text-align: center; margin-bottom: 1rem; }
.angels-section .angels-intro { color: #6b7280; margin-bottom: 1.5rem; }
.angels-grid {
  display: grid;
  /* Desktop: three cards per row, then down to two on smaller wide screens and one on mobile */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  justify-items: stretch;
}
.angel-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2.25rem;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(7,23,47,0.05);
  transition: transform 200ms ease, box-shadow 200ms ease;
  min-height: 300px;
}
.angel-card:hover { transform: translateY(-10px); box-shadow: 0 26px 70px rgba(7,23,47,0.09); }
.angel-card .angel-icon { font-size: 2.2rem; margin-right: 0.9rem; }
.angel-card h3 { margin: 0 0 0.5rem 0; font-size: 1.4rem; }
.angel-card .eyebrow { font-size: 1rem; letter-spacing: 0.12em; margin-bottom: 0.6rem; color: var(--navy); }
.angel-card p { color: #374151; margin-bottom: 0.9rem; font-size: 1.05rem; }
.angel-card ul { margin: 0; padding-left: 1.25rem; color: #4b5563; font-size: 1rem; }
.angel-card ul li { margin-bottom: 0.6rem; }

/* Make grid responsive */
/* Responsiveness: keep two columns for large and medium screens, collapse to one column on smaller devices */
@media (max-width: 1200px) {
  .angels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .angels-grid { grid-template-columns: 1fr; }
  .angel-card { padding: 1.25rem; min-height: auto; }
  .angel-card h3 { font-size: 1.125rem; }
  .angel-card p, .angel-card ul { font-size: 0.96rem; }
}

/* Golden Hour block */
.golden-hour-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  border-left: 4px solid #dc2626;
  box-shadow: 0 10px 30px rgba(7,23,47,0.04);
}
.golden-hour-card ol { margin-left: 1.1rem; color: #374151; }
.golden-hour-card li { margin-bottom: 0.5rem; }

.intro-section {
  background: #fff;
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.intro-grid h2,
.section-head h2,
.feature-copy h2,
.growth-section h2,
.guardian-card h2,
.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  margin: 10px 0;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.lead {
  font-size: 20px;
  color: #23344b;
  margin-top: 0;
}
.intro-grid p:not(.eyebrow) {
  color: #42526a;
}
.section-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 46px;
}
.section-head.tight {
  margin-bottom: 38px;
}
.section-head h2 .red {
  color: var(--orange);
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
}
.sector-section {
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 0 0 36px;
}
.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(7, 23, 47, 0.06);
  min-height: 150px;
}
.audience-card.primary {
  background: linear-gradient(135deg, var(--navy), #0b3774);
  color: #fff;
}
.audience-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.audience-card.primary span {
  color: rgba(255, 255, 255, 0.72);
}
.audience-card strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin: 6px 0;
}
.audience-card p {
  margin: 0;
  color: #42526a;
  font-size: 13px;
}
.audience-card.primary strong {
  color: #fff;
}
.audience-card.primary p {
  color: rgba(255, 255, 255, 0.8);
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 18px;
  text-align: center;
  box-shadow: 0 14px 38px rgba(7, 23, 47, 0.07);
  transition: 0.22s;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.premium-card {
  position: relative;
  overflow: hidden;
}
.premium-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--blue));
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(237, 28, 36, 0.18);
}
.app-card img {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  margin-bottom: 18px;
}
.app-card h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--navy);
}
.app-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.app-card a {
  margin-top: auto;
  font-size: 13px;
  color: var(--orange);
  font-weight: 900;
}
.highlight-section {
  background: #07172f;
  color: #fff;
}
.highlight-grid {
  display: block;
}
.feature-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  background: linear-gradient(135deg, #081b3a, #0c3877);
  border-radius: 34px;
  padding: 48px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-copy h2 {
  color: #fff;
}
.feature-copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.8vw, 18px);
}
.feature-media {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 26px;
}
.feature-media img {
  max-height: 460px;
  margin: auto;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.34));
}
.usecase-section {
  background: #fff;
}
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 14px 40px rgba(7,23,47,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.solution-card:hover { transform: translateY(-8px); box-shadow: 0 26px 70px rgba(7,23,47,0.09); }
.solution-card .solution-ico { font-size: 1.9rem; }
.solution-card h3 { margin: 0 0 0.25rem 0; font-size: 1.25rem; }
.solution-card .eyebrow { margin: 0; font-size: 0.95rem; color: var(--muted); font-weight: 800; }
.solution-card p { color: #374151; }
.solution-card ul { margin: 0.6rem 0 0 1.1rem; }
.solution-card ul li { margin-bottom: 0.5rem; }

/* Accent borders for each scenario */
.solution-card.accent-red { border-left: 6px solid #dc2626; }
.solution-card.accent-amber { border-left: 6px solid #fbbf24; }
.solution-card.accent-blue { border-left: 6px solid #3b82f6; }

@media (max-width: 1100px) {
  .usecases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .usecases-grid { grid-template-columns: 1fr; }
  .solution-card { padding: 1rem; }
}

/* Non-card aesthetic for use-cases: clean split rows with icon and body */
.usecases-list {
  display: grid;
  gap: 1.25rem;
}
.usecase-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.usecase-media { display: flex; align-items: flex-start; justify-content: center; }
.usecase-media .ico {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
}
.usecase-media .ico i {
  font-size: 1.6rem;
  line-height: 1;
}
.usecase-body h3 { margin: 0 0 6px 0; font-size: 1.3rem; color: var(--navy); }
.usecase-body .eyebrow { margin: 0 0 8px 0; color: var(--muted); font-weight: 800; }
.usecase-body p { margin: 0.4rem 0; color: #374151; }
.usecase-body ul { margin: 0.4rem 0 0 1.05rem; }

/* Accent colours */
.usecase-accent-red .usecase-media .ico { background: linear-gradient(135deg,#dc2626,#b91c1c); }
.usecase-accent-amber .usecase-media .ico { background: linear-gradient(135deg,#fbbf24,#f59e0b); }
.usecase-accent-blue .usecase-media .ico { background: linear-gradient(135deg,#3b82f6,#2563eb); }

/* Alternate layout: icon above title on small screens */
@media (max-width: 720px) {
  .usecase-row { grid-template-columns: 1fr; }
  .usecase-media { justify-content: center; margin-bottom: 8px; }
  .usecase-media .ico { width: 64px; height: 64px; }
}

.usecase-card {
  display: grid;
  grid-template-columns: minmax(0, 190px) 1fr;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 44px rgba(7, 23, 47, 0.08);
}
.usecase-card img {
  height: 260px;
  width: 100%;
  max-width: 190px;
  object-fit: contain;
  margin: auto;
}
.usecase-card h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.2;
  margin: 8px 0;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.usecase-card p {
  color: #42526a;
}
.growth-section {
  background: var(--soft);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: stretch;
}
.split > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.usecase-card {
  height: 100%;
}
.clean-split p {
  color: #42526a;
  font-size: clamp(16px, 1.8vw, 18px);
}
.device-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.device-gallery img {
  height: 330px;
  object-fit: contain;
  margin: auto;
  filter: drop-shadow(0 18px 30px rgba(7, 23, 47, 0.18));
}
.guardian-section {
  background: #fff;
}
.guardian-card {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #07172f, #0b3774);
  border-radius: 34px;
  color: #fff;
  padding: 48px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.guardian-card h2 {
  color: #fff;
}
.guardian-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(16px, 1.8vw, 18px);
}
.guardian-card img {
  max-height: 500px;
  margin: auto;
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.35));
}
.videos-section {
  background: var(--soft);
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.video-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 360px;
  background: #07172f;
}
.video-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  opacity: 0.78;
}
.video-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 23, 47, 0.88));
  pointer-events: none;
  z-index: 1;
}
.video-card a {
  position: relative;
  z-index: 2;
  display: block;
}
.video-card div {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 26px;
  color: #fff;
  pointer-events: none;
}
.video-card h3 {
  font-size: clamp(18px, 2vw, 24px);
  margin: 8px 0 0;
  line-height: 1.3;
}
.play-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar {
  text-align: center;
  padding: 42px 24px;
  border-right: 1px solid var(--border);
}
.pillar:last-child {
  border-right: 0;
}
.pillar .ico {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 14px;
}
.pillar h3 {
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 10px;
}
.pillar p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.glass-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}
.dark-panel {
  background: linear-gradient(135deg, var(--navy), #0c3877);
  color: #fff;
  border-radius: 28px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.dark-panel h2,
.dark-panel h3 {
  color: #fff;
}
.dark-panel p {
  color: rgba(255, 255, 255, 0.78);
}
.page-hero {
  background: linear-gradient(135deg, var(--navy), #0b3774);
  color: #fff;
  padding: 92px 0;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
}
.page-hero p {
  max-width: 760px;
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.82);
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* grid-list: responsive 3-column grid used in fleet/hospitals/stockists pages */
.grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) {
  .grid-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-list { grid-template-columns: 1fr; }
}

/* feature-card: used inside grid-list */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(7, 23, 47, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(7, 23, 47, 0.10);
}
.feature-card h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: clamp(16px, 1.8vw, 20px);
}
.feature-card p {
  color: #42526a;
  margin-bottom: 0;
}

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 34px rgba(7, 23, 47, 0.07);
}
.content-card h3 {
  color: var(--navy);
  margin-top: 0;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.02em;
}
.article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: 0 12px 34px rgba(7, 23, 47, 0.07);
}
.article h2,
.article h3 {
  color: var(--navy);
  letter-spacing: -0.02em;
}
.article h2 { font-size: clamp(22px, 2.5vw, 32px); }
.article h3 { font-size: clamp(18px, 2vw, 22px); }
.article p,
.article li {
  color: #334155;
}
.footer {
  background: #071126;
  color: rgba(255, 255, 255, 0.86);
  padding-top: 54px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 1.2fr;
  gap: 44px;
}
.footer h3 {
  font-size: 25px;
  margin: 0 0 24px;
  color: #fff;
}
.footer p {
  font-size: 16px;
  line-height: 1.45;
}
.footer a {
  color: rgba(255, 255, 255, 0.88);
}
.footer-links {
  display: grid;
  gap: 8px;
}
.two-col {
  grid-template-columns: 1fr 1fr;
}
.play-badge {
  width: 170px;
  margin-top: 22px;
}
.socials {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}
.socials a {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 19px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 44px;
}
.footer-bottom-inner {
  min-height: 54px;
  display: grid;
  grid-template-columns: 1.1fr 1.8fr 1.2fr;
  gap: 44px;
  align-items: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* Legal links span spans the first two columns */
.footer-bottom-inner .footer-legal-links {
  grid-column: 1 / 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
/* Copyright sits in the third column, right-aligned */
.footer-bottom-inner .footer-copyright {
  grid-column: 3 / 4;
  text-align: right;
}
.footer-bottom b {
  color: rgba(255, 255, 255, 0.38);
  margin: 0 10px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.form {
  display: grid;
  gap: 14px;
}
.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 16px;
  font: inherit;
}
.form textarea {
  min-height: 150px;
}
.service-hero-image {
  max-height: 440px;
  object-fit: contain;
  margin: auto;
}
.service-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.service-list li {
  background: var(--soft);
  padding: 16px 18px;
  border-radius: 14px;
  list-style: none;
  border-left: 4px solid var(--orange);
}
@media (max-width: 1120px) {
  .audience-grid,
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-hero-inner,
  .intro-grid,
  .feature-story,
  .usecase-grid,
  .split,
  .guardian-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-device-panel {
    display: none;
  }
  .nav-wrap {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .main-nav {
    position: fixed;
    inset: 88px 0 auto 0;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px 30px;
    box-shadow: var(--shadow);
    z-index: 1001;
    width: 100%;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    gap: 16px;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav > a,
  .mega-holder > a {
    width: 100%;
    padding: 14px 0;
  }
  .mega-holder {
    width: 100%;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    z-index: 1002;
  }
  .nav-cta {
    display: none;
  }
  .mega-menu {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    box-shadow: none;
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .mega-holder:hover .mega-menu,
  .mega-holder:focus-within .mega-menu,
  .mega-holder.open .mega-menu {
    display: grid;
    transform: none;
  }
  .mega-holder.open > a .mega-caret {
    transform: rotate(180deg);
  }
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }
  .footer-bottom-inner .footer-legal-links {
    grid-column: 1 / 2;
  }
  .footer-bottom-inner .footer-copyright {
    grid-column: 1 / 2;
    text-align: left;
  }
  .device-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.nav-open {
  overflow: hidden;
}
/* Collapse usecase-card image+text layout on tablet before the outer grid collapses */
@media (max-width: 900px) {
  .usecase-card {
    grid-template-columns: 1fr;
  }
  .usecase-card img {
    max-width: 100%;
    height: 200px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .home-hero,
  .home-hero-inner {
    min-height: 590px;
  }
  .hero-copy h1 {
    font-size: clamp(32px, 8vw, 40px);
  }
  .app-grid,
  .audience-grid,
  .video-grid,
  .contact-cards,
  .two-col {
    grid-template-columns: repeat(2, 1fr);
  }
  /* content-grid should already be single column on phones */
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-card {
    padding: 20px;
  }
  .section {
    padding: 64px 0;
  }
  .feature-story,
  .guardian-card {
    padding: 28px;
    border-radius: 24px;
  }
  .usecase-card {
    grid-template-columns: 1fr;
  }
  .device-gallery {
    grid-template-columns: 1fr;
  }
  .device-gallery img {
    height: 260px;
  }
  .footer-bottom-inner .footer-legal-links {
    line-height: 2;
  }
  .brand img {
    height: 54px;
  }
}

@media (max-width: 480px) {
  .app-grid,
  .audience-grid,
  .video-grid,
  .content-grid,
  .contact-cards,
  .two-col {
    grid-template-columns: 1fr;
  }
  .app-card {
    min-height: auto;
    padding: 20px 14px;
  }
  .audience-card {
    min-height: auto;
  }
  .content-card {
    padding: 16px;
  }
  .usecase-card img {
    height: 160px;
  }
}

/* Homepage Redesign */
.redesigned-hero {
  background: linear-gradient(135deg, #050816 0%, #0d1630 60%, #111827 100%);
  padding: 120px 0 80px;
}

.redesigned-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.redesigned-hero h1 span {
  color: #ef4444;
}

.hero-products-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hero-product-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  backdrop-filter: blur(8px);
  text-align: center;
}

.hero-product-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.hero-product-card span {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
}

.products-home-section {
  background: #f8fafc;
}

.product-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 90px;
  background: #fff;
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.product-feature-row.reverse .product-feature-image {
  order: 2;
}

.product-feature-row.reverse .product-feature-content {
  order: 1;
}

.product-feature-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.product-feature-content h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.product-summary {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.product-feature-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.btn-ghost-dark {
  border: 1px solid #111827;
  color: #111827;
  background: transparent;
}

@media (max-width: 991px) {
  .redesigned-hero h1 {
    font-size: 2.8rem;
  }

  .product-feature-row,
  .hero-products-showcase {
    grid-template-columns: 1fr;
  }

  .product-feature-row {
    padding: 32px;
    gap: 32px;
  }

  .product-feature-row.reverse .product-feature-image,
  .product-feature-row.reverse .product-feature-content {
    order: initial;
  }
}

@media (max-width: 720px) {
  /* Hero product cards — single column on small phones */
  .hero-products-showcase {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* product feature rows — reduce padding & gap on phones */
  .product-feature-row {
    padding: 22px 18px;
    gap: 20px;
    margin-top: 40px;
    border-radius: 20px;
  }

  /* Scale down the large heading inside product cards */
  .product-feature-content h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 14px;
  }

  /* Stack action buttons vertically */
  .product-feature-actions {
    flex-direction: column;
    gap: 12px;
  }
}

.mega-caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  display: inline-block;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.18s ease;
}

.mega-holder:hover > a .mega-caret,
.mega-holder:focus-within > a .mega-caret {
  transform: rotate(225deg) translateY(-1px);
}

.home-carousel-inner {
  align-items: center;
}

/* Side arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.08);
}
.carousel-arrow-left {
  left: 16px;
}
.carousel-arrow-right {
  right: 16px;
}

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-dot:hover {
  border-color: #fff;
  transform: scale(1.2);
}
.carousel-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

.carousel-track {
  position: relative;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.carousel-slide.active {
  position: relative;
  z-index: 1;
  opacity: 1;
}

.carousel-slide.slide-out-left {
  transform: translateX(-60px);
  opacity: 0;
}

.carousel-slide.slide-out-right {
  transform: translateX(60px);
  opacity: 0;
}

.carousel-swap {
  animation: carouselSwap 0.28s ease;
}

@keyframes carouselSwap {
  0% {
    opacity: 0.5;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .carousel-arrow-left {
    left: 10px;
  }
  .carousel-arrow-right {
    right: 10px;
  }
}

@media (max-width: 720px) {
  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .carousel-arrow-left {
    left: 6px;
  }
  .carousel-arrow-right {
    right: 6px;
  }

  .signal-two {
    left: 8%;
    right: 8%;
    width: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NEWS & ARTICLES STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── News Filters Section ── */
.news-filters-section {
  padding: 60px 0 40px;
  background: var(--soft);
}

/* ── News Articles Section ── */
.news-section {
  scroll-margin-top: 88px;
}

.news-filters {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-search-form {
  display: flex;
  justify-content: center;
}

.news-search-input-wrap {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.news-search-input {
  width: 100%;
  padding: 16px 20px 16px 50px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  background: white;
  transition: all 0.2s ease;
}

.news-search-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1);
}

.news-search-btn {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  padding: 0 20px;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.news-search-btn:hover {
  color: var(--red);
}

.news-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.news-category-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-category-tag:hover {
  border-color: var(--red);
  background: var(--red);
  color: white;
  transform: translateY(-2px);
}

.news-category-tag.active {
  border-color: var(--category-color, var(--red));
  background: var(--category-color, var(--red));
  color: white;
  cursor: default;
  pointer-events: none;
}

.category-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.news-category-tag:not(.active) .category-count {
  background: var(--soft);
  color: var(--muted);
}

/* ── Active Filters ── */
.news-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 20px;
}

.active-filters-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.active-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--red);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.remove-filter {
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.remove-filter:hover {
  background: rgba(255, 255, 255, 0.5);
}

.clear-all-filters {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  margin-left: auto;
}

/* ── Results Summary ── */
.news-results-summary {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--soft);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--muted);
}

/* ── News Grid ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(7, 23, 47, 0.18);
}

.news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--soft);
  display: block;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 18px;
  background: linear-gradient(135deg, var(--soft) 0%, #e2e8f0 100%);
}

.news-card-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.news-category-badge {
  background: var(--category-color, var(--red));
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-date, .news-author, .news-views, .news-read-time {
  font-weight: 500;
}

.news-dot {
  opacity: 0.5;
}

.news-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.news-card h3 a {
  color: var(--text);
  transition: color 0.2s ease;
}

.news-card h3 a:hover {
  color: var(--red);
}

.news-card-excerpt {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.news-tag {
  background: var(--soft);
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.news-read-link {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.news-read-link:hover {
  text-decoration: underline;
  transform: translateX(4px);
}

/* ── Pagination ── */
.news-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.news-pagination nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.news-pagination .page-link {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  background: white;
}

.news-pagination .page-link:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.news-pagination .page-item.active .page-link {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.news-pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Article Page Styles ── */
.article-breadcrumb {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}

.article-breadcrumb a {
  color: var(--red);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-category-badge {
  display: inline-block;
  background: var(--category-color, var(--red));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.meta-author, .meta-time, .meta-views {
  font-weight: 500;
}

.meta-dot {
  opacity: 0.5;
}

.article-tags {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.article-tags h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.article-tag {
  display: inline-block;
  background: var(--soft);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* ── Related Articles ── */
.related-articles-section {
  padding: 80px 0;
  background: var(--soft);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 50px;
  color: var(--text);
}

.related-articles-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.related-articles-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── Empty States ── */
.news-empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.news-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: 0.6;
}

.news-empty h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}

.news-empty p {
  margin: 0 0 30px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Responsive Design ── */
@media (max-width: 768px) {
  .news-filters {
    gap: 20px;
  }
  
  .news-search-input-wrap {
    max-width: none;
  }
  
  .news-categories {
    justify-content: flex-start;
    gap: 8px;
  }
  
  .news-category-tag {
    font-size: 13px;
    padding: 8px 12px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .news-active-filters {
    padding: 16px;
  }
  
  .article-meta {
    font-size: 13px;
    gap: 8px;
  }
  
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
  
  .news-pagination nav {
    flex-wrap: wrap;
    gap: 6px;
  }
  
  .news-pagination .page-link {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .news-filters-section {
    padding: 40px 0 30px;
  }
  
  .news-search-btn {
    position: static;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    padding: 12px;
    background: var(--red);
    color: white;
    border-radius: 12px;
  }
  
  .news-search-input {
    padding: 16px 20px;
  }
  
  .news-card-body {
    padding: 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

/* ───────────────────────────────────────────────────────────────────────────
   Facebook Posts Slider
─────────────────────────────────────────────────────────────────────────── */
.facebook-posts-section {
  background: var(--soft);
  overflow: hidden;
}

.facebook-posts-slider-wrapper {
  position: relative;
  margin-top: 40px;
}

.facebook-posts-slider {
  overflow: hidden;
  margin: 0 60px;
}

.facebook-posts-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.facebook-post-card {
  flex: 0 0 calc(33.333% - 16px);
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.facebook-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.facebook-post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--soft);
}

.facebook-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facebook-post-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.facebook-post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.facebook-icon {
  flex-shrink: 0;
}

.facebook-post-date {
  font-size: 13px;
  color: var(--muted);
}

.facebook-post-message {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 16px;
  flex: 1;
}

.facebook-post-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.facebook-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.facebook-stat svg {
  flex-shrink: 0;
}

.facebook-post-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #1877F2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.facebook-post-link:hover {
  color: #145dbf;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: var(--text);
}

.slider-nav:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.slider-nav.prev {
  left: 0;
}

.slider-nav.next {
  right: 0;
}

.slider-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .facebook-post-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .facebook-posts-slider {
    margin: 0 50px;
  }

  .facebook-post-card {
    flex: 0 0 100%;
  }

  .slider-nav {
    width: 36px;
    height: 36px;
  }

  .slider-nav svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .facebook-posts-slider {
    margin: 0 40px;
  }

  .facebook-post-image {
    height: 180px;
  }

  .facebook-post-body {
    padding: 16px;
  }
}


/* ============================================================
   HOMEPAGE IMPROVEMENTS — Stats bar, Segments, How it works,
   Testimonials, Partners, Final CTA
   ============================================================ */

/* Stats Bar */
.stats-bar {
  background: var(--navy);
  padding: 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,.12);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* About section — two-column on desktop */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-copy h2 {
  margin-top: 12px;
}
.intro-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

/* User Segments */
.segments-section {
  background: var(--soft);
}
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 2.5rem;
}
.segment-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px 24px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  color: var(--text);
}
.segment-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.segment-icon {
  font-size: 28px;
  line-height: 1;
}
.segment-card strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.segment-card span {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* How It Works */
.how-section {
  background: var(--navy);
  color: #fff;
}
.how-section .eyebrow {
  color: var(--orange);
}
.how-section h2 {
  color: #fff;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 2.5rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 12px);
  right: calc(16.66% + 12px);
  height: 2px;
  background: rgba(255,255,255,.15);
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 12px;
}
.step-card p {
  font-size: 15px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin: 0;
}

/* Testimonials */
.testimonials-section {
  background: var(--soft);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 2px;
}
.testimonial-quote {
  margin: 0;
  flex: 1;
}
.testimonial-quote p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-avatar--placeholder {
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-author strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
}
.testimonial-author span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Partner logos */
.partners-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 56px;
  margin-top: 2.5rem;
}
.partner-logo img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) opacity(.65);
  transition: filter .2s;
}
.partner-logo img:hover,
.partner-logo a:hover img {
  filter: none;
}

/* Final CTA banner */
.final-cta-section {
  background: var(--navy);
}
.final-cta-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.final-cta-card h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
}
.final-cta-card p {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.12); }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps-grid::before { display: none; }
}
@media (max-width: 600px) {
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    gap: 28px 36px;
  }
  .final-cta-actions {
    flex-direction: column;
    align-items: center;
  }
}


/* ============================================================
   ABOUT SECTION — Image collage fallback
   Shown when no CMS image is uploaded
   ============================================================ */
.intro-media-collage {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tinted circular background blob */
.collage-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(7,23,47,.06) 0%, rgba(245,130,32,.10) 100%);
}

/* Back phone — offset left, slightly smaller */
.collage-phone--back {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-46%) rotate(-6deg);
  width: 42%;
  max-width: 190px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(7,23,47,.18);
  z-index: 1;
}

/* Front phone — centred, full size */
.collage-phone--front {
  position: relative;
  z-index: 2;
  width: 52%;
  max-width: 230px;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(7,23,47,.22);
  margin-left: auto;
  margin-right: 6%;
}

/* Floating badge pills */
.collage-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(7,23,47,.10);
  white-space: nowrap;
}
.collage-badge--top {
  top: 14%;
  right: 2%;
}
.collage-badge--bottom {
  bottom: 14%;
  left: 2%;
}
.collage-badge-icon {
  font-size: 15px;
}

@media (max-width: 900px) {
  .intro-media-collage {
    height: 360px;
  }
  .collage-phone--back  { max-width: 140px; }
  .collage-phone--front { max-width: 170px; }
}
@media (max-width: 600px) {
  .intro-media-collage {
    height: 300px;
  }
  .collage-phone--back  { max-width: 110px; }
  .collage-phone--front { max-width: 140px; }
  .collage-badge { font-size: 12px; padding: 8px 14px; }
}


/* ============================================================
   SHARED PAGE CTA SECTION
   Used at the bottom of About, Solutions, Investors,
   Careers, News, Education pages
   ============================================================ */
.page-cta-section {
  background: var(--soft);
}
.page-cta-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.page-cta-card .eyebrow {
  margin-bottom: 10px;
}
.page-cta-card h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
}
.page-cta-card p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 28px;
}
/* Dark variant (used on navy backgrounds) */
.page-cta-card--dark h2 {
  color: #fff;
}
.page-cta-card--dark p {
  color: rgba(255, 255, 255, .75);
}


/* ============================================================
   HOW IT WORKS — Module grid (homepage)
   ============================================================ */

/* Section shell stays on the dark navy background */
.how-section .section-head p:not(.eyebrow) {
  color: rgba(255,255,255,.72);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* 2-column card grid */
.how-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 3rem;
}

/* Individual module card */
.how-module-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background .2s, border-color .2s;
}
.how-module-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
}

/* Icon container */
.how-module-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(245,130,32,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.how-module-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Text */
.how-module-content h3 {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}
.how-module-who {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin: 0 0 10px;
}
.how-module-what {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.70);
  margin: 0;
}

/* Bottom CTA card */
.how-cta-wrap {
  margin-top: 2.5rem;
}
.how-cta-card {
  background: rgba(245,130,32,.12);
  border: 1.5px solid rgba(245,130,32,.35);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.how-cta-card h3 {
  color: #fff;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  margin: 0 0 8px;
  flex: 1 1 300px;
}
.how-cta-card p {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  margin: 0;
  flex: 1 1 300px;
}
.how-cta-card .btn {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .how-modules-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .how-module-card {
    flex-direction: column;
    gap: 14px;
    padding: 22px 18px;
  }
  .how-cta-card {
    padding: 28px 22px;
    flex-direction: column;
    text-align: center;
  }
  .how-cta-card h3,
  .how-cta-card p {
    flex: none;
  }
}


/* ============================================================
   HOME PAGE SECTION NAVIGATOR
   Sits below the stats bar, sticks to top when scrolled past
   ============================================================ */
.home-page-nav {
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 88px; /* matches .site-header height */
  z-index: 90;
  box-shadow: 0 4px 16px rgba(7,23,47,.06);
}

.home-page-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}
.home-page-nav-list::-webkit-scrollbar { display: none; }

.home-page-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  transition: color .18s, border-color .18s;
  position: relative;
}

.home-page-nav-link:hover {
  color: var(--navy);
}

.home-page-nav-link.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* Small fade arrows on each side to hint at scroll on mobile */
@media (max-width: 860px) {
  .home-page-nav {
    top: 72px;
  }
  .home-page-nav-link {
    padding: 14px 14px;
    font-size: 12px;
  }
}


/* ============================================================
   DOWNLOAD SECTION — All apps from backend
   ============================================================ */
.final-cta-section {
  background: var(--navy);
}

/* Header */
.download-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.download-header h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  margin: 8px 0 12px;
}
.download-header p {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

/* ── Card grid ──────────────────────────────────────────────── */
.download-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

/* Vertical card */
.download-app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 28px 20px 22px;
  transition: background .2s, border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.download-app-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-4px);
}

/* Subtle glow ring behind icon on hover */
.download-app-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,130,32,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Icon ── */
.download-app-icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1.5px solid rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.download-app-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ── Meta (category + title) ── */
.download-app-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  flex: 1;
}
.download-app-category {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.download-app-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ── Platform badge ── */
.download-app-platform {
  margin-bottom: 16px;
}
.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.download-badge--play {
  background: rgba(245,130,32,.20);
  color: var(--orange);
  border: 1px solid rgba(245,130,32,.30);
}
.download-badge--apk {
  background: rgba(245,130,32,.2);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,.2);
}

/* ── Download button — full width at the bottom ── */
.download-app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: filter .18s, transform .18s;
  white-space: nowrap;
  color: #fff;
  background: var(--red);
  margin-top: auto;
}
.download-app-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.download-app-btn--store {
  background: linear-gradient(135deg, var(--orange) 0%, #e06b00 100%);
}

/* ── Footer row ── */
.download-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.10);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .download-apps-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
@media (max-width: 640px) {
  .download-apps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .download-app-card {
    padding: 22px 14px 18px;
  }
  .download-app-icon {
    width: 60px;
    height: 60px;
  }
  .download-app-icon img {
    width: 38px;
    height: 38px;
  }
  .download-app-title {
    font-size: 13px;
  }
  .download-footer-actions {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 360px) {
  .download-apps-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SOCIAL POSTS SECTION — CMS-managed multi-platform posts
   Supports: Facebook, YouTube, Instagram, X/Twitter,
             TikTok, and Custom link posts
   ============================================================ */

.social-posts-section {
  background: var(--soft);
  overflow: hidden;
}

/* Wrapper that holds prev/next buttons + the sliding viewport */
.social-posts-slider-wrapper {
  position: relative;
  margin-top: 40px;
}

/* Sliding viewport (clips the overflowing track) */
.social-posts-slider {
  overflow: hidden;
  margin: 0 60px;
}

/* Flex row of cards */
.social-posts-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ── Individual Card ── */
.social-post-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(7, 23, 47, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(7, 23, 47, 0.14);
}

/* ── Platform badge row ── */
.social-post-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 10px;
  border-bottom: 1px solid var(--border);
}
.platform-icon {
  flex-shrink: 0;
}
.platform-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
}
.social-post-date {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}

/* ── YouTube embed wrapper (16:9 ratio) ── */
.social-post-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  flex-shrink: 0;
}
.social-post-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Thumbnail image for non-YouTube platforms ── */
.social-post-image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}
.social-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.social-post-card:hover .social-post-image img {
  transform: scale(1.04);
}
.social-post-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.social-post-card:hover .social-post-play-overlay {
  opacity: 1;
}

/* ── Card body ── */
.social-post-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.social-post-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.social-post-caption {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── Engagement stats row ── */
.social-post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}
.social-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}
.social-stat svg {
  flex-shrink: 0;
}

/* ── View on platform link ── */
.social-post-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  transition: color 0.2s;
}
.social-post-link:hover {
  color: var(--red);
}

/* ── Platform colour accents on the card border ── */
.social-post-card--youtube  { border-top: 3px solid #FF0000; }
.social-post-card--facebook { border-top: 3px solid #1877F2; }
.social-post-card--instagram{ border-top: 3px solid #DD2A7B; }
.social-post-card--twitter  { border-top: 3px solid #000000; }
.social-post-card--tiktok   { border-top: 3px solid #010101; }
.social-post-card--custom   { border-top: 3px solid var(--orange); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .social-post-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .social-posts-slider {
    margin: 0 50px;
  }
  .social-post-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .social-posts-slider {
    margin: 0 40px;
  }
  .social-post-image {
    height: 180px;
  }
  .social-post-body {
    padding: 14px 16px 16px;
  }
}


/* ============================================================
   SP — Per-platform social post sliders (news page)
   Each platform gets its own section with inline prev/next
   controls in the heading row.
   ============================================================ */

/* ── Section shell ── */
.sp-section {
  padding-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.sp-section:last-of-type {
  border-bottom: none;
}

/* Alternating soft background to visually separate platforms */
.sp-section:nth-child(odd)  { background: #fff; }
.sp-section:nth-child(even) { background: var(--soft); }

/* ── Section heading row ── */
.sp-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.sp-platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(7, 23, 47, 0.05);
}
.sp-section-title-wrap {
  flex: 1;
  min-width: 0;
}
.sp-section-title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}
.sp-post-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ── Inline prev/next controls ── */
.sp-slider-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.sp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, opacity 0.18s;
}
.sp-nav:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.sp-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

/* ── Slider viewport ── */
.sp-slider {
  overflow: hidden;
}
.sp-track {
  display: flex;
  gap: 20px;
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ── Two-row variant: CSS grid track, 2 rows × 3 columns per page ── */
.sp-slider--two-rows .sp-track {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  /* Each column is exactly 1/3 of the slider viewport width */
  grid-auto-columns: calc((100% - 40px) / 3); /* 3 cols, 2 gaps of 20px */
  gap: 20px;
}

/* Cards fill their grid cell */
.sp-slider--two-rows .sp-card {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: none; /* override the flex sizing from single-row mode */
}

/* ── Card ── */
.sp-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(7, 23, 47, 0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(7, 23, 47, 0.13);
}

/* Platform accent stripe */
.sp-card--facebook  { border-top: 3px solid #1877F2; }
.sp-card--youtube   { border-top: 3px solid #FF0000; }
.sp-card--instagram { border-top: 3px solid #DD2A7B; }
.sp-card--twitter   { border-top: 3px solid #000; }
.sp-card--tiktok    { border-top: 3px solid #010101; }
.sp-card--custom    { border-top: 3px solid var(--orange); }

/* ── YouTube embed (16:9) ── */
.sp-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  flex-shrink: 0;
}
.sp-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Thumbnail image for non-YouTube platforms ── */
.sp-card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}
.sp-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}
.sp-card:hover .sp-card-thumb img {
  transform: scale(1.04);
}
.sp-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 23, 47, 0.22);
  opacity: 0;
  transition: opacity 0.2s;
}
.sp-card:hover .sp-thumb-overlay {
  opacity: 1;
}

/* ── Card body ── */
.sp-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* ── Platform meta row: icon + label + date ── */
.sp-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sp-card-platform-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.sp-card-platform-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  flex-shrink: 0;
}
/* Date pushed to the right */
.sp-card-date {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.sp-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sp-card-caption {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Engagement stats ── */
.sp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.sp-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--muted);
}

/* ── View on platform link ── */
.sp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.18s;
}
.sp-card-link:hover { color: var(--red); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  /* Single-row: drop to 2 columns */
  .sp-card {
    flex: 0 0 calc(50% - 10px);
  }
  /* Two-row: stays 3 columns but columns shrink naturally */
}
@media (max-width: 680px) {
  .sp-section-head {
    flex-wrap: wrap;
    gap: 10px;
  }
  .sp-slider-controls {
    margin-left: auto;
  }
  /* Single-row: 1 column */
  .sp-card {
    flex: 0 0 100%;
  }
  /* Two-row: 1 column × 2 rows */
  .sp-slider--two-rows .sp-track {
    grid-auto-columns: 100%;
  }
  .sp-card-thumb {
    height: 185px;
  }
}
@media (max-width: 420px) {
  .sp-platform-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .sp-section-title { font-size: 18px; }
}

/* ============================================================
   NA — News Articles slider (news page)
   Reuses sp-* slider infrastructure; these styles only add
   article-specific overrides on top.
   ============================================================ */

.na-section {
  background: #fff;
  border-top: 1px solid var(--border);
}

/* Placeholder when no hero image */
.na-card-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), #0b3774);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.na-card-placeholder span {
  color: rgba(255,255,255,0.3);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Category badge on article card */
.na-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cat-color, var(--orange));
  color: #fff;
  flex-shrink: 0;
}

/* Article title link */
.na-title-link {
  color: var(--navy);
  transition: color 0.18s;
}
.na-title-link:hover {
  color: var(--red);
}

/* Author + read time footer row */
.na-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: auto;
  padding-top: 4px;
}
.na-author {
  font-weight: 600;
}
.na-read-time::before {
  content: '·';
  margin-right: 6px;
}

/* ── Legal / Policy pages ────────────────────────────────────────────────── */
/* Footer link buttons (look like links) */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}
.footer-link-btn:hover {
  color: var(--orange, #f97316);
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
  color: var(--body, #374151);
  line-height: 1.8;
  font-size: 1rem;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy, #0a1628);
  margin-top: 2rem;
  margin-bottom: .5rem;
  padding-bottom: .25rem;
  border-bottom: 2px solid var(--orange, #f97316);
  display: inline-block;
}
.legal-content p {
  margin-bottom: 1rem;
}
.legal-content ul {
  margin: .75rem 0 1rem 1.5rem;
  list-style: disc;
}
.legal-content li {
  margin-bottom: .4rem;
}
.legal-content > h3:first-child {
  margin-top: 0;
}

/* CTA call-to-action buttons inside legal pages */
.legal-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.25rem;
  background: var(--orange, #f97316);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .18s, transform .12s;
  margin-top: .25rem;
}
.legal-cta-btn:hover {
  background: var(--red, #dc2626);
  transform: translateY(-1px);
}
