/* ========================================================================
   STEPA KFT. — LIGHT INDUSTRIAL DESIGN SYSTEM
   ======================================================================== */

:root {
  --bg: #f5f7fa;
  --bg-deep: #f9fbfc;
  --bg-soft: #eef3f7;
  --bg-card: #ffffff;
  --surface-dark: #122033;
  --surface-dark-2: #1a2c43;

  --border: #d8e1ea;
  --border-hover: rgba(23, 61, 107, 0.3);

  --text: #182433;
  --text-secondary: #5f6d7b;
  --text-muted: #8899a8;

  --primary: #173d6b;
  --primary-2: #1f508a;
  --accent: #c28b4d;
  --accent-light: #d4a56a;

  --shadow-sm: 0 2px 8px rgba(15, 23, 35, 0.06);
  --shadow-md: 0 8px 32px rgba(15, 23, 35, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 35, 0.1);
  --shadow-glow: 0 8px 30px rgba(23, 61, 107, 0.12);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --max-w: 1200px;
  --nav-h: 96px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(194, 139, 77, 0.06), transparent 24%),
    linear-gradient(180deg, #f9fbfc 0%, var(--bg) 100%);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* --- Scroll Progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  z-index: 9999;
  box-shadow: 0 0 8px rgba(23, 61, 107, 0.4);
}

/* --- Floating Shapes --- */
.geo-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.geo-shape {
  position: absolute;
  border: 1px solid rgba(23, 61, 107, 0.04);
  border-radius: 50%;
  animation: geoFloat 20s ease-in-out infinite;
}
.geo-shape:nth-child(1) { width: 300px; height: 300px; top: 10%; left: -5%; }
.geo-shape:nth-child(2) { width: 200px; height: 200px; top: 40%; right: -3%; animation-delay: -5s; border-color: rgba(194, 139, 77, 0.04); }
.geo-shape:nth-child(3) { width: 150px; height: 150px; bottom: 20%; left: 10%; animation-delay: -10s; }
.geo-shape:nth-child(4) { width: 400px; height: 400px; top: 60%; right: 15%; animation-delay: -15s; }
@keyframes geoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 0.6; }
}

/* --- Shell --- */
.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 56px), var(--max-w));
  margin: 0 auto;
  padding-bottom: 44px;
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: var(--nav-h);
  background: rgba(245, 247, 250, 0.88);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(216, 225, 234, 0.7);
  transition: background 0.3s, box-shadow 0.3s;
}
.topbar.is-scrolled {
  background: rgba(245, 247, 250, 0.96);
  box-shadow: 0 2px 20px rgba(15, 23, 35, 0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 56px), var(--max-w));
  margin: 0 auto;
  height: 100%;
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.brand:hover .brand-mark { transform: scale(1.05) rotate(-2deg); box-shadow: 0 4px 16px rgba(23, 61, 107, 0.25); }

.brand-mark-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s var(--ease-spring);
}
.brand:hover .brand-mark-logo { transform: scale(1.05); }

.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-size: 1rem; }
.brand-copy span { color: var(--text-secondary); font-size: 0.84rem; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text-secondary); font-size: 0.95rem; transition: color 180ms; }
.nav a:hover, .nav a:focus-visible, .nav .is-active { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px;
  border-radius: 999px;
  background: var(--primary); color: #fff !important;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(23, 61, 107, 0.25); }

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 180ms;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.is-active .nav-dropdown-toggle { color: var(--text); }
.nav-dropdown-toggle svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s var(--ease-out);
}
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 110;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--border);
}
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary) !important;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a:hover {
  background: var(--bg-soft);
  color: var(--text) !important;
}
.nav-dropdown-menu a svg {
  width: 16px; height: 16px;
  fill: none; stroke: var(--primary);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center; gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); background: #fff;
  cursor: pointer;
}
.menu-toggle-icon { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.menu-toggle-icon span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ========================================================================
   HERO (index - dark overlay on image)
   ======================================================================== */
.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}
.hero-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 32, 51, 0.92) 0%, rgba(24, 47, 75, 0.82) 42%, rgba(47, 79, 114, 0.4) 100%);
  z-index: 1;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.5;
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, rgba(12,22,35,0.6) 0%, rgba(12,22,35,0.3) 40%, rgba(12,22,35,0.05) 100%);
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 56px), var(--max-w));
  margin: 0 auto;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
  padding: 72px 0;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow-light { color: #f3c98d; }
.eyebrow-light::before { background: #f3c98d; }

.hero h1 {
  max-width: none;
  font-size: clamp(2.9rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero .lead {
  max-width: 72ch;
  margin-bottom: 28px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}
.hero-list {
  display: grid; gap: 12px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: none;
}
.hero-list li {
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-weight: 600;
  line-height: 1.6;
}
.hero-list li::before {
  content: '';
  position: absolute;
  top: 10px; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-actions, .career-actions, .contact-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  width: min(calc(100% - 56px), var(--max-w));
  margin: 0 auto;
}
.hero-strip-item {
  padding: 28px 32px;
  background: rgba(12, 22, 35, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
}
.hero-strip-item strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.hero-strip-item span { display: block; color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.7; }

/* ========================================================================
   BUTTONS
   ======================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.button:hover { transform: translateY(-1px); }

.button-primary { background: var(--primary); color: #fff; }
.button-primary:hover { box-shadow: 0 6px 20px rgba(23, 61, 107, 0.25); }

.button-secondary { border-color: var(--border); background: #fff; color: var(--text); }
.button-secondary:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }

.button-light { background: #fff; color: var(--text); }
.button-light:hover { box-shadow: var(--shadow-md); }

.button-outline-light { border-color: rgba(255,255,255,0.22); color: #fff; background: transparent; }
.button-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

.button-gold { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #fff; }
.button-gold:hover { box-shadow: 0 6px 20px rgba(194, 139, 77, 0.3); }

/* Hero button overrides */
.hero .button-secondary { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); color: #fff; }
.hero .button-secondary:hover { background: rgba(255,255,255,0.15); }

.magnetic-wrap { display: inline-flex; transition: transform 0.3s var(--ease-out); }

/* ========================================================================
   SECTIONS
   ======================================================================== */
.section { padding: 80px 0; }
.section-tight { padding-top: 24px; }

.section-soft {
  padding: 80px 40px;
  background: var(--bg-soft);
}

.section-dark {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px 0;
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: #fff;
}
.section-dark .section-inner {
  width: min(calc(100% - 56px), var(--max-w));
  margin: 0 auto;
}

.section-heading { max-width: 920px; }
.section-heading h2 {
  max-width: 22ch;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.section-heading p { color: var(--text-secondary); margin-top: 14px; line-height: 1.8; }

/* Text gradient for headings */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-dark .text-gradient,
.hero .text-gradient {
  background: linear-gradient(135deg, #fff 0%, #f3c98d 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ========================================================================
   CARDS
   ======================================================================== */
.cards-grid { display: grid; gap: 22px; margin-top: 34px; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.info-card {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.info-card:hover::before { transform: scaleX(1); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border: 1px solid rgba(23, 61, 107, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(23, 61, 107, 0.08), rgba(23, 61, 107, 0.02));
  color: var(--primary);
  transition: all 0.3s var(--ease-out);
}
.info-card:hover .icon-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(23, 61, 107, 0.25);
}
.icon-badge svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.section-dark .icon-badge {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.info-card h3 { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.3; }
.info-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap 0.25s var(--ease-out);
}
.text-link:hover { gap: 10px; }
.text-link::after { content: '\2192'; }

/* Reference Card */
.reference-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
  position: relative;
}
.reference-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.reference-card:hover::after { transform: scaleX(1); }
.reference-card h3 { margin: 0 0 12px; font-size: 1.15rem; line-height: 1.3; }
.reference-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

.reference-tag, .job-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(194, 139, 77, 0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ========================================================================
   SHOWCASE CARDS (hero alatti 3 kep)
   ======================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.showcase-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.showcase-card:hover img {
  transform: scale(1.06);
}
.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px;
  background: linear-gradient(0deg, rgba(10, 18, 30, 0.95) 0%, rgba(10, 18, 30, 0.7) 50%, rgba(10, 18, 30, 0.15) 80%, transparent 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 50%;
  transition: padding-bottom 0.35s var(--ease-out);
}
.showcase-card:hover .showcase-overlay {
  padding-bottom: 34px;
}
.showcase-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.showcase-overlay strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card { aspect-ratio: 16 / 9; }
}

/* ========================================================================
   USP CARDS (Why choose us)
   ======================================================================== */
.usp-card {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}
.usp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  transition: height 0.5s var(--ease-out);
}
.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.usp-card:hover::before { height: 100%; }

.usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(23, 61, 107, 0.08), rgba(194, 139, 77, 0.06));
  border: 1px solid rgba(23, 61, 107, 0.1);
  transition: all 0.35s var(--ease-out);
}
.usp-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--primary);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.usp-card:hover .usp-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(23, 61, 107, 0.25);
}
.usp-card:hover .usp-icon svg { stroke: #fff; }

.usp-card h3 { margin: 0 0 10px; font-size: 1.08rem; line-height: 1.3; }
.usp-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ========================================================================
   SERVICE BLOCKS (merged services + references)
   ======================================================================== */
.service-blocks { display: grid; gap: 32px; margin-top: 40px; }

.service-block {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 40px;
  align-items: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}
.service-block:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.service-block-reverse { direction: rtl; }
.service-block-reverse > * { direction: ltr; }

.service-block-image {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
}
.service-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.service-block:hover .service-block-image img {
  transform: scale(1.04);
}

.service-block-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}
.service-block-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

.service-block-stats {
  display: flex;
  gap: 28px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.service-block-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-block-stats strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.service-block-stats span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========================================================================
   ABOUT HERO LAYOUT
   ======================================================================== */
.about-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero-content h2 {
  max-width: 18ch;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.about-hero-content > p {
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.8;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-highlight strong {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.about-highlight span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.about-hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-hero-images .image-panel:first-child {
  transform: translateY(-16px);
}
.about-hero-images .image-panel:last-child {
  transform: translateY(16px);
}

/* ========================================================================
   TESTIMONIAL STARS
   ======================================================================== */
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars svg {
  width: 16px; height: 16px;
  fill: var(--accent);
}

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

/* ========================================================================
   MARQUEE ACCENT VARIANT
   ======================================================================== */
.marquee-accent {
  background: linear-gradient(90deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  border-color: transparent;
}
.marquee-accent .marquee-item {
  color: rgba(255,255,255,0.3);
}
.marquee-accent .marquee-item::after {
  background: var(--accent-light);
  opacity: 0.4;
}

/* ========================================================================
   MEDIA GRID / IMAGE PANELS
   ======================================================================== */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.media-card { display: grid; gap: 14px; }
.media-copy span { display: block; margin-bottom: 6px; color: var(--accent); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.media-copy strong { display: block; font-size: 0.92rem; line-height: 1.55; }

.image-panel {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}
.image-panel img {
  width: 100%; height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.image-panel:hover img { transform: scale(1.04); }

.gallery-grid { display: grid; gap: 22px; margin-top: 34px; }
.gallery-grid-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ========================================================================
   STATISTICS
   ======================================================================== */
.stats-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 48px 24px;
  background: rgba(18, 32, 51, 0.9);
}
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
}
.stat-suffix { color: var(--accent-light); }
.stat-label { font-size: 0.84rem; color: rgba(255,255,255,0.5); font-weight: 600; }

/* ========================================================================
   MARQUEE
   ======================================================================== */
.marquee-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  padding: 24px 40px;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-item::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========================================================================
   PARTNER LOGOS
   ======================================================================== */
.logos-section {
  padding: 56px 0;
  overflow: hidden;
  position: relative;
}
.logos-section .section-heading { text-align: center; max-width: 100%; margin: 0 auto 32px; }
.logos-track-wrap { position: relative; overflow: hidden; }
.logos-track-wrap::before,
.logos-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos-track-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.logos-track-wrap::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.logos-track {
  display: flex;
  gap: 24px;
  animation: logosScroll 25s linear infinite;
  width: max-content;
}
.logos-track:hover { animation-play-state: paused; }
.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.25s;
}
.logo-item:hover { color: var(--text); border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
@keyframes logosScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ========================================================================
   TWO COLUMN
   ======================================================================== */
.two-column { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr); gap: 40px; align-items: start; }
.text-stack { display: grid; gap: 18px; }
.text-stack p { margin: 0; color: var(--text-secondary); line-height: 1.8; }

/* ========================================================================
   TESTIMONIALS
   ======================================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }

.testimonial-card {
  padding: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: all 0.35s var(--ease-out);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.testimonial-text { font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.7); margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.82rem; color: #fff;
  flex-shrink: 0;
}
.testimonial-meta strong { display: block; font-size: 0.88rem; color: #fff; }
.testimonial-meta span { font-size: 0.78rem; color: rgba(255,255,255,0.45); }

/* Light testimonial variant */
.testimonial-card-light {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.testimonial-card-light .testimonial-text { color: var(--text-secondary); }
.testimonial-card-light .testimonial-meta strong { color: var(--text); }
.testimonial-card-light .testimonial-meta span { color: var(--text-muted); }
.testimonial-card-light:hover { box-shadow: var(--shadow-lg); border-color: var(--border-hover); }

/* ========================================================================
   CAREER BANNER
   ======================================================================== */
.career-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.career-banner h2 { max-width: 24ch; font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.career-banner p { color: rgba(255,255,255,0.6); margin-top: 12px; line-height: 1.8; }

/* ========================================================================
   CONTACT BOX
   ======================================================================== */
.contact-box {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.contact-box h2 { max-width: 24ch; font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.contact-box p { color: var(--text-secondary); margin-top: 12px; }

/* ========================================================================
   CONTACT FORM
   ======================================================================== */
.contact-form { display: grid; gap: 20px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.82rem; font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 61, 107, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23556680' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-color: var(--bg); }
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select { border-color: #ef4444; }
.form-error { font-size: 0.78rem; color: #ef4444; display: none; }
.form-group.has-error .form-error { display: block; }
.form-success {
  padding: 20px;
  background: rgba(23, 61, 107, 0.06);
  border: 1px solid rgba(23, 61, 107, 0.2);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  display: none;
}

/* ========================================================================
   JOB / PROCESS
   ======================================================================== */
.job-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.job-detail {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out);
}
.job-detail:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-hover); }
.job-detail h3 { margin: 0 0 12px; font-size: 1.2rem; line-height: 1.3; }
.job-detail p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.7; }
.job-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.job-columns strong { display: block; margin-bottom: 12px; font-size: 0.88rem; }
.job-columns ul { display: grid; gap: 8px; padding-left: 18px; color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; list-style: disc; }
.job-columns ul li::marker { color: var(--primary); }

.process-list { display: grid; gap: 14px; }
.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}
.process-item:hover { border-color: var(--border-hover); transform: translateX(4px); }
.process-item span { color: var(--accent); font-size: 0.84rem; font-weight: 800; letter-spacing: 0.14em; }
.process-item strong { display: block; margin-bottom: 6px; }
.process-item p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* Dark process */
.section-dark .process-item { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.section-dark .process-item:hover { border-color: rgba(255,255,255,0.16); }
.section-dark .process-item p { color: rgba(255,255,255,0.55); }

/* ========================================================================
   TIMELINE
   ======================================================================== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.25;
}
.timeline-item { position: relative; padding: 0 0 44px 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -33px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(23, 61, 107, 0.12);
  transition: transform 0.3s var(--ease-spring);
}
.timeline-item:hover .timeline-dot { transform: scale(1.3); }
.timeline-year { font-size: 0.78rem; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 8px; }
.timeline-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.timeline-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ========================================================================
   PAGE HERO (subpages)
   ======================================================================== */
.page-hero { max-width: 980px; padding: 80px 0 28px; }
.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.page-lead { max-width: 64ch; margin-top: 16px; font-size: 1rem; color: var(--text-secondary); line-height: 1.8; }

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--surface-dark);
  color: #fff;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 32px;
}
.footer-brand strong { font-size: 1.05rem; display: block; margin-bottom: 8px; }
.footer-brand > p { color: rgba(255,255,255,0.45); font-size: 0.88rem; line-height: 1.7; margin: 0; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  transition: all 0.25s;
}
.footer-social a:hover { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-certs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.footer-cert { padding: 3px 8px; border: 1px solid rgba(255,255,255,0.1); border-radius: 5px; font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }

.footer-col span { display: block; margin-bottom: 14px; font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); }
.footer-col a { display: block; padding: 4px 0; color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-col p { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin: 0; }

.footer-newsletter { display: flex; gap: 8px; margin-top: 14px; }
.footer-newsletter input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff; font-size: 0.85rem;
  outline: none; transition: border-color 0.3s;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter input:focus { border-color: rgba(255,255,255,0.3); }
.footer-newsletter button {
  padding: 10px 16px;
  background: var(--primary-2); color: #fff;
  border: none; border-radius: 8px;
  font-weight: 700; font-size: 0.82rem;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.footer-newsletter button:hover { background: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 32px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ========================================================================
   BACK TO TOP
   ======================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff; border: none;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 90;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(23, 61, 107, 0.3);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(23, 61, 107, 0.4); }
.back-to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ========================================================================
   SECTION LINK
   ======================================================================== */
.section-link { margin-top: 28px; }

/* ========================================================================
   REVEAL
   ======================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }

/* ========================================================================
   PRELOADER
   ======================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.preloader-mark {
  display: grid;
  place-items: center;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}
.preloader-mark img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.preloader-bar {
  width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.preloader-bar-fill {
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  animation: preloaderSlide 1s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(23, 61, 107, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 8px 30px rgba(23, 61, 107, 0.2); }
}
@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ========================================================================
   COOKIE BAR
   ======================================================================== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 18px 24px;
  background: var(--surface-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.cookie-bar.is-visible {
  transform: translateY(0);
}
.cookie-bar.is-hidden {
  transform: translateY(100%);
}
.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cookie-bar-text {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  line-height: 1.6;
}
.cookie-bar-text a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-bar-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-bar-accept {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cookie-bar-accept:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
}
.cookie-bar-reject {
  padding: 10px 20px;
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.cookie-bar-reject:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.3);
}

/* ========================================================================
   BREADCRUMB
   ======================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep {
  color: var(--border);
  font-size: 0.7rem;
}
.breadcrumb-current {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1120px) {
  .two-column, .career-banner { grid-template-columns: 1fr; }
  .cards-grid-3, .cards-grid-4, .job-layout, .media-grid, .gallery-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testimonials-grid, .testimonials-grid-3 { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr; }
  .service-block, .service-block-reverse { grid-template-columns: 1fr; direction: ltr; }
  .about-hero-layout { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .site-shell { width: min(calc(100% - 20px), var(--max-w)); }

  /* --- MOBILE TOPBAR --- */
  .topbar { position: sticky; height: 72px; }
  --nav-h: 72px;
  .topbar-inner { width: min(calc(100% - 20px), var(--max-w)); }
  .brand-mark-logo { height: 56px; }

  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 90px 24px 32px;
    border: none;
    border-radius: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    box-shadow: none;
    z-index: 200;
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 16px 0;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav a:last-child { border-bottom: none; }
  .nav-cta {
    margin-top: 16px;
    border-bottom: none !important;
    text-align: center;
    border-radius: 999px !important;
    padding: 16px 24px !important;
  }

  /* Mobile dropdown */
  .nav-dropdown { border-bottom: 1px solid var(--border); }
  .nav-dropdown-toggle {
    width: 100%;
    padding: 16px 0;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0 0 12px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    margin: 0;
  }
  .nav-dropdown-menu::before, .nav-dropdown-menu::after { display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm) !important;
    background: var(--bg-soft);
    margin-bottom: 4px;
  }
  .nav-dropdown-menu a:hover { background: var(--bg); }

  /* Hamburger stays on top when menu open */
  .menu-toggle { position: relative; z-index: 210; }

  /* --- MOBILE HERO --- */
  .hero-stage { min-height: 420px; }
  .hero-copy { min-height: 380px; padding: 32px 0; }
  .hero-inner { width: min(calc(100% - 20px), var(--max-w)); }
  .hero h1 { max-width: none; font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: 1.12; }
  .hero .lead { font-size: 1rem; line-height: 1.65; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .magnetic-wrap { width: 100%; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .hero-list { gap: 8px; }
  .hero-list li { font-size: 0.88rem; }

  /* --- MOBILE SECTIONS --- */
  .section { padding: 40px 0; }
  .section-soft { padding: 24px 16px; }
  .section-dark { padding: 40px 0; }
  .section-dark .section-inner { width: min(calc(100% - 20px), var(--max-w)); }
  .contact-box { padding: 20px 16px; }

  .section-heading h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .section-heading p { font-size: 0.9rem; }

  /* --- MOBILE CARDS --- */
  .cards-grid-2, .gallery-grid-2 { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .info-card, .usp-card, .reference-card { padding: 22px 18px; }

  /* --- MOBILE SHOWCASE --- */
  .showcase-grid { gap: 14px; }
  .showcase-card { aspect-ratio: 16 / 10; }
  .showcase-overlay { padding: 20px 18px; }
  .showcase-overlay strong { font-size: 0.95rem; }

  /* --- MOBILE STATS --- */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 28px 16px; }
  .stat-number { font-size: clamp(2rem, 8vw, 3rem); }
  .stat-label { font-size: 0.75rem; }

  /* --- MOBILE SERVICE BLOCKS --- */
  .service-blocks { gap: 20px; }
  .service-block { padding: 16px; gap: 20px; }
  .service-block-image { aspect-ratio: 16 / 9; }
  .service-block-content h3 { font-size: 1.1rem; }
  .service-block-stats { gap: 20px; }
  .service-block-stats strong { font-size: 1.2rem; }

  /* --- MOBILE ABOUT HERO --- */
  .about-hero-content h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .about-highlights { grid-template-columns: 1fr; gap: 12px; }
  .about-hero-images { gap: 12px; }
  .about-hero-images .image-panel:first-child,
  .about-hero-images .image-panel:last-child { transform: none; }

  /* --- MOBILE TESTIMONIALS --- */
  .testimonials-grid { gap: 16px; }
  .testimonial-card { padding: 24px 18px; }
  .testimonial-text { font-size: 0.88rem; }

  /* --- MOBILE MARQUEE --- */
  .marquee-item { padding: 18px 28px; font-size: 1rem; gap: 28px; }

  /* --- MOBILE CAREER BANNER --- */
  .career-banner h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  .career-actions { flex-direction: column; width: 100%; }
  .career-actions .magnetic-wrap { width: 100%; }
  .career-actions .button { width: 100%; justify-content: center; }

  /* --- MOBILE CONTACT FORM --- */
  .contact-form-row, .job-columns { grid-template-columns: 1fr; }
  .contact-box h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

  /* --- MOBILE PAGE HERO --- */
  .page-hero { padding: 40px 0 16px; }
  .page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.6rem); }
  .page-lead { font-size: 0.9rem; }

  /* --- MOBILE PROCESS --- */
  .process-item { grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 14px; }

  /* --- MOBILE TIMELINE --- */
  .timeline { padding-left: 28px; }
  .timeline-dot { left: -23px; }

  /* --- MOBILE JOB LAYOUT --- */
  .job-detail { padding: 22px 18px; }

  /* --- MOBILE FOOTER --- */
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px; }
  .footer-bottom { padding: 16px; font-size: 0.72rem; }

  /* --- MOBILE BACK TO TOP --- */
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }

  /* --- MOBILE COOKIE BAR --- */
  .cookie-bar { padding: 14px 16px; }
  .cookie-bar-inner { flex-direction: column; text-align: center; gap: 14px; }
  .cookie-bar-text { font-size: 0.78rem; }
  .cookie-bar-actions { justify-content: center; width: 100%; }
  .cookie-bar-accept, .cookie-bar-reject { flex: 1; }

  /* --- MOBILE LOGOS --- */
  .logos-section { padding: 36px 0; }
  .logo-item { height: 44px; padding: 0 18px; font-size: 0.78rem; }

  /* --- MOBILE MAP --- */
  .map-panel iframe { height: 280px; }
}

@media (max-width: 480px) {
  .site-shell { width: calc(100% - 16px); }
  .hero h1 { font-size: 1.6rem; }
  .hero .lead { font-size: 0.9rem; }
  .hero-copy { min-height: 340px; padding: 24px 0; }
  .section { padding: 32px 0; }
  .section-heading h2 { font-size: 1.35rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 22px 12px; }
  .showcase-card { aspect-ratio: 3 / 2; }
  .about-hero-images { grid-template-columns: 1fr; }
  .service-block-stats { flex-direction: column; gap: 12px; }
  .eyebrow { font-size: 0.7rem; }
  .button { min-height: 48px; font-size: 0.85rem; padding: 0 20px; }
  .contact-actions-row { flex-direction: column; }
  .contact-actions-row .magnetic-wrap { width: 100%; }
  .contact-actions-row .button { width: 100%; justify-content: center; }
  .footer-top { padding: 24px 12px; }
  .info-card h3, .usp-card h3 { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}
