:root {
  --bg: #edf3f8;
  --bg-deep: #dbe6f1;
  --bg-panel: rgba(248, 252, 255, 0.78);
  --bg-panel-strong: rgba(252, 254, 255, 0.92);
  --line: rgba(92, 114, 138, 0.18);
  --line-strong: rgba(92, 114, 138, 0.34);
  --text: #111c2a;
  --muted: #607386;
  --primary: #224a72;
  --accent: #4ea4e6;
  --accent-soft: rgba(78, 164, 230, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(18, 33, 51, 0.12);
  --shadow-strong: 0 28px 90px rgba(18, 33, 51, 0.18);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: min(1200px, calc(100vw - 40px));
  --header-offset: 84px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  padding-top: var(--header-offset);
  background:
    radial-gradient(circle at top right, rgba(78, 164, 230, 0.14), transparent 24%),
    radial-gradient(circle at bottom left, rgba(34, 74, 114, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(34, 74, 114, 0.05), transparent 34%),
    linear-gradient(180deg, #f5f8fb 0%, #ebf1f6 50%, #e2eaf1 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 79px,
      rgba(78, 164, 230, 0.04) 80px
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 79px,
      rgba(78, 164, 230, 0.03) 80px
    );
  pointer-events: none;
  z-index: -2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.page-shell::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -40px;
  background: rgba(78, 164, 230, 0.18);
}

.page-shell::after {
  width: 420px;
  height: 420px;
  left: -120px;
  bottom: -160px;
  background: rgba(34, 74, 114, 0.12);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(242, 248, 252, 0.82);
  border-bottom: 1px solid rgba(92, 114, 138, 0.12);
  box-shadow: 0 10px 30px rgba(18, 33, 51, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(18, 33, 51, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  font-family: "Poppins", "Noto Sans SC", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(92, 114, 138, 0.14);
  border-radius: 999px;
  background: rgba(248, 252, 255, 0.66);
  box-shadow: 0 8px 24px rgba(18, 33, 51, 0.06);
}

.site-nav a,
.button,
.header-contact,
.header-cta,
.brand {
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: linear-gradient(145deg, #224a72, #4b77a0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(92, 114, 138, 0.16);
  border-radius: 999px;
  color: var(--text);
  background: rgba(248, 252, 255, 0.72);
  box-shadow: 0 8px 24px rgba(18, 33, 51, 0.06);
  white-space: nowrap;
  font-weight: 600;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--white);
  background: linear-gradient(145deg, #224a72, #4b77a0);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(34, 74, 114, 0.22);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.header-cta,
.button-primary {
  color: var(--white);
  background: linear-gradient(145deg, #224a72, #4b77a0);
  box-shadow: 0 16px 40px rgba(34, 74, 114, 0.22);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(34, 74, 114, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(248, 252, 255, 0.7);
  border-color: rgba(92, 114, 138, 0.18);
  backdrop-filter: blur(10px);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.92);
}

.hero,
.page-hero {
  padding: 40px 0 12px;
}

.hero-grid,
.contact-shell,
.split-highlight,
.contact-rail,
.hero-band {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
}

body[data-page="home"] .hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  gap: 30px;
  align-items: stretch;
}

.hero-stage {
  display: grid;
  gap: 18px;
}

body[data-page="home"] .hero {
  padding: 0 0 12px;
}

body[data-page="home"] .hero > .container {
  width: 100%;
  max-width: none;
}

body[data-page="home"] .hero-stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  gap: 0;
}

.hero-copy,
.hero-visual,
.section-shell,
.site-footer {
  animation: fade-slide-up 700ms ease both;
}

.hero-visual {
  animation-delay: 90ms;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Poppins", "Noto Sans SC", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.3rem);
  max-width: 780px;
}

body[data-page="home"] .hero h1 {
  font-size: clamp(1.38rem, 2.4vw, 2rem);
  max-width: 340px;
}

.page-hero h1,
.section-heading h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
}

body[data-page="home"] .section-heading h2 {
  font-size: clamp(1.72rem, 3vw, 2.6rem);
}

.hero-lead,
.section-heading p,
.story-card p,
.info-card p,
.case-card p,
.case-preview-card p,
.timeline-item p,
.site-footer p,
.subtle-note {
  color: var(--muted);
  line-height: 1.78;
}

.hero-lead {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 1.04rem;
}

body[data-page="home"] .hero-lead {
  max-width: 340px;
  font-size: 0.74rem;
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.metric-strip,
.hero-band-grid,
.card-grid,
.case-grid,
.case-detail-grid,
.product-detail-grid,
.case-preview-grid,
.contact-card-grid,
.feature-columns {
  display: grid;
  gap: 18px;
}

.metric-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.metric-strip article,
.hero-band-grid article {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(92, 114, 138, 0.16);
  background: rgba(248, 252, 255, 0.66);
  box-shadow: 0 12px 28px rgba(18, 33, 51, 0.06);
}

.metric-strip strong,
.hero-band-grid strong,
.case-tags span,
.card-index {
  font-family: "Rajdhani", sans-serif;
}

.metric-strip strong,
.hero-band-grid strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

body[data-page="home"] .metric-strip strong {
  font-size: 1.02rem;
}

.metric-strip span,
.hero-band-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

body[data-page="home"] .metric-strip span {
  font-size: 0.72rem;
}

.hero-image-card,
.floating-panel,
.info-card,
.story-card,
.section-shell,
.case-card,
.case-preview-card,
.timeline-item,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-shell,
.hero-image-card,
.floating-panel,
.info-card,
.story-card,
.case-card,
.case-preview-card,
.timeline-item,
.contact-form {
  background: var(--bg-panel);
}

.section-shell {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.hero-image-card {
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  min-height: 520px;
  position: relative;
}

body[data-page="home"] .hero-image-card {
  min-height: calc(100vh - 84px);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.placeholder-media {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed rgba(78, 164, 230, 0.22);
  border-radius: 24px;
  color: var(--primary);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(240, 247, 252, 0.9), rgba(224, 235, 244, 0.82)),
    rgba(248, 252, 255, 0.72);
}

.placeholder-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(78, 164, 230, 0.08);
  pointer-events: none;
}

.placeholder-media span {
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.placeholder-media small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.6;
}

.placeholder-media-hero {
  min-height: 520px;
  border-radius: 34px;
}

body[data-page="home"] .placeholder-media-hero {
  min-height: calc(100vh - 84px);
  border-radius: 0;
}

.hero-slider {
  position: relative;
  isolation: isolate;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 21, 34, 0.56) 0%, rgba(9, 21, 34, 0.22) 34%, rgba(9, 21, 34, 0.48) 100%),
    linear-gradient(120deg, rgba(15, 29, 43, 0.4), rgba(15, 29, 43, 0.02) 55%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.86) contrast(1.03);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(233, 241, 247, 0.18), rgba(78, 164, 230, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(34, 74, 114, 0.12));
  pointer-events: none;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

body[data-page="home"] .hero-visual {
  min-height: calc(100vh - 84px);
}

body[data-page="home"] .hero-copy-overlay {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 2;
  width: min(540px, calc(100% - 120px));
  margin-top: 0;
  padding: 14px 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(10, 22, 34, 0.26);
  box-shadow: 0 18px 40px rgba(10, 21, 34, 0.18);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.96);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: start;
}

body[data-page="home"] .hero-copy-main,
body[data-page="home"] .hero-copy-meta {
  display: grid;
  gap: 6px;
}

body[data-page="home"] .hero-copy-main {
  min-width: 0;
}

body[data-page="home"] .hero-copy-meta {
  align-content: start;
  justify-items: end;
  gap: 8px;
}

body[data-page="home"] .hero-copy-overlay .eyebrow,
body[data-page="home"] .hero-copy-overlay h1,
body[data-page="home"] .hero-copy-overlay .hero-lead,
body[data-page="home"] .hero-copy-overlay .hero-band-note {
  color: rgba(255, 255, 255, 0.96);
}

body[data-page="home"] .hero-copy-overlay .eyebrow {
  margin-bottom: 6px;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(168, 217, 251, 0.96);
}

body[data-page="home"] .hero-copy-main h1 {
  max-width: 320px;
}

body[data-page="home"] .hero-band-note {
  margin: 0;
  color: rgba(207, 227, 242, 0.88);
  max-width: 190px;
  text-align: right;
  font-size: 0.72rem;
  line-height: 1.5;
}

body[data-page="home"] .hero-copy-overlay .hero-actions {
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
}

body[data-page="home"] .hero-copy-overlay .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.78rem;
}

body[data-page="home"] .hero-copy-overlay .metric-strip article {
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

body[data-page="home"] .hero-copy-overlay .metric-strip strong,
body[data-page="home"] .hero-copy-overlay .metric-strip span {
  color: rgba(255, 255, 255, 0.92);
}

body[data-page="home"] .hero-copy-overlay .metric-strip {
  grid-column: 1 / -1;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="home"] .hero-copy-overlay .button-secondary {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

body[data-page="home"] .hero-copy-overlay .button-secondary:hover,
body[data-page="home"] .hero-copy-overlay .button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.floating-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(20, 36, 55, 0.78);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-strong);
}

.panel-kicker {
  display: block;
  margin-bottom: 10px;
  color: rgba(174, 218, 251, 0.96);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.floating-panel strong {
  font-size: 1.06rem;
  line-height: 1.7;
}

body[data-page="home"] .floating-panel strong {
  font-size: 0.98rem;
}

.section {
  padding: 12px 0;
}

.section-heading {
  max-width: 760px;
}

.compact-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-heading p {
  margin: 16px 0 0;
}

body[data-page="home"] .section-heading p,
body[data-page="home"] .feature-list,
body[data-page="home"] .info-card p,
body[data-page="home"] .contact-mini-card span,
body[data-page="home"] .intro-flow p,
body[data-page="home"] .image-strip-line,
body[data-page="home"] .service-inline-body p {
  font-size: 0.95rem;
}

.split-highlight {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

body[data-page="home"] .section-shell-plain {
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  background: transparent;
}

body[data-page="products"] .section-shell-plain,
body[data-page="cases"] .section-shell-plain,
body[data-page="contact"] .section-shell-plain {
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  background: transparent;
}

.intro-flow {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.intro-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.intro-flow strong {
  margin-right: 12px;
  color: var(--heading);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.story-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.feature-list {
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.card-grid-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-inline {
  display: grid;
  gap: 14px;
  padding-top: 10px;
}

.service-inline-head,
.service-inline-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-inline-head {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(146, 174, 201, 0.18);
}

.service-inline-head span {
  color: var(--heading);
  font-size: 1.02rem;
  line-height: 1.45;
}

.service-inline-head em {
  margin-right: 10px;
  color: var(--primary);
  font-style: normal;
  font-family: "Rajdhani", "Noto Sans SC", sans-serif;
  font-size: 1rem;
}

.service-inline-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-detail-grid,
.case-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid-compact,
.contact-card-grid,
.feature-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.case-card,
.case-preview-card,
.contact-form,
.product-detail-card,
.case-detail-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.product-detail-card,
.case-detail-card {
  border: 1px solid rgba(162, 188, 214, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  background: var(--bg-panel);
}

.product-detail-card .placeholder-media,
.case-detail-card .placeholder-media {
  margin-bottom: 20px;
}

.showcase-card {
  padding: 18px;
}

.showcase-media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(223, 234, 243, 0.96), rgba(205, 219, 232, 0.92));
}

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

.showcase-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 18, 29, 0.08) 0%, rgba(8, 18, 29, 0.08) 38%, rgba(8, 18, 29, 0.56) 100%),
    linear-gradient(120deg, rgba(12, 27, 41, 0.24), rgba(12, 27, 41, 0.02) 58%);
  pointer-events: none;
}

.showcase-media-empty::before {
  background:
    linear-gradient(180deg, rgba(224, 235, 244, 0.2), rgba(180, 198, 214, 0.22)),
    linear-gradient(120deg, rgba(78, 164, 230, 0.08), rgba(34, 74, 114, 0.08));
}

.showcase-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--primary);
  text-align: center;
  font-weight: 600;
  z-index: 0;
}

.showcase-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.96);
}

.showcase-overlay h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.18rem;
  line-height: 1.25;
}

.showcase-content {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.showcase-card .card-index {
  margin-bottom: 0;
  color: rgba(168, 217, 251, 0.96);
}

.showcase-card .case-tags {
  margin-bottom: 0;
}

.showcase-card .case-tags span {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
}

.product-detail-card h3,
.case-detail-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.product-detail-card p,
.case-detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.showcase-card .showcase-overlay h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.18rem;
  line-height: 1.25;
}

.showcase-card .showcase-content p {
  color: var(--muted);
}

.showcase-card p {
  font-size: 0.96rem;
}

.immersive-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.immersive-showcase {
  position: relative;
}

.immersive-media-card {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 100px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: #dce7f0;
}

.immersive-slider {
  position: absolute;
  inset: 0;
}

.immersive-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.immersive-slide.is-active {
  opacity: 1;
}

.immersive-slide-link {
  display: block;
  width: 100%;
  height: 100%;
}

.immersive-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) brightness(0.9) contrast(1.02);
}

.immersive-media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 18, 29, 0.16) 0%, rgba(8, 18, 29, 0.04) 28%, rgba(8, 18, 29, 0.48) 100%),
    linear-gradient(110deg, rgba(12, 27, 41, 0.34), rgba(12, 27, 41, 0.03) 55%);
  pointer-events: none;
}

body[data-page="products"] .immersive-media-card::before,
body[data-page="cases"] .immersive-media-card::before {
  background:
    linear-gradient(180deg, rgba(8, 18, 29, 0.08) 0%, rgba(8, 18, 29, 0.04) 34%, rgba(8, 18, 29, 0.56) 100%),
    linear-gradient(110deg, rgba(12, 27, 41, 0.22), rgba(12, 27, 41, 0.02) 58%);
}

.immersive-media-empty::before {
  background:
    linear-gradient(180deg, rgba(224, 235, 244, 0.18), rgba(181, 198, 214, 0.24)),
    linear-gradient(110deg, rgba(78, 164, 230, 0.1), rgba(34, 74, 114, 0.08));
}

.immersive-empty {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--primary);
  text-align: center;
  font-weight: 600;
}

.immersive-copy {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 2;
  width: min(560px, calc(100% - 130px));
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(10, 22, 34, 0.24);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(10, 21, 34, 0.18);
  color: rgba(255, 255, 255, 0.96);
}

body[data-page="products"] .immersive-copy,
body[data-page="cases"] .immersive-copy {
  width: min(560px, calc(100% - 96px));
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.immersive-copy .eyebrow,
.immersive-copy h3,
.immersive-copy p,
.immersive-copy .detail-list strong,
.immersive-copy .detail-list span {
  color: rgba(255, 255, 255, 0.96);
}

.immersive-copy .eyebrow {
  margin-bottom: 0;
  font-size: 0.64rem;
  color: rgba(168, 217, 251, 0.96);
}

.immersive-copy h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  line-height: 1.14;
}

.immersive-copy p {
  margin: 0;
  max-width: 520px;
  font-size: 0.9rem;
  line-height: 1.72;
}

.immersive-copy .detail-list {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

body[data-page="products"] .immersive-copy .detail-list,
body[data-page="cases"] .immersive-copy .detail-list {
  border-top-color: rgba(255, 255, 255, 0.24);
}

.contact-hero {
  padding-top: 24px;
}

.contact-hero-stage {
  width: 100%;
}

.contact-hero-media {
  min-height: calc(100vh - 100px);
}

.contact-hero-copy {
  width: min(620px, calc(100% - 108px));
}

.contact-hero-copy h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(1.82rem, 3.4vw, 3.2rem);
  line-height: 1.04;
}

.contact-hero-copy p {
  max-width: 560px;
}

.contact-quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.contact-quick-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.96);
}

.contact-shell-plain {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.contact-stack-plain {
  gap: 18px;
}

.contact-flow {
  display: grid;
  gap: 14px;
}

.contact-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.contact-flow strong {
  display: inline-block;
  min-width: 88px;
  margin-right: 12px;
  color: var(--heading);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.contact-flow a {
  color: var(--primary);
}

.contact-panel-static {
  display: grid;
  gap: 18px;
}

.contact-panel-visual {
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
}

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

.contact-panel-copy {
  display: grid;
  gap: 10px;
}

.contact-panel-copy h3 {
  margin: 0;
  font-size: 1.26rem;
}

.contact-panel-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.immersive-copy .detail-list strong {
  font-size: 0.84rem;
}

.immersive-copy .detail-list span {
  font-size: 0.84rem;
  color: rgba(219, 231, 240, 0.9);
}

.immersive-copy .case-tags {
  margin-bottom: 2px;
}

.immersive-copy .case-tags span {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
}

.immersive-controls {
  position: absolute;
  right: 28px;
  top: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(92, 114, 138, 0.14);
}

.detail-list strong {
  color: var(--primary);
}

.detail-list span {
  color: var(--muted);
  line-height: 1.75;
}

.featured-card {
  background:
    linear-gradient(145deg, rgba(26, 45, 67, 0.96), rgba(71, 110, 146, 0.9)),
    var(--bg-panel);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(34, 74, 114, 0.16);
}

.featured-card p,
.featured-card li,
.featured-card .detail-list span {
  color: rgba(231, 238, 243, 0.8);
}

.accent-card {
  background:
    linear-gradient(180deg, rgba(231, 239, 246, 0.92), rgba(247, 251, 255, 0.88)),
    var(--bg-panel);
}

.card-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.26rem;
  letter-spacing: 0.08em;
}

.info-card h3,
.case-card h3,
.case-preview-card h3,
.timeline-item h3,
.feature-columns h3 {
  margin: 0 0 12px;
  font-size: 1.26rem;
}

body[data-page="home"] .info-card h3 {
  font-size: 1.14rem;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="home"] .hero-slider-controls {
  position: absolute;
  right: 28px;
  top: 28px;
  z-index: 3;
  width: auto;
  min-width: 172px;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.hero-slider-dot,
.hero-slider-arrow {
  border: 1px solid rgba(92, 114, 138, 0.18);
  background: rgba(248, 252, 255, 0.76);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(18, 33, 51, 0.08);
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
}

.hero-slider-dot.is-active {
  width: 34px;
  background: linear-gradient(145deg, #224a72, #4b77a0);
  border-color: transparent;
}

.hero-slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.hero-slider-dot:hover,
.hero-slider-dot:focus-visible,
.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.94);
}

.dark-shell {
  background:
    linear-gradient(145deg, rgba(218, 228, 238, 0.96), rgba(233, 241, 247, 0.94)),
    var(--bg-deep);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 70px rgba(18, 33, 51, 0.08);
}

.light-heading h1,
.light-heading h2,
.dark-shell .case-preview-card h3 {
  color: var(--text);
}

.light-heading p,
.dark-shell .case-preview-card p,
.dark-shell .case-tags span {
  color: var(--muted);
}

.case-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-preview-card {
  background: rgba(248, 252, 255, 0.66);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.case-tags span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(78, 164, 230, 0.1);
  color: var(--primary);
  font-size: 0.95rem;
}

.case-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.case-card {
  grid-column: span 4;
}

.case-card-wide {
  grid-column: span 6;
}

.section-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.contact-rail {
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
}

.image-strip {
  display: grid;
  gap: 12px;
}

.image-strip strong {
  font-size: 0.94rem;
  color: var(--heading);
}

.image-strip-line {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-mini-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(92, 114, 138, 0.16);
  background: rgba(248, 252, 255, 0.68);
}

.contact-mini-card strong {
  width: 100%;
  margin-bottom: 2px;
}

.contact-mini-card span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(78, 164, 230, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-band {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
}

.contact-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 22px;
}

.contact-form {
  display: grid;
  gap: 10px;
  background: var(--bg-panel-strong);
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8194a6;
}

.button-submit {
  width: 100%;
  margin-top: 8px;
}

.form-feedback {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--primary);
}

.process-shell {
  display: grid;
  gap: 26px;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, #224a72, #4b77a0);
  color: var(--white);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer {
  padding: 18px 0 30px;
}

.footer-inner {
  padding-top: 22px;
  border-top: 1px solid rgba(92, 114, 138, 0.14);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.contact-form input:focus,
.contact-form textarea:focus,
.button:focus-visible,
.site-nav a:focus-visible,
.header-cta:focus-visible,
.brand:focus-visible {
  outline: none;
  border-color: rgba(78, 164, 230, 0.76);
  box-shadow: 0 0 0 4px rgba(78, 164, 230, 0.14);
}

.subtle-note {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
}

@keyframes fade-slide-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    flex: 1 1 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-grid,
  .hero-band,
  .split-highlight,
  .contact-shell,
  .section-compact {
    grid-template-columns: 1fr;
  }

  .card-grid-products,
  .product-detail-grid,
  .case-detail-grid,
  .card-grid-compact,
  .contact-card-grid,
  .case-preview-grid,
  .feature-columns,
  .service-inline-head,
  .service-inline-body {
    grid-template-columns: 1fr 1fr;
  }

  .case-card,
  .case-card-wide {
    grid-column: span 6;
  }

  .hero-visual,
  .hero-image-card {
    min-height: 460px;
  }

  .immersive-media-card {
    min-height: 82vh;
  }

  .contact-hero-media {
    min-height: calc(100vh - 92px);
  }

  .showcase-media {
    min-height: 260px;
  }

  body[data-page="home"] .hero-visual,
  body[data-page="home"] .hero-image-card,
  body[data-page="home"] .placeholder-media-hero {
    min-height: calc(100vh - 84px);
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100vw - 24px, 100%);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --header-offset: 232px;
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
  }

  .header-inner {
    flex-direction: row;
    padding: 16px 0;
    gap: 14px;
  }

  .brand {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
  }

  .site-nav {
    width: 100%;
    overflow: visible;
    gap: 8px;
    padding: 6px;
    border-radius: 24px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .header-contact,
  .header-cta {
    width: auto;
    min-height: 46px;
    padding: 0 16px;
  }

  .header-contact {
    margin-left: auto;
  }

  .hero,
  .page-hero {
    padding-top: 24px;
  }

  .hero h1 {
    line-height: 1.02;
  }

  body[data-page="home"] .hero h1 {
    font-size: clamp(1.46rem, 6vw, 2rem);
  }

  .section-shell,
  .info-card,
  .case-card,
  .case-preview-card,
  .story-card,
  .contact-form {
    padding: 22px;
  }

  .metric-strip,
  .hero-band-grid,
  .card-grid-products,
  .product-detail-grid,
  .case-detail-grid,
  .card-grid-compact,
  .contact-card-grid,
  .case-preview-grid,
  .feature-columns,
  .service-inline-head,
  .service-inline-body {
    grid-template-columns: 1fr;
  }

  .intro-flow strong {
    display: inline-block;
    min-width: 52px;
  }


  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card,
  .case-card-wide {
    grid-column: auto;
  }

  .contact-rail {
    grid-template-columns: 1fr;
  }

  .contact-mini-card {
    width: 100%;
  }

  .contact-rail .button {
    width: 100%;
  }

  .metric-strip article,
  .hero-band-grid article {
    padding: 18px;
  }

  .hero-visual,
  .hero-image-card {
    min-height: 360px;
  }

  .immersive-media-card {
    min-height: max(72vh, 520px);
  }

  .contact-hero-copy {
    width: auto;
  }

  .contact-hero-copy h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .contact-flow strong {
    min-width: 72px;
  }

  .contact-panel-visual {
    min-height: 260px;
    border-radius: 22px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .immersive-copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 14px 16px;
    gap: 8px;
  }

  body[data-page="products"] .immersive-copy,
  body[data-page="cases"] .immersive-copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: min(560px, calc(100% - 32px));
  }

  .immersive-copy h3 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .immersive-copy p,
  .immersive-copy .detail-list span,
  .immersive-copy .case-tags span {
    font-size: 0.8rem;
  }

  .immersive-controls {
    right: 16px;
    top: 16px;
    min-width: 150px;
    gap: 10px;
  }

  .showcase-card {
    padding: 14px;
  }

  .showcase-media {
    min-height: 230px;
    border-radius: 20px;
  }

  .showcase-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .showcase-content {
    margin-top: 14px;
    gap: 14px;
  }

  .placeholder-media-hero {
    min-height: 360px;
    border-radius: 28px;
  }

  body[data-page="home"] .hero-visual,
  body[data-page="home"] .hero-image-card,
  body[data-page="home"] .placeholder-media-hero {
    min-height: calc(100vh - 84px);
  }

  body[data-page="home"] .hero-copy-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 12px 14px 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="home"] .hero-copy-meta {
    justify-items: start;
  }

  body[data-page="home"] .hero-band-note {
    max-width: none;
    text-align: left;
  }

  body[data-page="home"] .hero-copy-overlay .metric-strip {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-copy-overlay .button {
    min-height: 32px;
    font-size: 0.76rem;
  }

  .hero-slider-controls {
    gap: 10px;
  }

  .hero-slider-arrow {
    width: 42px;
    height: 42px;
  }

  body[data-page="home"] .hero-slider-controls {
    right: 16px;
    top: 16px;
    min-width: 150px;
  }

  .floating-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .timeline-item {
    grid-template-columns: 54px 1fr;
  }

  .timeline-item span {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  :root {
    --header-offset: 252px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
