/* ==========================================================================
   REFRESHED NAVBAR & HERO SECTION STYLES
   ========================================================================== */

/* --- Root Color Tokens --- */
:root {
  --primary-red: #c8102e;
  --primary-dark-red: #8b0015;
  --deep-burgundy: #4a000e;
  --dark-bg: #1e0208;
  --text-bright: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   HEADER FIXES & HERO UI/UX REFINEMENTS
   ========================================================================== */

/* --- Logo & Header Alignment Fixes --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
  position: relative;
  z-index: 100;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  white-space: nowrap; /* Prevents logo text wrapping onto 4 vertical lines */
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* --- Refined Back Button --- */
.btn-back-recruitment {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #a80c24 0%, #7d0012 100%);
  color: #ffffff !important;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(168, 12, 36, 0.3);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-back-recruitment:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 12, 36, 0.45);
  background: linear-gradient(135deg, #bd0f2b 0%, #8f0217 100%);
}

.back-arrow-icon {
  transition: transform 0.25s ease;
}

.btn-back-recruitment:hover .back-arrow-icon {
  transform: translateX(-3px);
}

/* --- Hero Section UI/UX --- */
.hero-work-conditions {
  position: relative;
  background: linear-gradient(135deg, #2a0208 0%, #580312 45%, #7a061b 100%);
  color: #ffffff;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

/* Background Lighting Overlay */
.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.5;
}

.glow-top-left {
  width: 320px;
  height: 320px;
  background: rgba(230, 25, 55, 0.35);
  top: -60px;
  left: -40px;
}

.glow-bottom-right {
  width: 400px;
  height: 400px;
  background: rgba(160, 0, 25, 0.5);
  bottom: -100px;
  right: -50px;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glass Breadcrumbs */
.hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}

.crumb-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.crumb-link:hover {
  color: #ffffff;
}

.crumb-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.crumb-active {
  color: #ffffff;
  font-weight: 600;
}

/* Hero Content */
.hero-text-block {
  max-width: 800px;
}

/* .hero-accent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffb8c4;
  margin-bottom: 1.25rem;
} */

.pill-dot {
  width: 6px;
  height: 6px;
  background-color: #ff3355;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff3355;
}

.hero-main-title {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  color: #ffffff;
}

.highlight-title {
  background: linear-gradient(135deg, #ffffff 40%, #ff8fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  max-width: 680px;
}

/* Feature Chips */
.hero-feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.chip-item:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.chip-item svg {
  color: #ff758f;
  flex-shrink: 0;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .brand-subtitle {
    display: none;
  }
  
  .btn-back-recruitment span {
    display: none;
  }
  
  .btn-back-recruitment {
    padding: 0.55rem;
    border-radius: 50%;
  }

  .hero-work-conditions {
    padding: 2.5rem 0 3.5rem;
  }

  .hero-feature-chips {
    flex-direction: column;
    align-items: flex-start;
  }

  .chip-item {
    width: 100%;
  }
}

/* --- Navbar Refresh --- */
.site-header.navbar-refresh {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  padding: 0.85rem 0;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  font-size: 1.15rem;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.2;
}



.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Back Button */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark-red) 100%);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.35);
  transition: var(--transition-smooth);
}

.btn-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.45);
  color: #ffffff;
}

.btn-back .btn-icon {
  transition: transform 0.25s ease;
}

.btn-back:hover .btn-icon {
  transform: translateX(-3px);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 3px;
  border-radius: 9999px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.25);
}

.lang-btn:hover:not(.active) {
  color: #111827;
}

/* --- Hero Section --- */
.hero-work-conditions {
  position: relative;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--deep-burgundy) 50%, var(--primary-dark-red) 100%);
  color: var(--text-bright);
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

/* Hero Background Glow Effects */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.6;
}

.hero-glow-1 {
  width: 380px;
  height: 380px;
  background: rgba(200, 16, 46, 0.45);
  top: -80px;
  right: -50px;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 0, 21, 0.6);
  bottom: -60px;
  left: 10%;
}

.hero-pattern-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Breadcrumb Styling */
.breadcrumb-nav {
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0.45rem 1rem;
  margin: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  font-size: 0.85rem;
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumb-item a:hover {
  color: #ffffff;
}

.breadcrumb-item.active {
  color: #ffffff;
  font-weight: 600;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
}

/* Hero Title & Content */
.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffcbd2;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: #ff4d6d;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff4d6d;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #ff859b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 680px;
}

/* Trust Highlights */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.highlight-item svg {
  color: #ff758f;
  flex-shrink: 0;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
  .site-header.navbar-refresh {
    padding: 0.75rem 0;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .btn-back span {
    display: none;
  }

  .btn-back {
    padding: 0.55rem;
    border-radius: 50%;
  }

  .hero-work-conditions {
    padding: 3rem 0 4rem;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-item {
    width: 100%;
  }
}

/* ==========================================================================
   WORK CONDITIONS PAGE â€” shared navigation + refined hero
   Keep the same navigation component used by the main site.
   ========================================================================== */
.work-page .nav-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 252, 249, 0.96);
  border-bottom: 1px solid rgba(31, 10, 14, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.work-page .nav-inner {
  min-height: 72px;
}

.work-page .brand-logo-wrap,
.work-page .brand-logo {
  width: 78px;
  height: 46px;
}

.work-page .nav-link.active {
  color: #252126;
}

.work-page .nav-link.active::after {
  width: calc(100% - 24px);
}

.work-page .language-selector {
  width: 104px;
  height: 40px;
  margin-left: 8px;
}

.work-page .language-btn:focus-visible,
.work-page .nav-link:focus-visible,
.work-page .nav-toggle:focus-visible {
  outline: 3px solid rgba(200, 16, 46, 0.35);
  outline-offset: 3px;
}

.work-page .hero-work-conditions {
  isolation: isolate;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse at 92% 14%, rgba(191, 15, 54, 0.34), transparent 34%),
    linear-gradient(112deg, #21030a 0%, #490817 48%, #850b2a 100%);
}

.work-page .hero-work-conditions::before {
  position: absolute;
  z-index: -1;
  top: -38%;
  right: -10%;
  width: clamp(300px, 42vw, 610px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 220, 229, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.018), 0 0 0 70px rgba(255, 255, 255, 0.012);
  content: "";
  pointer-events: none;
}

.work-page .hero-work-conditions::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.7), transparent 82%);
  content: "";
  pointer-events: none;
}

.work-page .hero-bg-glow {
  filter: blur(90px);
  opacity: 0.3;
}

.work-page .glow-top-left {
  width: 240px;
  height: 240px;
  top: -100px;
  left: -90px;
  background: rgba(209, 29, 69, 0.28);
}

.work-page .glow-bottom-right {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -180px;
  background: rgba(218, 15, 61, 0.28);
}

.work-page .hero-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.16;
}

.work-page .hero-inner-container {
  width: min(100% - 48px, 1192px);
  padding: 0;
}

.work-page .hero-breadcrumbs {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.12);
}

.work-page .hero-text-block {
  max-width: 850px;
  animation: workHeroReveal 700ms cubic-bezier(.2,.75,.25,1) both;
}

.work-page .hero-accent-pill {
  margin-bottom: 1.15rem;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.15);
}

.work-page .hero-main-title {
  max-width: 850px;
  margin: 0 0 1.1rem;
  font-size: clamp(2.65rem, 5.4vw, 4.65rem);
  font-weight: 850;
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.work-page .highlight-title {
  background: linear-gradient(100deg, #fff 18%, #ffd1da 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.work-page .hero-lead-text {
  max-width: 720px;
  margin-bottom: 1.75rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.8;
  color: rgba(255,255,255,.78);
}

.work-page .hero-feature-chips {
  gap: .65rem;
}

.work-page .chip-item {
  border-radius: 999px;
  padding: .65rem 1rem;
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}

@keyframes workHeroReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .work-page .nav-inner { gap: 12px; }
  .work-page .brand { min-width: 190px; }
  .work-page .nav-link { padding-inline: 8px; font-size: .8rem; }
  .work-page .language-selector { margin-left: 2px; }
}

@media (max-width: 860px) {
  .work-page .nav-toggle { display: block; margin-left: auto; }
  .work-page .nav-links {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 14px 22px 20px;
    background: rgba(255,252,249,.99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(20,0,5,.1);
  }
  .work-page .nav-links.open { display: flex; }
  .work-page .nav-link { justify-content: flex-start; width: 100%; height: 42px; padding: 0 12px; }
  .work-page .nav-link::after { left: 12px; transform: none; bottom: 2px; }
  .work-page .nav-link:hover::after,
  .work-page .nav-link.active::after { width: 36px; }
  .work-page .language-selector { align-self: flex-start; margin: 8px 0 0 4px; }
}

@media (max-width: 600px) {
  .work-page .nav-inner { min-height: 68px; }
  .work-page .brand { min-width: 0; gap: 8px; }
  .work-page .brand-logo-wrap,
  .work-page .brand-logo { width: 60px; height: 40px; }
  .work-page .brand-note { font-size: .5rem; letter-spacing: .08em; }
  .work-page .hero-work-conditions { min-height: 0; padding: 2.75rem 0 3.25rem; }
  .work-page .hero-inner-container { width: min(100% - 36px, 1192px); }
  .work-page .hero-breadcrumbs { gap: .45rem; padding: .38rem .72rem; font-size: .76rem; margin-bottom: 1.5rem; }
  .work-page .hero-main-title { font-size: clamp(2.35rem, 10vw, 3.35rem); }
  .work-page .hero-lead-text { font-size: .98rem; line-height: 1.7; }
  .work-page .hero-feature-chips { display: grid; grid-template-columns: 1fr; }
  .work-page .chip-item { width: fit-content; max-width: 100%; font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .work-page .hero-text-block { animation: none; }
  .work-page .language-pill-bg { transition: none; }
}


/* ==========================================================================
   WORK CONDITIONS — content section layout
   Two-column copy / media grid with alternating media side.
   The media side uses the shared <premium-carousel> component exactly as the
   homepage does: all slide, dock, arrow and dot styling comes from
   css/premium-carousel.css, so no page-local carousel overrides are needed.
   ========================================================================== */
.work-page .work-conditions-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
}

.work-page .work-conditions-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.work-page .work-conditions-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

/* Alternate the media side while keeping one clean markup order. */
.work-page .work-conditions-block:nth-child(even) .work-conditions-media {
  order: -1;
}

.work-page .work-conditions-copy {
  min-width: 0;
  padding: clamp(1.4rem, 2.5vw, 2.25rem);
  border: 1px solid #ececef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 18, 22, 0.045);
}

.work-page .work-conditions-copy .section-title {
  margin: 0 0 0.5rem;
}

.work-page .work-conditions-copy .section-title + .section-title {
  margin-top: 0.35rem;
}

.work-page .work-conditions-copy .eyebrow {
  margin: 0 0 0.75rem;
}

.work-page .work-conditions-copy .section-copy {
  margin: 0;
}

.work-page .work-conditions-media {
  min-width: 0;
  width: 100%;
}

@media (max-width: 860px) {
  .work-page .work-conditions-block {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .work-page .work-conditions-block:nth-child(even) .work-conditions-media {
    order: 0;
  }
}

