/* Jobs/Careers page (contains some duplicates with base.css; will tidy later) */
:root {
      --bg: #f5f8ff;
      --surface: rgba(255, 255, 255, 0.88);
      --surface-strong: #ffffff;
      --surface-alt: #eef4ff;
      --text: #0f172a;
      --muted: #4f5d78;
      --line: #dbe5f5;
      --primary: #2458ff;
      --primary-dark: #173ec0;
      --accent: #00a6a6;
      --success: #12a160;
      --shadow: 0 20px 60px rgba(31, 66, 154, 0.14);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --container: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, rgba(36, 88, 255, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(0, 166, 166, 0.12), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fd 52%, #eef3fb 100%);
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button, input, textarea, select { font: inherit; }
    .container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
    .section { padding: 78px 0; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      padding: 10px 14px;
      border: 1px solid rgba(36, 88, 255, 0.18);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.75);
      color: var(--primary);
      font-size: 0.84rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 0 5px rgba(0, 166, 166, 0.12);
    }
    .section-title {
      margin: 0 0 14px;
      font-size: clamp(2rem, 4vw, 3.5rem);
      line-height: 0.98;
      letter-spacing: -0.04em;
    }
    .section-lead {
      margin: 0;
      max-width: 760px;
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.75;
    }
    .btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 0 22px;
      border: 1px solid transparent;
      border-radius: 999px;
      font-weight: 700;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
    }
    .btn:hover, .btn:focus-visible { transform: translateY(-2px); }
    .btn-primary {
      color: #fff;
      background: linear-gradient(135deg, var(--primary) 0%, #4a79ff 100%);
      box-shadow: 0 18px 36px rgba(36, 88, 255, 0.26);
    }
    .btn-secondary {
      border-color: rgba(15, 23, 42, 0.1);
      background: rgba(255, 255, 255, 0.86);
      color: var(--text);
      white-space: nowrap;
    }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      padding: 18px 0;
      backdrop-filter: blur(18px);
      background: rgba(248, 251, 255, 0.76);
      border-bottom: 1px solid rgba(219, 229, 245, 0.78);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: -0.04em;
    }
    .brand-mark {
      display: grid;
      place-items: center;
      width: 42px;
      height: 42px;
      border-radius: 14px;
      color: #fff;
      background: linear-gradient(135deg, #0f172a 0%, #2458ff 100%);
      box-shadow: 0 14px 24px rgba(36, 88, 255, 0.22);
    }
    .nav {
      display: flex;
      align-items: center;
      gap: 22px;
      flex-wrap: wrap;
    }
    .nav a {
      color: var(--muted);
      font-weight: 700;
      font-size: 0.96rem;
    }
    .hero { padding: 52px 0 40px; }
    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
      gap: 22px;
      align-items: stretch;
    }
    .hero-main,
    .hero-side {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(219, 229, 245, 0.86);
      border-radius: var(--radius-xl);
      background: var(--surface);
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
    }
    .hero-main { padding: 38px 34px; }
    .hero-main::after {
      content: "";
      position: absolute;
      inset: auto -100px -140px auto;
      width: 240px;
      height: 240px;
      background: radial-gradient(circle, rgba(36, 88, 255, 0.18), transparent 70%);
      pointer-events: none;
    }
    .hero-title {
      margin: 0 0 18px;
      max-width: 11ch;
      font-size: clamp(2.5rem, 4.3vw, 4rem);
      line-height: 0.96;
      letter-spacing: -0.07em;
    }
    .hero-copy {
      margin: 0;
      max-width: 620px;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.7;
    }
    .hero-points {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
      margin: 24px 0 28px;
    }
    .hero-point {
      padding: 14px 16px;
      border: 1px solid rgba(36, 88, 255, 0.12);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.66);
    }
    .hero-point strong {
      display: block;
      margin-bottom: 6px;
      font-size: 1rem;
      letter-spacing: -0.02em;
    }
    .hero-point span {
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.55;
    }
    .hero-side {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 14px;
      background: rgba(255, 255, 255, 0.88);
    }
    .hero-media {
      position: relative;
      min-height: 0;
      padding: 0;
    }
    .hero-media img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      object-position: center 26%;
      border-radius: 26px;
      opacity: 1;
    }
    .hero-side-card {
      position: static;
      margin: 0;
      padding: 18px 18px;
      border-radius: 22px;
      background: linear-gradient(180deg, #182033 0%, #202b44 100%);
      border: 1px solid rgba(255, 255, 255, 0.05);
      box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    }
    .hero-side-card strong {
      display: block;
      margin-bottom: 10px;
      font-size: 1.1rem;
      letter-spacing: -0.03em;
      color: #ffffff;
    }
    .hero-side-card p {
      margin: 0;
      color: rgba(255, 255, 255, 0.78);
      line-height: 1.7;
    }
    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      padding: 0;
      align-items: start;
    }
    .hero-stat {
      padding: 14px 12px;
      border-radius: 18px;
      overflow: hidden;
      word-break: break-word;
      background: #edf3ff;
      border: 1px solid rgba(36, 88, 255, 0.08);
      min-height: 0;
    }
    .hero-stat strong {
      display: block;
      margin-bottom: 8px;
      font-size: 1.5rem;
      letter-spacing: -0.05em;
      color: var(--primary-dark);
    }
    .hero-stat span {
      display: block;
      color: var(--muted);
      line-height: 1.5;
      font-size: 0.95rem;
    }
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }
    .value-card,
    .process-card,
    .contact-card {
      padding: 26px;
      border: 1px solid rgba(219, 229, 245, 0.92);
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, 0.82);
      box-shadow: var(--shadow);
    }
    .value-card strong,
    .process-card strong,
    .contact-card strong {
      display: block;
      margin-bottom: 10px;
      font-size: 1.18rem;
      letter-spacing: -0.03em;
    }
    .value-card p,
    .process-card p,
    .contact-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.72;
    }
    .jobs-shell {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 26px;
      align-items: start;
    }
    .jobs-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 22px;
    }
    .job-card {
      overflow: hidden;
      border: 1px solid rgba(219, 229, 245, 0.92);
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.86);
      box-shadow: var(--shadow);
    }
    .job-card img {
      width: 100%;
      height: 290px;
      object-fit: cover;
      object-position: center 22%;
    }
    .job-card-body { padding: 22px; }
    .job-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 14px;
    }
    .job-badge {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0 12px;
      border-radius: 999px;
      background: #eef4ff;
      color: var(--primary);
      font-size: 0.78rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .job-card h3 {
      margin: 0 0 10px;
      font-size: 1.55rem;
      line-height: 1.08;
      letter-spacing: -0.04em;
    }
    .job-card p {
      margin: 0 0 16px;
      color: var(--muted);
      line-height: 1.72;
    }
    .job-bullets {
      display: grid;
      gap: 10px;
      margin-bottom: 18px;
      color: var(--muted);
    }
    .job-bullets span {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      line-height: 1.6;
    }
    .job-bullets span::before {
      content: "";
      flex: none;
      width: 8px;
      height: 8px;
      margin-top: 9px;
      border-radius: 999px;
      background: var(--accent);
      box-shadow: 0 0 0 5px rgba(0, 166, 166, 0.12);
    }
    .jobs-sidebar {
      position: sticky;
      top: 96px;
      display: grid;
      gap: 18px;
    }
    .jobs-side-panel {
      padding: 24px;
      border: 1px solid rgba(219, 229, 245, 0.92);
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow: var(--shadow);
    }
    .jobs-side-panel h3 {
      margin: 0 0 10px;
      font-size: 1.35rem;
      letter-spacing: -0.03em;
    }
    .jobs-side-panel p,
    .jobs-side-panel li {
      margin: 0;
      color: var(--muted);
      line-height: 1.72;
    }
    .jobs-side-panel ul {
      display: grid;
      gap: 10px;
      margin: 0;
      padding-left: 18px;
    }
    .details-list {
      display: grid;
      gap: 16px;
    }
    .job-detail {
      overflow: hidden;
      border: 1px solid rgba(219, 229, 245, 0.92);
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow: var(--shadow);
    }
    .job-detail[open] { background: rgba(255, 255, 255, 0.94); }
    .job-detail summary {
      list-style: none;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 18px;
      padding: 24px 26px;
      cursor: pointer;
    }
    .job-detail summary::-webkit-details-marker { display: none; }
    .job-detail h3 {
      margin: 0 0 8px;
      font-size: 1.5rem;
      line-height: 1.08;
      letter-spacing: -0.04em;
    }
    .job-detail p {
      margin: 0;
      color: var(--muted);
      line-height: 1.68;
    }
    .detail-arrow {
      display: inline-grid;
      place-items: center;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      background: #eef4ff;
      color: var(--primary);
      font-size: 1.3rem;
      font-weight: 700;
      transition: transform 0.25s ease;
    }
    .job-detail[open] .detail-arrow { transform: rotate(45deg); }
    .job-content {
      display: grid;
      gap: 20px;
      padding: 0 26px 26px;
      color: var(--muted);
    }
    .job-content strong {
      display: block;
      margin-bottom: 8px;
      color: var(--text);
      font-size: 1.02rem;
      letter-spacing: -0.02em;
    }
    .job-content p {
      margin: 0;
      line-height: 1.76;
    }
    .job-content ul {
      display: grid;
      gap: 10px;
      margin: 0;
      padding-left: 18px;
      line-height: 1.7;
    }
    .apply-shell {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
      gap: 28px;
      align-items: start;
    }
    .apply-card,
    .apply-side {
      padding: 28px;
      border: 1px solid rgba(219, 229, 245, 0.92);
      border-radius: 28px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow: var(--shadow);
    }
    .apply-card h3,
    .apply-side h3 {
      margin: 0 0 10px;
      font-size: 1.45rem;
      letter-spacing: -0.03em;
    }
    .apply-card p,
    .apply-side p,
    .apply-side li {
      margin: 0;
      color: var(--muted);
      line-height: 1.72;
    }
    .apply-side ul {
      display: grid;
      gap: 10px;
      margin: 0;
      padding-left: 18px;
    }
    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 22px;
    }
    .field { display: grid; gap: 8px; }
    .field-full { grid-column: 1 / -1; }
    .field label {
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--text);
    }
    .field input,
    .field textarea,
    .field select {
      width: 100%;
      min-height: 54px;
      padding: 14px 16px;
      border: 1px solid rgba(15, 23, 42, 0.12);
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.92);
      color: var(--text);
    }
    .field textarea {
      min-height: 124px;
      resize: vertical;
    }
    .form-note {
      margin-top: 16px;
      color: var(--muted);
      line-height: 1.68;
      font-size: 0.95rem;
    }
    .form-result {
      display: none;
      margin-top: 16px;
      padding: 16px 18px;
      border-radius: 18px;
      background: rgba(18, 161, 96, 0.1);
      border: 1px solid rgba(18, 161, 96, 0.2);
      color: #0f5d39;
      line-height: 1.6;
    }
    .form-result.is-visible { display: block; }
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }
    .contact-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 16px;
      color: var(--primary);
      font-weight: 800;
    }
    .contact-pill {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 44px;
      padding: 0 14px;
      border: 1px solid rgba(219, 229, 245, 0.92);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.82);
      font-weight: 700;
    }
    .site-footer { padding: 0 0 42px; }
    .footer-shell {
      border: 1px solid rgba(219, 229, 245, 0.86);
      border-radius: var(--radius-xl);
      background: rgba(255, 255, 255, 0.82);
      box-shadow: var(--shadow);
      backdrop-filter: blur(10px);
      overflow: hidden;
    }
    .footer-grid { display: grid; gap: 18px; padding: 30px; }
    .footer-links,
    .footer-contacts {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    .footer-links a,
    .footer-contacts a {
      color: var(--muted);
      font-weight: 700;
    }
    .footer-note {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
      font-size: 0.96rem;
    }
    @media (max-width: 1100px) {
      .hero-grid,
      .jobs-shell,
      .apply-shell { grid-template-columns: 1fr; }
      .jobs-sidebar { position: static; }
      .contact-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 860px) {
      .header-inner { flex-direction: column; align-items: flex-start; }
      .hero-main { padding: 32px 26px; }
      .hero-points,
      .hero-stats,
      .jobs-grid,
      .grid-3,
      .form-grid { grid-template-columns: 1fr; }
      .hero-stat { min-height: 0; }
    }
    @media (max-width: 640px) {
      .section { padding: 60px 0; }
      .hero-title,
      .section-title { max-width: none; }
      .hero-media img { height: 260px; }
      .hero-side { padding: 12px; }
      .job-card img { height: 240px; }
      .job-detail summary,
      .job-content,
      .apply-card,
      .apply-side,
      .value-card,
      .process-card,
      .contact-card,
      .jobs-side-panel { padding-left: 20px; padding-right: 20px; }
    }
/* Language switcher (shared across pages) */
.lang-switch { display: inline-flex; gap: 2px; padding: 4px; background: #fff; border: 1px solid var(--line, #dbe5f5); border-radius: 999px; box-shadow: 0 8px 24px rgba(31,66,154,.14); font-weight: 800; font-size: .78rem; }
.lang-switch a { padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--text, #0f172a); transition: background .15s; }
.lang-switch a.active { background: var(--primary, #2458ff); color: #fff; }
.lang-switch a:hover:not(.active) { background: #eef4ff; }
.topbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Unified site footer (shared by all content pages) */
.site-footer { padding: 40px 0 48px; border-top: 1px solid #dbe5f5; background: rgba(255,255,255,.6); margin-top: 60px; }
.site-footer .footer-shell { padding-top: 24px; }
.site-footer .footer-grid { display: grid; gap: 20px; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 14px; }
.site-footer .footer-links a { color: #586883; font-weight: 600; font-size: .92rem; transition: color .15s; text-decoration: none; }
.site-footer .footer-links a:hover { color: #2458ff; }
.site-footer .footer-contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.site-footer .contact-pill { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid #dbe5f5; background: #fff; font-weight: 700; font-size: .88rem; color: #0f172a; text-decoration: none; transition: all .15s; }
.site-footer .contact-pill:hover { border-color: #2458ff; color: #2458ff; }
.site-footer .footer-note { margin: 16px 0 0; color: #586883; font-size: .85rem; line-height: 1.6; max-width: 900px; }
