﻿@font-face {
  font-family: "MyFont";
  src: url("../fonts/BPG.ttf?v=1") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html, body { font-family: "MyFont", sans-serif !important; }
*, *::before, *::after { font-family: inherit; }

/* ========== Design Tokens â€” Dark Theme ========== */
:root {
  --bg:        #0b0f16;
  --surface:   #131c28;
  --surface-2: #1b2639;
  --surface-3: #243248;

  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);

  --text:  #dce4ef;
  --muted: #6a7f95;

  --accent:      #132934;
  --accent-dim:  rgba(19,41,52,0.10);
  --accent-glow: rgba(19,41,52,0.22);

  --primary:       #132934;
  --primary-hover: #2f556b;

  --pill-bg:     rgba(19,28,40,0.92);
  --pill-shadow: 0 4px 24px rgba(0,0,0,0.45);
  --radius-pill: 999px;
  --header-h:    80px;

  --card-shadow:       0 4px 20px rgba(0,0,0,0.35);
  --card-shadow-hover: 0 10px 32px rgba(0,0,0,0.55);

  --footer-bg:    #132934;
  --footer-ink:   #8a9db0;
  --footer-muted: #4d5d6d;
  --footer-sep:   rgba(255,255,255,0.07);
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: rgba(47,85,107,0.25); }
:root { accent-color: #2f556b; }
:focus-visible { outline: 2px solid #2f556b; outline-offset: 2px; }
::selection { background: rgba(47,85,107,0.40); color: #ffffff; }
html { overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  padding-top: 0;
}

/* footer always sits at the bottom */
.site-footer { margin-top: auto; }

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 22px;
  background: transparent;
  transition: transform 0.3s ease, background 0.3s ease,
              backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

/* Logo */
.brand img { height: 52px; display: block; }

/* Desktop nav pill */
.nav-pill {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 8px 18px;
  background: var(--pill-bg);
  border-radius: var(--radius-pill);
  box-shadow: var(--pill-shadow);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  font-size: 15px;
  padding: 6px 13px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.active { background: var(--accent); color: #ffffff; }

/* Right side */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px var(--accent-dim);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 24px var(--accent-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 22px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s;
}

.menu-toggle:hover { background: var(--surface-2); }

/* Mobile dropdown */
.mobile-menu {
  position: absolute;
  left: 0; right: 0;
  background: rgba(7,9,13,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 20px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  gap: 16px;
}

.mobile-menu.open { display: flex; }

.mobile-link {
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--text); }

.mobile-link.highlight {
  background: var(--accent);
  color: #07090d;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 760px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .nav-pill { display: none; }
  .btn-contact { display: none; }
  .menu-toggle { display: block; }
  .header-right { justify-content: flex-end; width: 100%; }
  .site-header {
    background: rgba(7,9,13,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 16px 16px;
  }
}

@media (max-width: 520px) {
  .brand img { height: 40px; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: clip;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  display: grid;
  align-items: end;
  justify-items: start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/main/background.png") center / cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,15,22,0.96) 0%,
    rgba(11,15,22,0.65) 45%,
    rgba(11,15,22,0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: clamp(24px,3vw,48px) clamp(24px,3vw,48px) clamp(48px,6vw,80px);
  margin: 0 auto;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(32px,4.5vw,64px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero-subtitle {
  margin: 0 0 32px;
  font-size: clamp(12px,1.2vw,16px);
  color: var(--accent);
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
}

/* ========== Eyebrow label ========== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ========== About Section ========== */
.section-with-bg {
  background: var(--bg);
  padding: clamp(60px,7vw,110px) 0;
}

.about-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px,4vw,52px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,5vw,90px);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-text h2 {
  margin: 0;
  font-size: clamp(1.4rem,2.2vw,2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.about-text p {
  margin: 0;
  font-size: clamp(0.85rem,1.05vw,1rem);
  color: var(--muted);
  line-height: 1.85;
}

.about-btn { align-self: flex-start; }

@media (max-width: 860px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 480px; width: 100%; margin: 0 auto; }
}

/* ========== Section title (shared) ========== */
.sec-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(1.2rem,1.8vw,1.6rem);
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 0;
  white-space: nowrap;
}

.sec-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  border-radius: 2px;
}

/* ========== Services Section ========== */
.services-section {
  background: var(--surface);
  padding: clamp(32px,3vw,52px) 0;
}

.services-shell {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

.section-header { margin-bottom: clamp(32px,4vw,52px); }

#services { scroll-margin-top: 100px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 14px;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 24px;
  min-height: 110px;
  transition: border-color 0.25s, background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.svc-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  text-align: left;
}

.svc-icon {
  width: 50px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  filter: brightness(0) invert(0.55);
  transition: filter 0.25s;
}

.service-card:hover .svc-icon {
  filter: brightness(0) saturate(100%) invert(62%) sepia(40%) saturate(460%) hue-rotate(170deg) brightness(100%) contrast(96%);
}

@media (max-width: 1300px) { .services-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px)  { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  {
  .services-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
}

/* ========== Projects Section (homepage) ========== */
.projects-section {
  background: var(--bg);
  padding: clamp(60px,6vw,100px) 0 clamp(40px,4vw,60px);
}

.hero2-content {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px clamp(24px,3vw,36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero2-title {
  margin: 0;
  font-size: clamp(1.2rem,1.8vw,1.6rem);
  font-weight: 700;
  color: var(--text);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.50);
  color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  background: rgba(0,0,0,0.50);
  border-color: rgba(255,255,255,0.80);
  color: #ffffff;
}

.projects-shell {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Arrow buttons */
.proj-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  margin-bottom: 22px;
}

.proj-arrow {
  position: relative;
  width: 150px;
  height: 1px;
  background: var(--surface-3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.proj-arrow:hover { background: var(--accent); }

.proj-arrow::after {
  content: "";
  position: absolute;
  top: -22px; left: -22px; right: -22px; bottom: -22px;
  background: transparent;
  cursor: pointer;
}

.proj-arrow.left::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid var(--surface-3);
  transition: border-right-color 0.2s;
}

.proj-arrow.right::before {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--surface-3);
  transition: border-left-color 0.2s;
}

.proj-arrow.left:hover::before  { border-right-color: var(--accent); }
.proj-arrow.right:hover::before { border-left-color:  var(--accent); }

/* Viewport + track */
.proj-viewport { overflow: hidden; width: 100%; }

.proj-track {
  display: flex;
  gap: 28px;
  will-change: transform;
  transition: transform .45s ease;
  padding: 0; margin: 0;
  list-style: none;
}

.proj-card {
  background: transparent;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0; padding: 0;
}

.proj-media {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  background: var(--surface);
  overflow: hidden;
  border-radius: 14px;
}

.proj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.proj-card:hover .proj-media img { transform: scale(1.05); }

.proj-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  padding: 16px 4px 0;
  align-items: start;
  background: transparent;
}

.proj-num {
  font-size: 46px;
  line-height: .85;
  font-weight: 400;
  color: var(--surface-3);
}

.proj-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.proj-desc {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.proj-link { display: block; text-decoration: none; color: inherit; }

/* Dots */
.proj-dots {
  margin-top: 22px;
  margin-bottom: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.proj-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--surface-3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.proj-dot.is-active {
  background: var(--accent);
  transform: scale(1.35);
}

@media (max-width: 640px) {
  .projects-shell { padding: 0 16px; }
  .proj-track { gap: 16px; }
  .proj-num { font-size: 36px; }
  .proj-title { font-size: 15px; }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 28px 0 50px;
  border-top: 1px solid var(--border);
}

.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px,4vw,48px);
  margin: 8px 0 16px;
}

.footer-menu a {
  color: var(--footer-muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.footer-menu a:hover { color: var(--footer-ink); }

.footer-sep {
  border: none;
  border-top: 1px solid var(--footer-sep);
  margin: 14px 0;
}

.footer-contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px,6vw,80px);
  padding: 8px 0;
  flex-wrap: wrap;
}

.contact {
  color: var(--footer-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: color 0.2s;
}

.contact:hover { color: #fff; }

.icon1 {
  width: 28px;
  height: auto;
  filter: brightness(0) invert(0.55);
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
}

.social {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
  outline: none;
}

.social img {
  width: 24px; height: 24px;
  display: block;
  pointer-events: none;
  filter: brightness(0) invert(0.65);
  transition: filter 0.2s;
}

.social:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
  border-color: var(--border-hover);
}

.social:hover img { filter: brightness(0) invert(1); }

.footer-brand {
  position: absolute;
  left: 26px;
  bottom: 0;
  display: inline-block;
}

.footer-brand img { height: 44px; width: auto; }

@media (max-width: 720px) {
  .footer-menu { gap: 18px; }
  .footer-contacts { flex-direction: column; gap: 12px; text-align: center; }
  .footer-brand {
    position: static;
    display: flex;
    justify-content: center;
    margin: 22px auto 0;
  }
  .footer-brand img { height: 40px; }
}

/* ========== Projects Page ========== */
.page-frame {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg);
  padding-bottom: 80px;
  padding-top: 120px;
}

.projects-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(16px,4vw,64px);
  padding-right: clamp(16px,4vw,64px);
}

.projects-title {
  font-size: clamp(22px,2vw,30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

.filters-row {
  position: relative;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
  padding: 0; margin: 0;
}

.filter-item {
  position: relative;
  cursor: pointer;
  padding-bottom: 6px;
  transition: color 0.2s;
}

.filter-item:hover { color: var(--text); }
.filter-item.active { font-weight: 600; color: var(--text); }

.filter-item::after { content: none; }

.filters-underline {
  position: absolute;
  left: 0; top: 100%;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.content-row { height: 70vh; overflow: hidden; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(260px,1fr));
  gap: 18px;
  height: 100%;
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}

.cards-grid::-webkit-scrollbar { width: 4px; }
.cards-grid::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 2px;
}
.cards-grid::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.card {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 300px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.card-link.is-hidden { display: none; }

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

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.card:hover .card-image { transform: scale(1.04); }

.card-content { padding: 14px 16px 16px; flex: 1; }

.card-content h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}

.card-content p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 6px 0 0;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2,1fr);
    height: auto;
    overflow-y: visible;
  }
  .content-row { height: auto; overflow: visible; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .filters-list { font-size: 13px; gap: 10px 14px; }
  .projects-title { font-size: 22px; }
}

/* ========== Contact Page ========== */
.contact-section {
  position: relative;
  min-height: 100vh;
  padding: clamp(100px,10vh,140px) 0 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--bg);
  background-image: url("/assets/main/background.png");
  background-size: cover;
  background-position: center;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11,15,22,0.82);
  pointer-events: none;
}

.contact-shell {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 800px;
}

.contact-card {
  background: rgba(19,28,40,0.92);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  overflow: hidden;
}

.contact-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  justify-content: center;
}

.contact-item { display: flex; align-items: center; gap: 8px; }

.contact-map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  filter: invert(92%) hue-rotate(180deg) brightness(0.85);
}

.contact-footer {
  border-top: 1px solid var(--border);
  padding: 12px 24px 16px;
  display: flex;
  justify-content: flex-end;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--accent); }
.contact-label { color: var(--muted); font-size: 14px; }

.icon-mail {
  width: 32px;
  height: auto;
  filter: brightness(0) invert(0.65);
}

@media (max-width: 800px) {
  .contact-top { flex-direction: column; align-items: flex-start; }
  .contact-footer { justify-content: center; }
}

/* ========== Career Page ========== */
.career-page {
  background: var(--bg);
  padding: clamp(100px,12vh,140px) 0 80px;
}

.career-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
}

.career-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(40px,6vw,72px) clamp(32px,5vw,64px);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.career-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 340px; height: 340px;
  background: var(--accent-dim);
  border-radius: 50%;
  pointer-events: none;
}

.career-title {
  font-size: clamp(22px,3vw,36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.career-subtitle {
  max-width: 620px;
  font-size: clamp(14px,1.2vw,16px);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.career-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #07090d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.career-cta:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 24px var(--accent-glow);
  transform: translateY(-1px);
}

.section-title {
  font-size: clamp(16px,1.6vw,20px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 680px;
}

.career-benefits { margin-bottom: 40px; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.benefit-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

.career-openings { margin-bottom: 40px; }
.jobs-list { display: flex; flex-direction: column; gap: 12px; }

.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 16px;
  padding: 22px 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.job-card:hover {
  box-shadow: var(--card-shadow);
  transform: translateX(3px);
}

.job-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.job-title { font-size: 16px; font-weight: 700; color: var(--text); margin: 0; }

.job-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--accent);
  border: 1px solid var(--border);
}

.job-tag-intern { background: rgba(255,200,60,0.08); color: #d4a820; border-color: rgba(212,168,32,0.2); }

.job-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-divider { margin: 0 4px; }

.job-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 14px;
}

.job-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid rgba(19,41,52,0.4);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.job-apply:hover {
  background: var(--accent);
  color: #07090d;
  border-color: var(--accent);
}

.career-open-application { margin-top: 8px; }

.open-app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(28px,4vw,48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.open-app-card h2 {
  font-size: clamp(16px,1.8vw,20px);
  color: var(--text);
  margin: 0 0 8px;
  font-weight: 700;
}

.open-app-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) {
  .career-page { padding-top: 120px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .job-header { flex-direction: column; align-items: flex-start; }
  .open-app-card { flex-direction: column; }
}

/* ========== BIM Page ========== */
.bim-page {
  background: var(--bg);
  padding-top: 0;
  padding-bottom: 0;
}

.bim-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(100px,12vh,140px) clamp(16px,4vw,40px) 80px;
}

.bim-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(40px,6vw,72px) clamp(32px,5vw,64px);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.bim-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: var(--accent-dim);
  border-radius: 50%;
  pointer-events: none;
}

.bim-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px,4vw,52px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.bim-hero-text h1 {
  font-size: clamp(22px,3vw,38px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.bim-hero-text .lead {
  font-size: clamp(14px,1.2vw,16px);
  color: var(--muted);
  line-height: 1.75;
}

.bim-hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
}

.bim-hero-card h2,
.bim-section h2 {
  font-size: clamp(14px,1.4vw,16px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
}

.bim-section h2 { color: var(--text); }

.bim-hero-card ul,
.bim-highlight-box ul { list-style: none; padding: 0; margin: 0; }

.bim-hero-card li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.bim-hero-card li::before {
  content: 'âœ“';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.bim-section { padding: 24px 0 0; }

.bim-section-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 32px;
}

.bim-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 12px;
}

.bim-section p:last-child { margin-bottom: 0; }

.bim-two-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(20px,3vw,36px);
  align-items: start;
}

.bim-section-inner.bim-two-cols {
  background: transparent;
  border: none;
  padding: 0;
}

.bim-two-cols > div:first-child {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 32px;
}

.bim-metrics { align-self: start; display: grid; gap: 12px; }

.bim-highlight-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 16px;
  padding: 22px 20px;
}

.bim-highlight-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.bim-highlight-box li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.bim-highlight-box li::before {
  content: 'â†’';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
}

.metric-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.metric-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.bim-cta-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(36px,5vw,56px) clamp(28px,4vw,52px);
  text-align: center;
  margin-top: 24px;
}

.bim-cta-section h2 {
  font-size: clamp(18px,2.2vw,24px);
  color: var(--text) !important;
  font-weight: 700;
  margin-bottom: 12px;
}

.bim-cta-section p {
  font-size: 15px;
  color: var(--muted) !important;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 28px;
}

@media (max-width: 900px) {
  .bim-hero-inner,
  .bim-two-cols { grid-template-columns: 1fr; }
  .bim-section-inner { padding: 22px 18px; }
}
