/* ============================================================
   VATOBE XICEPU — Design System
   Kinetic Typography + Progressive Reveal Stack
   ============================================================ */


:root {
  
  --color-ink:        #0f1117;
  --color-ink-90:     #1a1d27;
  --color-ink-80:     #252836;
  --color-surface:    #f4f3ef;
  --color-surface-1:  #eceae4;
  --color-surface-2:  #e2dfd7;
  --color-white:      #fafaf8;
  --color-amber:      #e8a020;
  --color-amber-dark: #c4860f;
  --color-amber-light:#f5c558;
  --color-slate:      #4a5568;
  --color-slate-light:#718096;
  --color-slate-pale: #a0aec0;
  --color-accent:     #c0392b;
  --color-accent-2:   #2c5282;
  --color-text:       #1a1d27;
  --color-text-muted: #5a6070;
  --color-text-faint: #8a919e;

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

  
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-2xl: 40px;
  --radius-full: 9999px;

  
  --shadow-xs:  0 1px 2px rgba(15,17,23,0.06), 0 1px 3px rgba(15,17,23,0.04);
  --shadow-sm:  0 1px 3px rgba(15,17,23,0.08), 0 4px 8px rgba(15,17,23,0.05);
  --shadow-md:  0 2px 6px rgba(15,17,23,0.08), 0 8px 20px rgba(15,17,23,0.08), 0 1px 2px rgba(15,17,23,0.04);
  --shadow-lg:  0 4px 12px rgba(15,17,23,0.10), 0 16px 40px rgba(15,17,23,0.10), 0 2px 4px rgba(15,17,23,0.06);
  --shadow-xl:  0 8px 24px rgba(15,17,23,0.12), 0 32px 64px rgba(15,17,23,0.12), 0 2px 6px rgba(15,17,23,0.06);
  --shadow-amber: 0 4px 16px rgba(232,160,32,0.25), 0 1px 4px rgba(232,160,32,0.15);

  
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-size-xs:   0.75rem;
  --font-size-sm:   0.875rem;
  --font-size-base: 1rem;
  --font-size-lg:   1.125rem;
  --font-size-xl:   1.25rem;

  
  --nav-height: 72px;
}


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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-surface);
  color: var(--color-text);
  line-height: 1.65;
  font-size: var(--font-size-base);
  overflow-x: hidden;
}

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

a {
  color: var(--color-amber-dark);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover { color: var(--color-amber); }

ul { list-style: none; }

address { font-style: normal; }


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


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

.surface-raised {
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
}

.surface-inset {
  background-color: var(--color-surface-1);
}


.text-display {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.text-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--color-text-muted);
}

.text-caption {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}


.space-section {
  padding-top: clamp(var(--space-12), 8vw, var(--space-24));
  padding-bottom: clamp(var(--space-12), 8vw, var(--space-24));
}

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


.action-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: var(--color-amber);
  color: var(--color-ink) !important;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-amber);
  min-height: 44px;
  white-space: nowrap;
}

.action-primary:hover {
  background-color: var(--color-amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.35), 0 2px 6px rgba(232,160,32,0.2);
  color: var(--color-ink) !important;
}

.action-primary--light {
  background-color: var(--color-white);
  color: var(--color-ink) !important;
  box-shadow: var(--shadow-md);
}

.action-primary--light:hover {
  background-color: var(--color-surface);
  color: var(--color-ink) !important;
}

.action-primary--nav {
  padding: var(--space-2) var(--space-5);
  font-size: var(--font-size-xs);
  min-height: 36px;
}

.action-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: transparent;
  color: var(--color-ink) !important;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: 2px solid var(--color-ink-80);
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  min-height: 44px;
  white-space: nowrap;
}

.action-ghost:hover {
  border-color: var(--color-amber);
  background-color: rgba(232,160,32,0.08);
  transform: translateY(-2px);
  color: var(--color-ink) !important;
}


.section-label {
  display: inline-block;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-3);
}

.section-label--light {
  color: rgba(255,255,255,0.7);
}

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

.section-header .text-display {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-surface);
  border-bottom: 1px solid rgba(15,17,23,0.08);
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-4);
}

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

.nav-links--left { justify-content: flex-end; }
.nav-links--right { justify-content: flex-start; }

.nav-links a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.nav-active {
  color: var(--color-ink);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.nav-logo:hover { opacity: 0.8; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background-color 0.3s ease;
}

.nav-hamburger:hover { background-color: var(--color-surface-1); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-ink);
  border-radius: var(--radius-full);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.nav-mobile-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: var(--color-surface);
  border-top: 1px solid rgba(15,17,23,0.06);
}

.nav-mobile-panel.is-open {
  max-height: 400px;
}

.nav-mobile-links {
  padding: var(--space-4) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav-mobile-links li a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 44px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav-mobile-links li a:hover {
  background-color: var(--color-surface-1);
  color: var(--color-ink);
}

.nav-mobile-links li a.action-primary {
  margin-top: var(--space-2);
  justify-content: center;
}

/* ============================================================
   KINETIC TYPOGRAPHY ANIMATIONS
   ============================================================ */
@keyframes kinetic-primary {
  0%   { color: var(--color-ink); font-weight: 800; letter-spacing: -0.03em; }
  25%  { color: var(--color-amber-dark); font-weight: 700; letter-spacing: -0.02em; }
  50%  { color: var(--color-ink-80); font-weight: 800; letter-spacing: -0.025em; }
  75%  { color: var(--color-amber); font-weight: 700; letter-spacing: -0.015em; }
  100% { color: var(--color-ink); font-weight: 800; letter-spacing: -0.03em; }
}

@keyframes kinetic-accent {
  0%   { color: var(--color-amber); letter-spacing: -0.01em; }
  33%  { color: var(--color-amber-dark); letter-spacing: 0em; }
  66%  { color: var(--color-amber-light); letter-spacing: -0.02em; }
  100% { color: var(--color-amber); letter-spacing: -0.01em; }
}

@keyframes kinetic-secondary {
  0%   { color: var(--color-slate); }
  50%  { color: var(--color-ink-80); }
  100% { color: var(--color-slate); }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-bg-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(20px, -10px) scale(1.02); }
  100% { transform: translate(0, 0) scale(1); }
}

.kinetic-word--primary {
  display: inline-block;
  animation: kinetic-primary 8s ease-in-out infinite;
}

.kinetic-word--secondary {
  display: inline-block;
  animation: kinetic-secondary 6s ease-in-out infinite;
}

.kinetic-word--accent {
  display: inline-block;
  animation: kinetic-accent 5s ease-in-out infinite;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(232,160,32,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(44,82,130,0.05) 0%, transparent 70%);
  animation: hero-bg-drift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.hero-label {
  color: var(--color-amber-dark);
  margin-bottom: var(--space-4);
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  animation: hero-fade-up 0.8s ease forwards;
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  animation: hero-fade-up 0.8s ease 0.15s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
  animation: hero-fade-up 0.8s ease 0.3s both;
}

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: hero-fade-up 0.8s ease 0.45s both;
}

.hero-scroll-hint i {
  color: var(--color-amber);
  font-size: var(--font-size-xs);
  animation: kinetic-accent 3s ease-in-out infinite;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
}

.about-preview-accent {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80px;
  background: linear-gradient(180deg, var(--color-amber), var(--color-amber-dark));
  border-radius: var(--radius-full);
}

.about-headline {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--space-5);
}

.about-body {
  margin-bottom: var(--space-5);
}

.about-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.step-card {
  padding: var(--space-8);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.step-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--color-surface-2);
  line-height: 1;
  margin-bottom: var(--space-3);
  transition: color 0.3s ease;
}

.step-card:hover .step-number {
  color: var(--color-amber-light);
}

.step-icon {
  font-size: 1.5rem;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
}

.step-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: var(--space-3);
}

/* ============================================================
   FEATURE ROWS (alternating)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-20);
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row--reversed .feature-visual { order: 2; }
.feature-row--reversed .feature-content { order: 1; }

.feature-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  font-size: 2rem;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
}

.feature-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: var(--space-4);
}

.feature-content .text-body {
  margin-bottom: var(--space-4);
}

.feature-content .action-ghost {
  margin-top: var(--space-2);
}

/* ============================================================
   GRADIENT SECTION
   ============================================================ */
.gradient-section {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-80) 40%, #1e2a4a 100%);
  position: relative;
  overflow: hidden;
}

.gradient-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(232,160,32,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 20%, rgba(44,82,130,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.gradient-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.gradient-inner--centered {
  grid-template-columns: 1fr;
}

.gradient-content--centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.gradient-headline {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.gradient-body {
  color: rgba(255,255,255,0.75);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
}

.gradient-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.gradient-card {
  padding: var(--space-6);
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  box-shadow: none !important;
}

.gradient-card--accent {
  border-color: rgba(232,160,32,0.3);
  background: rgba(232,160,32,0.08) !important;
}

.gradient-card-icon {
  font-size: 1.5rem;
  color: var(--color-amber);
  margin-bottom: var(--space-3);
}

.gradient-card-label {
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-2);
}

.gradient-card-text {
  color: rgba(255,255,255,0.85);
  font-style: italic;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

/* ============================================================
   TOPICS GRID
   ============================================================ */
.topics-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-6);
}

.topic-card {
  padding: var(--space-8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.topic-card--featured {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.topic-icon {
  font-size: 1.75rem;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
}

.topic-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: var(--space-3);
}

.topic-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-top: auto;
  padding-top: var(--space-6);
}

/* ============================================================
   PROGRAMMES PREVIEW
   ============================================================ */
.programmes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-6);
}

.programme-card {
  padding: var(--space-8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.programme-card--accent {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-80) 100%) !important;
}

.programme-card--accent .text-display,
.programme-card--accent .text-body,
.programme-card--accent .text-caption {
  color: rgba(255,255,255,0.9);
}

.programme-card--accent .programme-number {
  color: var(--color-amber);
}

.programme-number {
  color: var(--color-amber-dark);
  margin-bottom: var(--space-4);
}

.programme-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: var(--space-4);
}

.programme-card .text-body {
  margin-bottom: var(--space-6);
  flex: 1;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-surface-2);
  padding-bottom: var(--space-12);
}

.page-hero--compact {
  padding-top: var(--space-12);
  padding-bottom: var(--space-10);
}

.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: var(--space-5);
}

.page-hero-sub {
  max-width: 560px;
  font-size: var(--font-size-lg);
}

/* ============================================================
   PROFILES GRID
   ============================================================ */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.profile-card {
  padding: var(--space-8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.profile-icon {
  font-size: 1.75rem;
  color: var(--color-amber);
  margin-bottom: var(--space-4);
}

.profile-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: var(--space-3);
}

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

/* ============================================================
   SITUATIONS GRID
   ============================================================ */
.situations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.situation-item {
  padding: var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.situation-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.situation-icon {
  font-size: 1.5rem;
  color: var(--color-amber);
  flex-shrink: 0;
  margin-top: var(--space-1);
}

.situation-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

/* ============================================================
   PROGRAMMES (full cards on intensive page)
   ============================================================ */
.programme-full-card {
  padding: var(--space-10);
  margin-bottom: var(--space-8);
  transition: box-shadow 0.3s ease;
}

.programme-full-card:hover {
  box-shadow: var(--shadow-xl);
}

.programme-full-card--accent {
  background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-80) 100%) !important;
}

.programme-full-card--accent .text-display,
.programme-full-card--accent .text-body,
.programme-full-card--accent .text-caption {
  color: rgba(255,255,255,0.9);
}

.programme-full-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-surface-2);
}

.programme-full-card--accent .programme-full-header {
  border-bottom-color: rgba(255,255,255,0.1);
}

.programme-full-number {
  color: var(--color-amber-dark);
}

.programme-full-card--accent .programme-full-number {
  color: var(--color-amber-light);
}

.programme-full-icon {
  font-size: 2rem;
  color: var(--color-amber);
}

.programme-full-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-5);
}

.programme-full-body > .text-body {
  margin-bottom: var(--space-8);
  font-size: var(--font-size-lg);
}

.programme-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.programme-module {
  padding: var(--space-5);
  background: rgba(15,17,23,0.04);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-amber);
}

.programme-full-card--accent .programme-module {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--color-amber-light);
}

.module-label {
  color: var(--color-amber-dark);
  margin-bottom: var(--space-2);
}

.programme-full-card--accent .module-label {
  color: var(--color-amber-light);
}

.module-title {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

/* ============================================================
   CONCEPTS GRID (for-employees page)
   ============================================================ */
.concepts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.concept-card {
  padding: var(--space-8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.concept-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-surface-2);
  line-height: 1;
  margin-bottom: var(--space-2);
  transition: color 0.3s ease;
}

.concept-card:hover .concept-number { color: var(--color-amber-light); }

.concept-icon {
  font-size: 1.5rem;
  color: var(--color-amber);
  margin-bottom: var(--space-3);
}

.concept-title {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-bottom: var(--space-3);
}

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

/* ============================================================
   SCENARIOS LIST
   ============================================================ */
.scenarios-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.scenario-item {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scenario-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.scenario-icon {
  font-size: 1.75rem;
  color: var(--color-amber);
  flex-shrink: 0;
  margin-top: var(--space-1);
}

.scenario-title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: var(--space-3);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-form-title,
.contact-info-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: var(--space-3);
}

.contact-form-intro {
  margin-bottom: var(--space-6);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--full {
  margin-bottom: var(--space-4);
}

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

.form-required {
  color: var(--color-accent);
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-surface-2);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  min-height: 44px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-amber);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.15);
}

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

.form-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.form-privacy-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-amber);
  flex-shrink: 0;
  cursor: pointer;
}

.form-submit {
  font-size: var(--font-size-sm);
}

.form-error-msg {
  color: var(--color-accent);
  margin-top: var(--space-3);
}

.contact-info-area {
  padding-top: var(--space-4);
}

.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: var(--color-surface-1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-amber);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail-label {
  margin-bottom: var(--space-1);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}


.office-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-4);
}

.office-gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.office-gallery-item--large .office-gallery-img {
  height: 360px;
}

.office-gallery-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* ============================================================
   THANKS PAGE
   ============================================================ */
.thanks-main {
  min-height: calc(100vh - var(--nav-height) - 300px);
  display: flex;
  flex-direction: column;
}

.thanks-section {
  flex: 1;
}

.thanks-inner {
  max-width: 720px;
  text-align: center;
}

.thanks-icon {
  font-size: 4rem;
  color: var(--color-amber);
  margin-bottom: var(--space-6);
  animation: hero-fade-up 0.6s ease forwards;
}

.thanks-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
}

.thanks-sub {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-10);
}

.thanks-next {
  text-align: left;
  padding: var(--space-10);
  margin-bottom: var(--space-8);
}

.thanks-next-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: var(--space-6);
}

.thanks-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.thanks-step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.thanks-step-icon {
  font-size: 1.5rem;
  color: var(--color-amber);
  flex-shrink: 0;
  margin-top: var(--space-1);
}

.thanks-step-title {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
}

.thanks-home-link {
  margin-top: var(--space-4);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-12);
  align-items: start;
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-6));
}

.legal-toc-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  margin-bottom: var(--space-3);
  transition: background-color 0.3s ease;
}

.legal-toc-mobile-toggle:hover {
  background-color: var(--color-surface-1);
}

.legal-toc-nav {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.legal-toc-title {
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.legal-toc-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.toc-link {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  line-height: 1.4;
}

.toc-link:hover,
.toc-link.toc-active {
  color: var(--color-amber-dark);
  border-left-color: var(--color-amber);
  background-color: rgba(232,160,32,0.06);
}

.legal-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-surface-2);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-3);
}

.legal-date {
  color: var(--color-text-faint);
}

.legal-section {
  margin-bottom: var(--space-10);
  padding-top: var(--space-4);
}

.legal-section-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: var(--space-4);
  color: var(--color-ink);
}

.legal-content .text-body {
  margin-bottom: var(--space-4);
}

.legal-content .text-body:last-child {
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-ink);
  color: var(--color-white);
}

.footer-stats-bar {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-4) 0;
}

.footer-stats-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer-stat {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-stat i {
  color: var(--color-amber);
  font-size: var(--font-size-sm);
}

.footer-stat .text-caption {
  color: rgba(255,255,255,0.55);
}

.footer-main {
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-10);
}

.footer-logo {
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-5);
  line-height: 1.7;
}

.footer-address {
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.footer-address a {
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease;
}

.footer-address a:hover {
  color: var(--color-amber);
}

.footer-col-title {
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease;
  padding: var(--space-1) 0;
}

.footer-links a:hover {
  color: var(--color-amber);
}

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

.footer-bottom .text-caption {
  color: rgba(255,255,255,0.35);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--font-size-xs);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-consent-card {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  width: 320px;
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  border: 1px solid rgba(15,17,23,0.08);
}

.cookie-consent-card.is-visible {
  transform: translateY(0);
}

.cookie-consent-card.is-expanded {
  width: 340px;
}

.cookie-card-inner {
  padding: var(--space-6);
}

.cookie-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}

.cookie-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.cookie-message {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.cookie-message a {
  color: var(--color-amber-dark);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cookie-btn {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  min-height: 44px;
  text-align: center;
}

.cookie-btn--accept {
  background-color: var(--color-amber);
  color: var(--color-ink);
}

.cookie-btn--accept:hover {
  background-color: var(--color-amber-dark);
  transform: translateY(-1px);
}

.cookie-btn--necessary {
  background-color: var(--color-surface-1);
  color: var(--color-text-muted);
}

.cookie-btn--necessary:hover {
  background-color: var(--color-surface-2);
}

.cookie-btn--customize {
  background: transparent;
  color: var(--color-text-faint);
  font-size: var(--font-size-xs);
  text-decoration: underline;
  min-height: 36px;
}

.cookie-btn--customize:hover {
  color: var(--color-amber-dark);
}

.cookie-toggles {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.cookie-toggles.is-open {
  max-height: 300px;
}

.cookie-toggles-inner {
  padding: 0 var(--space-6) var(--space-4);
  border-top: 1px solid var(--color-surface-2);
  padding-top: var(--space-4);
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.cookie-toggle-label {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
}

.cookie-toggle-sub {
  font-size: var(--font-size-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

.cookie-toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background-color: var(--color-surface-2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-xs);
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background-color: var(--color-amber);
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider::before {
  transform: translateX(18px);
}

.cookie-toggle-switch input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-save-btn {
  width: calc(100% - var(--space-12));
  margin: 0 var(--space-6) var(--space-4);
  display: none;
}

.cookie-toggles.is-open ~ .cookie-save-btn {
  display: block;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { gap: var(--space-4); }

  .about-preview-inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about-preview-accent { display: none; }
  .about-img { height: 320px; }

  .steps-grid { grid-template-columns: 1fr; gap: var(--space-5); }

  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .feature-row--reversed .feature-visual { order: 0; }
  .feature-row--reversed .feature-content { order: 0; }

  .feature-img { height: 280px; }

  .gradient-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

  .topic-card--featured {
    grid-column: 1 / 3;
    grid-row: auto;
  }

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

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

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

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

  .programme-modules { grid-template-columns: 1fr; }

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

  .office-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .office-gallery-item--large {
    grid-column: 1 / 3;
  }

  .office-gallery-item--large .office-gallery-img { height: 280px; }
  .office-gallery-img { height: 200px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }

  .footer-brand { grid-column: 1 / 3; }

  .legal-page-layout {
    grid-template-columns: 220px 1fr;
    gap: var(--space-8);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-split {
    justify-content: space-between;
  }

  .hero-headline { font-size: clamp(2.4rem, 9vw, 3.5rem); }

  .hero-actions { flex-direction: column; align-items: flex-start; }

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

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

  .topic-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  .topic-img { height: 180px; }

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

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

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

  .programme-modules { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .form-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-submit { width: 100%; justify-content: center; }

  .office-gallery {
    grid-template-columns: 1fr;
  }

  .office-gallery-item--large { grid-column: auto; }
  .office-gallery-item--large .office-gallery-img { height: 220px; }
  .office-gallery-img { height: 180px; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-brand { grid-column: auto; }

  .footer-stats-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .legal-page-layout {
    grid-template-columns: 1fr;
    padding-top: var(--space-8);
  }

  .legal-toc {
    position: static;
  }

  .legal-toc-mobile-toggle { display: flex; }

  .legal-toc-nav {
    display: none;
  }

  .legal-toc-nav.is-open {
    display: block;
  }

  .gradient-inner { grid-template-columns: 1fr; }

  .scenario-item { flex-direction: column; gap: var(--space-3); }

  .thanks-next { padding: var(--space-6); }

  .thanks-steps { gap: var(--space-5); }

  .thanks-step { flex-direction: column; gap: var(--space-3); }

  .cookie-consent-card {
    right: var(--space-3);
    left: var(--space-3);
    width: auto;
  }

  .cookie-consent-card.is-expanded {
    width: auto;
  }

  .programme-full-card { padding: var(--space-6); }

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

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }

  .hero-headline { font-size: clamp(2rem, 10vw, 2.8rem); }

  .action-primary,
  .action-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-actions { width: 100%; }

  .gradient-card { padding: var(--space-4); }

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

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

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