:root {
  --color-primary: #A81E22;
  --color-primary-dark: #86171b;
  --color-primary-bright: #A81E22;
  --color-primary-rgb: 168, 30, 34;
  --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(var(--color-primary-rgb), 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: #ffffff;
  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%;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:focus-within .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  z-index: 1200;
  min-width: 220px;
  padding: 0.45rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 6px;
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible,
.nav-dropdown-link.active {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.07);
}

.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 {
  min-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 span {
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.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;
}

@media (min-width: 990px) {
  header {
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  }

  .header-container {
    max-width: min(1240px, calc(100% - 48px));
    height: 78px;
    padding: 0;
    display: flex;
    gap: clamp(1rem, 2.5vw, 2.5rem);
    background: transparent;
  }

  .header-container > .logo {
    flex: 0 0 auto;
    padding: 0;
    border-right: 0;
  }

  .brand-logo-img {
    max-width: 190px;
    height: 54px;
  }

  .nav-links {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    gap: clamp(1.2rem, 3vw, 3rem);
    min-width: 0;
  }

  .nav-link {
    min-width: 0;
    height: auto;
    padding: 0.7rem 0;
    border-right: 0;
    color: #202020;
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.15;
    white-space: nowrap;
  }

  .nav-link::after {
    display: block;
    height: 3px;
    border-radius: 999px;
    background-color: var(--color-primary);
  }

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

  .header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.85rem;
  }

  .header-actions .lang-switcher,
  .header-actions .btn {
    width: auto;
    height: 42px;
    min-height: 42px;
    border: 1px solid rgba(var(--color-primary-rgb), 0.16);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    background: #ffffff;
    color: #202020;
  }

  .header-actions .btn {
    padding: 0 1.25rem !important;
    font-size: 0.9rem !important;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    color: #ffffff;
    background: var(--color-primary);
  }

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

  .header-actions .btn:hover,
  .header-actions .btn:focus-visible {
    background: var(--color-primary-dark);
    color: #ffffff;
  }

  main.content-wrapper {
    padding-top: 78px;
  }
}

.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-group {
  display: grid;
  gap: 0.75rem;
}

.mobile-nav-parent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-parent svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.mobile-nav-parent.active,
.mobile-nav-sublink.active {
  color: var(--color-primary);
}

.mobile-nav-submenu {
  display: grid;
  gap: 0.55rem;
  padding: 0.35rem 0 0.2rem 1rem;
  border-left: 2px solid rgba(var(--color-primary-rgb), 0.16);
}

.mobile-nav-sublink {
  display: block;
  padding: 0.48rem 0;
  color: var(--color-text-muted);
  font-size: 1.02rem;
  font-weight: 700;
}

.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;
  max-width: 100%;
  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;
}

.form-select-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.form-select-shell.is-enhanced select.form-control {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.form-select-trigger {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 3rem 0.85rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  color: var(--color-text);
  box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset, 0 8px 20px rgba(5, 8, 12, 0.04);
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-select-trigger::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translateY(-62%) rotate(45deg);
  transition: var(--transition-fast);
}

.form-select-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-select-shell.is-open .form-select-trigger,
.form-select-trigger:focus-visible {
  border-color: var(--color-primary);
  background: var(--color-light);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.07);
}

.form-select-shell.is-open .form-select-trigger::after {
  transform: translateY(-38%) rotate(225deg);
}

.form-select-shell.is-invalid .form-select-trigger {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.08);
}

.form-select-list {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 60;
  width: 100%;
  max-height: min(290px, 42vh);
  padding: 0.35rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: var(--border-radius-md);
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(5, 8, 12, 0.18);
  overflow: auto;
}

.form-select-option {
  display: block;
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text);
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-select-option:hover,
.form-select-option:focus-visible {
  background: rgba(var(--color-primary-rgb), 0.07);
  color: var(--color-primary);
}

.form-select-option.is-selected {
  background: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-weight: 700;
}

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:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  padding: clamp(2.5rem, 3.6vw, 3.6rem) 0 clamp(1.2rem, 2vw, 1.7rem);
  border-top: 0;
}

footer h3, footer h4, footer a {
  color: #ffffff;
}

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

.footer-grid-enext {
  max-width: min(1720px, calc(100% - 96px));
  padding: 0;
  border: 0;
  border-radius: 0;
  grid-template-columns: minmax(330px, 1.35fr) minmax(220px, 0.72fr) minmax(170px, 0.48fr) minmax(300px, 0.9fr);
  align-items: start;
  column-gap: clamp(2rem, 5vw, 6rem);
  row-gap: 1.6rem;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.footer-logo-desc {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  max-width: 620px;
}

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

.footer-logo .logo-red {
  color: #ffffff;
}

.footer-logo-img {
  display: block;
  width: auto;
  max-width: 180px;
  height: 58px;
  margin-bottom: 0.35rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-company-name {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.02rem, 1.2vw, 1.25rem);
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.55;
}

.footer-description-emphasis {
  font-style: italic;
}

.footer-office-block {
  margin-top: 0;
  display: grid;
  gap: 0.58rem;
}

.footer-office-block h4 {
  margin: 0 0 0.15rem;
  padding: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  font-weight: 900;
}

.footer-office-block h4::after {
  display: none;
}

.footer-office-block p {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 1vw, 1.04rem);
  line-height: 1.45;
}

.footer-office-block svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: #ffffff;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.footer-links-col h4 {
  margin: 0;
  font-size: clamp(1.08rem, 1.2vw, 1.25rem);
  font-weight: 900;
  color: #ffffff;
  position: relative;
  padding-bottom: 0;
}

.footer-links-col h4::after {
  display: none;
}

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

.footer-links-list a {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  line-height: 1.45;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
  opacity: 0.82;
}

.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: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-note-col {
  padding-top: 0.25rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  line-height: 1.45;
  text-align: center;
}

.footer-note-col p {
  margin: 0;
}

.footer-office-card {
  align-self: start;
  padding: clamp(1rem, 1.35vw, 1.2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  text-align: left;
}

.footer-bottom {
  margin-top: clamp(1.6rem, 2.4vw, 2.2rem);
  padding: 1rem 0 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  box-shadow: none;
}

.footer-bottom-copy {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.695rem;
  font-style: italic;
  line-height: 1.55;
  text-align: left;
}

.footer-bottom-copy a {
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.footer-bottom-copy a:hover,
.footer-bottom-copy a:focus-visible {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.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: 2.25rem 0 calc(1.4rem + env(safe-area-inset-bottom));
  }

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

  .footer-grid-enext {
    max-width: calc(100% - 2rem);
    padding: 0;
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .footer-logo-desc {
    align-items: stretch;
    text-align: left;
    margin: 0 auto;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo-img {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links-col,
  .footer-note-col {
    text-align: left;
  }

  .footer-bottom {
    width: calc(100% - 2rem);
    margin-top: 1.55rem;
    padding: 1rem 0 0;
    justify-content: flex-start;
    text-align: left;
  }

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

  .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-top: 0.9rem;
  }

  .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');
}

.bg-esl-lab-faded::before {
  background-image: url('/static/enext/images/esl-lab-parallax-bg.webp');
  background-position: center;
}

.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-video-hero-section {
  position: relative;
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #1f2329;
}

.framework-video-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1f2329;
}

.framework-video-hero-media video,
.framework-video-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framework-video-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.84) 0%, rgba(5, 8, 12, 0.64) 48%, rgba(5, 8, 12, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.28) 0%, rgba(5, 8, 12, 0.42) 100%),
    rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.framework-video-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.framework-video-hero-copy h1 {
  max-width: 860px;
  margin-bottom: 1.35rem;
  color: #fff;
  font-size: clamp(2.65rem, 5.4vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.framework-video-hero-copy p {
  max-width: 720px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  font-size: 1.16rem;
  line-height: 1.85;
}

.framework-video-hero-copy .framework-eyebrow {
  border-color: rgba(255,255,255,0.36);
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.framework-video-hero-section .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.62);
  background: rgba(255,255,255,0.08);
}

.framework-video-hero-section .btn-secondary:hover,
.framework-video-hero-section .btn-secondary:focus-visible {
  color: var(--color-dark);
  background: #fff;
  border-color: #fff;
}

.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: 1 / 1;
  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 p strong {
  color: var(--color-dark);
  font-weight: 800;
}

.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-about-media {
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: #f8f9fa;
  box-shadow: var(--shadow-lg);
}

.framework-about-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.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-core-values-section {
  border-top: 1px solid var(--color-border);
}

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

.framework-core-values-grid .framework-matrix-card h3 {
  min-height: 3.55rem;
}

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

.framework-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.framework-program-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.framework-program-card figure {
  overflow: hidden;
  background: #f8f9fa;
}

.framework-program-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.framework-program-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.45rem, 3vw, 2rem);
}

.framework-program-card span {
  margin-bottom: 0.6rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.framework-program-card h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: 0;
}

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

.framework-program-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.15rem 0 1.55rem;
  padding: 0;
  list-style: none;
}

.framework-program-card li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.55;
}

.framework-program-card li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
}

.framework-program-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

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

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

.about-vmv-parallax {
  position: relative;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.08);
  background: #ffffff;
}

.about-vmv-parallax::before {
  opacity: 0.18;
}

.about-vmv-parallax > .container {
  position: relative;
  z-index: 1;
}

.about-vmv-parallax .framework-section-heading {
  max-width: min(980px, 100%);
}

.about-vmv-parallax .framework-vmv-grid-two {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
}

.about-vmv-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  align-items: center;
  border-color: rgba(var(--color-primary-rgb), 0.16);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 24px 70px rgba(33, 37, 41, 0.08);
  backdrop-filter: blur(4px);
}

.about-vmv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08), transparent 42%);
  pointer-events: none;
}

.about-vmv-card-feature::before {
  background: linear-gradient(135deg, rgba(44,44,44,0.07), rgba(var(--color-primary-rgb), 0.055) 52%, transparent);
}

.about-vmv-card > * {
  position: relative;
  z-index: 1;
}

.about-vmv-graphic {
  min-height: 230px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: center;
  padding: 1rem 0;
}

.about-vmv-index {
  color: rgba(var(--color-primary-rgb), 0.34);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
}

.about-vmv-icon {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(var(--color-primary-rgb), 0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 14px 34px rgba(var(--color-primary-rgb), 0.12);
}

.about-vmv-icon svg {
  width: 42px;
  height: 42px;
}

.about-vmv-line {
  width: 2px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.18), rgba(var(--color-primary-rgb), 0.72));
}

.about-vmv-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.about-vmv-copy p {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.12vw, 1.12rem);
  line-height: 1.78;
}

.about-vmv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.about-vmv-tags span {
  min-height: 34px;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.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(4, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1180px;
  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;
}

.about-partner-detail {
  display: grid;
  gap: 1.35rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.about-partner-intro {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.about-partner-intro p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-partner-intro p + p {
  margin-top: 0.65rem;
  color: var(--color-primary);
  font-weight: 700;
}

.about-partner-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.about-partner-links a {
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.16);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 0.86rem;
  font-weight: 800;
}

.about-partner-links a:hover,
.about-partner-links a:focus-visible {
  border-color: rgba(var(--color-primary-rgb), 0.34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.about-partner-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.about-partner-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  padding: clamp(1.45rem, 2.4vw, 2rem);
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.about-partner-card-feature {
  border-color: rgba(var(--color-primary-rgb), 0.22);
  background:
    linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.055), transparent 42%),
    #ffffff;
}

.about-partner-card-head span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-partner-card-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  letter-spacing: 0;
}

.about-partner-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.about-partner-stats strong {
  min-height: 34px;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 0.86rem;
  line-height: 1.25;
}

.about-partner-card p {
  margin: 0;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.about-partner-card .about-partner-value {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-dark);
  font-weight: 800;
}

.about-partner-tagline {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.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;
}

.enext-consult-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-dark);
  transform: translate(-50%, -50%);
  overflow: visible;
}

.enext-consult-modal::backdrop {
  background: rgba(5, 8, 12, 0.58);
  backdrop-filter: blur(4px);
}

.enext-consult-modal-card {
  position: relative;
  max-height: calc(100dvh - 2rem);
  padding: 2.5rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: var(--border-radius-md);
  background: var(--color-light);
  box-shadow: 0 28px 90px rgba(5, 8, 12, 0.28);
  overflow: auto;
}

.enext-consult-modal-card .framework-section-heading {
  margin-bottom: 1.5rem;
  padding-right: 2.75rem;
}

.enext-consult-modal-card .framework-section-heading h2 {
  font-size: clamp(1.65rem, 2.2vw, 2.2rem);
}

.enext-consult-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-light);
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.enext-consult-modal-close:hover,
.enext-consult-modal-close:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.08);
}

.enext-consult-modal-close svg {
  width: 20px;
  height: 20px;
}

html.enext-consult-modal-open body {
  overflow: hidden;
}

@media (max-width: 989px), (orientation: portrait) {
  .enext-consult-modal {
    width: min(640px, calc(100vw - 1rem));
    max-height: calc(100dvh - 1rem);
  }

  .enext-consult-modal-card {
    max-height: calc(100dvh - 1rem);
    padding: 1.5rem;
  }

  .enext-consult-modal-card .framework-section-heading {
    padding-right: 2.25rem;
  }
}

.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;
}

.solution-esl-page {
  --esl-soft-red: rgba(var(--color-primary-rgb), 0.075);
}

.solution-esl-hero {
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 5vw, 4.8rem);
  overflow: hidden;
}

.solution-esl-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
}

.solution-esl-hero-copy h1 {
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.solution-esl-subtitle {
  margin-bottom: 1.1rem;
  color: var(--color-dark);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
}

.solution-esl-hero-copy p:not(.solution-esl-subtitle) {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

.solution-esl-note {
  margin-top: 0.9rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary);
}

.solution-esl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.solution-esl-hero-media,
.esl-reading-media {
  overflow: hidden;
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.solution-esl-hero-media img,
.esl-reading-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-esl-hero-media img {
  aspect-ratio: 16 / 10;
}

.solution-esl-pillar-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.solution-esl-pillar-strip span {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.13);
  border-radius: 8px;
  background: #fff;
  color: var(--color-dark);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.solution-esl-pillar-strip svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  color: var(--color-primary);
}

.esl-reading-layout,
.esl-lab-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.3rem, 5vw, 5rem);
  align-items: center;
}

.esl-reading-copy h2,
.esl-lab-copy h2,
.esl-final-card h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  letter-spacing: 0;
}

.esl-reading-copy > strong {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--color-primary);
  font-size: 1.05rem;
}

.esl-reading-copy > p,
.esl-lab-copy > p,
.esl-final-card p {
  color: var(--color-text-muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.esl-benefit-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.esl-benefit-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.11);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.esl-benefit-list svg {
  width: 34px;
  height: 34px;
  grid-row: span 2;
  color: var(--color-primary);
}

.esl-benefit-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.esl-benefit-list p {
  color: var(--color-text-muted);
  line-height: 1.65;
}

.esl-skills-band {
  padding: clamp(3.1rem, 5.2vw, 5rem) 0;
}

.esl-skills-inner {
  max-width: 980px;
  text-align: left;
}

.esl-skills-inner span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.76);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.esl-skills-inner h2 {
  max-width: 860px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.esl-skills-inner p {
  max-width: 900px;
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
  line-height: 1.8;
}

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

.esl-infographic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.esl-info-card {
  min-height: 320px;
  padding: 1.35rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-sm);
}

.esl-info-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border-radius: 8px;
  background: var(--esl-soft-red);
  color: var(--color-primary);
}

.esl-info-icon svg {
  width: 28px;
  height: 28px;
}

.esl-info-card h3 {
  margin-bottom: 1rem;
  font-size: 1.18rem;
}

.esl-level-list,
.esl-editor-list {
  display: grid;
  gap: 0.8rem;
}

.esl-level-list p,
.esl-editor-list p {
  display: grid;
  gap: 0.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.12);
}

.esl-level-list p:first-child,
.esl-editor-list p:first-child {
  padding-top: 0;
  border-top: 0;
}

.esl-level-list span,
.esl-editor-list span,
.esl-content-card p {
  color: var(--color-text-muted);
  line-height: 1.65;
}

.esl-level-list strong,
.esl-editor-list strong {
  color: var(--color-dark);
}

.esl-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.esl-chip-list span {
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: var(--esl-soft-red);
  color: var(--color-primary);
  font-weight: 800;
}

.esl-lab-section {
  overflow: hidden;
  isolation: isolate;
  background-color: #fff7f7;
}

.esl-lab-section.bg-education-faded::before {
  opacity: 0.18;
  filter: saturate(0.92);
}

.esl-lab-layout {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
}

.esl-lab-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.esl-lab-points article {
  padding: 1.1rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
}

.esl-lab-points svg {
  width: 28px;
  height: 28px;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.esl-lab-points h3 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.esl-lab-points p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.esl-lab-infographic {
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(var(--color-primary-rgb), 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.96), rgba(255,255,255,0.72) 58%, rgba(var(--color-primary-rgb),0.08) 100%),
    rgba(255,255,255,0.72);
  box-shadow: 0 26px 70px rgba(93, 27, 30, 0.14);
  backdrop-filter: blur(8px);
}

.esl-lab-orbit {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
}

.esl-lab-orbit::before,
.esl-lab-orbit::after {
  content: '';
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(var(--color-primary-rgb), 0.25);
  border-radius: 50%;
}

.esl-lab-orbit::after {
  inset: 22%;
  border-style: solid;
  opacity: 0.58;
}

.esl-lab-core {
  position: relative;
  z-index: 2;
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.65rem;
  padding: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-primary), #d54349);
  color: #fff;
  text-align: center;
  box-shadow: 0 22px 50px rgba(var(--color-primary-rgb), 0.34);
}

.esl-lab-core svg {
  width: 42px;
  height: 42px;
}

.esl-lab-core strong {
  max-width: 130px;
  font-size: 1rem;
  line-height: 1.25;
}

.esl-lab-node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 180px;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(var(--color-primary-rgb), 0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--color-dark);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: var(--shadow-md);
}

.esl-lab-node svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--color-primary);
}

.node-reading {
  top: 8%;
  left: 8%;
}

.node-speaking {
  top: 10%;
  right: 4%;
}

.node-correction {
  right: 2%;
  bottom: 13%;
}

.node-progress {
  left: 4%;
  bottom: 12%;
}

.esl-lab-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.esl-lab-flow span {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(var(--color-primary-rgb), 0.09);
  color: var(--color-primary);
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.esl-final-cta {
  padding: clamp(3.8rem, 6vw, 6rem) 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, #811317 0%, var(--color-primary) 48%, #c8373d 100%);
}

.esl-final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: 0 30px 90px rgba(47, 8, 10, 0.22);
}

.esl-final-card::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  pointer-events: none;
}

.esl-final-card > div {
  max-width: 760px;
}

.esl-final-card .framework-title-strip {
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.esl-final-card h2,
.esl-final-card p {
  color: #fff;
}

.esl-final-card p {
  max-width: 700px;
  opacity: 0.86;
}

.esl-final-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.esl-final-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 800;
}

.esl-final-points svg {
  width: 18px;
  height: 18px;
}

.esl-final-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
  min-width: 210px;
}

.esl-final-actions .btn {
  width: 100%;
  justify-content: center;
}

.esl-final-actions .btn-primary {
  color: var(--color-primary);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 18px 36px rgba(42, 7, 9, 0.2);
}

.esl-final-actions .btn-primary:hover,
.esl-final-actions .btn-primary:focus-visible {
  color: var(--color-primary);
  background: #fff;
  transform: translateY(-2px);
}

.esl-final-actions .btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.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) {
  .header-container {
    max-width: calc(100% - 32px);
    gap: 1rem;
  }

  .header-container > .logo {
    padding: 0;
  }

  .brand-logo-img {
    max-width: 172px;
  }

  .nav-link {
    padding: 0.6rem 0;
    font-size: 0.86rem;
  }

  .header-actions .btn {
    padding: 0 0.85rem !important;
    font-size: 0.82rem !important;
  }

  .footer-grid-enext {
    column-gap: 1.1rem;
  }

  .footer-description,
  .footer-office-block p,
  .footer-links-list a,
  .footer-note-col {
    font-size: 0.9rem;
  }

  .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-video-hero-section {
    min-height: 620px;
  }

  .framework-video-hero-media::after {
    background:
      linear-gradient(180deg, rgba(5, 8, 12, 0.82) 0%, rgba(5, 8, 12, 0.66) 54%, rgba(5, 8, 12, 0.78) 100%),
      rgba(0, 0, 0, 0.12);
  }

  .framework-video-hero-copy {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .framework-video-hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.35rem);
  }

  .framework-video-hero-copy p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .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,
  .framework-program-grid,
  .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-core-values-grid,
  .framework-expert-row,
  .about-partner-card-grid,
  .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;
  }

  .about-partner-detail {
    margin-top: 2rem;
  }

  .about-partner-intro {
    text-align: left;
  }

  .about-partner-links {
    justify-content: flex-start;
  }

  .about-vmv-parallax::before {
    background-attachment: scroll;
    opacity: 0.08;
  }

  .about-vmv-parallax .framework-section-heading {
    text-align: left;
  }

  .about-vmv-parallax .framework-vmv-grid-two {
    grid-template-columns: 1fr;
  }

  .about-vmv-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-vmv-graphic {
    min-height: auto;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto;
    justify-items: start;
    justify-content: start;
    gap: 0.9rem;
    padding: 0;
  }

  .about-vmv-icon {
    width: 68px;
    height: 68px;
  }

  .about-vmv-icon svg {
    width: 31px;
    height: 31px;
  }

  .about-vmv-line {
    width: 100%;
    height: 2px;
  }

  .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) {
  .solution-esl-hero {
    padding-top: 3.4rem;
  }

  .solution-esl-hero-layout,
  .esl-reading-layout,
  .esl-lab-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .solution-esl-hero-copy h1 {
    font-size: clamp(2.55rem, 16vw, 4rem);
  }

  .solution-esl-actions,
  .solution-esl-actions .btn {
    width: 100%;
  }

  .solution-esl-pillar-strip,
  .esl-infographic-grid,
  .esl-lab-points {
    grid-template-columns: 1fr;
  }

  .solution-esl-pillar-strip span {
    min-height: 70px;
    justify-content: flex-start;
    text-align: left;
  }

  .esl-reading-media {
    max-width: 520px;
    margin: 0 auto;
  }

  .esl-benefit-list article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .esl-skills-inner {
    text-align: left;
  }

  .esl-info-card {
    min-height: auto;
  }

  .esl-lab-infographic {
    order: -1;
    min-height: auto;
    padding: 1rem;
  }

  .esl-lab-orbit {
    min-height: auto;
    gap: 0.75rem;
    padding: 0.5rem 0;
  }

  .esl-lab-orbit::before,
  .esl-lab-orbit::after {
    display: none;
  }

  .esl-lab-core,
  .esl-lab-node {
    position: static;
  }

  .esl-lab-core {
    width: 148px;
    height: 148px;
    margin: 0 auto 0.35rem;
  }

  .esl-lab-node {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .esl-lab-flow {
    grid-template-columns: 1fr;
  }

  .esl-final-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .esl-final-actions {
    width: 100%;
  }

  .esl-final-card::after {
    right: -150px;
    bottom: -170px;
  }

  .esl-lab-section.bg-education-faded::before {
    background-attachment: scroll;
    opacity: 0.07;
  }

  footer .footer-bottom.container {
    padding: 1rem 0 0;
  }
}

@media (max-width: 420px) {
  .solution-esl-hero-copy h1 {
    font-size: 2.45rem;
  }

  .solution-esl-subtitle,
  .esl-skills-inner p {
    font-size: 1rem;
  }

  footer .footer-bottom.container {
    padding-top: 0.9rem;
  }
}
