/* ==========================================================================
   ERGENSO — Design System & Styles
   A premium corporate holding company website
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Outfit:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Color Palette */
  --primary:       #081B33;   /* Midnight Blue */
  --secondary:     #102A43;   /* Deep Navy */
  --accent:        #00D1B2;   /* Electric Teal */
  --highlight:     #2F80ED;   /* Azure Blue */
  --neutral:       #F7F9FC;   /* Soft White */
  --text:          #1A202C;   /* Dark Slate */

  /* Extended palette */
  --primary-light: #0d2847;
  --accent-glow:   rgba(0, 209, 178, .25);
  --highlight-glow:rgba(47, 128, 237, .20);
  --dark-overlay:  rgba(8, 27, 51, .85);
  --card-bg:       rgba(255, 255, 255, .06);
  --card-border:   rgba(255, 255, 255, .10);
  --card-bg-light: #ffffff;
  --border-light:  #e2e8f0;
  --text-muted:    #64748b;
  --text-light:    rgba(255, 255, 255, .75);
  --white:         #ffffff;
  --black:         #000000;

  /* Typography */
  --font-heading:  'Libre Baskerville', Georgia, serif;
  --font-family:   'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-base:     1rem;
  --font-sm:       0.875rem;
  --font-xs:       0.75rem;
  --font-lg:       1.125rem;
  --font-xl:       1.25rem;
  --font-2xl:      1.5rem;
  --font-3xl:      1.875rem;
  --font-4xl:      2.25rem;
  --font-5xl:      3rem;
  --font-6xl:      3.75rem;
  --font-7xl:      4.5rem;
  --line-height:   1.7;
  --letter-tight:  -0.02em;
  --letter-normal: -0.01em;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius — more conservative/corporate */
  --radius-sm:  0.25rem;
  --radius-md:  0.375rem;
  --radius-lg:  0.5rem;
  --radius-xl:  0.75rem;
  --radius-2xl: 1rem;
  --radius-full:9999px;

  /* Shadows */
  --shadow-sm:   0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:   0 8px 24px rgba(0,0,0,.10);
  --shadow-xl:   0 16px 40px rgba(0,0,0,.12);
  --shadow-glow: 0 0 30px var(--accent-glow);
  --shadow-blue: 0 0 30px var(--highlight-glow);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(.34,1.56,.64,1);

  /* Layout */
  --container-max: 1200px;
  --container-lg:  1400px;
  --header-height: 80px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-base);
  font-weight: 400;
  line-height: var(--line-height);
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--letter-tight);
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, var(--font-7xl)); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, var(--font-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--font-3xl)); }
h4 { font-size: var(--font-2xl); }
h5 { font-size: var(--font-xl); font-family: var(--font-family); font-weight: 700; }
h6 { font-size: var(--font-lg); font-family: var(--font-family); font-weight: 600; }

p {
  font-size: var(--font-lg);
  line-height: var(--line-height);
  color: var(--text-muted);
}

.text-white { color: var(--white) !important; }
.text-white p, .text-white h1, .text-white h2, .text-white h3, .text-white h4 { color: var(--white); }
.text-white p { color: var(--text-light); }
.text-accent { color: var(--accent) !important; }
.text-highlight { color: var(--highlight) !important; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-lg {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-gradient {
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 50%, var(--primary-light) 100%);
  color: var(--white);
}

.section-light {
  background: var(--neutral);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-16);
}

.section-header .label {
  display: inline-block;
  font-size: var(--font-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-family: var(--font-family);
}

.section-header h2 {
  margin-bottom: var(--space-6);
}

.section-header p {
  font-size: var(--font-lg);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

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

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

/* ---------- Buttons — Corporate Style ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-size: var(--font-base);
  font-weight: 600;
  font-family: var(--font-family);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
}

.btn-primary:hover {
  background: #00e6c3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary::after {
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-highlight {
  background: var(--highlight);
  color: var(--white);
}

.btn-highlight:hover {
  background: #4a93f0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--font-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-sm);
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-base);
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  border-bottom-color: transparent;
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 1001;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(8, 27, 51, .05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xl);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-sm);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  color: var(--text);
  background: rgba(11, 20, 38, .04);
}

.nav-dropdown-menu a .icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(0, 209, 178, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,27,51,.85) 0%, rgba(16,42,67,.75) 50%, rgba(8,27,51,.80) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0, 209, 178, .08) 0%, transparent 70%);
  z-index: 1;
  animation: heroGlow 10s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(47, 128, 237, .06) 0%, transparent 70%);
  z-index: 1;
  animation: heroGlow 12s ease-in-out infinite reverse;
}

@keyframes heroGlow {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Geometric grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  z-index: 1;
}

/* Floating shapes — very subtle for corporate */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  border-radius: var(--radius-2xl);
  opacity: .03;
  animation: floatShape 25s ease-in-out infinite;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--highlight);
  bottom: 20%;
  left: 10%;
  animation-delay: -5s;
  border-radius: 50%;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  top: 60%;
  right: 25%;
  animation-delay: -10s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(2deg); }
  50% { transform: translateY(5px) rotate(-1deg); }
  75% { transform: translateY(-10px) rotate(1deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-content .label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 209, 178, .1);
  border: 1px solid rgba(0, 209, 178, .2);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-8);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-family);
}

.hero-content .label .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: var(--space-6);
  font-weight: 800;
}

.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  color: var(--text-light);
  font-size: var(--font-xl);
  margin-bottom: var(--space-10);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(11, 20, 38, .7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-lg);
}

.hero-stat {
  padding: var(--space-6) var(--space-8);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat .number {
  font-size: var(--font-4xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.hero-stat .label {
  font-size: var(--font-sm);
  color: var(--text-light);
  font-weight: 500;
  font-family: var(--font-family);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-height) + var(--space-20)) 0 var(--space-20);
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-hero .page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,27,51,.82) 0%, rgba(16,42,67,.72) 50%, rgba(8,27,51,.80) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(0, 209, 178, .06), transparent 70%);
}

.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-size: var(--font-sm);
  color: var(--text-light);
  font-family: var(--font-family);
}

.breadcrumb a {
  color: var(--accent);
}

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

.breadcrumb .separator {
  color: rgba(255,255,255,.3);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  color: var(--text-light);
  font-size: var(--font-xl);
  max-width: 600px;
}

/* ---------- Stats Section ---------- */
.stats-section {
  padding: var(--space-20) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-card {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,209,178,.1), rgba(47,128,237,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-card .stat-number {
  font-size: var(--font-5xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.stat-card .stat-label {
  font-size: var(--font-base);
  color: var(--text-muted);
  font-weight: 500;
}

/* Dark stat cards */
.section-dark .stat-card,
.section-gradient .stat-card {
  background: var(--card-bg);
  border-color: var(--card-border);
}

.section-dark .stat-card .stat-number,
.section-gradient .stat-card .stat-number {
  color: var(--accent);
}

.section-dark .stat-card .stat-label,
.section-gradient .stat-card .stat-label {
  color: var(--text-light);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: var(--space-6) var(--space-8);
}

.card-body h3 {
  margin-bottom: var(--space-3);
}

.card-body p {
  margin-bottom: var(--space-4);
}

.card-footer {
  padding: var(--space-4) var(--space-8);
  border-top: 1px solid var(--border-light);
}

/* Glass card (dark sections) */
.glass-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(0, 209, 178, .3);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.glass-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 24px;
  color: var(--white);
}

.glass-card h4 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.glass-card p {
  color: var(--text-light);
  font-size: var(--font-base);
}

/* Feature card (light sections) */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

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

.feature-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(0, 209, 178, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 24px;
  color: var(--accent);
}

.feature-card h4 {
  margin-bottom: var(--space-3);
}

/* Brand card */
.brand-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,209,178,.03), rgba(47,128,237,.03));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.brand-card:hover::after {
  opacity: 1;
}

.brand-card .brand-logo {
  height: 48px;
  margin: 0 auto var(--space-6);
  object-fit: contain;
}

.brand-card h4 {
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.brand-card p {
  font-size: var(--font-sm);
  position: relative;
  z-index: 1;
}

/* ---------- Split Section ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split-content {
  max-width: 540px;
}

.split-content .label {
  display: inline-block;
  font-size: var(--font-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-4);
  font-family: var(--font-family);
}

.split-content h2 {
  margin-bottom: var(--space-6);
}

.split-content p {
  margin-bottom: var(--space-6);
}

.split-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(200,164,90,.15);
}

/* ---------- Corporate Image Block ---------- */
.corporate-image {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
}

.corporate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.corporate-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(0,209,178,.2);
  pointer-events: none;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: var(--space-8) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--highlight), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-12);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  padding-right: var(--space-12);
  padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  padding-left: var(--space-12);
}

.timeline-content {
  width: 50%;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(0,209,178,.2);
  z-index: 2;
}

.timeline-year {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.timeline-content h4 {
  margin-bottom: var(--space-2);
}

/* ---------- Team Grid ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

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

.team-card .team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.team-card .team-info {
  padding: var(--space-6);
  text-align: center;
}

.team-card .team-info h4 {
  margin-bottom: var(--space-1);
}

.team-card .team-info .role {
  font-size: var(--font-sm);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-3);
  font-family: var(--font-family);
}

.team-card .team-info p {
  font-size: var(--font-sm);
}

/* ---------- Awards ---------- */
.award-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--transition-base);
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.award-card .award-year {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  font-family: var(--font-family);
}

.award-card .award-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-5);
  background: linear-gradient(135deg, rgba(200,164,90,.1), rgba(74,111,165,.08));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.award-card h4 {
  margin-bottom: var(--space-3);
}

/* ---------- Contact Form ---------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-base);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

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

/* ---------- Contact Cards ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(0, 209, 178, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 20px;
  color: var(--accent);
}

.contact-card h4 {
  margin-bottom: var(--space-2);
}

.contact-card a {
  color: var(--highlight);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--accent);
}

/* ---------- News Cards ---------- */
.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

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

.news-card .news-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.news-card .news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .news-body {
  padding: var(--space-6);
}

.news-card .news-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.news-card .news-date {
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.news-card .news-category {
  font-size: var(--font-xs);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card h4 {
  margin-bottom: var(--space-3);
  font-size: var(--font-xl);
}

.news-card p {
  font-size: var(--font-sm);
}

.news-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--accent);
  margin-top: var(--space-4);
  transition: all var(--transition-fast);
}

.news-card .read-more:hover {
  color: var(--highlight);
  gap: var(--space-3);
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--space-24) 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section .cta-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-section .cta-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section .cta-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 27, 51, .82);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(0,209,178,.08), transparent 70%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.cta-content p {
  color: var(--text-light);
  margin-bottom: var(--space-8);
  font-size: var(--font-lg);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: var(--white);
  position: relative;
}

.footer-main {
  padding: var(--space-20) 0 var(--space-12);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--text-light);
  font-size: var(--font-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.footer-company-details {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-top: var(--space-3);
}

.footer-company-details .detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.footer-company-details .detail-item:last-of-type {
  margin-bottom: 0;
}

.footer-company-details .detail-item svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  stroke: var(--accent);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 209, 178, 0.08);
  border: 1px solid rgba(0, 209, 178, 0.22);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition-fast);
  font-size: 16px;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer-col h5 {
  color: var(--white);
  font-size: var(--font-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
  font-family: var(--font-family);
}

.footer-col a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--font-sm);
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent);
  padding-left: var(--space-2);
}

.footer-bottom {
  padding: var(--space-10) 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom .container {
  max-width: var(--container-lg);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* --- Document links section --- */
.footer-documents {
  text-align: center;
}

.footer-documents-title {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.footer-links a:hover {
  color: var(--accent);
  background: rgba(0, 209, 178, 0.08);
  border-color: rgba(0, 209, 178, 0.25);
  transform: translateY(-1px);
}

.footer-links a::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* --- Legal disclaimers --- */
.footer-legal {
  font-size: var(--font-xs);
  color: rgba(255,255,255,.35);
  line-height: 1.75;
  max-width: 100%;
  text-align: center;
  padding: var(--space-6) var(--space-8);
  background: rgba(255,255,255,.015);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.04);
}

.footer-legal p {
  color: rgba(255,255,255,.35);
  font-size: 11.5px;
  margin-bottom: var(--space-2);
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-legal p strong {
  color: rgba(255,255,255,.55);
}

/* --- Copyright bar --- */
.footer-copyright {
  text-align: center;
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-copyright p {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  margin: 0;
  letter-spacing: 0.03em;
}


/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(.16,1,.3,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s cubic-bezier(.16,1,.3,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.7s cubic-bezier(.16,1,.3,1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.95);
  transition: all 0.7s cubic-bezier(.16,1,.3,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split-section { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 24px; }
  .timeline-item,
  .timeline-item:nth-child(odd) { flex-direction: column; padding-left: 60px; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    width: 100%;
    text-align: left;
    padding: 0;
  }
  .timeline-dot {
    left: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-20: 3.5rem;
    --space-16: 2.5rem;
  }

  .nav { display: none; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(8, 27, 51, .98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    z-index: 1000;
  }
  .nav.active .nav-link {
    font-size: var(--font-xl);
    padding: var(--space-3) var(--space-6);
    color: var(--white);
  }
  .nav.active .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
    min-width: auto;
  }
  .menu-toggle { display: flex; }

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

  .hero-stat {
    padding: var(--space-4);
  }

  .hero-stat .number {
    font-size: var(--font-2xl);
  }

  .footer-main { grid-template-columns: 1fr; }
  .footer-links { gap: 6px; }
  .footer-links a { font-size: 10.5px; padding: 5px 10px; }
  .footer-legal { padding: var(--space-4); }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .corporate-image {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .hero-stats .container {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-content p {
    font-size: var(--font-base);
  }
}

/* ---------- Utility ---------- */
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }
.mb-12 { margin-bottom: var(--space-12) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mt-12 { margin-top: var(--space-12) !important; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

/* Gradient divider */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--highlight), transparent);
  border: none;
  margin: var(--space-16) 0;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  cursor: pointer;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Legal Content Pages ---------- */
.legal-content h2 {
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
  font-size: var(--font-xl);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: var(--font-lg);
}

.legal-content p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
  color: var(--text);
}

.legal-content ul {
  margin: var(--space-3) 0 var(--space-6);
  padding-left: var(--space-8);
}

.legal-content ul li {
  margin-bottom: var(--space-2);
  line-height: 1.7;
  color: var(--text);
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content table {
  font-size: var(--font-sm);
}

/* ---------- Cookie Consent Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(8, 27, 51, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 209, 178, .15);
  padding: var(--space-6) 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.cookie-banner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(0, 209, 178, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text p {
  color: rgba(255,255,255,.8);
  font-size: var(--font-sm);
  margin: 0;
  line-height: 1.6;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  font-family: var(--font-family);
}

.cookie-btn-accept {
  background: var(--accent);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: #00e6c3;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.15);
}

.cookie-btn-decline:hover {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.3);
}

@media (max-width: 768px) {
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner-icon {
    display: none;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}
.nav-client-btn{margin-left:12px;white-space:nowrap}
@media(max-width:1024px){.nav-client-btn{margin:12px 0 0;align-self:flex-start}}
