﻿:root {
  /* Brand & Neutral Palette */
  --brand: #0f172a;
  /* Deep Navy/Black */
  --brand-light: #1e293b;
  --accent: #3b82f6;
  /* Clean Water Blue */
  --accent-soft: #eff6ff;

  --ink: #0f172a;
  --muted: #64748b;
  --line: #f1f5f9;

  --bg: #ffffff;
  --bg-alt: #fcfcfc;

  /* Shadows & Radius */
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Offset for fixed header */
  padding-top: 64px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* Remove underlines globally, then style colors for non-button links */
a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

a:not(.btn) {
  color: var(--brand);
}

a:not(.btn):hover {
  color: var(--brand-600);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid--2col {
  grid-template-columns: repeat(1, 1fr);
}

.grid--3col {
  grid-template-columns: repeat(1, 1fr);
}

.grid--4col {
  grid-template-columns: repeat(2, 1fr);
}

.v-center {
  align-items: center;
}

@media (min-width: 780px) {
  .grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3col {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Grid refinements: phone and tablet */
@media (max-width: 480px) {
  .grid--4col {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 779px) {
  .grid--2col {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section {
  position: relative;
}

.section--pad {
  padding: 80px 0;
}

.section--pad-alt {
  padding: 80px 0;
  background: var(--bg-alt);
}

.section--pad-xl {
  padding: 120px 0;
}

.section--pattern {
  background:
    radial-gradient(600px 260px at 10% 0%, rgba(59, 130, 246, 0.05), transparent 60%),
    radial-gradient(900px 360px at 110% 100%, rgba(15, 23, 42, 0.05), transparent 60%);
}

.section__head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
  margin-inline: auto;
}

.section__head h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 14px;
  color: var(--brand);
}

.section__head .sub {
  color: var(--muted);
  margin: 0;
}

.section__head .sub+.sub {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .solutions-head {
    text-align: left;
  }
}

.display {
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}

.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 60ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
  display: block;
}

.small {
  font-size: 12px;
}

.muted {
  color: var(--muted);
}

.legal {
  color: #64748b;
  margin-top: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 24px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  font-size: 15px;
  gap: 8px;
  cursor: pointer;
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn--primary:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Custom CTA buttons (Minimalist transition from original flow style) */
.btn-flow {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px rgba(118, 54, 205, 0.25);
}

.btn-flow:hover {
  background: linear-gradient(135deg, var(--g2), var(--g3));
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(118, 54, 205, 0.3);
}

.btn-flow:active {
  transform: translateY(0);
}

.btn-outline-flow {
  border: 1px solid var(--g2);
  color: var(--g2);
  background: #fff;
}

.btn-outline-flow:hover {
  background: rgba(118, 54, 205, 0.08);
  border-color: var(--g2);
  transform: translateY(-1px);
  color: var(--g2);
}

.btn-sm {
  padding: 8px 14px;
  border-radius: 10px;
}

.btn--small {
  padding: 8px 12px;
  border-radius: 8px;
}

@media (max-width: 520px) {
  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
    text-align: center;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  font-weight: 600;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  display: none;
}

.nav__list li {
  display: inline-flex;
}

.nav__list a {
  display: inline-block;
  padding: 8px 16px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

/* Subtle hover for header options */
.nav__list a:hover {
  color: var(--accent);
}

@media (min-width: 920px) {
  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    padding: 0;
    gap: 6px;
  }
}

.nav--open #navMenu {
  display: block;
}

@media (max-width: 380px) {
  .nav__list {
    right: 8px;
    min-width: 200px;
  }
}

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 110% -10%, rgba(59, 130, 246, 0.08), transparent 60%), linear-gradient(180deg, #ffffff, #fcfcfc);
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero>.container:first-of-type {
  min-height: calc(100vh - 160px);
  display: grid;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 60%22 preserveAspectRatio=%22none%22><path d=%22M0,32 C240,64 480,0 720,16 C960,32 1200,64 1440,32 L1440,60 L0,60 Z%22 fill=%22%23f8fafc%22/></svg>') no-repeat center/100% 100%;
  pointer-events: none;
}

.shape-blend {
  height: 320px;
  border-radius: 24px;
  background: conic-gradient(from 180deg at 50% 50%, #07468e, #af2eed, #07468e);
  filter: blur(30px);
  opacity: .18;
  transform: rotate(-8deg);
}

.hero__media {
  position: relative;
}

.hero__card {
  position: absolute;
  inset: auto 0 0 0;
  margin: auto;
  max-width: 420px;
  background: #0b1220;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .06);
}

.hero__screen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.hero__screen .metric {
  background: rgba(148, 163, 184, .08);
  border: 1px solid rgba(148, 163, 184, .2);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__screen span {
  color: #9ba6b1;
  font-size: 12px;
}

.hero__screen strong {
  font-variant-numeric: tabular-nums;
}

.hero__dial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 6px solid var(--accent);
  border-right-color: var(--brand);
  opacity: .9;
  animation: spin 4s linear infinite;
  margin: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero__video .media-inner {
  filter: saturate(1.05) contrast(1.05);
}

.hero__video .media-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 40%, rgba(0, 0, 0, .15), transparent 60%), linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, 0));
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 8px;
  flex-wrap: wrap;
}

.badges {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  flex-wrap: wrap;
}

.badges li {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-700);
  background: #e6f1fd;
  border: 1px solid #d0e3fb;
  padding: 6px 10px;
  border-radius: 999px;
}

.trust {
  margin-top: 24px;
  text-align: center;
  padding: 12px 0 8px;
}

.trust__list {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  color: var(--muted);
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.logo-marquee__track {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.logo-marquee__item {
  width: 180px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 4px 8px;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee img {
  max-width: 100%;
  max-height: 50px;
  height: auto;
  width: auto;
  filter: none;
  opacity: 1;
  transition: none;
}

.logo-marquee img:hover {
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 920px) {
  .logo-marquee__item {
    width: 220px;
    height: 64px;
  }

  .logo-marquee img {
    max-height: 64px;
  }
}

/* Support logos grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
  justify-items: center;
}

.logo-grid__item {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.logo-grid__item img {
  display: block;
  max-height: 150px !important;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: none;
}

.logo-grid__item img:hover {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (min-width: 920px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .logo-grid__item {
    height: 96px;
  }

  .logo-grid__item img {
    max-height: 200px !important;
  }
}

/* Hero metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.metric-tile {
  background: linear-gradient(180deg, #eef6ff, #ffffff);
  color: var(--ink);
  border: 1px solid #dbe7fb;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.metric-tile__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-700);
}

.metric-tile__label {
  color: var(--muted);
  font-weight: 600;
}

.metric-note {
  text-align: right;
  color: #64748b;
  grid-column: 1 / -1;
}

@media (min-width: 780px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
  }
}

/* Cards */
.cards {
  margin-top: 20px;
}

.card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Keep glow on all cards; no special-case suppression */
.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.card .card__image {
  margin: -24px -24px 20px;
  height: min(200px, 25vh);
  border-radius: 0;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .card__image img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Utility: show full image without cropping in card image area */
.card .card__image--contain {
  display: grid;
  place-items: center;
  background: #fff;
}

.card .card__image--contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Split card layout: image left, text right */
.card--split {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) 1fr;
  gap: 24px;
  align-items: stretch;
  grid-template-areas: 'image body';
  max-height: none;
}

/* Fallback placement for legacy markup */
.card--split> :not(.card__image) {
  grid-column: 2;
}

.card--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
  max-height: none;
}

.card--split .card__image {
  margin: 0;
  height: auto;
  border-radius: 0;
  overflow: visible;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 20px;
  position: relative;
  /* For overlay positioning */
}

.card--split .card__image img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  border-radius: 12px;
}

/* Ensure split card imagery keeps our sizing inside the series section overrides */
#series .card--split .card__image {
  overflow: visible;
}

#series .card--split .card__image img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

/* Product Title Overlay */
.card__title-overlay {
  position: static;
  background: transparent;
  color: #0f172a;
  padding: 0;
  border-radius: 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  z-index: 1;
  pointer-events: none;
}

.card--split .card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  min-height: 100%;
  /* Ensure body takes full height for alignment */
}

/* Show product title in body for split cards; hide overlay to avoid duplication */
.card--split .card__body h3 {
  display: block;
}

.card--split .card__title-overlay {
  display: none;
}

@media (max-width: 779px) {
  .card--split {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .card--split .card__image {
    height: auto;
  }

  .card--split .card__body {
    padding: 24px;
  }
}

.tick {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tick li {
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
}

.tick li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #059669;
  font-weight: 700;
}

/* Product Series dynamic */
.pill-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #dbe7fb;
  background: #f5faff;
  color: #114d8b;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.product-gallery {
  position: relative;
  height: 100%;
}

.product-gallery::before,
.product-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24px;
  z-index: 1;
  pointer-events: none;
}

.product-gallery::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  border-top-left-radius: 14px;
}

.product-gallery::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  border-top-right-radius: 14px;
}

.gallery-track {
  display: flex;
  height: 100%;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  cursor: grab;
}

.gallery-track.dragging {
  cursor: grabbing;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #dbe7fb;
  background: #fff;
  color: #114d8b;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: .9;
}

.gallery-nav.prev {
  left: 8px;
}

.gallery-nav.next {
  right: 8px;
}

.gallery-nav[disabled] {
  opacity: .4;
  pointer-events: none;
}

/* Hide inner gallery arrows until hover on desktops */
@media (hover:hover) {
  .gallery-nav {
    opacity: 0;
    pointer-events: none;
  }

  .product-gallery:hover .gallery-nav {
    opacity: .95;
    pointer-events: auto;
  }
}

.product-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-700);
}

.product-details[open] summary {
  margin-bottom: 6px;
}

/* Technology visual */
.tech-card {
  position: relative;
  height: 260px;
}

.tech-card__layer {
  position: absolute;
  inset: 0;
  border-radius: 18px;
}

.layer-1 {
  background: linear-gradient(135deg, #0b1220, #0e1a33);
  transform: rotate(-2deg);
}

.layer-2 {
  background: linear-gradient(135deg, #0d1b2a, #11345a);
  transform: rotate(2deg);
  filter: blur(6px);
  opacity: .8;
}

.layer-3 {
  background: radial-gradient(600px 260px at 20% 20%, rgba(38, 198, 218, .35), transparent 60%), linear-gradient(135deg, #0b1220, #0e1a33);
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: var(--shadow);
}

/* Stats */
.stats {
  gap: 18px;
  margin-top: 16px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.stat__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-700);
}

.stat__label {
  color: var(--muted);
  font-weight: 600;
}

/* Projects */
.project {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.project__img {
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.project__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projects .project {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.projects .project h3 {
  margin: 2px 0 6px;
  font-size: 18px;
}

.projects .project p {
  margin: 0 0 10px;
}

.projects .project .btn {
  margin-top: auto;
}

.case-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag {
  border: 1px solid #dbe7fb;
  background: #f5faff;
  color: #114d8b;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.tag.is-active {
  background: #114d8b;
  color: #fff;
  border-color: #114d8b;
}

.case-metrics {
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.case-metrics li {
  margin: 2px 0;
}

/* Media frames */
.ratio {
  position: relative;
}

.ratio>* {
  position: absolute;
  inset: 0;
}

.ratio--16x9 {
  aspect-ratio: 16 / 9;
}

.ratio--4x3 {
  aspect-ratio: 4 / 3;
}

.ratio--3x2 {
  aspect-ratio: 3 / 2;
}

.media-frame {
  border-radius: 16px;
  background: linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from 180deg at 50% 50%, #af2eed, #07468e, #af2eed) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-inner {
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f6ff 0%, #f9fbff 100%);
}

.water-pattern {
  background:
    radial-gradient(600px 260px at 20% 10%, rgba(38, 198, 218, .35), rgba(255, 255, 255, 0) 60%),
    radial-gradient(600px 260px at 80% 80%, rgba(25, 118, 211, .25), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #eaf3ff 0%, #f9fbff 100%);
}

.media-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .0) 0 18px, rgba(255, 255, 255, .2) 18px 36px);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.shimmer {
  background-image: linear-gradient(100deg, #eef6ff 0%, #f2f7ff 40%, #eef6ff 80%);
  background-size: 400% 100%;
  animation: shimmer 2s infinite ease;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.image-frame {
  transition: transform .2s ease, box-shadow .2s ease;
}

.image-frame:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .12);
}

/* About */
.about__img {
  display: none;
}

.about-intro {
  margin-bottom: 16px;
}

.about-values .cards .card h3 {
  margin-bottom: 6px;
}

.team-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.team {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.team .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(60px 60px at 50% 40%, #dcecff, #f5f9ff);
  border: 1px dashed #cbd5e1;
}

.team .role {
  font-weight: 700;
}

.team .team-desc {
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 780px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #af2eed, #7636cd);
  color: #f7f3ff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 36px;
}

/* Moving inner glow sweep */
.cta::before {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -20%;
  width: 45%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0));
  filter: blur(30px);
  opacity: .55;
  animation: cta-sweep 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Outer ambient glow (static) */
.cta::after {
  content: "";
  position: absolute;
  inset: -24px -24px -24px -24px;
  background: radial-gradient(60% 50% at 50% 50%, rgba(175, 46, 237, .35), rgba(118, 54, 205, 0) 70%);
  filter: blur(36px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}

/* Ensure CTA content sits above glow */
.cta>* {
  position: relative;
  z-index: 1;
}

@keyframes cta-sweep {
  0% {
    transform: translateX(-10%) scale(1);
    opacity: .55;
  }

  50% {
    transform: translateX(120%) scale(1.05);
    opacity: .85;
  }

  100% {
    transform: translateX(-10%) scale(1);
    opacity: .55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta::before {
    animation: none;
    opacity: .6;
  }
}

.cta h2 {
  color: #fff;
  margin: 0 0 8px;
}

.cta p {
  color: #d5e6ff;
  margin: 0;
}

.cta .btn--primary {
  background: #af2eed;
  border-color: #af2eed;
  color: #fff;
}

.cta .btn--primary:hover {
  filter: brightness(0.96);
}

.cta__actions {
  text-align: right;
}

@media (max-width: 780px) {
  .cta__actions {
    text-align: left;
    margin-top: 16px;
  }
}

/* Contact */
.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.contact-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.contact-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e6f1fd;
  color: var(--brand-700);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.contact-card__label {
  font-size: 12px;
  color: var(--muted);
}

.form {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
}

.form__row {
  margin-bottom: 12px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 12px 16px;
  font: inherit;
  transition: all 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form__feedback {
  height: 18px;
  margin-top: 8px;
  color: var(--muted);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 120px 0 80px;
  color: var(--muted);
}

.footer h4 {
  color: var(--brand);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 24px;
}

.footer__grid {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.footer__links,
.footer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__brand p {
  margin: 6px 0 0;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0b1220;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  opacity: .9;
}

@media (min-width: 780px) {
  .footer__grid {
    grid-template-columns: auto 1fr auto;
  }
}

/* Reveal animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="100"] {
  transition-delay: .1s;
}

/* Utilities */
.placeholder {
  background-image: repeating-linear-gradient(45deg, #e8eef8 0, #e8eef8 10px, #f6f9fe 10px, #f6f9fe 20px);
  border: 1px dashed #cbd5e1;
}

/* Video frame */
.video-frame {
  cursor: pointer;
}

.frame__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 88px;
  height: 88px;
  border: none;
  background: none;
  display: grid;
  place-items: center;
  transition: transform .2s ease, opacity .2s ease;
}

.frame__play:hover {
  transform: scale(1.05);
}

.frame__play:focus-visible {
  outline: 3px solid #a3d3ff;
  border-radius: 999px;
}

.hero__video {
  margin-bottom: 12px;
}

/* New: static hero image option */
.hero__image {
  margin-bottom: 12px;
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

.tech-image {
  display: grid;
  place-items: center;
}

.tech-image__visual {
  max-width: 100%;
  height: auto;
}

/* Industries */
.industries {
  margin-top: 12px;
}

.industry {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .15s ease, box-shadow .15s ease;
}

.industry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.industry__img {
  height: 140px;
  overflow: hidden;
}

.industry__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry__body {
  padding: 14px;
}

.industry__title {
  margin: 0;
  font-size: 18px;
}

/* Industry cards */
.industry {
  cursor: default;
}

.industry__extra {
  display: none;
}

/* Gallery */
.gallery {
  gap: 12px;
}

.gallery .media-frame {
  border-radius: 12px;
}

/* Why Indra — icon cards (consistent with site cards) */
.card.why {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.why__icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #e6f1fd;
  color: var(--brand-700);
  border: 1px solid #d0e3fb;
  display: grid;
  place-items: center;
  flex: none;
}

.why__icon svg {
  width: 18px;
  height: 18px;
}

.why__body h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.why__body p {
  margin: 0;
}

/* Industry detail panel */
.industry-detail {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: var(--shadow);
}

.industry-detail[hidden] {
  display: none;
}

.industry-detail__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dbe7fb;
  background: #fff;
  color: #114d8b;
  font-weight: 700;
}

.industry-detail__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.industry-detail__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

@media (min-width: 900px) {
  .industry-detail__grid {
    grid-template-columns: 1fr 2fr;
  }

  .industry-detail__media img {
    height: 100%;
  }
}

/* Mobile menu behavior */
@media (max-width: 919px) {
  .nav__list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    position: absolute;
    right: 16px;
    top: 56px;
    min-width: 240px;
    box-shadow: var(--shadow);
  }

  .nav__list li {
    display: block;
  }

  .nav__list a {
    display: block;
    padding: 10px 12px;
  }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {

  .shimmer,
  .hero__dial {
    animation: none;
  }

  [data-reveal] {
    transition: none;
  }
}

/* Vertical cards layout for Product Series */
.cards--vertical {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .cards--vertical {
    grid-template-columns: 1fr;
  }
}



/* Product Series static vertical list */
.cards--vertical {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .cards--vertical {
    grid-template-columns: 1fr;
  }
}

/* Brand colors — Indra / ArthOS */
:root {
  --g1: #af2eed;
  /* violet */
  --g2: #7636cd;
  /* purple */
  --g3: #4b3cb4;
  /* indigo */
  --g4: #07468e;
  /* deep blue */
}

/* Default: whole element flows */
.brand-flow {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(100deg,
      var(--g1) 0%,
      var(--g2) 25%,
      var(--g3) 50%,
      var(--g4) 75%,
      var(--g1) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 6s ease-in-out infinite, shine-glint 4s ease-in-out infinite;
}

/* If a direct child <span> exists, switch to "partial" mode:
   - disable gradient on parent
   - apply it only to the span
*/
.brand-flow:has(> span) {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: inherit;
  animation: none;
}

.brand-flow:has(> span)>span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg,
      var(--g1) 0%,
      var(--g2) 25%,
      var(--g3) 50%,
      var(--g4) 75%,
      var(--g1) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 6s ease-in-out infinite, shine-glint 4s ease-in-out infinite;
}

/* Motion */
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine-glint {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.25);
  }
}

/* Hover accel */
.brand-flow:hover {
  animation-duration: 3s, 2s;
}

.brand-flow:has(> span):hover>span {
  animation-duration: 3s, 2s;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {

  .brand-flow,
  .brand-flow:has(> span)>span {
    animation: none;
    filter: none;
  }
}

/* ===== Brand tokens (tweak to your palette) ===== */
:root {
  --brand1: #af2eed;
  /* violet */
  --brand4: #07468e;
  /* deep blue */
  --ink-700: #374151;
  --ink-500: #6b7280;
  --card-border: rgba(10, 20, 40, .08);
  --card-shadow: 0 6px 24px rgba(16, 30, 54, .06);
  --card-shadow-hover: 0 12px 36px rgba(16, 30, 54, .10);
}

/* ===== Section header polish ===== */
#industries .section__head h2 {
  letter-spacing: -0.02em;
  margin-bottom: .4rem;
}

#industries .section__head .sub {
  color: var(--ink-500);
  background: linear-gradient(90deg, rgba(175, 46, 237, .08), rgba(7, 70, 142, .08));
  border: 1px solid rgba(7, 70, 142, .12);
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-block;
}

/* ===== Responsive grid: 3 → 2 → 1 ===== */
#industries .industries.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  #industries .industries.grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  #industries .industries.grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Card ===== */
.industry {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: grid;
  grid-template-rows: 180px auto;
  /* consistent image height */
}

@media (max-width: 720px) {
  .industry {
    grid-template-rows: 160px auto;
  }
}

.industry:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(130, 90, 255, 0.25);
}

/* ===== Image ===== */
.industry__img {
  position: relative;
  overflow: hidden;
}

.industry__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .4s ease;
  display: block;
}

.industry:hover .industry__img img {
  transform: scale(1.06);
}

/* subtle top overlay for contrast */
.industry__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.04));
}

/* ===== Body ===== */
.industry__body {
  padding: 16px 18px 18px;
}

.industry__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.muted.small {
  color: var(--ink-500);
  margin: 0 0 8px;
}

.small {
  color: var(--ink-700);
  line-height: 1.45;
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Pills (pollutant tags) ===== */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 10px;
}

.pill {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(127, 90, 240, 0.08);
  border: 1px solid rgba(127, 90, 240, 0.18);
  color: #4b3cb4;
  /* indigo accent */
}

/* ===== Optional: gentle section spacing (if not already defined) ===== */
.section.section--pad {
  padding: 64px 0;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* Product Series */
#series .card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  /* Avoid internal grid columns on mobile */
}

#series .card.card--split {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "image body"
    "specs specs";
  gap: 24px;
  align-items: stretch;
}

#series .card.card--split .card__image {
  margin: 0;
  min-height: 340px;
  justify-content: center;
  align-items: center;
  grid-area: image;
}

#series .card.card--split .card__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  grid-area: body;
}

#series .card.card--split .card__body h3 {
  font-size: 24px;
}

#series .card.card--split .card__body p {
  font-size: 16px;
  line-height: 1.65;
}

#series .card.card--split .card__image img {
  max-height: 340px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#series .card.card--split .card__specs {
  grid-area: specs;
  padding: 18px 32px 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

#series .card.card--split .card__specs .specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  width: 100%;
  text-align: center;
}

#series .card.card--split .card__specs .specs li {
  flex: 1 1 30%;
  min-width: 160px;
  text-align: center;
}

@media (max-width: 780px) {
  #series .card.card--split {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "image"
      "body"
      "specs";
    gap: 0;
  }

  #series .card.card--split .card__image {
    min-height: 240px;
  }

  #series .card.card--split .card__image img {
    max-height: 240px;
  }

  #series .card.card--split .card__body {
    padding: 24px 24px 8px;
    /* Reduce bottom padding */
  }

  #series .card.card--split .card__specs {
    padding: 8px 24px 24px;
    /* Reduce top padding */
    border-top: none;
    /* Optional: remove separator regarding 'closer' look? keeping it simple first */
  }

  #series .card.card--split .card__specs .specs {
    display: block;
  }

  #series .card.card--split .card__specs .specs li {
    text-align: left;
  }
}

/* Ensure last orphan card centers only on wide rows */
@media (min-width: 900px) {
  #series .cards> :last-child:nth-child(3n + 1) {
    grid-column: 2 / span 1;
    justify-self: center;
  }
}

#series .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

#series .card__image {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f8fafc;
}

#series .card__image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

#support-products .card__image img[alt="PhloX"],
#support-products .card__image img[src*="phlox.svg"],
#support-products .card__image img[alt="Indra Spectrum"],
#support-products .card__image img[src*="spectrum.svg"] {
  transform: scale(1.3);
  transform-origin: center;
  max-height: 100%;
  max-width: 100%;
}

#support-products .card .card__image {
  height: 260px;
  align-items: center;
  justify-content: center;
}

#series .card__image img[alt="ElectroX L02"],
#series .card__image img[src*="lo2.svg"] {
  transform: scale(1.12);
  transform-origin: center;
}

#series .specs {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #444;
}

#series .specs li {
  margin: 0.3rem 0;
}

#series .specs strong {
  color: #000;
}

/* Two-column layout for support products */
#support-products .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center;
  gap: 2rem;
}

#support-products .section__head,
#technology .section__head {
  margin-bottom: 60px;
}

#support-products .section__head h2,
#technology .section__head h2 {
  padding-bottom: 8px;
}

#technology .section__head {
  margin-bottom: 80px;
}

#technology .section__head h2 {
  padding-bottom: 12px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.divider-wave {
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, #f8fafc 0%, #fff 100%);
}


.metrics-section {
  text-align: center;
  padding: 40px 20px 40px;
  background: #fafafa;
  margin-top: -10px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: center;
}

#metrics .container {
  min-height: calc(100vh - 180px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
}

.metric {
  font-family: "Inter", sans-serif;
}

.metric .count {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--g3, #4b3cb4);
  display: block;
}

@media (max-width: 768px) {
  .metric .count {
    font-size: 2.25rem;
  }

  #metrics .container {
    gap: 48px;
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.metric .label {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
}

.metric-note {
  margin-top: 20px;
  color: #777;
  font-size: 0.9rem;
}

.footer {
  background: #fff;
  color: #0b1320;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
  border-top: 1px solid #e5e7eb;
  padding-top: 100px;
  padding-bottom: 60px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid layout with better spacing */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 64px;
  margin-bottom: 48px;
}

/* Brand section */
.footer__brand .logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: #0b1320;
}

.footer__brand p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Social icons - SVG styling */
.social {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social a:hover {
  color: #0b1320;
  transform: translateY(-3px) scale(1.1);
}

.social svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Make in India logo */
.madein {
  margin-top: auto;
}

.madein img {
  height: auto;
  /* Reset to auto or remove constraint */
  max-height: 50px;
  /* Sensible max-limit just in case, or leave empty if originally empty */
  width: auto;
  opacity: 0.9;
}

.footer__block h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer__block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__block ul li {
  margin: 6px 0;
}

.footer__block ul a {
  text-decoration: none;
  color: #24324a;
  font-size: 14px;
}

.footer__block ul a:hover {
  text-decoration: underline;
}

.addr p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #444;
}

.map-link {
  color: #0b63f6;
  text-decoration: none;
  font-weight: 500;
}

.map-link:hover {
  text-decoration: underline;
}

/* Contact row horizontal */
.footer__contact {
  margin-top: 32px;
  padding: 16px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.footer__contact a {
  color: #0b1320;
  text-decoration: none;
  font-weight: 500;
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__contact .badge {
  background: #f1f4f9;
  color: #333;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* Bottom bar */
.footer__bar {
  margin-top: 16px;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #f0f0f0;
}

.footer__bar .inline-links a {
  color: #0b63f6;
  margin-left: 14px;
  text-decoration: none;
  font-weight: 500;
}

.footer__bar .inline-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bar {
    flex-direction: column;
    gap: 10px;
  }
}

/* Back-to-top button */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--brand-700);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  filter: brightness(0.98);
}

.to-top:focus-visible {
  outline: 3px solid rgba(175, 46, 237, .35);
  outline-offset: 2px;
}

/* ========================================
   CAREERS PAGE STYLES
   ======================================== */

.job-category {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
}

.job-category.active {
  border-color: #3b82f6;
  /* Indra Blue highlight */
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.category-header {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: #fff;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  transition: background 0.2s;
}

.category-header:hover {
  background: #f9fafb;
}

.category-icon {
  color: #9ca3af;
  transition: transform 0.3s ease;
}

.job-category.active .category-icon {
  transform: rotate(180deg);
  color: #3b82f6;
}

.role-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: #fafafa;
}

/* Job Card */
.job-card {
  padding: 24px;
  border-top: 1px solid #f3f4f6;
}

.job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.job-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px;
}

.job-meta {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.separator {
  color: #d1d5db;
}

.job-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-share {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #4b5563;
  transition: all 0.2s;
}

.btn-share:hover {
  background: #fff;
  border-color: #3b82f6;
  color: #3b82f6;
}

/* Job Description */
.job-toggle_desc {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.job-toggle_desc:hover {
  color: #2563eb;
}

.job-description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
  padding-left: 12px;
  border-left: 2px solid #e5e7eb;
  margin-top: 0;
}

.job-description p {
  margin: 16px 0;
}

.job-description h4 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.job-description ul {
  padding-left: 20px;
  margin: 0;
}

.job-description li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 640px) {
  .job-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-card__actions {
    width: 100%;
    margin-top: 8px;
  }

  .btn-apply {
    flex: 1;
    text-align: center;
  }
}

/* ========================================
   CAREERS PAGE REDESIGN (SITE THEME)
   ======================================== */

.careers-hero {
  padding: 120px 0 80px;
  background: radial-gradient(circle at center, rgba(7, 70, 142, 0.05) 0%, transparent 70%);
}

.hero-badge-wrapper {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.careers-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.careers-title span {
  color: var(--brand);
  /* Brand Blue */
}

.careers-subtitle {
  font-size: 20px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.careers-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 80px;
}

.btn-dark {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  box-shadow: 0 10px 20px rgba(118, 54, 205, 0.25);
}

.btn-dark:hover {
  background: linear-gradient(135deg, var(--g2), var(--g3));
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(118, 54, 205, 0.3);
}

.btn-outline-dark {
  background: #fff;
  color: var(--g2);
  border: 1px solid var(--g2);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-dark:hover {
  background: rgba(118, 54, 205, 0.08);
  color: var(--g2);
}

/* Stats Row */
.careers-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.career-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Positions Section */
.positions-section {
  padding: 100px 0;
}

.section-title-alt {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.section-subtitle-alt {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Navigation */
.filter-wrapper {
  margin: 40px 0 60px;
  display: flex;
  justify-content: center;
}

.filter-tabs {
  display: flex;
  gap: 12px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-tab:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.filter-tab.active {
  background: var(--brand);
  color: #fff;
}

/* Job Group & Cards */
.job-group {
  margin-bottom: 60px;
}

.group-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.group-title .count {
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
}

.job-list {
  display: grid;
  gap: 16px;
}

.job-card-new {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.job-card-new:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.card-main {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.badge-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-engineering {
  background: rgba(7, 70, 142, 0.1);
  color: var(--brand);
}

.tag-product {
  background: rgba(175, 46, 237, 0.1);
  color: var(--accent);
}

.tag-design {
  background: rgba(75, 60, 180, 0.1);
  color: var(--brand-600);
}

.tag-management {
  background: #f1f5f9;
  color: var(--muted);
}

.tag-remote {
  background: #f1f5f9;
  color: var(--muted);
}

.card-title-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.card-job-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
  margin: 0;
}

.card-title-toggle:hover .card-job-title {
  color: var(--brand);
}

.toggle-arrow {
  display: inline-block;
  color: var(--accent);
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.card-title-toggle[aria-expanded="true"] .toggle-arrow {
  transform: rotate(90deg);
}

.toggle-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  transition: color 0.2s;
}

.card-title-toggle:hover .toggle-text {
  color: var(--brand-light);
  text-decoration: underline;
}

.card-title-toggle[aria-expanded="true"] .toggle-text {
  transform: none;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}

.dot {
  width: 4px;
  height: 4px;
  background: var(--line);
  border-radius: 50%;
}

.card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.post-time {
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-share-icon {
  background: none;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-share-icon:hover {
  background: var(--bg-alt);
  color: var(--brand);
  border-color: var(--brand);
}

.btn-brand-cta {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff;
  padding: 10px 18px;
  /* Slightly smaller */
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  font-size: 14px;
  box-shadow: 0 10px 20px rgba(118, 54, 205, 0.25);
}

.btn-brand-cta:hover {
  background: linear-gradient(135deg, var(--g2), var(--g3));
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(118, 54, 205, 0.3);
}

/* Inline Description */
.job-description-inline {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-alt);
  border-top: 0 solid var(--line);
}

.job-description-inline.active {
  max-height: 1000px;
  border-top-width: 1px;
  padding: 32px;
}

.desc-content h5 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.desc-content p {
  margin: 0 0 20px;
  color: var(--muted);
}

.desc-content ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.desc-content li {
  margin-bottom: 8px;
}

/* No Openings Card */
.no-openings-card {
  background: var(--bg-alt);
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.no-openings-card .icon-placeholder {
  color: var(--muted);
  background: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  margin-bottom: 8px;
}

.no-openings-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.no-openings-card p {
  color: var(--muted);
  max-width: 300px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Responsive Redesign */
@media (max-width: 1024px) {
  .careers-title {
    font-size: 48px;
  }

  .careers-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .careers-hero {
    padding: 60px 0 0;
  }

  .careers-cta-group {
    margin-bottom: 30px;
  }

  .positions-section {
    padding: 50px 0;
  }

  .careers-title {
    font-size: 36px;
  }

  .card-main {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .card-job-title {
    font-size: 20px;
  }

  .card-title-toggle {
    align-items: center;
    gap: 8px;
  }

  .card-meta {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .card-right {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-top: 16px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }

  .post-time {
    margin-bottom: 0;
  }

  .card-actions {
    width: auto;
  }

  .btn-brand-cta {
    flex: 1;
    justify-content: center;
  }

  .filter-tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .job-description-inline.active {
    padding: 20px;
  }
}