:root {
  --navy: #1e294d;
  --blue: #213979;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --card: rgba(255, 255, 255, 0.7);
  --border: rgba(30, 41, 77, 0.08);
  --muted: rgba(30, 41, 77, 0.82);
  --shadow: 0 12px 40px rgba(30, 41, 77, 0.06);
  --shadow-hover: 0 24px 60px rgba(30, 41, 77, 0.12);
  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'Barlow', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Scroll progress */
.scroll-progress {
  background: rgba(30, 41, 77, 0.06);
  height: 3px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 30;
}

.scroll-progress-bar {
  background: linear-gradient(90deg, var(--blue), #4a6fd4);
  display: block;
  height: 100%;
  transform-origin: left center;
  transition: width 0.08s linear;
  width: 0;
}

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

img,
svg {
  max-width: 100%;
}

.site-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 5vw, 64px);
  pointer-events: none;
  position: fixed;
  right: 0;
  top: 3px;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  z-index: 20;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(30, 41, 77, 0.06);
  padding-bottom: 12px;
  padding-top: 12px;
}

.site-nav.is-scrolled .menu-panel {
  box-shadow: 0 12px 40px rgba(30, 41, 77, 0.1);
}

.brand,
.menu-toggle,
.menu-panel {
  pointer-events: auto;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-height: 54px;
}

.brand-logo {
  height: clamp(44px, 7vw, 64px);
  width: auto;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.brand-text,
.footer-brand {
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(25px, 4vw, 34px);
  font-style: italic;
  letter-spacing: -0.03em;
}

.menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(30, 41, 77, 0.08);
  color: var(--navy);
  cursor: pointer;
  display: none;
  font: 600 15px var(--font-body);
  gap: 10px;
  padding: 12px 18px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  background: var(--navy);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 18px;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  left: 0;
  position: absolute;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.menu-panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: 0 16px 50px rgba(30, 41, 77, 0.08);
  display: flex;
  gap: 4px;
  padding: 8px;
}

.nav-link {
  border-radius: 999px;
  color: rgba(30, 41, 77, 0.72);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 15px;
  transition: 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(33, 57, 121, 0.08);
  color: var(--navy);
}

.nav-group {
  position: relative;
}

.sub-menu {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  min-width: 270px;
  opacity: 0;
  padding: 14px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  transform: translateY(-6px);
  transition: 180ms ease;
}

.nav-group:hover .sub-menu,
.nav-group:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sub-menu a {
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
}

.sub-menu a:hover {
  background: rgba(33, 57, 121, 0.07);
  color: var(--blue);
}

.hero,
.page-hero {
  overflow: hidden;
  padding: 170px clamp(20px, 6vw, 96px) 96px;
  position: relative;
  text-align: center;
}

.page-hero {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  padding-bottom: 80px;
}

.page-hero.page-hero-typo {
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(33, 57, 121, 0.09), transparent 70%),
    linear-gradient(165deg, #f8faff 0%, var(--soft) 42%, #fff 100%);
  min-height: 0;
  padding: clamp(128px, 14vw, 172px) clamp(20px, 6vw, 96px) clamp(56px, 7vw, 88px);
  text-align: center;
}

.page-hero-typo .ambient-bg {
  opacity: 0.75;
}

.page-hero-typo .lines-bg {
  opacity: 0.4;
}

.page-hero-kicker {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.page-hero-line {
  background: linear-gradient(90deg, transparent, rgba(33, 57, 121, 0.45), transparent);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: min(128px, 32vw);
}

.page-hero-badge {
  letter-spacing: 0.1em;
}

.page-hero-title {
  background: linear-gradient(128deg, var(--navy) 0%, #2a4488 52%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(40px, 6.8vw, 86px);
  letter-spacing: -0.042em;
  line-height: 0.98;
  margin: 0 auto;
  max-width: min(920px, 94vw);
  text-shadow: none;
}

@supports not (background-clip: text) {
  .page-hero-title {
    background: none;
    color: var(--navy);
  }
}

.page-hero-lead {
  margin-top: clamp(20px, 3vw, 28px);
  max-width: min(680px, 92vw);
}

.page-hero-actions {
  justify-content: center;
  margin-top: clamp(28px, 4vw, 36px);
}

.page-hero-typo + .section {
  padding-top: clamp(72px, 8vw, 96px);
}

.page-hero .page-hero-inner,
.hero .hero-inner {
  animation: heroFadeIn 1s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ambient background orbs */
.ambient-bg {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.ambient-orb {
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  position: absolute;
}

.ambient-orb-1 {
  animation: floatOrb1 18s ease-in-out infinite;
  background: rgba(33, 57, 121, 0.18);
  height: 420px;
  left: -8%;
  top: -10%;
  width: 420px;
}

.ambient-orb-2 {
  animation: floatOrb2 22s ease-in-out infinite;
  background: rgba(74, 111, 212, 0.14);
  height: 360px;
  right: -5%;
  top: 20%;
  width: 360px;
}

.ambient-orb-3 {
  animation: floatOrb3 20s ease-in-out infinite;
  background: rgba(30, 41, 77, 0.1);
  bottom: -15%;
  height: 300px;
  left: 35%;
  width: 300px;
}

.ambient-bg--hero .ambient-orb-1 {
  opacity: 0.35;
}

.ambient-bg--hero .ambient-orb-2 {
  opacity: 0.28;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 25px) scale(1.05); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

/* Vertical lines background animation */
.lines-bg {
  inset: 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  opacity: 0.85;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.lines-bg-inner {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-evenly;
  padding: 8% 4%;
}

.lines-bar {
  animation: lineFade var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(33, 57, 121, 0.08) 15%,
    rgba(33, 57, 121, 0.22) 50%,
    rgba(33, 57, 121, 0.08) 85%,
    transparent 100%
  );
  border-radius: 999px;
  flex-shrink: 0;
  height: var(--h, 40%);
  max-height: 78%;
  min-height: 18%;
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: center center;
  width: 2px;
}

.lines-bg--light .lines-bar {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 15%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.06) 85%,
    transparent 100%
  );
}

.lines-bg--subtle .lines-bar {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(33, 57, 121, 0.05) 20%,
    rgba(33, 57, 121, 0.14) 50%,
    rgba(33, 57, 121, 0.05) 80%,
    transparent 100%
  );
}

.lines-bg--subtle {
  opacity: 0.65;
}

.section-video.has-lines .lines-bg {
  z-index: 1;
}

.section-video.has-lines .stats-overlay,
.section-video.has-lines .cta-overlay {
  z-index: 2;
}

@keyframes lineFade {
  0%, 100% {
    opacity: 0;
    transform: scaleY(0.35);
  }
  35%, 65% {
    opacity: var(--peak, 0.5);
    transform: scaleY(1);
  }
}

.section-video.has-lines .lines-bg {
  z-index: 1;
}

.section-video.has-lines .stats-overlay,
.section-video.has-lines .cta-overlay {
  z-index: 2;
}

.hero {
  background: var(--soft);
  min-height: 780px;
}

.hero.hero-with-video {
  background: #0f1629;
  color: #fff;
  box-sizing: border-box;
  height: 750px;
  max-height: 750px;
  min-height: 750px;
  overflow: hidden;
  padding-bottom: 100px;
  padding-top: 190px;
}

.hero-with-video + .section {
  padding-top: 72px;
}

.hero.hero-with-video .hero-video video {
  height: 100%;
  left: 0;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  top: 0;
  transform: none;
  width: 100%;
}

.hero-with-video .hero-inner h1 {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero-with-video .hero-inner .lead {
  color: rgba(255, 255, 255, 0.94);
}

.hero-with-video .hero-inner .badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  color: #fff;
}

.hero-with-video .hero-actions .button.primary {
  background: #fff;
  color: var(--navy);
}

.hero-with-video .hero-actions .button.primary:hover {
  background: #f0f4fb;
}

.hero-with-video .hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-with-video .hero-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.video-bg {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.video-bg video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.video-bg-overlay {
  background: transparent;
  inset: 0;
  position: absolute;
}

.section-video {
  color: #fff;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.stats-video-section .video-bg-overlay,
.cta-video-section .video-bg-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.stats-overlay,
.cta-overlay {
  position: relative;
  z-index: 1;
}

.stat-card-dark {
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-card-dark strong,
.stat-card-dark span {
  color: #fff;
}

.text-light,
.text-light h2 {
  color: #fff;
}

.badge-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.button.primary-light {
  background: #fff;
  color: var(--navy);
}

.button.primary-light:hover {
  background: #f0f4fb;
}

.button.secondary-light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.button.secondary-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.cta-video-section {
  min-height: 520px;
  padding-bottom: 120px;
  padding-top: 120px;
}

.cta-video-section .video-bg-overlay {
  background: rgba(0, 0, 0, 0.55);
}

.separator-video-section {
  min-height: 340px;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.separator-video-section .video-bg-overlay {
  background: rgba(30, 41, 77, 0.5);
}

.hero::after,
.page-hero::after {
  display: none;
}

.section {
  padding: 96px clamp(20px, 6vw, 96px);
  position: relative;
}

.section.soft {
  background: var(--soft);
}

.section.has-ambient {
  overflow: hidden;
}

.section.has-lines {
  overflow: hidden;
}

.section.has-lines > .container,
.section.has-lines > .container.narrow,
.section.has-lines > .container.page-with-jump-nav {
  position: relative;
  z-index: 1;
}

.section-divider {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 0 auto 48px;
  max-width: 200px;
}

.section-divider::before,
.section-divider::after {
  background: linear-gradient(90deg, transparent, rgba(33, 57, 121, 0.2), transparent);
  content: '';
  flex: 1;
  height: 1px;
}

.section-divider span {
  background: rgba(33, 57, 121, 0.1);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

.hero-inner,
.page-hero-inner {
  margin: 0 auto;
  max-width: 1040px;
  position: relative;
  z-index: 1;
}

.badge {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(30, 41, 77, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  color: var(--navy);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  padding: 8px 18px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 92px);
  text-shadow: 0 0 40px rgba(255,255,255,0.8);
}

h2 {
  font-size: clamp(38px, 6vw, 72px);
}

h3 {
  font-size: clamp(25px, 3vw, 34px);
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  margin: 28px auto 0;
  max-width: 790px;
}

.lead.text-light,
.cta-overlay .lead {
  color: rgba(255, 255, 255, 0.94);
}

.note {
  color: rgba(30, 41, 77, 0.72);
  margin: 18px auto 0;
  max-width: 720px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.button,
button.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font: 600 16px var(--font-body);
  justify-content: center;
  padding: 15px 28px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.button:hover,
button.button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(30, 41, 77, 0.15);
}

.button:active,
button.button:active {
  transform: translateY(0) scale(0.98);
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.primary:hover {
  background: var(--navy);
}

.button.secondary {
  background: rgba(33, 57, 121, 0.07);
  border: 1px solid var(--border);
  color: var(--navy);
}

.tagline {
  color: rgba(30, 41, 77, 0.76);
  font-family: var(--font-heading);
  font-size: clamp(25px, 4vw, 34px);
  font-style: italic;
  margin-top: 46px;
}

.section-header {
  margin: 0 auto 54px;
  max-width: 900px;
  text-align: center;
}

.section-header .badge {
  margin-bottom: 18px;
}

.section-header h2 {
  margin-top: 0;
}

.section-header p {
  color: var(--muted);
  font-size: 19px;
  margin: 24px auto 0;
  max-width: 760px;
}

.example-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.example-card .tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.practice-projects-grid {
  gap: clamp(24px, 4vw, 36px);
  margin-bottom: 8px;
}

.practice-project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
  transition: box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.practice-project-card:hover {
  box-shadow: var(--shadow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transform: translateY(-6px);
}

.practice-project-media {
  appearance: none;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, rgba(33, 57, 121, 0.06), rgba(67, 104, 189, 0.14));
  border: 0;
  cursor: pointer;
  display: block;
  font: inherit;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.practice-project-media::after {
  background: linear-gradient(180deg, transparent 55%, rgba(30, 41, 77, 0.08) 100%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.practice-project-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.practice-project-card:hover .practice-project-media img {
  transform: scale(1.04);
}

.practice-project-media.is-illustration img {
  object-fit: contain;
  padding: clamp(16px, 4vw, 28px);
}

.practice-project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
}

.practice-project-tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.practice-project-body h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  margin: 0;
}

.practice-project-link {
  margin-top: auto;
  padding-top: 8px;
}

.practice-project-link .button {
  margin: 0;
}

.solution-card h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 8px;
}

.solution-card .solution-subtitle {
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 18px;
  margin: 22px 0 10px;
}

.solution-summary {
  border-top: 1px solid var(--border);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  margin-top: 20px;
  padding-top: 18px;
}

/* Lösungen — versetzte Blöcke */
.solutions-section {
  overflow: hidden;
  padding-bottom: 120px;
  padding-top: 80px;
}

.solutions-stagger-wrap {
  max-width: 980px;
}

.solutions-page-switch {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  margin: 0 auto 40px;
  max-width: 760px;
}

/* Lösungen — interaktives Carousel */
.solutions-carousel-section {
  padding-top: 72px;
  position: relative;
}

.solutions-carousel-wrap {
  max-width: 1180px;
}

.solutions-explorer-toolbar {
  margin-bottom: 32px;
}

.solutions-search input {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  font: inherit;
  margin-bottom: 18px;
  padding: 14px 22px;
  width: 100%;
}

.solutions-search input:focus {
  border-color: rgba(33, 57, 121, 0.28);
  outline: 2px solid rgba(33, 57, 121, 0.12);
  outline-offset: 2px;
}

.solutions-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.solutions-filter-chips .pill {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.solutions-filter-chips .pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.solutions-explorer-count {
  margin: 16px 0 0;
}

.solutions-carousel-controls {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 8px;
}

.solutions-carousel-counter {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  min-width: 72px;
  text-align: center;
}

.solutions-carousel-arrow {
  min-width: 52px;
  padding-inline: 18px;
}

.solutions-carousel-hint {
  margin: 0 0 18px;
  text-align: center;
}

.solutions-carousel-viewport {
  cursor: grab;
  margin: 0 -20px;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px 20px 32px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.solutions-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.solutions-carousel-viewport:active {
  cursor: grabbing;
}

.solutions-carousel.has-expanded .solutions-carousel-viewport {
  overflow-x: hidden;
}

.solutions-carousel-track {
  align-items: stretch;
  display: flex;
  gap: 20px;
}

.solutions-carousel-track[hidden] {
  display: none;
}

.solution-carousel-card {
  display: flex;
  flex: 0 0 min(300px, 78vw);
  flex-direction: column;
  max-width: min(300px, 78vw);
  padding: 0;
  scroll-snap-align: center;
  transition: flex-basis 0.4s cubic-bezier(0.25, 1, 0.5, 1), max-width 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.solution-carousel-card[hidden] {
  display: none;
}

.solution-carousel-card.is-expanded {
  flex-basis: min(720px, 92vw);
  max-width: min(720px, 92vw);
  position: relative;
  transform: scale(1.02);
  z-index: 21;
}

.solutions-carousel.has-expanded .solution-carousel-card:not(.is-expanded) {
  opacity: 0.45;
  transform: scale(0.96);
}

.solution-carousel-preview {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  flex: 1;
  flex-direction: column;
  font: inherit;
  padding: 22px;
  text-align: left;
  width: 100%;
}

.solution-carousel-card.is-expanded .solution-carousel-preview {
  display: none;
}

.solution-carousel-media {
  margin-bottom: 18px;
  position: relative;
}

.solution-carousel-media img {
  border-radius: 18px;
  display: block;
  height: 160px;
  object-fit: cover;
  width: 100%;
}

.solution-carousel-number {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  left: 12px;
  padding: 6px 12px;
  position: absolute;
  top: 12px;
}

.solution-carousel-summary h3 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 8px 0 10px;
}

.solution-carousel-open-label {
  color: var(--blue);
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.solution-carousel-expanded {
  animation: explorerFadeIn 0.32s ease;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 4vw, 32px);
}

.solution-carousel-expanded[hidden] {
  display: none;
}

.solution-carousel-expanded-header {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
}

.solution-carousel-expanded-image {
  border-radius: 18px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.solution-detail-number {
  color: var(--blue);
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: italic;
  margin-bottom: 6px;
}

.solution-carousel-expanded-header h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 6px;
}

.solution-step-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.solution-step-tab {
  background: rgba(33, 57, 121, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  font: 600 14px var(--font-body);
  padding: 11px 18px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.solution-step-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.solution-step-panel {
  animation: explorerFadeIn 0.28s ease;
}

.solution-step-panel[hidden] {
  display: none;
}

.solution-carousel-expanded-actions {
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  padding-top: 20px;
}

.solutions-carousel-section.has-expanded {
  position: relative;
  z-index: 20;
}

.solutions-carousel-backdrop {
  background: rgba(15, 22, 41, 0.42);
  inset: 0;
  position: fixed;
  z-index: 18;
}

.solutions-carousel-backdrop[hidden] {
  display: none;
}

body.carousel-expanded-open {
  overflow: hidden;
}

.solution-detail-empty {
  margin-top: 24px;
  padding: 40px 28px;
  text-align: center;
}

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@keyframes explorerFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.solutions-stagger {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

.solution-stagger-block {
  align-items: center;
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  box-shadow: var(--shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  max-width: 640px;
  padding: clamp(18px, 3vw, 24px);
  scroll-margin-top: 120px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.modal-card {
  cursor: pointer;
  outline: none;
}

.modal-card:focus-visible {
  box-shadow: var(--shadow-hover), 0 0 0 3px rgba(33, 57, 121, 0.25);
}

.solution-stagger-block.modal-card:hover {
  box-shadow: var(--shadow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.solution-card-hint {
  display: inline-flex;
  margin-top: 14px;
  pointer-events: none;
}

.solution-stagger-block:hover {
  box-shadow: var(--shadow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.solution-stagger-block:nth-child(odd) {
  margin-right: auto;
}

.solution-stagger-block:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  margin-left: auto;
}

.solution-stagger-block.fade-up:nth-child(odd) {
  transform: translateY(30px) translateX(clamp(0px, 4vw, 48px));
}

.solution-stagger-block.fade-up:nth-child(even) {
  transform: translateY(30px) translateX(clamp(-48px, -4vw, 0px));
}

.solution-stagger-block.fade-up.visible:nth-child(odd) {
  transform: translateY(0) translateX(clamp(0px, 4vw, 48px));
}

.solution-stagger-block.fade-up.visible:nth-child(even) {
  transform: translateY(0) translateX(clamp(-48px, -4vw, 0px));
}

.solution-stagger-block:nth-child(even) .solution-stagger-media {
  order: 2;
}

.solution-stagger-block:nth-child(even) .solution-stagger-content {
  order: 1;
  text-align: right;
}

.solution-stagger-media {
  position: relative;
}

.solution-stagger-media img {
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.solution-stagger-number {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 999px;
  bottom: -10px;
  box-shadow: 0 8px 24px rgba(30, 41, 77, 0.2);
  color: #fff;
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: 15px;
  font-style: italic;
  height: 36px;
  justify-content: center;
  left: -8px;
  position: absolute;
  width: 36px;
}

.solution-stagger-block:nth-child(even) .solution-stagger-number {
  left: auto;
  right: -8px;
}

.solution-stagger-content h2 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
  margin-top: 8px;
}

.solution-stagger-content .eyebrow {
  margin-bottom: 0;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
}

.narrow {
  max-width: 860px;
}

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

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

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

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

.card,
.glass {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: var(--shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover,
.glass:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.card.strong {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-hover);
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  color: var(--blue);
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 58px);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.list,
.check-list {
  display: grid;
  gap: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li,
.check-list li {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  color: rgba(30, 41, 77, 0.78);
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.list li:hover,
.check-list li:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(4px);
}

.list li::before,
.check-list li::before {
  color: var(--blue);
  content: '→';
  font-weight: 700;
}

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

.pill {
  background: rgba(33, 57, 121, 0.07);
  border-radius: 999px;
  color: rgba(30, 41, 77, 0.8);
  display: inline-flex;
  font-weight: 600;
  padding: 10px 16px;
}

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

.number {
  color: rgba(33, 57, 121, 0.32);
  display: block;
  font-family: var(--font-heading);
  font-size: 56px;
  font-style: italic;
  line-height: 1;
  margin-bottom: 14px;
}

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

.split {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-form {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
  text-align: left;
}

.field label {
  color: rgba(30, 41, 77, 0.72);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 77, 0.1);
  border-radius: 18px;
  color: var(--navy);
  font: 500 16px var(--font-body);
  padding: 16px 18px;
  width: 100%;
  transition: all 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(33, 57, 121, 0.1);
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  border-radius: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 15px 18px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Process timeline */
.process-timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.process-step {
  display: grid;
  gap: 20px;
  grid-template-columns: 72px minmax(0, 1fr);
  padding-bottom: 32px;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step::before {
  background: linear-gradient(180deg, var(--blue), rgba(33, 57, 121, 0.15));
  bottom: 0;
  content: '';
  left: 35px;
  position: absolute;
  top: 72px;
  width: 2px;
}

.process-step:last-child::before {
  display: none;
}

.process-step-marker {
  align-items: center;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: italic;
  height: 72px;
  justify-content: center;
  position: relative;
  width: 72px;
  z-index: 1;
}

.process-step-body {
  padding-top: 8px;
}

.process-step-body h3 {
  margin-bottom: 8px;
}

/* Jump navigation (sticky) */
.page-with-jump-nav {
  display: grid;
  gap: 40px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.jump-nav {
  position: sticky;
  top: 120px;
}

.jump-nav-inner {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  padding: 14px;
}

.jump-nav-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 10px 10px;
  text-transform: uppercase;
}

.jump-nav a {
  border-radius: 14px;
  color: rgba(30, 41, 77, 0.72);
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  padding: 10px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.jump-nav a:hover,
.jump-nav a.active {
  background: rgba(33, 57, 121, 0.08);
  color: var(--blue);
}

/* Accordion cards */
.accordion-item {
  border-left: 3px solid transparent;
  transition: border-color 0.3s ease;
}

.accordion-item.is-open {
  border-left-color: var(--blue);
}

.accordion-trigger {
  align-items: center;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  gap: 16px;
  padding: 0;
  text-align: left;
  width: 100%;
}

.accordion-trigger h2 {
  flex: 1;
  font-size: clamp(24px, 3vw, 36px);
}

.accordion-icon {
  align-items: center;
  background: rgba(33, 57, 121, 0.08);
  border-radius: 50%;
  color: var(--blue);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 22px;
  height: 40px;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  width: 40px;
}

.accordion-item.is-open .accordion-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.accordion-body {
  display: grid;
  gap: 20px;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1), margin 0.4s ease;
}

.accordion-item.is-open .accordion-body {
  grid-template-rows: 1fr;
  margin-top: 24px;
}

.accordion-body-inner {
  min-height: 0;
  overflow: hidden;
}

/* Service detail blocks */
.service-detail-block {
  scroll-margin-top: 120px;
}

.service-detail-block .card {
  border-left: 4px solid var(--blue);
}

.service-items-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.service-items-grid li {
  background: rgba(33, 57, 121, 0.05);
  border-radius: 14px;
  color: rgba(30, 41, 77, 0.82);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-items-grid li:hover {
  background: rgba(33, 57, 121, 0.1);
  transform: translateX(3px);
}

.service-items-grid li::before {
  color: var(--blue);
  content: '✓';
  font-weight: 700;
  margin-right: 8px;
}

/* Interactive service cards */
.service-cards-grid {
  align-items: stretch;
}

.service-card-interactive {
  border-left: 4px solid var(--blue);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  outline: none;
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.25s ease;
}

.service-card-interactive:hover,
.service-card-interactive:focus-visible {
  border-left-color: var(--navy);
  box-shadow: var(--shadow-hover), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transform: translateY(-6px) scale(1.01);
}

.service-card-title {
  font-size: clamp(24px, 3vw, 34px);
  margin: 8px 0 12px;
}

.service-card-teaser {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  flex: 1;
  margin-bottom: 12px;
  overflow: hidden;
}

.service-card-focus {
  color: rgba(30, 41, 77, 0.72);
  font-size: 15px;
  margin: 0 0 12px;
}

.service-card-meta {
  background: rgba(33, 57, 121, 0.08);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding: 6px 12px;
  text-transform: uppercase;
  width: fit-content;
}

.service-card-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.service-card-hint {
  pointer-events: none;
}

.service-card-actions .button {
  margin: 0;
}

/* Modals */
body.modal-open {
  overflow: hidden;
}

.modal-root {
  inset: 0;
  position: fixed;
  z-index: 100;
}

.modal-root[hidden],
.modal-panel[hidden] {
  display: none !important;
}

.modal-backdrop {
  animation: modalFadeIn 0.3s ease;
  background: rgba(30, 41, 77, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  inset: 0;
  position: absolute;
}

.modal-panel {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  pointer-events: none;
  position: absolute;
}

.modal-panel:not([hidden]) {
  animation: modalFadeIn 0.3s ease;
  pointer-events: auto;
}

.modal-dialog {
  animation: modalSlideUp 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(30, 41, 77, 0.2);
  max-height: min(90vh, 860px);
  max-width: 560px;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  position: relative;
  width: 100%;
}

.modal-dialog-lg {
  max-width: 720px;
}

.modal-dialog-solution {
  --modal-pad: clamp(20px, 3vw, 36px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 940px);
  max-width: min(920px, 96vw);
  overflow-x: hidden;
  padding: 0 0 24px;
}

.modal-panel-solutions {
  padding-inline: clamp(16px, 3vw, 32px);
}

.modal-solution-slides {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-solution-slide {
  animation: modalSlideUp 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-solution-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    linear-gradient(135deg, rgba(30, 41, 77, 0.96) 0%, rgba(33, 57, 121, 0.92) 100%);
  color: #fff;
  padding: clamp(28px, 4vw, 40px) var(--modal-pad) clamp(22px, 3vw, 28px);
  position: relative;
}

.modal-solution-hero-top {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-solution-hero .modal-solution-number {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 15px;
  height: 36px;
  margin: 0;
  width: 36px;
}

.modal-solution-branch {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  text-transform: uppercase;
}

.modal-solution-hero h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
  margin: 0;
  text-shadow: none;
}

.modal-solution-tagline {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 720px;
}

.modal-close-light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  right: 18px;
  top: 18px;
  z-index: 2;
}

.modal-close-light:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.modal-solution-gallery-full {
  margin: 0;
  max-width: 100%;
  width: 100%;
}

.modal-solution-gallery-full .solution-gallery {
  background: #0f1629;
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.modal-solution-gallery-full .solution-gallery-viewport {
  aspect-ratio: auto;
  background: #0f1629;
  height: clamp(320px, 50vh, 540px);
  max-height: none;
  min-height: 320px;
}

.modal-solution-gallery-full .solution-gallery.has-multiple .solution-gallery-viewport {
  aspect-ratio: auto;
  height: clamp(320px, 50vh, 540px);
  max-height: none;
}

.modal-solution-gallery-full .solution-gallery-slide {
  padding: 0;
}

.modal-solution-gallery-full .solution-gallery-slide img {
  height: 100%;
  max-height: none;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.modal-solution-gallery-full .solution-gallery-controls {
  background: rgba(15, 22, 41, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px 12px;
}

.modal-solution-gallery-full .solution-gallery-arrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.modal-solution-gallery-full .solution-gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.modal-solution-gallery-full .solution-gallery-counter {
  color: rgba(255, 255, 255, 0.72);
}

.modal-solution-gallery-full .solution-gallery-dot {
  background: rgba(255, 255, 255, 0.28);
}

.modal-solution-gallery-full .solution-gallery-dot.is-active {
  background: #fff;
}

.modal-solution-body {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px) var(--modal-pad) 0;
}

.modal-solution-split {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modal-solution-block {
  border-radius: 22px;
  overflow: hidden;
  padding: 22px 22px 20px;
  position: relative;
}

.modal-solution-block::before {
  content: '';
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.modal-solution-block--problem {
  background: linear-gradient(180deg, #fff5f2 0%, #fff 100%);
  border: 1px solid rgba(190, 90, 70, 0.14);
  box-shadow: 0 10px 30px rgba(190, 90, 70, 0.06);
}

.modal-solution-block--problem::before {
  background: linear-gradient(90deg, #d4735e, #f0a090);
}

.modal-solution-block--solution {
  background: linear-gradient(180deg, #eef3ff 0%, #fff 100%);
  border: 1px solid rgba(33, 57, 121, 0.12);
  box-shadow: 0 10px 30px rgba(33, 57, 121, 0.06);
}

.modal-solution-block--solution::before {
  background: linear-gradient(90deg, var(--navy), var(--blue));
}

.modal-solution-block--results {
  background: linear-gradient(180deg, #f4faf6 0%, #fff 100%);
  border: 1px solid rgba(46, 125, 82, 0.14);
  box-shadow: 0 10px 30px rgba(46, 125, 82, 0.05);
}

.modal-solution-block--results::before {
  background: linear-gradient(90deg, #2e7d52, #5cb87a);
}

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

.modal-solution-block--problem .modal-block-label {
  color: #b85a45;
}

.modal-solution-block--results .modal-block-label {
  color: #2e7d52;
}

.modal-solution-block p {
  color: rgba(30, 41, 77, 0.82);
  line-height: 1.65;
  margin: 0;
}

.modal-result-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.modal-result-list li {
  background: rgba(33, 57, 121, 0.05);
  border-radius: 14px;
  color: rgba(30, 41, 77, 0.82);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  padding: 12px 14px 12px 36px;
  position: relative;
}

.modal-result-list li::before {
  color: var(--blue);
  content: '✓';
  font-weight: 700;
  left: 14px;
  position: absolute;
  top: 12px;
}

.modal-solution-quote {
  border-left: 4px solid var(--blue);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-style: italic;
  line-height: 1.35;
  margin: 0;
  padding-left: 18px;
}

.modal-solution-quote strong {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
}

.modal-solution-footer {
  background: linear-gradient(180deg, rgba(33, 57, 121, 0.04) 0%, transparent 100%);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding: 22px var(--modal-pad) 0;
}

.modal-solution-toolbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  margin-top: 0;
  padding: 18px var(--modal-pad) 0;
}

.modal-solution-counter {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.modal-solution-nav {
  justify-self: start;
  min-width: 132px;
}

.modal-solution-nav[data-solution-next] {
  justify-self: end;
}

.modal-solution-nav:disabled {
  cursor: default;
  opacity: 0.4;
}

.modal-solution-slide {
  animation: modalSlideUp 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-dialog-sm {
  max-width: 480px;
  text-align: center;
}

.modal-close {
  align-items: center;
  background: rgba(33, 57, 121, 0.08);
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 40px;
}

.modal-close:hover {
  background: rgba(33, 57, 121, 0.14);
  transform: scale(1.05);
}

.modal-lead {
  margin: 16px 0;
  text-align: left;
}

.modal-subheading {
  font-size: 20px;
  margin: 28px 0 12px;
}

.modal-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.solution-gallery {
  background: rgba(33, 57, 121, 0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.solution-gallery-viewport {
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #f8faff 0%, #eef2f8 100%);
  overflow: hidden;
  position: relative;
}

.solution-gallery.has-multiple .solution-gallery-viewport {
  aspect-ratio: 16 / 11;
}

.solution-gallery-track {
  height: 100%;
  position: relative;
  width: 100%;
}

.solution-gallery-slide {
  align-items: center;
  display: none;
  height: 100%;
  inset: 0;
  justify-content: center;
  margin: 0;
  padding: 12px;
  position: absolute;
  width: 100%;
}

.solution-gallery-slide.is-active {
  display: flex;
  z-index: 1;
}

.solution-gallery-slide img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.solution-gallery-controls {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 12px 16px 8px;
}

.solution-gallery-arrow {
  align-items: center;
  background: rgba(33, 57, 121, 0.08);
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 36px;
}

.solution-gallery-arrow:hover {
  background: rgba(33, 57, 121, 0.14);
  transform: scale(1.05);
}

.solution-gallery-counter {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  min-width: 4.5rem;
  text-align: center;
}

.solution-gallery-dots {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  padding: 0 16px 14px;
}

.solution-gallery.has-multiple[data-gallery-count="5"] .solution-gallery-dot {
  height: 7px;
  width: 7px;
}

.solution-gallery.has-multiple[data-gallery-count="5"] .solution-gallery-dot.is-active {
  width: 18px;
}

.solution-gallery-dot {
  background: rgba(33, 57, 121, 0.18);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
  width: 8px;
}

.solution-gallery-dot.is-active {
  background: var(--blue);
  transform: scale(1.05);
  width: 22px;
}

.modal-dialog-sm .button-row {
  justify-content: center;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-panel:not([hidden]),
  .modal-dialog,
  .modal-backdrop {
    animation: none;
  }
}

/* Method steps horizontal */
.method-steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}

.method-steps::before {
  background: linear-gradient(90deg, transparent, rgba(33, 57, 121, 0.15), transparent);
  content: '';
  height: 2px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 28px;
}

.method-step-card {
  position: relative;
  text-align: center;
}

.method-step-num {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  width: 36px;
  z-index: 1;
}

/* Value cards with accent */
.value-card {
  border-top: 3px solid var(--blue);
  text-align: center;
}

.value-card .number {
  font-size: 42px;
  margin-bottom: 8px;
}

/* Highlight quote block */
.quote-block {
  border-left: 4px solid var(--blue);
  padding-left: 24px;
  text-align: left;
}

.quote-block .tagline {
  margin-top: 0;
}

/* Card tilt transition */
[data-tilt] {
  transition: transform 0.15s ease, box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-status.success {
  background: rgba(40, 140, 95, 0.12);
  color: #17623e;
}

.form-status.error {
  background: rgba(190, 65, 65, 0.12);
  color: #8a2525;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px clamp(20px, 6vw, 96px);
}

.footer-inner {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.footer-brand {
  color: #fff;
}

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

.footer-links a:hover {
  color: #fff;
}

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

  .ambient-orb,
  .page-hero .page-hero-inner,
  .hero .hero-inner {
    animation: none;
  }

  .lines-bar {
    animation: none;
    opacity: 0.15;
    transform: scaleY(0.7);
  }

  [data-tilt] {
    transform: none !important;
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex;
  }

  .page-with-jump-nav {
    grid-template-columns: 1fr;
  }

  .jump-nav {
    display: none;
  }

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

  .method-steps::before {
    display: none;
  }

  .menu-panel {
    align-items: stretch;
    border-radius: 28px;
    display: none;
    flex-direction: column;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 14px;
    position: absolute;
    right: clamp(18px, 5vw, 64px);
    top: 84px;
    width: min(340px, calc(100vw - 36px));
  }

  .menu-panel.is-open {
    display: flex;
  }

  .nav-link {
    border-radius: 16px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .sub-menu {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    min-width: 0;
    opacity: 1;
    padding: 4px 10px 12px 24px;
    pointer-events: auto;
    position: static;
    transform: none;
  }

  .split,
  .grid.four,
  .grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .brand-text {
    display: none;
  }

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

  .page-hero.page-hero-typo {
    padding-bottom: 48px;
    padding-top: 120px;
  }

  .page-hero-title {
    font-size: clamp(36px, 9vw, 52px);
  }

  .hero.hero-with-video {
    height: 750px;
    max-height: 750px;
    min-height: 750px;
    padding-top: 135px;
  }

  .section {
    padding: 72px 20px;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .split {
    grid-template-columns: 1fr;
  }

  .card,
  .glass {
    padding: 22px;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .process-step {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .process-step-marker {
    font-size: 22px;
    height: 56px;
    width: 56px;
  }

  .process-step::before {
    left: 27px;
    top: 56px;
  }

  .service-items-grid {
    grid-template-columns: 1fr;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .solution-stagger-block,
  .solution-stagger-block:nth-child(even) {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    transform: none;
  }

  .solution-stagger-block:nth-child(even) .solution-stagger-media,
  .solution-stagger-block:nth-child(even) .solution-stagger-content {
    order: unset;
    text-align: left;
  }

  .solution-stagger-block:nth-child(even) .solution-stagger-number {
    left: -8px;
    right: auto;
  }

  .modal-solution-split {
    grid-template-columns: 1fr;
  }

  .modal-result-list {
    grid-template-columns: 1fr;
  }

  .modal-solution-gallery-full .solution-gallery-viewport,
  .modal-solution-gallery-full .solution-gallery.has-multiple .solution-gallery-viewport {
    height: clamp(240px, 38vh, 360px);
    min-height: 240px;
  }

  .modal-dialog-solution {
    max-height: calc(92vh - 24px);
    max-width: 96vw;
    padding-bottom: 22px;
  }

  .modal-solution-toolbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .modal-solution-nav,
  .modal-solution-nav[data-solution-next] {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
  }

  .service-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-card-actions .button,
  .modal-actions .button {
    width: 100%;
  }

  .solutions-page-switch {
    align-items: stretch;
    flex-direction: column;
  }

  .solution-carousel-card,
  .solution-carousel-card.is-expanded {
    flex-basis: min(88vw, 320px);
    max-width: min(88vw, 320px);
  }

  .solution-carousel-card.is-expanded {
    flex-basis: min(92vw, 720px);
    max-width: min(92vw, 720px);
  }

  .solution-carousel-expanded-header {
    grid-template-columns: 1fr;
  }

  .solution-carousel-expanded-actions {
    flex-direction: column;
  }

  .solution-carousel-expanded-actions .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
