:root {
  --color-primary: #c80000;
  --color-primary-dark: #A70823;
  --color-primary-bright: #A70823;
  --color-primary-rgb: 200, 0, 0;
  --color-dark: #2c2c2c;
  --color-dark-muted: #2d2d2d;
  --color-light: #ffffff;
  --color-bg-gray: #f8f9fa;
  --color-border: #e9ecef;
  --color-text: #2b2b2b;
  --color-text-muted: #6c757d;
  
  --font-main: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease-out;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-primary: 0 8px 24px rgba(167, 8, 35, 0.18);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
}

/* Base resets & layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-light);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-gray);
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Digital Grid Background */
.digital-bg {
  background-color: var(--color-light);
  background-image: 
    linear-gradient(rgba(var(--color-primary-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  position: relative;
  isolation: isolate;
}

.digital-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, transparent 40%, var(--color-light) 90%);
  pointer-events: none;
  z-index: 0;
}

.digital-bg > * {
  position: relative;
  z-index: 2;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
}

h1 {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

/* Grid & Flex layouts */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 989px), (orientation: portrait) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .flex-md-col { flex-direction: column; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  background-image: none;
  color: var(--color-light);
  box-shadow: var(--shadow-primary);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -45%;
  z-index: 0;
  width: 42%;
  background:
    linear-gradient(105deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.18) 32%,
      rgba(255,255,255,0.72) 50%,
      rgba(255,255,255,0.2) 68%,
      rgba(255,255,255,0) 100%);
  filter: blur(0.5px);
  transform: translate3d(-160%, 0, 0) skewX(-16deg);
  opacity: 0;
  animation: enext-btn-light-pass 3s ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-dark);
  background-image: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(var(--color-primary-rgb), 0.25);
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(var(--color-primary-rgb), 0.25);
  outline-offset: 3px;
}

@keyframes enext-btn-light-pass {
  0% {
    opacity: 0;
    transform: translate3d(-160%, 0, 0) skewX(-16deg);
  }
  12% {
    opacity: 0.95;
  }
  54% {
    opacity: 0.95;
    transform: translate3d(410%, 0, 0) skewX(-16deg);
  }
  66%,
  100% {
    opacity: 0;
    transform: translate3d(410%, 0, 0) skewX(-16deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after {
    animation: none;
  }
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-gray);
  border-color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-primary:hover {
  background-color: rgba(167, 8, 35, 0.05);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(167, 8, 35, 0.2);
}

.card-primary-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.card-primary-glow:hover::after {
  height: 100%;
}

.contrast-card,
.contrast-card h1,
.contrast-card h2,
.contrast-card h3,
.contrast-card h4,
.contrast-card p {
  color: var(--color-light) !important;
}

/* Tech Accent items */
.badge-tech {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: rgba(167, 8, 35, 0.08);
  color: var(--color-primary);
  border-radius: var(--border-radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  border: 1px dashed rgba(167, 8, 35, 0.3);
}

.icon-box {
  width: 54px;
  height: 54px;
  background-color: rgba(167, 8, 35, 0.05);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.card:hover .icon-box {
  background-color: var(--color-primary);
  color: var(--color-light);
  transform: rotate(5deg) scale(1.05);
}

/* Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-dark);
}

.logo span.logo-red {
  color: var(--color-primary);
}

.brand-logo-img {
  display: block;
  width: auto;
  max-width: 170px;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.header-actions,
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-links {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  background-color: var(--color-light);
  box-shadow: var(--shadow-sm);
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  color: var(--color-light);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.social-brand-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.social-brand-icon:hover,
.social-brand-icon:focus-visible {
  background-color: #fff;
  border-color: rgba(var(--color-primary-rgb), 0.34);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-light);
  transform: translateY(-2px);
}

.lang-switcher {
  width: 46px;
  height: 38px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switcher:hover,
.lang-switcher:focus-visible {
  border-color: rgba(var(--color-primary-rgb), 0.42);
  background-color: rgba(var(--color-primary-rgb), 0.06);
  transform: translateY(-2px);
}

.lang-switcher img {
  display: block;
  width: 30px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.mobile-lang-switcher {
  margin: 0 auto;
}

.enext-floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2200;
  display: grid;
  gap: 10px;
  justify-items: end;
  pointer-events: none;
}

.floating-action-btn {
  width: 54px;
  height: 54px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(21, 24, 32, 0.18);
  pointer-events: auto;
  animation: floatingActionShake 3.4s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.floating-action-btn:hover,
.floating-action-btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(21, 24, 32, 0.24);
}

.floating-action-btn svg,
.floating-action-btn img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.floating-action-btn .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.floating-action-phone {
  color: #fff;
  background: var(--color-primary);
}

.floating-action-chat {
  color: var(--color-dark);
  background: #fff;
  border-color: rgba(var(--color-primary-rgb), 0.18);
  animation-delay: 0.65s;
}

.floating-action-zalo {
  border-color: rgba(0, 104, 255, 0.28);
}

.floating-chat-menu {
  position: relative;
  pointer-events: auto;
}

.floating-chat-menu > summary {
  list-style: none;
  cursor: pointer;
}

.floating-chat-menu > summary::-webkit-details-marker {
  display: none;
}

.floating-chat-list {
  position: absolute;
  right: 64px;
  bottom: 0;
  width: 172px;
  padding: 8px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.20);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.floating-chat-menu[open] .floating-chat-list {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.floating-chat-list a {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-dark);
  font-size: 0.88rem;
  font-weight: 800;
  background: #fff;
}

.floating-chat-list a:hover,
.floating-chat-list a:focus-visible {
  background: rgba(var(--color-primary-rgb), 0.06);
}

.floating-chat-list img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@keyframes floatingActionShake {
  0%, 72%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  76% { transform: translate3d(-1px, 0, 0) rotate(-7deg); }
  80% { transform: translate3d(2px, 0, 0) rotate(7deg); }
  84% { transform: translate3d(-2px, 0, 0) rotate(-5deg); }
  88% { transform: translate3d(1px, 0, 0) rotate(4deg); }
  92% { transform: translate3d(0, 0, 0) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-action-btn {
    animation: none;
  }
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links, .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* Mobile Sidebar Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  height: 100dvh;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: var(--color-light);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  padding: clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(calc(100% + 24px));
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
  will-change: transform;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.mobile-nav-overlay.open {
  display: block;
}

/* Main Content Area spacing */
main.content-wrapper {
  padding-top: 80px; /* offset sticky header */
}

/* Hero Section */
.home-map-stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--color-light);
}

.home-map-stage > section {
  position: relative;
  z-index: 2;
}

.home-hero-section {
  padding: 2rem 0 0 0;
  position: relative;
}

.home-map-stage .carousel-container {
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
}

.home-map-stage .carousel-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/enext/images/world-capitals-map.svg');
  background-size: min(1250px, 120vw) auto;
  background-position: center 48%;
  background-repeat: no-repeat;
  opacity: 0.34;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 18;
}

.home-map-stage .carousel-slide-content {
  z-index: 24;
}

.hero-section {
  padding: 6rem 0;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.hero-visual {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 16/10;
  background-color: var(--color-bg-gray);
  border: 1px solid var(--color-border);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2.25rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-about-showcase {
  padding-top: 5.75rem;
  padding-bottom: 6rem;
}

.home-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 3.75rem;
  align-items: center;
}

.home-about-copy {
  max-width: 680px;
}

.about-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.5rem 0 2rem 0;
}

.about-metric {
  min-height: 86px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: var(--border-radius-md);
  background-color: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-sm);
}

.about-metric strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.about-metric span {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.home-about-panel {
  position: relative;
  padding: 2.35rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: var(--border-radius-lg);
  background:
    linear-gradient(140deg, rgba(255,255,255,0.9), rgba(255,255,255,0.68)),
    radial-gradient(circle at 84% 18%, rgba(var(--color-primary-rgb), 0.1), transparent 34%);
  box-shadow: 0 24px 70px rgba(44, 44, 44, 0.12);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.home-about-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-primary-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(130deg, transparent 0%, #000 32%, #000 74%, transparent 100%);
  pointer-events: none;
  opacity: 0.65;
}

.home-about-panel > * {
  position: relative;
  z-index: 1;
}

.about-panel-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.panel-kicker {
  display: block;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.about-panel-header h3 {
  margin: 0;
  font-size: 1.45rem;
}

.about-flow-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.about-flow-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  border-radius: var(--border-radius-md);
  background-color: rgba(255,255,255,0.72);
  color: var(--color-dark);
  font-weight: 700;
}

.about-flow-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  justify-self: center;
}

.about-impact-strip {
  margin-top: 1.5rem;
  padding: 1.2rem 1.25rem;
  border-radius: var(--border-radius-md);
  background-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: var(--shadow-primary);
}

.about-impact-strip strong,
.about-impact-strip span {
  display: block;
  color: var(--color-light);
}

.about-impact-strip strong {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.about-impact-strip span {
  opacity: 0.92;
  line-height: 1.55;
}

@media (max-width: 989px), (orientation: portrait) {
  .hero-section { padding: 4rem 0; }
  .hero-title { font-size: 2.75rem; }
  .home-about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-about-panel {
    padding: 1.75rem;
  }
}

@media (max-width: 768px) {
  .home-hero-section {
    padding-top: 1rem;
  }
  .about-metrics-row {
    grid-template-columns: 1fr;
  }
  .about-panel-header {
    grid-template-columns: 1fr;
  }
  .home-map-stage .carousel-container::after {
    background-size: 980px auto;
    opacity: 0.28;
  }
}

/* Impact dashboard */
.impact-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.08);
  background:
    linear-gradient(180deg, #fff 0%, #fbfbfb 100%),
    linear-gradient(rgba(var(--color-primary-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.025) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
}

.impact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/enext/images/world-capitals-map.svg');
  background-repeat: no-repeat;
  background-position: 50% 12%;
  background-size: min(1250px, 130vw) auto;
  opacity: 0.1;
  pointer-events: none;
}

.impact-section > * {
  position: relative;
  z-index: 1;
}

.impact-dashboard {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: stretch;
}

.impact-copy-panel {
  min-height: 520px;
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  background:
    linear-gradient(155deg, rgba(44,44,44,0.96), rgba(44,44,44,0.88)),
    radial-gradient(circle at 82% 18%, rgba(var(--color-primary-rgb), 0.45), transparent 34%);
  color: var(--color-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 70px rgba(44, 44, 44, 0.18);
  overflow: hidden;
}

.impact-copy-panel .badge-tech {
  width: fit-content;
  color: var(--color-light);
  border-color: rgba(255,255,255,0.28);
  background-color: rgba(255,255,255,0.08);
}

.impact-copy-panel h2 {
  color: var(--color-light);
  font-size: 2.55rem;
  margin: 1.5rem 0 1rem;
}

.impact-copy-panel p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.impact-proof-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.impact-proof-list > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--border-radius-md);
  background-color: rgba(255,255,255,0.06);
}

.impact-proof-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-light);
  justify-self: center;
}

.impact-proof-list span {
  color: rgba(255,255,255,0.86);
  font-weight: 600;
  line-height: 1.5;
}

.impact-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.impact-metric-card {
  position: relative;
  min-height: 250px;
  padding: 1.6rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  border-radius: var(--border-radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.84)),
    linear-gradient(rgba(var(--color-primary-rgb), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.impact-metric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 4px solid rgba(var(--color-primary-rgb), 0.12);
  pointer-events: none;
}

.impact-metric-feature {
  grid-row: span 2;
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)),
    url('/static/enext/images/learning_lab.webp') center/cover;
  color: var(--color-light);
}

.impact-metric-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,44,44,0.1), rgba(44,44,44,0.72));
  pointer-events: none;
}

.impact-metric-card > * {
  position: relative;
  z-index: 1;
}

.impact-metric-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--border-radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.08);
  margin-bottom: auto;
}

.impact-metric-icon svg {
  width: 22px;
  height: 22px;
}

.impact-metric-card strong {
  display: block;
  color: var(--color-primary);
  font-size: 3.45rem;
  line-height: 0.95;
  margin: 2rem 0 0.65rem;
}

.impact-metric-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.impact-metric-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.impact-metric-feature .impact-metric-icon {
  color: var(--color-light);
  background-color: rgba(255,255,255,0.16);
}

.impact-metric-feature strong,
.impact-metric-feature h3,
.impact-metric-feature p {
  color: var(--color-light);
}

.impact-metric-feature p {
  opacity: 0.86;
}

/* Learning loop */
.learning-loop-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-gray);
  border-bottom: 1px solid var(--color-border);
}

.learning-loop-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(rgba(var(--color-primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.learning-loop-section > * {
  position: relative;
  z-index: 1;
}

.learning-loop-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.learning-loop-visual {
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  background-color: var(--color-light);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  box-shadow: var(--shadow-md);
}

.learning-loop-visual h2 {
  font-size: 2.45rem;
  margin: 1rem 0;
}

.learning-loop-visual p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.loop-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.loop-snapshot > div {
  padding: 1rem;
  border-radius: var(--border-radius-md);
  background-color: rgba(var(--color-primary-rgb), 0.06);
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.loop-snapshot span {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.loop-snapshot strong {
  display: block;
  color: var(--color-primary);
  font-size: 1.05rem;
  line-height: 1.2;
}

.learning-loop-track {
  position: relative;
  display: grid;
  gap: 1rem;
}

.learning-loop-track::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: 2rem;
  width: 2px;
  background: linear-gradient(var(--color-primary), rgba(var(--color-primary-rgb), 0.08));
}

.loop-step {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(var(--color-primary-rgb), 0.11);
  background-color: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-sm);
}

.loop-step > span {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--border-radius-md);
  background-color: var(--color-primary);
  color: var(--color-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: var(--shadow-primary);
  z-index: 1;
}

.loop-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.loop-step p {
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.93rem;
}

@media (max-width: 989px), (orientation: portrait) {
  .impact-dashboard,
  .learning-loop-layout {
    grid-template-columns: 1fr;
  }
  .impact-copy-panel,
  .impact-metric-feature {
    min-height: auto;
  }
  .impact-copy-panel h2,
  .learning-loop-visual h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .impact-copy-panel,
  .learning-loop-visual {
    padding: 1.5rem;
  }
  .impact-metric-grid,
  .loop-snapshot {
    grid-template-columns: 1fr;
  }
  .impact-metric-card {
    min-height: 220px;
  }
  .impact-metric-card strong {
    font-size: 2.8rem;
  }
  .learning-loop-track::before {
    left: 1.65rem;
  }
  .loop-step {
    grid-template-columns: 3.3rem 1fr;
    padding: 1rem;
  }
  .loop-step > span {
    width: 2.8rem;
    height: 2.8rem;
  }
}

/* Partner Logos Section */
.partners-section {
  padding: 4rem 0;
  background-color: var(--color-bg-gray);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.partner-logo-card {
  min-width: 260px;
  min-height: 104px;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: var(--color-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  text-align: center;
}

.partner-logo-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-dark);
  font-size: 1.05rem;
  line-height: 1.25;
}

.partner-logo-card span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.partner-logo {
  height: 50px;
  filter: grayscale(1);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
}

.section-padding {
  padding: 7rem 0;
}

/* Solutions Grid Page styles */
.solution-feature-list {
  list-style: none;
}

.solution-feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.solution-feature-list li::before {
  content: "✔";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.solution-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.solution-summary-pill {
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: var(--border-radius-md);
  background-color: rgba(var(--color-primary-rgb), 0.04);
  color: var(--color-dark);
  font-weight: 700;
  padding: 1rem;
  text-align: center;
}

.implementation-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.implementation-tile {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-light);
  box-shadow: var(--shadow-sm);
}

.implementation-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.implementation-tile p {
  padding: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Team Profile Cards */
.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  overflow: hidden;
  border: 4px solid var(--color-bg-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  background-color: #eee;
}

.team-card:hover .team-avatar {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

@media (max-width: 989px), (orientation: portrait) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* AI Floating Grid/Decoration */
.floating-dots {
  position: absolute;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  opacity: 0.15;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background-color: var(--color-bg-gray);
  transition: var(--transition-smooth);
}

select.form-control {
  min-height: 52px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%),
    linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 3rem;
}

textarea.form-control {
  resize: vertical;
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: var(--color-light);
  box-shadow: 0 0 0 4px rgba(167, 8, 35, 0.05);
}

.consultation-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
}

.consultation-form-span {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .consultation-form-grid {
    grid-template-columns: 1fr;
  }
}

/* News Page specific styling */
.news-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.news-tab-btn {
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  background-color: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.news-tab-btn:hover, .news-tab-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: var(--shadow-primary);
}

.news-card-img {
  aspect-ratio: 16/9;
  background-color: var(--color-bg-gray);
  overflow: hidden;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
}

.featured-news {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.featured-news-media {
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(255,255,255,0.9));
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.featured-news-media svg {
  width: 72px;
  height: 72px;
  color: var(--color-primary);
}

.news-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 3rem 0 1.5rem;
}

.news-section-title h2 {
  margin: 0;
  font-size: 1.8rem;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Footer layout styling */
footer {
  background:
    radial-gradient(circle at 14% 0%, rgba(var(--color-primary-rgb), 0.08), transparent 30%),
    linear-gradient(180deg, #2c2c2c 0%, #242424 100%);
  color: #dfdfdf;
  padding: 5rem 0 2.75rem 0;
  border-top: 5px solid var(--color-primary);
}

footer h3, footer h4, footer a {
  color: var(--color-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-grid-enext {
  grid-template-columns: 2fr 1.25fr 1fr 1.75fr;
}

.footer-logo-desc {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .logo-red {
  color: var(--color-primary-bright);
}

.footer-logo-img {
  display: block;
  width: auto;
  max-width: 180px;
  height: 54px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links-col h4 {
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: #b0b0b0;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-primary-bright);
  padding-left: 4px;
}

.footer-info-item {
  display: flex;
  gap: 1rem;
  color: #b0b0b0;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-info-item svg {
  color: var(--color-primary-bright);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-info-item > div {
  min-width: 0;
}

.footer-email-link {
  color: #a0a0a0;
  border-bottom: 1px dashed #a0a0a0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-bottom-copy {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  min-height: 38px;
  padding: 0.52rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: #fff;
  border-color: rgba(var(--color-primary-rgb), 0.42);
  background: rgba(var(--color-primary-rgb), 0.18);
  transform: translateY(-1px);
}

@media (max-width: 989px), (orientation: portrait) {
  footer {
    padding-bottom: calc(8.5rem + env(safe-area-inset-bottom));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    width: calc(100% - 2rem);
    margin-top: 2.5rem;
    padding: 1.65rem 1.25rem 1.8rem;
    gap: 1.45rem;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom-copy {
    max-width: 34rem;
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .footer-bottom-links {
    width: 100%;
    gap: 0.85rem;
    justify-content: center;
  }

  .featured-news,
  .solution-summary-grid,
  .implementation-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .footer-bottom {
    padding: 1.75rem 1.25rem 1.95rem;
  }

  .footer-bottom-links {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-bottom-links a {
    justify-content: center;
    min-height: 42px;
  }
}

/* Carousel/Slider Implementation using Alpine.js */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--border-radius-lg);
  aspect-ratio: 16/8;
  box-shadow: var(--shadow-lg);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.carousel-slide-content {
  position: absolute;
  bottom: 10%;
  left: 5%;
  right: 5%;
  color: var(--color-light);
  z-index: 20;
  max-width: 650px;
}

.carousel-slide-content h2 {
  color: var(--color-light);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.carousel-slide-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-light);
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  color: var(--color-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background-color: var(--color-primary);
}

.carousel-btn-prev { left: 20px; }
.carousel-btn-next { right: 20px; }

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 30;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-indicator.active {
  background-color: var(--color-primary-bright);
  transform: scale(1.2);
}

/* HTMX Transition styling */
.htmx-swapping {
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.htmx-settling {
  opacity: 1;
  transition: opacity 200ms ease-in;
}

/* Consultation Form Loading Indicator */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline-block;
}
.htmx-request.btn {
  pointer-events: none;
  opacity: 0.7;
}

/* Toast alert notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-primary);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mock Map styling */
.map-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background-color: #e5e9f0;
  background-image: 
    radial-gradient(#d1d9e6 2px, transparent 2px),
    linear-gradient(#e5e9f0 80%, #dcdfe6 100%);
  background-size: 20px 20px, 100% 100%;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  color: var(--color-primary-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  animation: pulse-pin 2s infinite;
}

@keyframes pulse-pin {
  0% { transform: translate(-50%, -100%) scale(1); }
  50% { transform: translate(-50%, -105%) scale(1.05); }
  100% { transform: translate(-50%, -100%) scale(1); }
}

.map-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(5px);
  padding: 1rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  z-index: 20;
  font-size: 0.85rem;
}

/* Faded Background Image - Education Theme with Parallax Scrolling */
.bg-education-faded {
  position: relative;
}

.bg-education-faded::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/static/enext/images/hero_banner.webp'); /* default background */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  opacity: 0.1; /* Increased opacity to show image clearer */
  pointer-events: none;
  z-index: 0;
}

/* Background image modifiers for specific pages/sections */
.bg-about-faded::before {
  background-image: url('/static/enext/images/about_bg.webp');
}

.bg-solutions-faded::before {
  background-image: url('/static/enext/images/solutions_bg.webp');
}

.bg-contact-faded::before {
  background-image: url('/static/enext/images/contact_bg.webp');
}

.world-map-bg {
  position: relative;
  overflow: hidden;
  background-color: var(--color-light);
  background-image: none;
}

.world-map-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/static/enext/images/world-capitals-map.svg');
  background-size: min(1480px, 142vw) auto;
  background-position: center 18%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.world-map-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 34%, rgba(var(--color-primary-rgb), 0.055), transparent 32%),
    linear-gradient(90deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.34) 48%, rgba(255,255,255,0.62) 100%);
  pointer-events: none;
  z-index: 1;
}

.bg-education-faded > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .bg-education-faded::before {
    background-attachment: scroll; /* Disable parallax on mobile for smooth scroll */
    opacity: 0.06;
  }

  .world-map-bg::before {
    background-size: 1120px auto;
    background-position: 52% 18%;
    background-attachment: scroll;
    opacity: 1;
  }

  .world-map-bg::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.55) 52%, rgba(255,255,255,0.76) 100%);
  }
}

/* Flowchart Diagram Styling */
.flowchart-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
}

.flowchart-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.flowchart-arrow-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  opacity: 0.5;
  font-size: 1.5rem;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

.flowchart-arrow-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  opacity: 0.6;
  font-size: 1.5rem;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .flowchart-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }
  .flowchart-arrow-desktop {
    display: none;
  }
  .flowchart-arrow-mobile {
    display: flex;
  }
}

/* E NEXT framework-aligned public layout */
.framework-page {
  background: var(--color-light);
}

.framework-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.framework-section-heading {
  max-width: 850px;
  margin: 0 auto 3rem;
  text-align: center;
}

.framework-section-heading.compact {
  margin-bottom: 2.5rem;
}

.framework-section-heading h1,
.framework-section-heading h2 {
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.framework-section-heading p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.framework-title-strip,
.framework-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px dashed rgba(var(--color-primary-rgb), 0.25);
  border-radius: 999px;
  background: rgba(var(--color-primary-rgb), 0.055);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.framework-section-actions {
  margin-top: 2.5rem;
  text-align: center;
}

.framework-carousel-section {
  min-height: min(820px, calc(100vh - 160px));
  padding: clamp(2.25rem, 3.4vw, 3.5rem) 0;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.framework-carousel-section.world-map-bg::before {
  background-size: min(1720px, 152vw) auto;
  background-position: center 45%;
  opacity: 0.72;
}

.framework-carousel-section.world-map-bg::after {
  background:
    radial-gradient(circle at 76% 24%, rgba(var(--color-primary-rgb), 0.08), transparent 28%),
    linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.58) 48%, rgba(255,255,255,0.86) 100%);
}

.framework-carousel-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.framework-carousel-copy {
  min-width: 0;
}

.framework-carousel-copy h1 {
  max-width: 820px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.7rem, 4.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.framework-carousel-copy p {
  max-width: 760px;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  font-size: 1.15rem;
  line-height: 1.85;
}

.framework-carousel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.framework-carousel-media {
  position: relative;
  min-height: clamp(360px, 32vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: #f1f3f5;
  box-shadow: 0 24px 70px rgba(33, 37, 41, 0.12);
}

.framework-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 420ms ease, transform 620ms ease;
}

.framework-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.framework-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framework-carousel-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.28));
  pointer-events: none;
}

.framework-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-50%);
  cursor: pointer;
}

.framework-carousel-control-prev { left: 1rem; }
.framework-carousel-control-next { right: 1rem; }

.framework-carousel-control svg {
  width: 22px;
  height: 22px;
}

.framework-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 4;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.framework-carousel-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  cursor: pointer;
}

.framework-carousel-dots button.is-active {
  background: var(--color-primary);
}

.framework-about-hero,
.framework-solutions-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 140px));
  padding: clamp(3rem, 5vw, 5rem) 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  isolation: isolate;
}

.framework-about-hero.world-map-bg::before {
  background-size: min(1540px, 144vw) auto;
  background-position: center 46%;
  opacity: 0.62;
}

.framework-about-hero.world-map-bg::after {
  background:
    radial-gradient(circle at 78% 26%, rgba(var(--color-primary-rgb), 0.07), transparent 30%),
    linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.64) 52%, rgba(255,255,255,0.9) 100%);
}

.framework-about-hero-layout,
.framework-solutions-hero-layout,
.framework-about-story-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.framework-about-hero-copy h1,
.framework-solutions-hero-copy h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.framework-about-hero-copy p,
.framework-solutions-hero-copy p,
.about-story-copy p {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.82;
}

.framework-about-hero-copy p,
.framework-solutions-hero-copy p {
  max-width: 780px;
  margin-bottom: 1.8rem;
}

.framework-about-hero-panel {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 24px 70px rgba(33, 37, 41, 0.11);
}

.about-hero-panel-head {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero-panel-head svg {
  width: 22px;
  height: 22px;
}

.framework-about-hero-panel h2 {
  margin-bottom: 1.6rem;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  letter-spacing: 0;
}

.about-hero-mini-grid {
  display: grid;
  gap: 0.85rem;
}

.about-hero-mini-grid div {
  padding: 1rem;
  border-left: 3px solid var(--color-primary);
  border-radius: 6px;
  background: #f8f9fa;
}

.about-hero-mini-grid strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-dark);
}

.about-hero-mini-grid span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.framework-solutions-hero {
  background: var(--color-light);
}

.framework-solutions-hero::before {
  content: '';
  position: absolute;
  inset: 80px 0 0;
  background:
    linear-gradient(rgba(var(--color-primary-rgb), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-primary-rgb), 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  z-index: 0;
}

.solution-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1.8rem;
}

.solution-hero-badges span {
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: 999px;
  background: rgba(var(--color-primary-rgb), 0.055);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.9rem;
}

.framework-solutions-device {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: #f8f9fa;
  box-shadow: 0 24px 70px rgba(33, 37, 41, 0.12);
}

.framework-solutions-device img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.solution-device-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.solution-device-note strong {
  color: var(--color-primary);
  font-size: 1.05rem;
}

.solution-device-note span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  text-align: right;
}

.framework-about-story-section {
  background: var(--color-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.framework-about-story-layout {
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1fr);
}

.about-story-media {
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: #f8f9fa;
  box-shadow: var(--shadow-lg);
}

.about-story-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.about-story-copy h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  letter-spacing: 0;
}

.about-story-copy p {
  margin-bottom: 1rem;
}

.about-story-copy .btn {
  margin-top: 1rem;
}

.framework-about-section {
  background: var(--color-light);
}

.framework-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.framework-about-copy h2 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.framework-about-copy p {
  max-width: 840px;
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.framework-about-copy .btn {
  margin-top: 0.85rem;
}

.framework-about-proof {
  display: grid;
  gap: 1rem;
}

.framework-about-proof div {
  padding: 1.4rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: var(--shadow-sm);
}

.framework-about-proof strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-primary);
  font-size: 1.6rem;
  line-height: 1.1;
}

.framework-about-proof span {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.framework-red-headline {
  padding: clamp(2.3rem, 4vw, 3.25rem) 0;
  background: var(--color-primary);
  color: var(--color-light);
}

.framework-red-headline p {
  max-width: 1100px;
  margin: 0 auto;
  color: var(--color-light);
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1.22;
  text-align: center;
}

.framework-matrix-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.framework-matrix {
  display: grid;
  grid-template-columns: 1.15fr 0.925fr 0.925fr;
  gap: 1.25rem;
  align-items: stretch;
}

.framework-matrix-card,
.framework-vmv-card,
.framework-expert-card,
.framework-news-card,
.contact-framework-card,
.solution-standard-grid article,
.solution-advantage-grid article,
.solution-roadmap-grid article {
  min-width: 0;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-sm);
}

.framework-matrix-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.framework-matrix-feature {
  background: #2c2c2c;
  color: #ffffff;
}

.framework-matrix-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
}

.framework-matrix-icon svg {
  width: 26px;
  height: 26px;
}

.framework-matrix-card span {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.framework-matrix-card h3 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.framework-matrix-card p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.framework-matrix-feature .framework-matrix-icon {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

.framework-matrix-feature span,
.framework-matrix-feature h3,
.framework-matrix-feature p {
  color: #ffffff;
}

.framework-matrix-feature p {
  opacity: 0.86;
}

.framework-slogan-section {
  padding: clamp(4rem, 6vw, 5.5rem) 0;
  background: var(--color-light);
}

.framework-slogan-card {
  padding: clamp(2.4rem, 5vw, 4rem);
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 22px 60px rgba(var(--color-primary-rgb), 0.18);
}

.framework-slogan-card h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: 0;
}

.framework-slogan-card p {
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.85;
  opacity: 0.96;
}

.framework-partners-section {
  background: #f8f9fa;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.framework-partner-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.framework-partner-strip.is-slider {
  display: flex;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.25rem 0.25rem 1rem;
  scroll-padding-inline: max(1rem, calc((100vw - var(--container-width)) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.framework-partner-strip.is-slider .framework-partner-logo {
  flex: 0 0 min(260px, 78vw);
  scroll-snap-align: start;
}

.framework-partner-logo {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.6rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.1);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

a.framework-partner-logo {
  color: inherit;
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

a.framework-partner-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--color-primary-rgb), 0.28);
  box-shadow: var(--shadow-md);
}

.framework-partner-logo img {
  width: auto;
  max-width: 180px;
  height: 72px;
  object-fit: contain;
}

.framework-partner-logo svg {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
}

.framework-partner-logo strong {
  color: var(--color-dark);
  font-size: 1rem;
}

.framework-partner-logo span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.framework-experts-section {
  border-bottom: 1px solid var(--color-border);
}

.framework-expert-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.framework-expert-card {
  padding: 1.7rem;
  text-align: center;
}

.framework-expert-avatar {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #f8eef1;
  color: var(--color-primary);
}

.framework-expert-avatar svg {
  width: 42px;
  height: 42px;
}

.framework-expert-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.framework-expert-card span {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.framework-expert-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.framework-news-teaser-section {
  background: var(--color-light);
}

.framework-news-row,
.framework-gallery-grid,
.solution-standard-grid,
.solution-advantage-grid,
.solution-roadmap-grid,
.solution-comprehensive-grid {
  display: grid;
  gap: 1.25rem;
}

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

.framework-news-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.45rem;
}

.framework-news-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1.15rem;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}

.framework-news-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  background: rgba(var(--color-primary-rgb), 0.07);
  color: var(--color-primary);
}

.framework-news-icon svg {
  width: 28px;
  height: 28px;
}

.framework-news-card span,
.news-feature-card small,
.news-structure-card small {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.framework-news-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.08rem;
  line-height: 1.35;
}

.framework-news-card p {
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.framework-news-card a,
.news-structure-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.framework-news-card a svg {
  width: 15px;
  height: 15px;
}

.news-detail-page {
  background: #ffffff;
}

.news-detail-hero {
  padding: clamp(4.5rem, 7vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.news-detail-copy h1 {
  margin: 1rem 0 1rem;
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  line-height: 1.08;
}

.news-detail-copy > p {
  max-width: 720px;
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.news-detail-back,
.news-detail-meta,
.news-detail-meta span {
  display: inline-flex;
  align-items: center;
}

.news-detail-back {
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
  font-weight: 800;
}

.news-detail-back svg,
.news-detail-meta svg {
  width: 17px;
  height: 17px;
}

.news-detail-meta {
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin-top: 1.4rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-detail-meta span {
  gap: 0.4rem;
}

.news-detail-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.news-detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-detail-body-section {
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.news-detail-body-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.news-detail-content {
  color: var(--color-dark);
  font-size: 1.04rem;
  line-height: 1.86;
}

.news-detail-content :is(h2, h3, h4) {
  margin: 2rem 0 0.8rem;
  line-height: 1.25;
}

.news-detail-content p,
.news-detail-content ul,
.news-detail-content ol,
.news-detail-content blockquote {
  margin-bottom: 1.2rem;
}

.news-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-detail-side {
  position: sticky;
  top: 110px;
}

.news-detail-side-card {
  padding: 1.5rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.news-detail-side-card h2 {
  margin: 0.9rem 0 0.8rem;
  font-size: 1.35rem;
  line-height: 1.28;
}

.news-detail-side-card p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.framework-form-section {
  padding: clamp(4rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--color-border);
}

.framework-form-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-lg);
}

.framework-form-actions {
  margin-top: 2rem;
  text-align: center;
}

.framework-form-actions .btn {
  width: 100%;
  max-width: 420px;
}

.public-form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
}

.framework-vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.framework-vmv-card {
  padding: 1.7rem;
}

.framework-vmv-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

.framework-vmv-card p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.framework-legal-section {
  background: #f8f9fa;
  border-top: 1px solid var(--color-border);
}

.framework-legal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.framework-legal-card h2 {
  margin-bottom: 0.85rem;
}

.framework-legal-card p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.solution-intro-layout,
.solution-product-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.solution-intro-layout h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 4.6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.solution-lead {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.85;
}

.solution-check-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
  padding: 0;
  list-style: none;
}

.solution-check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--color-text-muted);
}

.solution-check-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--color-primary);
}

.solution-intro-media,
.solution-product-visual {
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: #f8f9fa;
  box-shadow: var(--shadow-lg);
}

.solution-intro-media img,
.solution-product-visual img,
.framework-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-product-section {
  background: var(--color-light);
}

.solution-product-block {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.solution-product-block + .solution-product-block {
  border-top: 1px solid var(--color-border);
}

.solution-product-block.reverse {
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1fr);
}

.solution-product-block.reverse .solution-product-copy {
  order: 2;
}

.solution-product-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: 0;
}

.solution-product-copy p {
  color: var(--color-text-muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.solution-product-points {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.solution-product-points span {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--color-primary);
  border-radius: 6px;
  background: #f8f9fa;
  color: var(--color-dark);
  font-weight: 700;
}

.solution-assistant-grid,
.contact-framework-grid,
.news-framework-grid {
  display: grid;
  gap: 1.25rem;
}

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

.solution-assistant-grid article {
  min-height: 240px;
  padding: 1.5rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.solution-assistant-grid svg,
.solution-advantage-grid svg {
  width: 30px;
  height: 30px;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.solution-assistant-grid h3,
.solution-advantage-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.solution-assistant-grid p,
.solution-advantage-grid p,
.solution-standard-grid p,
.solution-roadmap-grid p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.solution-standard-section,
.solution-advantages-section,
.solution-gallery-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.solution-standard-grid,
.solution-advantage-grid,
.solution-roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-standard-grid article,
.solution-advantage-grid article,
.solution-roadmap-grid article {
  padding: 1.6rem;
}

.solution-standard-grid h3 {
  margin-bottom: 0.85rem;
  font-size: 1.22rem;
}

.solution-roadmap-grid article {
  border-top: 4px solid var(--color-primary);
}

.solution-roadmap-grid span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.solution-roadmap-grid h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
}

.solution-roadmap-grid strong {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--color-dark);
}

.solution-comprehensive-section {
  background: #f8f9fa;
}

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

.solution-comprehensive-grid div {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-dark);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.solution-note {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  text-align: center;
}

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

.framework-gallery-grid figure {
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.framework-gallery-grid img {
  aspect-ratio: 16 / 10;
}

.framework-gallery-grid figcaption {
  padding: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.news-framework-hero {
  border-bottom: 1px solid var(--color-border);
}

.news-framework-grid {
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  align-items: stretch;
}

.news-feature-card,
.news-structure-card,
.news-category-card {
  min-width: 0;
  padding: 1.6rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.news-feature-card {
  background: #2c2c2c;
  color: #ffffff;
}

.news-feature-card h2,
.news-feature-card p {
  color: #ffffff;
}

.news-feature-card p {
  margin-bottom: 1.4rem;
  opacity: 0.88;
}

.news-structure-media {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  background: #f8f9fa;
  color: var(--color-primary);
}

.news-structure-media svg {
  width: 48px;
  height: 48px;
}

.news-structure-card h2 {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.news-structure-card p,
.news-category-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.news-category-card {
  display: grid;
  gap: 1rem;
}

.news-category-card h3 {
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.news-list-section {
  background: var(--color-light);
}

.news-grid-framework {
  align-items: stretch;
}

.contact-info-section {
  border-bottom: 1px solid var(--color-border);
}

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

.contact-map-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: #fff;
}

.contact-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: center;
}

.contact-map-frame {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(200, 0, 0, .14);
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: 0 22px 60px rgba(44, 44, 44, .10);
}

.contact-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-framework-card {
  padding: clamp(1.7rem, 3vw, 2.4rem);
}

.contact-info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-top: 1px solid var(--color-border);
}

.contact-info-row:first-of-type {
  border-top: 0;
}

.contact-info-row svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--color-primary);
}

.contact-info-row h3 {
  margin-bottom: 0.25rem;
  font-size: 1.12rem;
}

.contact-info-row p {
  color: var(--color-text-muted);
}

.contact-info-row a {
  color: var(--color-primary);
  font-weight: 800;
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

@media (max-width: 1180px) and (orientation: landscape) {
  .framework-carousel-copy h1 {
    font-size: 3.2rem;
  }

  .framework-carousel-shell,
  .solution-intro-layout,
  .solution-product-block {
    gap: 2rem;
  }
}

@media (max-width: 989px), (orientation: portrait) {
  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .enext-floating-actions {
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .floating-action-btn {
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .floating-chat-list {
    right: 56px;
    width: 156px;
  }

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

  .framework-section {
    padding: 4rem 0;
  }

  .framework-carousel-section {
    min-height: auto;
    padding: 3rem 0 4rem;
  }

  .framework-carousel-section.world-map-bg::before {
    background-size: 1180px auto;
    background-position: 48% 26%;
    background-attachment: scroll;
  }

  .framework-carousel-section.world-map-bg::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.66) 52%, rgba(255,255,255,0.86) 100%);
  }

  .framework-carousel-shell,
  .framework-about-hero-layout,
  .framework-solutions-hero-layout,
  .framework-about-story-layout,
  .framework-about-layout,
  .solution-intro-layout,
  .solution-product-block,
  .solution-product-block.reverse,
  .news-framework-grid,
  .news-detail-layout,
  .news-detail-body-layout,
  .contact-framework-grid,
  .contact-map-layout {
    grid-template-columns: 1fr;
  }

  .contact-map-frame {
    min-height: 320px;
  }

  .solution-product-block.reverse .solution-product-copy {
    order: 0;
  }

  .framework-carousel-copy h1,
  .framework-about-hero-copy h1,
  .framework-solutions-hero-copy h1,
  .framework-about-copy h2,
  .solution-intro-layout h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .framework-carousel-media {
    min-height: 420px;
  }

  .framework-matrix,
  .framework-expert-row,
  .framework-news-row,
  .framework-vmv-grid,
  .solution-standard-grid,
  .solution-advantage-grid,
  .solution-roadmap-grid,
  .solution-comprehensive-grid,
  .framework-gallery-grid,
  .solution-assistant-grid {
    grid-template-columns: 1fr;
  }

  .framework-partner-strip {
    grid-template-columns: 1fr;
  }

  .news-detail-side {
    position: static;
  }

  .framework-legal-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .framework-legal-card .btn {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .framework-carousel-copy h1,
  .framework-about-copy h2,
  .solution-intro-layout h1 {
    font-size: 2.25rem;
  }

  .framework-carousel-copy p,
  .framework-about-hero-copy p,
  .framework-solutions-hero-copy p,
  .framework-about-copy p,
  .solution-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .framework-carousel-actions,
  .framework-carousel-actions .btn {
    width: 100%;
  }

  .framework-carousel-media {
    min-height: 300px;
  }

  .framework-red-headline p {
    font-size: 1.45rem;
  }

  .framework-form-card {
    padding: 1.5rem;
  }

  .framework-title-strip,
  .framework-eyebrow {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 989px), (orientation: portrait) {
  footer .footer-bottom.container {
    padding: 1.65rem 1.25rem 1.8rem;
  }
}

@media (max-width: 420px) {
  footer .footer-bottom.container {
    padding: 1.75rem 1.25rem 1.95rem;
  }
}
