:root {
  --bg: #0b1622;
  --bg-soft: #101f2e;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --text: #102030;
  --text-light: #5c6b7a;
  --white: #ffffff;
  --primary: #0f5fa8;
  --primary-dark: #0a4a84;
  --accent: #ff8c42;
  --border: #dce5ee;
  --shadow: 0 10px 30px rgba(16, 32, 48, 0.12);
  --radius: 18px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 22, 34, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
}

.brand span {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.2;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg,
.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 22, 34, 0.88) 0%, rgba(11, 22, 34, 0.66) 48%, rgba(11, 22, 34, 0.4) 100%);
}

.hero-content,
.contact-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 5rem 0;
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.section-tag.light,
.light-text .section-tag,
.contact-content .section-tag {
  color: #ffd3b6;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 760px;
}

.hero-text {
  max-width: 680px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.candidate-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #1d1d1d;
}

.btn-primary:hover {
  background: #ff7b27;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section {
  padding: 5.5rem 0;
}

.section-light {
  background: var(--surface-soft);
}

.section-dark {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--white);
}

.section-head {
  max-width: 740px;
  margin-bottom: 2rem;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section h2,
.section-dark h2,
.contact-content h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section p,
.info-card p,
.service-item p,
.feature-card p,
.contact-card p {
  color: var(--text-light);
}

.section-dark p,
.section-dark .feature-card p,
.contact-content p,
.contact-card p,
.contact-card a {
  color: rgba(255, 255, 255, 0.88);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 2rem;
  align-items: center;
}

.section-grid {
  gap: 3rem;
}

.image-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  height: auto;
  min-height: unset;
  object-fit: contain;
  border-radius: var(--radius);
}

.clients-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.client-banner {
  max-width: 1180px;
  margin: 0 auto;
}

.client-banner img {
  width: 100%;
}

.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card,
.feature-card,
.contact-card {
  border-radius: var(--radius);
}

.info-card {
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.info-card-body {
  padding: 1.25rem;
}

.info-card h3,
.service-item h3,
.feature-card h3,
.contact-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.service-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.service-item {
  padding: 1.15rem 1.2rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
}

.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
  align-items: stretch;
}

.split-banner-image {
  background: #eef3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.split-banner-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.split-banner-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.site-footer {
  background: #08121c;
  color: rgba(255, 255, 255, 0.84);
  padding: 1.4rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

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

.btn-outline:hover {
  background: #e9f3fc;
}

.jobs-page {
  background: var(--surface-soft);
}

.jobs-hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  color: var(--white);
  padding: 4.5rem 0;
}

.jobs-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.jobs-board-section {
  padding-top: 4rem;
}

#recruitly-jobs-container {
  min-height: 220px;
}

.jobs-loading,
.jobs-error {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text-light);
}

.jobs-error {
  border-color: #e5b8b8;
  color: #8a2020;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand p {
  margin: 0;
}

.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--white);
  padding: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .grid-2,
  .split-banner {
    grid-template-columns: 1fr;
  }

  .split-banner-image {
    padding: 0;
  }

  .split-banner-image img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 960px) {
  .card-grid.three,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero {
    min-height: 80vh;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 88px;
    right: 1rem;
    left: 1rem;
    background: #102030;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.show {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .candidate-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .section {
    padding: 4.2rem 0;
  }

  .split-banner-content {
    padding: 1.5rem;
  }

  .info-card img {
    height: auto;
    object-fit: contain;
    background: #eef3f8;
  }
}
