/* ============================================================
   PREMIUM AGENCY — DESIGN SYSTEM
   style.css  |  ~900 lines
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-0: #07070e;
  --bg-1: #0e0e1c;
  --bg-2: #141428;
  --bg-3: #1c1c38;

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hi: rgba(255, 255, 255, 0.11);

  /* Text */
  --text-0: #f0eeff;
  --text-1: #9090b0;
  --text-2: #5c5c7a;

  /* Brand palette */
  --violet: #8b5cf6;
  --violet-dark: #6d28d9;
  --violet-light: #a78bfa;
  --indigo: #6366f1;
  --indigo-dark: #4338ca;
  --cyan: #22d3ee;
  --cyan-dark: #06b6d4;
  --rose: #f43f5e;
  --amber: #f59e0b;
  --emerald: #10b981;
  --pink: #ec4899;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--violet), var(--indigo));
  --grad-warm: linear-gradient(135deg, var(--amber), var(--rose));
  --grad-cool: linear-gradient(135deg, var(--cyan), var(--violet));
  --grad-glow: radial-gradient(
    ellipse at center,
    rgba(139, 92, 246, 0.25) 0%,
    transparent 70%
  );

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

  /* Radius */
  --r-sm: 0.375rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);
  --shadow-violet: 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-glow:
    0 0 60px rgba(139, 92, 246, 0.2), 0 0 100px rgba(99, 102, 241, 0.1);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 300ms ease;
  --t-slow: 500ms ease;
  --t-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-spring: 600ms cubic-bezier(0.22, 1, 0.36, 1);

  /* Typography */
  --font-display: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-ui: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;

  /* Z-index scale */
  --z-below: -1;
  --z-base: 0;
  --z-above: 10;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-cursor: 10001;

  /* Container */
  --container-max: 1280px;
  --container-pad: var(--sp-6);

  /* Glass */
  --glass-bg: rgba(20, 20, 40, 0.65);
  --glass-bg-hi: rgba(28, 28, 56, 0.75);
  --glass-blur: blur(20px) saturate(180%);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-0);
  background-color: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  cursor: none;
  position: relative;
}

/* Noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: inherit;
}
ul,
ol {
  list-style: none;
}
table {
  border-collapse: collapse;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-1);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--violet);
}

/* Selection */
::selection {
  background: rgba(139, 92, 246, 0.35);
  color: var(--text-0);
}

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

/* ── Page Loader ──────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-6);
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--violet);
  animation: spin-slow 1s linear infinite;
}

.loader-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--violet);
  animation: glow-pulse 1.2s ease-in-out infinite;
}

/* ── Custom Cursor ────────────────────────────────────────── */
#c-dot,
#c-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

#c-dot {
  width: 6px;
  height: 6px;
  background: var(--violet-light);
}

#c-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(139, 92, 246, 0.6);
  transition:
    width 0.3s var(--t-bounce),
    height 0.3s var(--t-bounce),
    border-color 0.3s ease;
}

.cursor-hover #c-ring {
  width: 56px;
  height: 56px;
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.08);
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--sp-5) max(1.5rem, calc((100vw - 1280px) / 2 + 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  transition:
    background var(--t-base),
    padding var(--t-base),
    box-shadow var(--t-base);
}

.navbar.scrolled {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  padding: var(--sp-3) 0;
  box-shadow:
    0 1px 0 var(--border),
    0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-0);
  flex-shrink: 0;
}

.navbar-brand .brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-primary);
}

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

.nav-link {
  position: relative;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-1);
  border-radius: var(--r-md);
  transition:
    color var(--t-base),
    background var(--t-base);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-0);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--r-full);
  transition: transform var(--t-bounce);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

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

.nav-dropdown {
  position: absolute;
  top: calc(100% + var(--sp-3));
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: var(--glass-bg-hi);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: var(--sp-2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--t-base),
    transform var(--t-base),
    visibility var(--t-base);
  box-shadow: var(--shadow-lg);
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--text-1);
  transition:
    color var(--t-fast),
    background var(--t-fast);
}

.nav-dropdown-item:hover {
  color: var(--text-0);
  background: rgba(139, 92, 246, 0.15);
}

.nav-dropdown-item .icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}

.lang-btn {
  padding: 6px; /* Spațiere optimizată pentru imagine */
  border-radius: 6px; /* Colțuri ușor rotunjite, potrivite cu steagul */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  transition:
    background var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast);
  cursor: none; /* Păstrăm cursorul tău custom */
}

.lang-btn.active,
.lang-btn:hover {
  background: rgba(
    139,
    92,
    246,
    0.2
  ); /* Un fundal violet translucid și elegant */
  border-color: rgba(
    139,
    92,
    246,
    0.5
  ); /* O margine fină pentru a evidenția selecția */
  transform: scale(1.05); /* Un efect subtil de mărire la hover */
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: background var(--t-fast);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-0);
  border-radius: var(--r-full);
  transition:
    transform var(--t-base),
    opacity var(--t-base);
}

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

/* Mobile menu */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-nav) - 1);
  background: var(--bg-1);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  padding: 100px var(--sp-6) var(--sp-8);
  flex-direction: column;
  gap: var(--sp-2);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-spring);
}

.navbar-mobile.open {
  transform: translateX(0);
  display: flex;
}

.navbar-mobile .nav-link {
  font-size: var(--text-lg);
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

/* Navbar right group */
.navbar-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: none;
  transition:
    transform var(--t-bounce),
    box-shadow var(--t-base),
    opacity var(--t-fast);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn:hover::before {
  opacity: 1;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: #fff;
  border: none;
  box-shadow:
    0 0 28px rgba(139, 92, 246, 0.45),
    0 4px 14px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 42px rgba(139, 92, 246, 0.65),
    0 8px 22px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 238, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 0.22s,
    border-color 0.22s,
    transform 0.22s,
    color 0.22s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f0eeff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text-0);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-base);
}

.btn-sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
}

.magnetic-wrap {
  display: inline-block;
  position: relative;
}

/* ── Cards ────────────────────────────────────────────────── */
.card-glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base);
}

.card-glass:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow-lg);
}

/* Spotlight glow card */
.card-glow {
  --mx: 50%;
  --my: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform var(--t-base);
}

.card-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px circle at var(--mx) var(--my),
    rgba(139, 92, 246, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
  z-index: 0;
}

.card-glow:hover::before {
  opacity: 1;
}

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

/* Animated border card */
.card-border {
  position: relative;
  border-radius: var(--r-xl);
  padding: 1px;
  background: var(--border);
  overflow: hidden;
}

.card-border::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--violet) 20%,
    var(--cyan) 40%,
    transparent 60%
  );
  animation: spin-slow 4s linear infinite;
  opacity: 0;
  transition: opacity var(--t-base);
}

.card-border:hover::before {
  opacity: 1;
}

.card-border-inner {
  background: var(--bg-2);
  border-radius: calc(var(--r-xl) - 1px);
  padding: var(--sp-6);
  height: 100%;
}

/* ── Bento Grid ───────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-4);
  width: 100%;
}

.bento-cell {
  grid-column: span 4;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform var(--t-base),
    box-shadow var(--t-base);
  min-height: 200px;
}

.bento-cell:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Spotlight via CSS custom props */
.bento-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    250px circle at var(--mx, 50%) var(--my, 50%),
    rgba(139, 92, 246, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-base);
}

.bento-grid:hover .bento-cell::after {
  opacity: 1;
}

.bento-cell.wide {
  grid-column: span 6;
}
.bento-cell.xwide {
  grid-column: span 8;
}
.bento-cell.narrow {
  grid-column: span 3;
}
.bento-cell.tall {
  grid-row: span 2;
}
.bento-cell.big {
  grid-column: span 6;
  grid-row: span 2;
}
.bento-cell.full {
  grid-column: span 12;
}

.bento-cell-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: var(--sp-3);
}

.bento-cell-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-0);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}

.bento-cell-body {
  font-size: var(--text-sm);
  color: var(--text-1);
  line-height: 1.7;
}

/* ── Horizontal Scroll Section ────────────────────────────── */
.h-scroll-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-8);
}

.h-scroll-track {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-inline: var(--container-pad);
  padding-block: var(--sp-4);
  cursor: grab;
}

.h-scroll-track::-webkit-scrollbar {
  display: none;
}
.h-scroll-track {
  scrollbar-width: none;
}

.h-scroll-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.h-scroll-card {
  flex-shrink: 0;
  width: 320px;
  scroll-snap-align: start;
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition:
    border-color var(--t-base),
    transform var(--t-base);
}

.h-scroll-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

/* Fade edges */
.h-scroll-section::before,
.h-scroll-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.h-scroll-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-0), transparent);
}

.h-scroll-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-0), transparent);
}

/* ── Sticky Panel Section ─────────────────────────────────── */
.sticky-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.sticky-panel-left {
  position: sticky;
  top: 120px;
}

.sticky-panel-right {
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.sticky-item {
  padding: var(--sp-6) var(--sp-6) var(--sp-6) var(--sp-8);
  border-left: 2px solid var(--border);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  min-height: 100px;
  transition:
    border-color var(--t-base),
    background var(--t-base),
    transform var(--t-base);
  cursor: default;
}

.sticky-item.active {
  border-left-color: var(--violet);
  background: rgba(139, 92, 246, 0.06);
  transform: translateX(4px);
}

.sticky-item-number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-2);
  margin-bottom: var(--sp-2);
  transition: color var(--t-base);
}

.sticky-item.active .sticky-item-number {
  color: var(--violet);
}

.sticky-item-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: var(--sp-2);
  transition: color var(--t-base);
}

.sticky-item.active .sticky-item-title {
  color: var(--text-0);
}

.sticky-item-body {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.7;
  transition: color var(--t-base);
}

.sticky-item.active .sticky-item-body {
  color: var(--text-1);
}

.sticky-progress {
  height: 3px;
  background: var(--border);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-6);
  overflow: hidden;
}

.sticky-progress-bar {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--r-full);
  transition: width 0.4s ease;
  width: 0%;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

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

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 30%,
      rgba(139, 92, 246, 0.12) 0%,
      transparent 70%
    ),
    linear-gradient(to bottom, transparent 60%, var(--bg-0) 100%);
  z-index: 2;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-bg-orb.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--violet);
  top: -200px;
  left: -100px;
  opacity: 0.12;
}

.hero-bg-orb.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  top: 100px;
  right: -80px;
  opacity: 0.1;
}

.hero-bg-orb.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--indigo);
  bottom: 50px;
  left: 40%;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: min(90vw, 1100px);
  padding-inline: var(--sp-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: var(--sp-6);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-light);
  animation: glow-pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: 0.01em;
  color: var(--text-0);
  margin-bottom: var(--sp-6);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: var(--text-1);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--violet), transparent);
  animation: float 2s ease-in-out infinite;
}

/* Typed cursor */
.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--violet-light);
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 0.7s step-end infinite;
}

/* ── Ticker/Marquee ───────────────────────────────────────── */
.ticker {
  overflow: hidden;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
  padding-inline: var(--sp-8);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: 0.03em;
}

.ticker-sep {
  color: var(--violet);
  opacity: 0.6;
  font-size: 8px;
}

/* ── Stats ────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-base),
    transform var(--t-base);
}

.stat-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--t-base);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-counter {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

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

/* ── Testimonials / Swiper ────────────────────────────────── */
.swiper-testimonials {
  overflow: hidden;
  padding-bottom: var(--sp-12) !important;
}

.swiper-testimonials .swiper-pagination-bullet {
  background: var(--text-2);
  opacity: 1;
  transition:
    background var(--t-base),
    transform var(--t-base);
}

.swiper-testimonials .swiper-pagination-bullet-active {
  background: var(--violet);
  transform: scale(1.3);
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  height: 100%;
}

.testimonial-quote {
  font-size: var(--text-2xl);
  color: var(--violet);
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-1);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-hi);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-0);
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-2);
}

.testimonial-stars {
  color: var(--amber);
  font-size: var(--text-sm);
  letter-spacing: 2px;
  margin-bottom: var(--sp-4);
}

/* ── Section Base ─────────────────────────────────────────── */
.section {
  padding-block: var(--sp-16);
  position: relative;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: var(--sp-5);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: var(--sp-5);
}

.section-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-lg));
  color: var(--text-1);
  line-height: 1.75;
  max-width: 640px;
}

.section-header {
  margin-bottom: var(--sp-16);
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-subtitle {
  margin-inline: auto;
}

/* ── Timeline (horizontal) ────────────────────────────────── */
.timeline-h {
  position: relative;
  padding-block: var(--sp-12);
}

.timeline-h-line {
  position: absolute;
  top: 50%;
  left: var(--sp-8);
  right: var(--sp-8);
  height: 2px;
  background: linear-gradient(
    to right,
    var(--violet),
    var(--cyan),
    var(--emerald)
  );
  transform: translateY(-50%);
  z-index: 0;
}

.timeline-h-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  flex: 1;
}

.timeline-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--violet-light);
  transition:
    background var(--t-base),
    box-shadow var(--t-base);
}

.timeline-step:hover .timeline-step-num {
  background: var(--violet);
  color: #fff;
  box-shadow: var(--shadow-violet);
}

.timeline-step-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-0);
  text-align: center;
}

.timeline-step-body {
  font-size: var(--text-xs);
  color: var(--text-1);
  text-align: center;
  line-height: 1.6;
  max-width: 140px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-20);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: var(--sp-20);
  padding-bottom: var(--sp-16);
  justify-content: space-between;
  width: 100%;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.footer-logo-link {
  display: inline-flex;
  margin-bottom: var(--sp-2);
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.footer-legal-name {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-1);
  line-height: 1.6;
}

.footer-reg-number {
  font-size: var(--text-xs);
  color: var(--text-1);
  line-height: 1.6;
}

.footer-address {
  font-size: var(--text-xs);
  color: var(--text-1);
  line-height: 1.7;
  font-style: normal;
}

.footer-email {
  font-size: var(--text-xs);
  color: var(--violet-400, #a78bfa);
  transition: color var(--t-fast);
}

.footer-email:hover {
  color: var(--text-0);
}

.footer-socials {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-1);
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-1);
  font-size: var(--text-sm);
  transition:
    color var(--t-fast),
    background var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-bounce);
}

.footer-social:hover {
  color: var(--text-0);
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: var(--sp-5);
}

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

.footer-link {
  font-size: var(--text-sm);
  color: var(--text-1);
  transition:
    color var(--t-fast),
    transform var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer-link:hover {
  color: var(--text-0);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--text-1);
}

/* ── Cookie Banner ────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: calc(var(--z-modal) + 1);
  width: min(600px, calc(100vw - var(--sp-8)));
  background: var(--glass-bg-hi);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-spring);
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-text {
  font-size: var(--text-sm);
  color: var(--text-1);
  line-height: 1.6;
}

.cookie-banner-text a {
  color: var(--violet-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ── Scroll to Top ────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 94px !important;
  right: var(--sp-8) !important;
  z-index: calc(var(--z-overlay) + 1);
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: #9570A2 !important;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: var(--text-base);
  box-shadow: 0 4px 20px rgba(149, 112, 162, 0.4) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--t-base),
    visibility var(--t-base),
    transform var(--t-base),
    background var(--t-fast);
  cursor: none;
}

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

.scroll-top:hover {
  background: #7d5e8a !important;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ── Accordion / FAQ ──────────────────────────────────────── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.accordion-item {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-base);
}

.accordion-item.open {
  border-color: rgba(139, 92, 246, 0.3);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  cursor: none;
  gap: var(--sp-4);
  transition: background var(--t-fast);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-question {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-0);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-1);
  font-size: var(--text-sm);
  transition:
    transform var(--t-base),
    background var(--t-base),
    color var(--t-base);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--violet);
  color: #fff;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.accordion-item.open .accordion-body {
  max-height: 800px;
}

.accordion-answer {
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--text-1);
  line-height: 1.8;
}

/* ── Forms ────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

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

.form-input,
.form-textarea,
.form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--text-0);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    background var(--t-fast);
  outline: none;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-2);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--violet);
  background: rgba(139, 92, 246, 0.04);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

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

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

.form-error {
  font-size: var(--text-xs);
  color: var(--rose);
  margin-top: var(--sp-1);
}

.form-success {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--r-lg);
  color: var(--emerald);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ── Page canvas / particles ──────────────────────────────── */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Utility classes ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--sp-4);
}
.gap-6 {
  gap: var(--sp-6);
}
.gap-8 {
  gap: var(--sp-8);
}
.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}
.relative {
  position: relative;
}
.overflow-hidden {
  overflow: hidden;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.mt-4 {
  margin-top: var(--sp-4);
}
.mt-8 {
  margin-top: var(--sp-8);
}
.mb-4 {
  margin-bottom: var(--sp-4);
}
.mb-8 {
  margin-bottom: var(--sp-8);
}

.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-1);
}

.badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-2);
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet-light);
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-light);
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid .footer-brand {
    grid-column: span 3;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-cell.xwide {
    grid-column: span 8;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-pad: var(--sp-5);
  }
  .sticky-panel {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .sticky-panel-left {
    position: static;
  }
  .bento-cell {
    grid-column: span 6;
  }
  .bento-cell.wide {
    grid-column: span 6;
  }
  .bento-cell.xwide {
    grid-column: span 12;
  }
  .bento-cell.full {
    grid-column: span 12;
  }
  .bento-cell.big {
    grid-column: span 12;
    grid-row: span 1;
  }
  .nav-links {
    display: none;
  }
  .navbar-right .lang-switcher {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid .footer-brand {
    grid-column: span 2;
  }
  .timeline-h-steps {
    flex-wrap: wrap;
    gap: var(--sp-6);
    justify-content: center;
  }
  .timeline-h-line {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: var(--sp-4);
  }
  .section {
    padding-block: var(--sp-16);
  }
  .bento-cell,
  .bento-cell.wide,
  .bento-cell.xwide,
  .bento-cell.narrow,
  .bento-cell.big {
    grid-column: span 12;
    grid-row: span 1;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .hero-title {
    white-space: normal;
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .hero-content {
    max-width: 95vw;
    padding-inline: var(--sp-4);
  }
  .hero-scroll-hint {
    bottom: 1.5rem;
  }
  /* Reset hero sidenav compensation on mobile */
  .hero {
    padding-right: 0 !important;
  }
  /* Section header centering on mobile */
  .section-header:not(.center) {
    text-align: center;
  }
  .section-header:not(.center) .section-subtitle {
    margin-inline: auto;
  }
  /* Sticky panel mobile */
  .sticky-panel {
    grid-template-columns: 1fr;
  }
  .sticky-panel-left {
    position: static;
    padding: var(--sp-6) var(--sp-4) var(--sp-4);
  }
  .sticky-panel-right {
    padding: var(--sp-4);
  }
  /* Navbar padding fix */
  .navbar {
    padding-inline: var(--sp-4);
  }
  /* Scroll to top position */
  .scroll-top {
    bottom: calc(66px + var(--sp-4));
    right: var(--sp-4);
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: var(--sp-3);
    --sp-28: 4rem;
  }
  .section {
    padding-block: var(--sp-12);
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .h-scroll-card {
    width: 280px;
  }
  .scroll-top {
    bottom: calc(66px + var(--sp-3));
    right: var(--sp-3);
  }
  .section-title {
    letter-spacing: -0.02em;
    font-size: clamp(1.4rem, 8vw, 1.9rem);
  }
  .hero-title {
    font-size: clamp(1.4rem, 8vw, 1.9rem);
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  body {
    cursor: auto;
  }
  #c-dot,
  #c-ring {
    display: none;
  }
  .navbar {
    padding-inline: var(--sp-3);
  }
  /* Bento grid single column */
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-cell {
    padding: var(--sp-5);
  }
  /* Footer more compact */
  .footer {
    padding-top: var(--sp-12);
  }
  .footer-grid {
    gap: var(--sp-8);
  }
}

/* ══════════════════════════════════════════════════════
   SERVICE SHOWCASE — Tab-based interactive section
   ══════════════════════════════════════════════════════ */

/* Tab row */
.svc-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.svc-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.25rem 0.75rem 1.1rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  cursor: pointer;
  color: #6b6b90;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
  overflow: hidden;
}

.svc-tab:hover {
  color: #c4c0e8;
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.svc-tab.is-active {
  background: rgba(99, 102, 241, 0.11);
  border-color: rgba(99, 102, 241, 0.45);
  color: #f0eeff;
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.18),
    0 6px 28px rgba(99, 102, 241, 0.14);
}

.svc-tab-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  opacity: 0.45;
  line-height: 1;
}

.svc-tab-icon {
  font-size: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-tab:hover .svc-tab-icon,
.svc-tab.is-active .svc-tab-icon {
  transform: scale(1.18);
}

.svc-tab-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Animated bottom accent line */
.svc-tab-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: 99px;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-tab.is-active .svc-tab-line {
  transform: translateX(-50%) scaleX(1);
}

/* Panel wrapper */
.svc-panels-wrap {
  position: relative;
}

/* Individual panels */
.svc-panel {
  display: none;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}
.svc-panel.is-active {
  display: flex;
}

/* Icon circle */
.svc-panel-icon-wrap {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 1.25rem;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: transform 0.3s ease;
}
.svc-panel:hover .svc-panel-icon-wrap {
  transform: scale(1.06);
}

/* Panel content */
.svc-panel-content {
  flex: 1;
  min-width: 0;
}

.svc-panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 99px;
  margin-bottom: 0.9rem;
}

.svc-panel-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: #f0eeff;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.svc-panel-body {
  color: #9090b0;
  line-height: 1.85;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.svc-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    filter 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.svc-panel-cta:hover {
  filter: brightness(1.15);
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.svc-panel-cta i {
  transition: transform 0.25s ease;
}
.svc-panel-cta:hover i {
  transform: translateX(3px);
}

/* Auto-advance progress bar */
.svc-progress-track {
  margin-top: 1.25rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.svc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: 99px;
  width: 0%;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .svc-panel {
    gap: 1.75rem;
  }
  .svc-panel-icon-wrap {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .svc-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .svc-tab {
    padding: 1rem 0.6rem 0.9rem;
    border-radius: 1rem;
  }
  .svc-tab-icon {
    font-size: 1.25rem;
  }
  .svc-tab-name {
    font-size: 0.72rem;
  }
  .svc-panel {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
  }
  .svc-panel-icon-wrap {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 1rem;
  }
  .svc-panel-title {
    font-size: 1.2rem;
  }
}
/* ============================================================
   SERVICE INTRO SECTION
   ============================================================ */

.service-intro {
  padding-block: var(--sp-20);
  position: relative;
  overflow: hidden;
}

/* Un efect subtil de strălucire mov pe fundal, în spatele secțiunii */
.service-intro::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.07) 0%,
    transparent 70%
  );
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.intro-title {
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-0);
  margin-top: var(--sp-4);
  letter-spacing: -0.03em;
}

/* Stilizarea cardului din dreapta */
.intro-card {
  border-radius: var(--r-xl);
  padding: 1px;
  background: var(--border);
  box-shadow: var(--shadow-lg);
}

.intro-card .glow-border-card-inner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: var(--sp-10) var(--sp-8);
  border-radius: calc(var(--r-xl) - 1px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.intro-lead {
  font-size: 1.1rem;
  color: var(--text-0);
  line-height: 1.7;
  font-weight: 500;
}

.intro-divider {
  height: 2px;
  width: 60px;
  background: var(--grad-primary);
  border-radius: var(--r-full);
}

.intro-text {
  font-size: 0.95rem;
  color: var(--text-1);
  line-height: 1.8;
}

.intro-text strong {
  color: var(--violet-light);
  font-weight: 600;
}

.intro-icons {
  display: flex;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.intro-icons .icon-circle {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.15);
  transition:
    transform var(--t-bounce),
    background var(--t-base);
}

.intro-icons .icon-circle:hover {
  transform: translateY(-4px);
  background: rgba(139, 92, 246, 0.18);
}

/* Responsivitate pentru ecrane mai mici */
@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .intro-card .glow-border-card-inner {
    padding: var(--sp-6);
  }
}
/* ══════════════════════════════════════
   WHAT WE CREATE - REDESIGN
══════════════════════════════════════ */
.create-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.create-left {
  padding-right: 2rem;
}

.create-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-0);
  margin-bottom: 1.5rem;
}

.create-lead {
  color: var(--text-1);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.create-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ec4899;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Dreapta: Stiva de carduri */
.create-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.create-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.create-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(20, 20, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s,
    border-color 0.3s;
}

.create-item:hover {
  background: rgba(236, 72, 153, 0.06);
  border-color: rgba(236, 72, 153, 0.25);
  transform: translateX(10px);
}

.ci-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.create-item:hover .ci-icon {
  transform: scale(1.1) rotate(-5deg);
}

.ci-body h3 {
  font-weight: 700;
  color: var(--text-0);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.ci-body p {
  color: var(--text-1);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Banner final */
.create-outro {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.08),
    rgba(244, 63, 94, 0.02)
  );
  border: 1px solid rgba(236, 72, 153, 0.15);
  text-align: center;
  font-size: 1rem;
  color: var(--text-1);
  line-height: 1.7;
}

.create-outro strong {
  color: #f0eeff;
  font-weight: 600;
}

/* Responsivitate */
@media (max-width: 1024px) {
  .create-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .create-left {
    padding-right: 0;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .create-item {
    flex-direction: column;
    gap: 1rem;
  }
  .create-item:hover {
    transform: translateX(4px);
  }
}
/* ══════════════════════════════════════
   §4 — ALWAYS-ON MANAGEMENT (Staggered Redesign)
══════════════════════════════════════ */
.s3-mgmt-redesign {
  padding-block: var(--sp-16, 5rem);
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mgmt-glow-bg {
  position: absolute;
  pointer-events: none;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.05) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
}

.mgmt-header {
  max-width: 650px;
  margin-bottom: 4rem;
}

/* Grila Asimetrică */
.mgmt-stagger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.staggered-col {
  margin-top: 0; /* Creează efectul de cascadă/treaptă */
}

.mgmt-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Cardurile Moderne */
.mgmt-card {
  background: rgba(20, 20, 40, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
}

.mgmt-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #ea580c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mgmt-card:hover {
  transform: translateY(-6px);
  background: rgba(25, 12, 5, 0.6);
  border-color: rgba(249, 115, 22, 0.2);
}

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

.mgmt-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s;
}

.mgmt-card:hover .mgmt-card-icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(249, 115, 22, 0.18);
}

.mgmt-card-title {
  font-family: var(--font-display, "Syne", sans-serif);
  font-weight: 700;
  color: var(--text-0);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.mgmt-card-desc {
  color: var(--text-1);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Banner Concluzie */
.mgmt-banner {
  margin-top: 4rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.08),
    rgba(20, 20, 40, 0.4)
  );
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-1);
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}

.mgmt-banner strong {
  color: #f0eeff;
  font-weight: 600;
}

/* Responsivitate pentru Mobile/Tablete */
@media (max-width: 900px) {
  .mgmt-stagger-grid {
    grid-template-columns: 1fr; /* Trece pe o singură coloană */
    gap: 2rem;
  }
  .staggered-col {
    margin-top: 0; /* Anulează efectul de cascadă pe mobil */
  }
  .mgmt-header {
    text-align: center;
    margin-inline: auto;
  }
  .mgmt-banner {
    padding: 2rem 1.5rem;
  }
}
/* ============================================================
   READABLER BRAND COLOUR OVERRIDES
   ============================================================ */
html {
  --readabler-color: rgba(149, 112, 162, 1) !important;
  --readabler-color-dark: rgba(169, 132, 182, 1) !important;
  --readabler-color-transparent: rgba(149, 112, 162, 0.2) !important;
  --readabler-color-transparent-dark: rgba(169, 132, 182, 0.2) !important;
  --readabler-overlay: rgba(149, 112, 162, 0.5) !important;
  --readabler-btn-bg: #9570A2 !important;
  --readabler-btn-bg-hover: rgba(149, 112, 162, 0.15) !important;
  --readabler-btn-color-hover: #9570A2 !important;
}

/* ============================================================
   AȘEZARE CORECTĂ ȘI RE-DIMENSIONARE PENTRU READABLER
   ============================================================ */

/* 1. Repoziționarea butonului Readabler sub cel de Back to Top */
html body #mdp-readabler-trigger-button {
  /* Poziționare fixă în colț, sub butonul de Back to Top */
  position: fixed !important;
  right: 32.5px !important;
  bottom: 32px !important; /* Aligned with original scroll-top bottom position */
  left: auto !important;
  top: auto !important;

  /* Dimensiuni identice (44px x 44px) */
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background: #9570A2 !important;
  box-shadow: 0 4px 20px rgba(149, 112, 162, 0.4) !important;

  /* Flexbox pentru centrarea iconiței interioare */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  z-index: 9999 !important; /* Ne asigurăm că rămâne vizibil */
}

/* 2. Resetarea wrapperului intern al iconiței pentru a evita decalările */
html body #mdp-readabler-trigger-button .mdp-readabler-trigger-button-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* 3. Ajustarea dimensiunii omulețului (SVG) din interiorul butonului micșorat */
html body #mdp-readabler-trigger-button svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  display: block !important;
  margin: 0 auto !important;
  fill: #ffffff !important;
  color: #ffffff !important;
}
/* ==========================================================================
   GLOBAL RESPONSIVE PATCH & BUG FIXES
   ========================================================================== */

/* 1. Prevenirea Scroll-ului Orizontal (Global) */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* 2. Forțarea ruperii cuvintelor lungi (ex: emailuri în footer, URL-uri lungi) */
p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
.footer-email,
.serp-url {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* 3. Rezolvarea Bug-ului din bridge.css (Afișarea corectă a meniului) */
nav.navbar,
nav[class*="navbar"][id="navbar"] {
  display: flex !important;
}

/* 4. Fix Navigație pe Ecrane Mici (Prevenirea suprapunerii în Header) */
@media (max-width: 850px) {
  /* Ascundem selectorul de limbă pe mobil pentru a face loc */
  .nav-actions .lang-switcher {
    display: none;
  }
  /* Reducem padding-ul butonului de acțiune */
  .nav-actions .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .nav-logo-img {
    max-height: 32px;
  }
}
@media (max-width: 480px) {
  /* Pe telefoane foarte mici, lăsăm doar Logo și Hamburger meniu */
  .nav-actions .btn-primary {
    display: none;
  }
}

/* 5. Fixuri pentru Grid-uri pe Tablete (1024px și mai jos) */
@media (max-width: 1024px) {
  /* service-3.html: Management Grid */
  .aom2-wrap {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }
  .aom2-left {
    position: relative;
    top: auto;
  }

  /* about.html & service-1.html: Timeline */
  .timeline-h {
    flex-direction: column;
    gap: 3rem;
  }
  .timeline-h::before,
  .timeline-h-line {
    display: none !important; /* Eliminăm linia conectoare pe verticală */
  }
  .timeline-step {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  /* service-4.html: Z-Block și Content Grid */
  .intent-split,
  .onpage-workspace-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }
}

/* 6. Fixuri pentru Telefoane (640px și mai jos) */
@media (max-width: 640px) {
  /* Redimensionare inteligentă a titlurilor Hero foarte mari */
  .hero-title,
  .section-title,
  .s1-title,
  .s2-title,
  .s3-title,
  .s4-title,
  .final-cta-title,
  .growth-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
    line-height: 1.15;
  }

  /* service-1.html: Ferestrele de cod (Prevenire debordare) */
  .code-window,
  .chart-panel,
  .journey-panel {
    width: 100% !important;
    max-width: 100vw !important;
  }
  .code-body {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  /* service-4.html: Snippet-urile "Live Preview" (SEO) */
  .opt-live-preview,
  .preview-serp-box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
  }
  .preview-skeleton-lines {
    width: max-content; /* Permite scroll orizontal intern în loc să rupă site-ul */
  }

  /* about.html: Team Grid (Trecere la o singură coloană) */
  .team-grid {
    grid-template-columns: 1fr !important;
  }

  /* Spațiere mai aerisită pentru secțiuni pe mobil */
  .section,
  .intent-section,
  .tech-section,
  .cs-section,
  .reporting-section,
  .principles-section,
  .pao-section {
    padding-block: 4rem !important;
  }

  /* Corectare lățime la cardurile din "What we create" */
  .create-item {
    padding: 1.25rem !important;
  }
}

/* 7. Fix pentru elementele Sticky & Hover (Telefoane/Tablete) */
@media (hover: none) and (pointer: coarse) {
  /* Anulăm efectele puternice de mutare la hover pe touch, pentru a evita blocajele de derulare */
  .h-scroll-card:hover,
  .opt-stream-card:hover,
  .growth-card:hover {
    transform: none !important;
  }
}
/* ==========================================================================
   FIX SUPRAPUNERE BUTOANE PE MOBIL (READABLER + SCROLL TO TOP)
   ========================================================================== */

@media (max-width: 768px) {
  /* 1. Scroll to Top is now above the Readabler button */
  html body .scroll-top {
    bottom: calc(66px + 16px + 48px + 16px) !important; /* above readabler */
    right: 16px !important;
    z-index: 8000 !important;
  }

  /* 2. Readabler is now below (closer to bottom) */
  html body #mdp-readabler-trigger-button {
    bottom: calc(66px + 16px) !important; /* directly above bottom bar */
    right: 16px !important;
    z-index: 8000 !important;
  }
}

/* Pentru ecrane de telefon foarte mici (ex: iPhone SE) */
@media (max-width: 480px) {
  html body .scroll-top {
    bottom: calc(66px + 12px + 48px + 12px) !important; /* above readabler */
    right: 11px !important;
  }

  html body #mdp-readabler-trigger-button {
    bottom: calc(66px + 12px) !important; /* directly above bottom bar */
    right: 11px !important;
  }
}
/*  */
