/* ==========================================================================
   Habib Ur Rehman — SAP SCM Consultant
   Design system · Dark "midnight + SAP blue + gold" premium consulting theme
   ========================================================================== */

/* ------------------------------- Tokens ---------------------------------- */
:root {
  /* Surfaces */
  --bg: #05070d;
  --bg-2: #070b14;
  --bg-3: #0a101d;
  --surface: rgba(255, 255, 255, 0.028);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-3: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Brand */
  --sap: #0a6ed1;
  --sap-2: #3f8ef2;
  --cyan: #35d0ff;
  --cyan-soft: #8ce6ff;
  --gold: #f2b544;
  --gold-soft: #ffd98a;
  --violet: #7b5cff;
  --green: #3ddc97;

  /* Text */
  --text: #eef2fa;
  --text-2: #b8c4d8;
  --text-3: #7e8ca6;
  --text-4: #56637c;

  /* Effects */
  --grad-brand: linear-gradient(120deg, #35d0ff 0%, #0a6ed1 52%, #7b5cff 100%);
  --grad-gold: linear-gradient(120deg, #ffd98a 0%, #f2b544 55%, #e08a2c 100%);
  --grad-line: linear-gradient(90deg, transparent, rgba(53, 208, 255, 0.55), rgba(242, 181, 68, 0.45), transparent);
  --glow-blue: 0 0 0 1px rgba(53, 208, 255, 0.22), 0 18px 60px -22px rgba(10, 110, 209, 0.75);
  --shadow-lg: 0 30px 80px -34px rgba(0, 0, 0, 0.95), 0 2px 10px -4px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 50px 120px -40px rgba(0, 0, 0, 0.95);

  /* Type */
  --f-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Layout */
  --maxw: 1240px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --sec-y: clamp(5rem, 10vw, 9rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------- Reset ----------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* `clip` contains stray horizontal overflow WITHOUT turning the element into
     a scroll container. Using `hidden` here would make <body> the scroller and
     break every window.scrollY-dependent effect (header, progress, parallax). */
  overflow-x: clip;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

@supports not (overflow-x: clip) {
  html { overflow-x: hidden; }
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
  margin: 0;
  color: #fff;
}

p { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(53, 208, 255, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.25rem;
  background: var(--sap);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* ---------------------------- Background FX ------------------------------ */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 720px at 78% -8%, rgba(10, 110, 209, 0.34), transparent 62%),
    radial-gradient(900px 620px at 8% 8%, rgba(123, 92, 255, 0.22), transparent 60%),
    radial-gradient(1000px 700px at 50% 108%, rgba(242, 181, 68, 0.13), transparent 62%),
    linear-gradient(180deg, #05070d 0%, #070b14 45%, #05070d 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 110% 70% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 110% 70% at 50% 0%, #000 20%, transparent 78%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 208, 255, 0.075), transparent 68%);
  will-change: transform;
  transition: opacity 0.4s;
}

/* ------------------------------ Layout ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { position: relative; padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section-head { max-width: 780px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(53, 208, 255, 0.24);
  border-radius: 100px;
  background: rgba(53, 208, 255, 0.055);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.eyebrow--gold { color: var(--gold); border-color: rgba(242, 181, 68, 0.26); background: rgba(242, 181, 68, 0.06); }
.eyebrow--gold::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.section-title { font-size: clamp(2rem, 4.6vw, 3.35rem); }
.section-sub {
  margin-top: 1.1rem;
  color: var(--text-2);
  font-size: clamp(1rem, 1.5vw, 1.09rem);
  max-width: 66ch;
  line-height: 1.75;
}
.section-head--center .section-sub { margin-inline: auto; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }

/* ------------------------------- Buttons --------------------------------- */
.btn {
  --btn-bg: var(--surface-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: -0.01em;
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--text);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(53, 208, 255, 0.5); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 40px -14px rgba(10, 110, 209, 0.85);
}
.btn--primary:hover { box-shadow: 0 20px 54px -14px rgba(53, 208, 255, 0.7); }

.btn--wa {
  background: linear-gradient(120deg, #25d366, #128c4a);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 40px -16px rgba(37, 211, 102, 0.8);
}
.btn--wa:hover { box-shadow: 0 20px 54px -14px rgba(37, 211, 102, 0.6); }

.btn--gold {
  background: var(--grad-gold);
  border-color: transparent;
  color: #23160a;
  box-shadow: 0 14px 40px -16px rgba(242, 181, 68, 0.7);
}

.btn--ghost { background: transparent; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.83rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cyan);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 0.85rem; color: var(--cyan-soft); }

/* ------------------------------- Cards ----------------------------------- */
.card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(53, 208, 255, 0.42), transparent 38%, transparent 62%, rgba(242, 181, 68, 0.32));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(255, 255, 255, 0.14); box-shadow: var(--shadow-lg); }

/* ------------------------------- Header ---------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.header.is-hidden { transform: translateY(-102%); }
.header { transition: transform 0.45s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; flex: none; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 30px -10px rgba(53, 208, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.42), transparent 46%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.02em; }
.brand-role { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-link {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--cyan);
}

.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex: none; min-width: 0; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  place-items: center;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 1.8px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle span + span { margin-top: 4.5px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(53, 208, 255, 0.8);
  z-index: 2;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(4, 6, 12, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 100px var(--pad) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.drawer a:hover { color: #fff; padding-left: 0.5rem; }
.drawer-cta { display: grid; gap: 0.7rem; margin-top: 1.8rem; }

/* -------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}
.hero-copy { max-width: 660px; }

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 0.45rem 0.95rem 0.45rem 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.035);
  margin-bottom: 1.5rem;
}
.hero-status i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #35d366;
  box-shadow: 0 0 0 4px rgba(53, 211, 102, 0.15);
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex: none;
}

.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin-bottom: 0.6rem;
}
.hero h1 .line-2 { display: block; }

.hero-role {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 2.1vw, 1.32rem);
  color: var(--cyan);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}
.hero-role .sep { color: var(--text-4); }
.hero-mods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.hero-role .mod,
.hero-mods .mod {
  padding: 0.16rem 0.55rem;
  border: 1px solid rgba(53, 208, 255, 0.28);
  border-radius: 7px;
  font-size: 0.82em;
  color: var(--cyan-soft);
  background: rgba(53, 208, 255, 0.07);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

.hero-desc {
  color: var(--text-2);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.78;
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero-desc strong { color: #fff; font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.6rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-meta-label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-4);
}
.hero-meta-value {
  overflow-wrap: anywhere;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.hero-visual { position: relative; min-height: 420px; }

.module-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 15, 26, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  animation: float-y 7s ease-in-out infinite;
}
.module-chip b {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
}
.module-chip span { font-size: 0.78rem; color: var(--text-3); }
.module-chip--1 { top: 6%; right: 4%; animation-delay: -1.4s; }
.module-chip--2 { top: 42%; right: -2%; animation-delay: -3.2s; }
.module-chip--3 { bottom: 12%; right: 8%; animation-delay: -5s; }
.module-chip--4 {
  bottom: 2%; left: 2%;
  animation-delay: -2.2s;
}
.module-chip--4 b { color: var(--gold); }

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-4);
}
.scroll-hint i {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

/* ------------------------------- Marquee --------------------------------- */
.marquee {
  position: relative;
  padding-block: 1.6rem;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.016);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-3);
  white-space: nowrap;
  transition: color 0.3s;
}
.marquee-item:hover { color: #fff; }
.marquee-item em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* -------------------------------- Stats ---------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat-card { padding: 1.6rem 1.4rem; text-align: left; }
.stat-value {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.stat-label { font-family: var(--f-display); font-weight: 600; font-size: 0.94rem; margin-bottom: 0.2rem; }
.stat-sub { font-size: 0.79rem; color: var(--text-3); line-height: 1.5; }

/* -------------------------------- About --------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-lead {
  font-size: clamp(1.05rem, 1.9vw, 1.22rem);
  line-height: 1.72;
  color: var(--text-2);
  margin-bottom: 1.4rem;
}
.about-lead strong { color: #fff; font-weight: 600; }
.about-body p { color: var(--text-2); margin-bottom: 1rem; line-height: 1.8; }

.cred-list { display: grid; gap: 0.85rem; margin-top: 2rem; }
.cred-item {
  display: flex;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cred-item:hover { transform: translateX(6px); border-color: rgba(53, 208, 255, 0.34); }
.cred-icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(53, 208, 255, 0.1);
  border: 1px solid rgba(53, 208, 255, 0.2);
  color: var(--cyan);
}
.cred-title { font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.15rem; }
.cred-desc { font-size: 0.85rem; color: var(--text-3); line-height: 1.6; }

.profile-card { padding: 2rem; text-align: center; position: sticky; top: 100px; }
.profile-monogram {
  width: 116px; height: 116px;
  margin: 0 auto 1.3rem;
  border-radius: 28px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
  position: relative;
  box-shadow: 0 24px 60px -22px rgba(53, 208, 255, 0.85);
}
.profile-monogram::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 38px;
  border: 1px solid rgba(53, 208, 255, 0.22);
  animation: ring-pulse 4s ease-in-out infinite;
}
.profile-name { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 0.25rem; }
.profile-title { font-size: 0.87rem; color: var(--cyan); margin-bottom: 1.4rem; }
.profile-rows { display: grid; gap: 0.1rem; text-align: left; margin-top: 1.4rem; }
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.profile-row:last-child { border-bottom: 0; }
.profile-row dt { color: var(--text-4); }
.profile-row dd { margin: 0; color: var(--text); font-weight: 500; text-align: right; }

.timeline { display: grid; gap: 0; margin-top: 1rem; }
.tl-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.tl-item:last-child { border-bottom: 0; }
.tl-period {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.22rem;
}
.tl-org { font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; margin-bottom: 0.2rem; }
.tl-desc { font-size: 0.87rem; color: var(--text-3); line-height: 1.62; }

/* ------------------------------ Services --------------------------------- */
.carousel-wrap { position: relative; }
.carousel-3d {
  perspective: 1500px;
  perspective-origin: 50% 46%;
  height: 520px;
  display: grid;
  place-items: center;
}
.carousel-ring {
  position: relative;
  width: 340px;
  height: 460px;
  transform-style: preserve-3d;
  transition: transform 0.95s var(--ease);
  transform: rotateX(-6deg);
}
.module-panel {
  position: absolute;
  inset: 0;
  width: 340px;
  height: 460px;
  padding: 1.9rem 1.7rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(18, 26, 42, 0.94), rgba(8, 12, 22, 0.94));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-xl);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.6s var(--ease), border-color 0.5s var(--ease);
  backface-visibility: hidden;
}
.module-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 50% 0%, rgba(53, 208, 255, 0.15), transparent 62%);
  pointer-events: none;
}
.module-panel.is-active {
  border-color: rgba(53, 208, 255, 0.42);
  box-shadow: var(--shadow-xl), 0 0 70px -26px rgba(53, 208, 255, 0.75);
}
.module-panel--pp.is-active { border-color: rgba(123, 92, 255, 0.45); box-shadow: var(--shadow-xl), 0 0 70px -26px rgba(123, 92, 255, 0.8); }
.module-panel--qm.is-active { border-color: rgba(242, 181, 68, 0.45); box-shadow: var(--shadow-xl), 0 0 70px -26px rgba(242, 181, 68, 0.75); }
.module-panel--sd.is-active { border-color: rgba(61, 220, 151, 0.45); box-shadow: var(--shadow-xl), 0 0 70px -26px rgba(61, 220, 151, 0.75); }

.mp-code {
  font-family: var(--f-display);
  font-size: 3.3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}
.module-panel--pp .mp-code { background: linear-gradient(120deg, #a98bff, #7b5cff 60%, #4b8bf5); -webkit-background-clip: text; background-clip: text; }
.module-panel--qm .mp-code { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.module-panel--sd .mp-code { background: linear-gradient(120deg, #a8ffd9, #3ddc97 58%, #18b981); -webkit-background-clip: text; background-clip: text; }
.mp-name { font-family: var(--f-display); font-weight: 600; font-size: 1.16rem; margin-bottom: 0.55rem; }
.mp-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0.26rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  margin-bottom: 1.05rem;
}
.mp-summary { font-size: 0.88rem; color: var(--text-2); line-height: 1.66; margin-bottom: 1rem; }
.mp-list { display: grid; gap: 0.44rem; overflow: hidden; }
.mp-list li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.81rem;
  color: var(--text-3);
  line-height: 1.45;
}
.mp-list li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: 0.48em;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(53, 208, 255, 0.8);
}
.module-panel--pp .mp-list li::before { background: var(--violet); box-shadow: 0 0 6px rgba(123, 92, 255, 0.8); }
.module-panel--qm .mp-list li::before { background: var(--gold); box-shadow: 0 0 6px rgba(242, 181, 68, 0.8); }
.module-panel--sd .mp-list li::before { background: var(--green); box-shadow: 0 0 6px rgba(61, 220, 151, 0.8); }
.mp-more { margin-top: auto; padding-top: 1rem; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}
.cbtn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}
.cbtn:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.cdots { display: flex; gap: 0.5rem; }
.cdot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  transition: all 0.4s var(--ease);
  padding: 0;
}
.cdot.is-active { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan); transform: scale(1.25); }

.service-detail {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
  min-width: 0;
}
.sd-head { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 0.4rem; }
.sd-outcome {
  font-size: 0.92rem;
  color: var(--cyan);
  padding: 0.9rem 1.05rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(53, 208, 255, 0.22);
  background: rgba(53, 208, 255, 0.05);
  margin-top: 1.1rem;
  line-height: 1.6;
}
.sd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.4rem; }
.sd-grid li { display: flex; gap: 0.55rem; font-size: 0.86rem; color: var(--text-2); line-height: 1.55; }
.sd-grid li svg { flex: none; margin-top: 0.28em; color: var(--cyan); }

/* ----------------------------- Cloud models ------------------------------ */
.cloud-head { margin-top: clamp(3rem, 6vw, 4.5rem); margin-bottom: 1.8rem; max-width: 720px; }
.cloud-title { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin: 0.55rem 0 0.6rem; }
.cloud-sub { font-size: 0.94rem; color: var(--text-3); line-height: 1.7; }
.cloud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.cloud-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16, 24, 40, 0.82), rgba(7, 11, 20, 0.9));
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.cloud-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(100% 70% at 0% 0%, rgba(53, 208, 255, 0.12), transparent 60%);
  pointer-events: none;
}
.cloud-card--private::before {
  background: radial-gradient(100% 70% at 0% 0%, rgba(242, 181, 68, 0.12), transparent 60%);
}
.cloud-card:hover { transform: translateY(-5px); border-color: rgba(53, 208, 255, 0.32); }
.cloud-card--private:hover { border-color: rgba(242, 181, 68, 0.34); }
.cloud-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 0.9rem; }
.cloud-kicker {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.cloud-card--private .cloud-kicker { color: var(--gold); }
.cloud-badge {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  white-space: nowrap;
}
.cloud-card h4 { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; margin-bottom: 0.6rem; }
.cloud-card p { font-size: 0.88rem; color: var(--text-3); line-height: 1.68; margin-bottom: 1rem; }
.cloud-list { display: grid; gap: 0.5rem; }
.cloud-list li { display: flex; gap: 0.6rem; font-size: 0.85rem; color: var(--text-2); line-height: 1.55; }
.cloud-list li::before {
  content: "";
  flex: none;
  width: 5px; height: 5px;
  margin-top: 0.52em;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px rgba(53, 208, 255, 0.8);
}
.cloud-card--private .cloud-list li::before { background: var(--gold); box-shadow: 0 0 6px rgba(242, 181, 68, 0.8); }

/* ---------------------------- Capabilities ------------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}
.cap-card {
  padding: 1.35rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.cap-card:hover { transform: translateY(-6px); }
.cap-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(53, 208, 255, 0.08);
  border: 1px solid rgba(53, 208, 255, 0.16);
  color: var(--cyan);
  margin-bottom: 0.3rem;
}
.cap-title { font-family: var(--f-display); font-weight: 600; font-size: 0.96rem; }
.cap-desc { font-size: 0.83rem; color: var(--text-3); line-height: 1.58; }

/* ------------------------------ Projects --------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter {
  padding: 0.48rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  transition: all 0.3s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(53, 208, 255, 0.4); }
.filter.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 26px -12px rgba(53, 208, 255, 0.8);
}

.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; }

.project-card {
  padding: 1.7rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-style: preserve-3d;
}
.pc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.9rem; }
.pc-flag { font-size: 1.7rem; line-height: 1; }
.pc-name { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.025em; margin-bottom: 0.25rem; }
.pc-sector { font-size: 0.8rem; color: var(--text-3); }
.pc-modules { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-bottom: 1rem; }
.mod-tag {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.52rem;
  border-radius: 6px;
  border: 1px solid rgba(53, 208, 255, 0.24);
  background: rgba(53, 208, 255, 0.07);
  color: var(--cyan-soft);
}
.pc-summary { font-size: 0.88rem; color: var(--text-2); line-height: 1.68; margin-bottom: 1rem; }
.pc-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--cyan);
}
.pc-toggle svg { transition: transform 0.4s var(--ease); }
.project-card.is-open .pc-toggle svg { transform: rotate(180deg); }
.pc-country {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
}

.pc-detail {
  overflow: hidden;
  height: 0;
  transition: height 0.6s var(--ease);
}
.pc-inner { padding-top: 1.2rem; border-top: 1px dashed var(--line); margin-top: 0.2rem; }
.pc-inner h4 {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.1rem 0 0.65rem;
}
.pc-inner h4:first-child { margin-top: 0; }
.pc-scope { display: grid; gap: 0.5rem; }
.pc-scope li { display: flex; gap: 0.6rem; font-size: 0.86rem; color: var(--text-2); line-height: 1.6; }
.pc-scope li svg { flex: none; margin-top: 0.32em; color: var(--cyan); }
.pc-outcomes { display: grid; gap: 0.5rem; }
.pc-outcomes li { display: flex; gap: 0.6rem; font-size: 0.86rem; color: var(--text-2); line-height: 1.6; }
.pc-outcomes li svg { flex: none; margin-top: 0.3em; color: var(--gold); }
.pc-stack { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-top: 0.4rem; }
.stack-tag {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  border: 1px solid var(--line);
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.025);
}

/* ------------------------------- Process --------------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.process-card {
  padding: 1.6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.process-card::after {
  content: attr(data-phase);
  position: absolute;
  right: -0.2rem;
  bottom: -1.4rem;
  font-family: var(--f-display);
  font-size: 5.2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
  pointer-events: none;
}
.process-phase {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 0.7rem;
  display: block;
}
.process-title { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 0.5rem; }
.process-desc { font-size: 0.87rem; color: var(--text-3); line-height: 1.68; position: relative; z-index: 1; }

/* ---------------------------- Certifications ----------------------------- */
.cert-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}
.cert-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
}
.cert-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-family: var(--f-body);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cert-search input::placeholder { color: var(--text-4); }
.cert-search input:focus { outline: none; border-color: var(--cyan); background: rgba(53, 208, 255, 0.045); }
.cert-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-4); pointer-events: none; }

.cert-count {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--text-4);
  text-transform: uppercase;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 1rem;
}
.cert-card {
  padding: 1.35rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  cursor: pointer;
  text-align: left;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s;
}
.cert-card:hover { transform: translateY(-6px); }
.cert-card.is-hidden { display: none; }
.cc-top { display: flex; align-items: center; gap: 0.75rem; }
.cc-badge {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(53, 208, 255, 0.16), rgba(10, 110, 209, 0.06));
  border: 1px solid rgba(53, 208, 255, 0.24);
  color: var(--cyan);
}
.cc-issuer {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-4);
}
.cc-date { font-size: 0.76rem; color: var(--text-3); }
.cc-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.38;
  letter-spacing: -0.018em;
}
.cc-skills { display: flex; flex-wrap: wrap; gap: 0.32rem; }
.skill-tag {
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  color: var(--text-3);
}
.cc-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--text-4);
}
.cc-highlight {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 8px rgba(242, 181, 68, 0.6));
}

/* ----------------------------- Engagement -------------------------------- */
.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.engage-card { padding: 1.7rem 1.6rem; display: flex; flex-direction: column; }
.engage-accent {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: rgba(53, 208, 255, 0.09);
  border: 1px solid rgba(53, 208, 255, 0.2);
  color: var(--cyan);
}
.engage-card--cyan .engage-accent { background: rgba(123, 92, 255, 0.1); border-color: rgba(123, 92, 255, 0.24); color: #a98bff; }
.engage-card--gold .engage-accent { background: rgba(242, 181, 68, 0.1); border-color: rgba(242, 181, 68, 0.24); color: var(--gold); }
.engage-title { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 0.55rem; }
.engage-desc { font-size: 0.87rem; color: var(--text-3); line-height: 1.68; margin-bottom: 1.1rem; }
.engage-points { display: grid; gap: 0.45rem; margin-top: auto; }
.engage-points li { display: flex; gap: 0.55rem; font-size: 0.83rem; color: var(--text-2); }
.engage-points li svg { flex: none; margin-top: 0.3em; color: var(--cyan); }

/* -------------------------------- FAQ ------------------------------------ */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.faq-item.is-open { border-color: rgba(53, 208, 255, 0.3); background: rgba(53, 208, 255, 0.035); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.99rem;
  letter-spacing: -0.015em;
}
.faq-icon {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
  color: var(--text-3);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); border-color: var(--cyan); color: var(--cyan); background: rgba(53, 208, 255, 0.1); }
.faq-a { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.faq-a p { padding: 0 1.3rem 1.25rem; font-size: 0.9rem; color: var(--text-2); line-height: 1.76; }

/* ------------------------------- Contact --------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; margin-bottom: 1.6rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.05rem 1.2rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s;
}
.contact-card:hover { transform: translateX(6px); border-color: rgba(53, 208, 255, 0.35); background: rgba(53, 208, 255, 0.035); }
.cc-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(53, 208, 255, 0.09);
  border: 1px solid rgba(53, 208, 255, 0.2);
  color: var(--cyan);
}
.contact-card--wa .cc-icon { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.24); color: #25d366; }
.contact-card--mail .cc-icon { background: rgba(242, 181, 68, 0.1); border-color: rgba(242, 181, 68, 0.24); color: var(--gold); }
.contact-label {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 0.1rem;
}
.contact-value { font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; overflow-wrap: anywhere; }

.availability {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.95rem 1.15rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(53, 211, 102, 0.24);
  background: rgba(53, 211, 102, 0.06);
  font-size: 0.87rem;
  color: var(--text-2);
}
.availability i {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #35d366;
  box-shadow: 0 0 0 4px rgba(53, 211, 102, 0.14);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.form-card { padding: clamp(1.5rem, 3vw, 2.2rem); min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 0.42rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 0.78rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 15, 0.6);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--f-body);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 116px; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237e8ca6' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}
.field select option { background: #0a101d; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 208, 255, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-4); }
.field-err { font-size: 0.74rem; color: #ff8080; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: rgba(255, 128, 128, 0.6); }

.form-note { font-size: 0.78rem; color: var(--text-4); margin-top: 0.9rem; line-height: 1.6; }
.form-success {
  display: none;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(53, 211, 102, 0.3);
  background: rgba(53, 211, 102, 0.07);
  margin-bottom: 1.2rem;
}
.form-success.is-visible { display: flex; }
.form-success b { font-family: var(--f-display); display: block; margin-bottom: 0.15rem; }
.form-success p { font-size: 0.86rem; color: var(--text-2); }

/* ------------------------------- Footer ---------------------------------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: 3.2rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(53, 208, 255, 0.028));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-about p { font-size: 0.87rem; color: var(--text-3); line-height: 1.72; margin-top: 1rem; max-width: 42ch; }
.footer-h {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 1rem;
}
.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { font-size: 0.87rem; color: var(--text-3); transition: color 0.25s, transform 0.25s var(--ease); display: inline-block; }
.footer-links a:hover { color: var(--cyan); transform: translateX(4px); }
.footer-bottom {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.79rem;
  color: var(--text-4);
}
.footer-bottom a:hover { color: var(--cyan); }

/* --------------------------- Floating actions ---------------------------- */
.fab-stack {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-end;
}
.fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0.3s;
}
.fab--wa {
  background: linear-gradient(135deg, #25d366, #128c4a);
  border-color: transparent;
  color: #fff;
}
.fab--wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: ring-pulse 2.4s ease-out infinite;
}
.fab--top { opacity: 0; visibility: hidden; transform: translateY(12px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab:hover { transform: scale(1.08); }
.fab--top:hover { transform: scale(1.08) translateY(-2px); }
.fab-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: rgba(10, 15, 26, 0.95);
  border: 1px solid var(--line-strong);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.fab:hover .fab-label { opacity: 1; transform: translateY(-50%); }

/* -------------------------------- Modal ----------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 5, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: var(--pad);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal {
  width: min(720px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, #0c1220, #070b14);
  box-shadow: var(--shadow-xl);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.4s var(--ease);
  position: relative;
}
.modal-backdrop.is-open .modal { transform: none; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--text-2);
  z-index: 2;
  transition: all 0.3s var(--ease);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; transform: rotate(90deg); }
.modal-head {
  padding: 1.9rem 1.9rem 1.4rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.modal-badge {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(53, 208, 255, 0.18), rgba(10, 110, 209, 0.06));
  border: 1px solid rgba(53, 208, 255, 0.26);
  color: var(--cyan);
}
.modal-issuer {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 0.35rem;
}
.modal-title { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.28; letter-spacing: -0.025em; }
.modal-body { padding: 1.6rem 1.9rem 1.9rem; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.meta-chip {
  font-size: 0.74rem;
  padding: 0.3rem 0.68rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.025);
}
.modal-h {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.5rem 0 0.7rem;
}
.modal-topics { display: grid; gap: 0.45rem; }
.modal-topics li { display: flex; gap: 0.6rem; font-size: 0.87rem; color: var(--text-2); line-height: 1.6; }
.modal-topics li svg { flex: none; margin-top: 0.3em; color: var(--cyan); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.7rem; }

/* ------------------------------- Toast ----------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 140%);
  z-index: 300;
  padding: 0.85rem 1.3rem;
  border-radius: 100px;
  background: rgba(10, 15, 26, 0.96);
  border: 1px solid rgba(53, 211, 102, 0.35);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ------------------------------ Reveal FX --------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.09s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.27s; }
.reveal-d4 { transition-delay: 0.36s; }

/* ----------------------------- Preloader --------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.pl-mark {
  width: 62px; height: 62px;
  border-radius: 18px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  animation: pl-pulse 1.6s var(--ease) infinite;
}
.pl-bar { width: 160px; height: 2px; background: var(--surface-3); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 40%; background: var(--grad-brand); border-radius: 2px; animation: pl-slide 1.3s var(--ease) infinite; }
.pl-text {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-4);
}

/* --------------------------- SAP brand marks ---------------------------- */
.sap-logo { display: block; border-radius: 4px; }
.sap-logo--inline {
  width: 56px;
  height: 28px;
  border-radius: 5px;
  flex: none;
  box-shadow: 0 6px 20px -8px rgba(10, 110, 209, 0.9);
}
.sap-lockup {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
}
.sap-lockup img { width: 68px; height: 34px; border-radius: 5px; }
.sap-lockup-text { display: flex; flex-direction: column; line-height: 1.2; }
.sap-lockup-text strong { font-family: var(--f-display); font-size: 0.82rem; font-weight: 600; color: var(--text); }
.sap-lockup-text small {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
}
.footer-sap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.32rem 0.7rem 0.32rem 0.32rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}
.footer-sap img { width: 44px; height: 22px; border-radius: 3px; }
.footer-sap span {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
}

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .engage-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-card { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .service-detail { grid-template-columns: minmax(0, 1fr); }
}

/* Nav collapses to a drawer before the links + CTAs can ever collide */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
}

@media (max-width: 900px) {
  .nav-actions .btn--wa span { display: none; }
  .nav-actions .btn--wa { padding: 0.72rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .project-grid { grid-template-columns: minmax(0, 1fr); }
  .sd-grid { grid-template-columns: minmax(0, 1fr); }
  .cloud-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .carousel-3d { height: 470px; }
  .carousel-ring { width: 290px; height: 430px; }
  .module-panel { width: 290px; height: 430px; padding: 1.5rem 1.35rem; }
  .mp-code { font-size: 2.7rem; }
  .hero-meta { gap: 1rem 1.6rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cert-toolbar { flex-direction: column; align-items: stretch; }
  .cert-search { max-width: none; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
}

@media (max-width: 480px) {
  /* Drawer carries the full set of CTAs — drop the header duplicate to
     guarantee the brand, WhatsApp and menu never collide on small phones. */
  .nav-actions .btn--primary { display: none; }
  .brand-role { display: none; }
}

@media (max-width: 380px) {
  /* Tightest phones (320px): compact the header so the brand, WhatsApp and
     menu button always fit on one row without clipping. */
  .nav-inner { gap: 0.6rem; height: 68px; }
  .brand { gap: 0.5rem; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: 0.84rem; }
  .brand-name { font-size: 0.88rem; }
  .nav-actions { gap: 0.4rem; }
  .nav-actions .btn--wa { padding: 0.62rem; }
  .menu-toggle { width: 40px; height: 40px; }
  .container { --pad: 0.95rem; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn,
  .drawer-cta .btn,
  .form-card .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------- Print ----------------------------------- */
@media print {
  .header, .fab-stack, .bg-fx, .bg-grid, .bg-noise, .cursor-glow, #hero-canvas, .preloader { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4, h5 { color: #000; }
}
