/* ========================================================================
   MVA SPECIALITY — Shared landing/page styles
   Extracted from index.html so multi-page setup can share without duplication.
   ======================================================================== */

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #060e18 0%, #0d1b2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(201, 168, 76, 0.15);
  border-top-color: #c9a84c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
#header { background: transparent; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
#header.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
/* Inner pages (no hero) keep the dark header always so nav text stays legible */
body.inner-page #header {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===================================================
   Navbar logo mark — crops the full brand lockup so
   only the circular "M" emblem shows in the header.
   The M sits at ~80% across the lockup with ~80px of
   empty black padding to its right, so `right center`
   would leave that padding visible. Anchoring the crop
   at 95% horizontally lands the visible 512px window
   neatly centered on the M emblem.
   =================================================== */
.nav-logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #000 url('../assets/images/brand-new-logo.jpeg') no-repeat;
  background-size: auto 200%;
  background-position: 95% center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .nav-logo-mark {
  transform: scale(1.06);
}
@media (min-width: 1024px) {
  .nav-logo-mark { width: 56px; height: 56px; }
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #c9a84c, #e0c87a);
  transition: width 0.3s ease;
}
.nav-link:hover { color: #c9a84c; }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: #c9a84c; }
.nav-link.is-active::after { width: 100%; }

/* Hamburger */
.hamburger { width: 24px; height: 20px; position: relative; cursor: pointer; }
.hamburger span {
  position: absolute; left: 0; width: 100%; height: 2px; background: #c9a84c;
  border-radius: 2px; transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
#mobile-menu-btn.active .hamburger span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
#mobile-menu-btn.active .hamburger span:nth-child(2) { opacity: 0; }
#mobile-menu-btn.active .hamburger span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile Menu */
#mobile-menu {
  position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px;
  height: 100vh; background: linear-gradient(180deg, #060e18 0%, #0d1b2a 100%);
  padding: 100px 30px 30px; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 90; overflow-y: auto;
}
#mobile-menu.active { right: 0; }
#menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 80;
}
#menu-overlay.active { opacity: 1; visibility: visible; }

/* Hero */
.hero-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: #0d1b2a; overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-gradient-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.15;
}

/* Inner page banner (used by about/services/research/solutions/contact pages) */
.page-banner {
  position: relative;
  padding: 9rem 0 4rem;
  background: linear-gradient(135deg, #060e18 0%, #0d1b2a 50%, #1b2a4a 100%);
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-banner__inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}
.page-banner__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0.75rem 0 1rem;
}
.page-banner__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}
.page-banner__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  margin-top: 0.25rem;
}
.page-banner__crumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-banner__crumbs a:hover { color: #e0c87a; }
.page-banner__crumbs i { font-size: 0.65rem; opacity: 0.6; }

/* Section Badge */
.section-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.25); border-radius: 50px;
  font-size: 0.875rem; font-weight: 600; color: #c9a84c;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* Service Card */
.service-card {
  position: relative; background: #fff; border-radius: 20px; padding: 2rem;
  border: 1px solid #e8e4db; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #c9a84c, #e0c87a); transform: scaleX(0);
  transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12); border-color: rgba(201,168,76,0.3); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 16px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 1.5rem; transition: all 0.4s ease;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }

/* Value Card */
.value-card {
  position: relative; background: rgba(255,255,255,0.03); border-radius: 20px; padding: 2rem;
  border: 1px solid rgba(201,168,76,0.1); transition: all 0.4s ease;
}
.value-card:hover {
  background: rgba(201,168,76,0.05); border-color: rgba(201,168,76,0.3);
  transform: translateY(-5px);
}

/* Contact Card */
.contact-card {
  background: #fff; border-radius: 20px; padding: 2rem; text-align: center;
  border: 1px solid #e8e4db; transition: all 0.4s ease;
}
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1); border-color: rgba(201,168,76,0.3); }
.contact-icon {
  width: 70px; height: 70px; border-radius: 20px; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 1.25rem;
  font-size: 1.5rem; transition: all 0.4s ease;
}
.contact-card:hover .contact-icon { transform: scale(1.1) rotate(-5deg); }

/* Success Message */
#form-success { display: none; padding: 1rem 1.5rem; background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.05)); border: 1px solid rgba(16,185,129,0.3); border-radius: 12px; margin-top: 1.5rem; }
#form-success.show { display: flex; }

/* Back to Top */
#back-to-top {
  position: fixed; bottom: 96px; right: 24px; width: 50px; height: 50px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 100; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #c9a84c, #e0c87a); color: #0d1b2a; border: none;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  box-shadow: 0 10px 30px -10px rgba(201,168,76,0.5);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-5px); box-shadow: 0 15px 40px -10px rgba(201,168,76,0.6); }

/* WhatsApp Button */
#whatsapp-btn {
  position: fixed; bottom: 30px; right: 24px; width: 50px; height: 50px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 100; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(37,211,102,0.5);
}
#whatsapp-btn:hover { transform: scale(1.1); color: #fff; box-shadow: 0 15px 40px -10px rgba(37,211,102,0.6); }
.whatsapp-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  background: #25d366; animation: pulse-ring 2s infinite;
}

/* Industry Tag */
.industry-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.15);
  border-radius: 12px; transition: all 0.3s ease;
}
.industry-tag:hover {
  background: rgba(201,168,76,0.15); border-color: rgba(201,168,76,0.3);
  transform: translateY(-2px);
}

/* Stat Card on dark bg */
.stat-card-dark {
  text-align: center; padding: 2rem; border-radius: 20px;
  background: rgba(201,168,76,0.05); border: 1px solid rgba(201,168,76,0.1);
  transition: all 0.3s ease;
}
.stat-card-dark:hover {
  background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.25);
}

/* Name shimmer + glow animation */
@keyframes text-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes name-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(201,168,76,0), 0 2px 10px rgba(0,0,0,0.3); }
  50% { text-shadow: 0 0 20px rgba(201,168,76,0.4), 0 0 40px rgba(201,168,76,0.15), 0 2px 10px rgba(0,0,0,0.3); }
}
@keyframes name-slide-in {
  0% { opacity: 0; transform: translateY(20px); letter-spacing: 0.15em; }
  60% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); letter-spacing: normal; }
}
.leader-name {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #e0c87a 50%, #ffffff 60%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 4s linear infinite, name-slide-in 1s ease-out both;
}
.leader-name:hover {
  animation: text-shimmer 2s linear infinite, name-glow 2s ease-in-out infinite;
  -webkit-text-fill-color: white;
  background: none;
  cursor: default;
}
.leader-title {
  animation: name-slide-in 1s ease-out 0.3s both;
}

/* Hide scrollbar for horizontal scroll */
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ===== Contact Icon Animations ===== */
@keyframes icon-ring-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(-4px); }
  70% { transform: translateY(-6px); }
}
@keyframes icon-wiggle {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
}
@keyframes icon-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50% { box-shadow: 0 0 20px 8px rgba(201,168,76,0.15); }
}
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.contact-hero-card {
  position: relative;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}
.contact-hero-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* Animated ring behind icon */
.icon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.3);
  animation: icon-ring-pulse 2.5s ease-out infinite;
}
.icon-ring-2 {
  animation-delay: 0.8s;
}

/* Icon bounce on card hover */
.contact-hero-card:hover .contact-animated-icon {
  animation: icon-bounce 0.6s ease-out;
}
/* Icon wiggle on card hover (for phone) */
.contact-hero-card:hover .contact-wiggle-icon {
  animation: icon-wiggle 0.8s ease-out;
}

/* Glow pulse on the icon container */
.icon-glow {
  animation: icon-glow-pulse 3s ease-in-out infinite;
}

/* Online dot blink */
.dot-blink {
  animation: dot-blink 1.5s ease-in-out infinite;
}

/* Office card map pin bounce */
@keyframes pin-drop {
  0% { transform: translateY(-15px); opacity: 0; }
  60% { transform: translateY(3px); opacity: 1; }
  80% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
.contact-office-card:hover .map-pin {
  animation: pin-drop 0.6s ease-out;
}

@media (max-width: 768px) {
  .hero-section { min-height: 90vh; }
}

/* ===================== CAREERS FOOTER LINK ===================== */
@keyframes careers-underline-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes careers-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}
@keyframes careers-arrow-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(201, 168, 76, 0)); }
  50%      { filter: drop-shadow(0 0 6px rgba(224, 200, 122, 0.7)); }
}

.careers-link { text-decoration: none; }
.careers-link .careers-link-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}
.careers-link .careers-link-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: linear-gradient(
    90deg,
    rgba(201, 168, 76, 0.4) 0%,
    #e0c87a 25%,
    #ffffff 50%,
    #e0c87a 75%,
    rgba(201, 168, 76, 0.4) 100%
  );
  background-size: 200% 100%;
  border-radius: 2px;
  animation: careers-underline-shimmer 2.8s linear infinite;
  transition: height 0.3s ease, bottom 0.3s ease;
}
.careers-link:hover .careers-link-title { color: #e0c87a; }
.careers-link:hover .careers-link-title::after {
  height: 3px;
  bottom: -5px;
}

.careers-link .careers-link-arrow {
  opacity: 1;
  display: inline-block;
  transform-origin: center;
  animation: careers-arrow-nudge 1.8s ease-in-out infinite,
             careers-arrow-glow 2.4s ease-in-out infinite;
  transition: color 0.3s ease;
}
.careers-link:hover .careers-link-arrow {
  animation-duration: 0.9s, 1.2s;
  color: #e0c87a;
}

/* ===================== CAREER APPLICATION MODAL ===================== */
.career-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2.5vw, 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.career-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.career-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(27, 58, 92, 0.55), rgba(6, 14, 24, 0.85) 60%, rgba(6, 14, 24, 0.95));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.career-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 2rem);
  background: linear-gradient(180deg, #ffffff 0%, #fbf9f3 100%);
  border-radius: 24px;
  box-shadow: 0 40px 80px -20px rgba(6, 14, 24, 0.55),
              0 0 0 1px rgba(201, 168, 76, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.career-modal.is-open .career-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.career-modal__dialog::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b8941f 0%, #e0c87a 50%, #c9a84c 100%);
  z-index: 2;
}

/* Header */
.career-modal__header {
  position: relative;
  padding: 1.75rem 2rem 2.25rem;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2a4a 100%);
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  overflow: hidden;
}
.career-modal__header::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(201,168,76,0.18), transparent 65%);
  pointer-events: none;
}
.career-modal__header-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.career-modal__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a84c, #e0c87a);
  color: #0d1b2a;
  font-size: 1.15rem;
  box-shadow: 0 10px 25px -8px rgba(201, 168, 76, 0.55);
}
.career-modal__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e0c87a;
  margin-bottom: 0.25rem;
}
.career-modal__title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.career-modal__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  max-width: 44ch;
}
.career-modal__close {
  position: relative;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.career-modal__close:hover {
  background: rgba(201, 168, 76, 0.2);
  border-color: rgba(201, 168, 76, 0.5);
  color: #e0c87a;
  transform: rotate(90deg);
}

/* Body */
.career-modal__body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  scrollbar-width: thin;
  scrollbar-color: #c9a84c #f3f1ec;
}
.career-modal__body::-webkit-scrollbar { width: 6px; }
.career-modal__body::-webkit-scrollbar-track { background: transparent; }
.career-modal__body::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.5);
  border-radius: 999px;
}
.career-modal__body::-webkit-scrollbar-thumb:hover { background: #c9a84c; }

/* Section */
.career-section {
  padding-bottom: 1.75rem;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.25);
}
.career-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.career-section__header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.career-section__num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(201, 168, 76, 0.08));
  color: #b8941f;
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.career-section__title {
  color: #0d1b2a;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.career-section__desc {
  color: #6b6458;
  font-size: 0.825rem;
  margin-top: 0.2rem;
}

/* Grid + Fields */
.career-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}
.career-field { display: flex; flex-direction: column; }
.career-field--full { grid-column: 1 / -1; }
.career-field label,
.career-label-block {
  font-size: 0.8rem;
  font-weight: 600;
  color: #334e68;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.career-field .req { color: #c9a84c; }
.career-field .optional {
  font-weight: 500;
  color: #9e9787;
  font-size: 0.72rem;
}
.career-hint {
  color: #9e9787;
  font-size: 0.72rem;
  margin-top: 0.35rem;
}
.career-input {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: #0d1b2a;
  background: #f9f8f5;
  border: 1.5px solid transparent;
  border-radius: 12px;
  transition: all 0.25s ease;
  outline: none;
}
.career-input::placeholder { color: #a0aec0; }
.career-input:hover { background: #f3f1ec; }
.career-input:focus {
  background: #fff;
  border-color: #c9a84c;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}
textarea.career-input {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.career-input-wrap { position: relative; }
.career-input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: #c9a84c;
  font-size: 0.85rem;
  pointer-events: none;
}
.career-input--with-icon { padding-left: 2.5rem; }

/* File upload */
.career-file {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  border: 1.5px dashed rgba(201, 168, 76, 0.4);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.04), rgba(201, 168, 76, 0.08));
  cursor: pointer;
  transition: all 0.3s ease;
}
.career-file:hover {
  border-color: #c9a84c;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.14));
  transform: translateY(-1px);
}
.career-file--compact { padding: 0.9rem 1rem; }
.career-file__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9a84c, #e0c87a);
  color: #0d1b2a;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.career-file__icon--sm { width: 38px; height: 38px; font-size: 0.9rem; }
.career-file__text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.career-file__title {
  color: #0d1b2a;
  font-weight: 600;
  font-size: 0.88rem;
}
.career-file__hint {
  color: #6b6458;
  font-size: 0.75rem;
}

/* Chip group */
.career-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.career-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #f3f1ec;
  border: 1.5px solid transparent;
  color: #4a453c;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.career-chip input { position: absolute; opacity: 0; pointer-events: none; }
.career-chip:hover {
  border-color: rgba(201, 168, 76, 0.4);
  color: #0d1b2a;
}
.career-chip:has(input:checked) {
  background: linear-gradient(135deg, #c9a84c, #e0c87a);
  color: #0d1b2a;
  border-color: transparent;
  box-shadow: 0 6px 14px -6px rgba(201, 168, 76, 0.55);
}

/* Footer */
.career-modal__footer {
  padding: 1.1rem 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  background: #fbf9f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.career-modal__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b6458;
  font-size: 0.78rem;
  margin: 0;
}
.career-modal__actions {
  display: inline-flex;
  gap: 0.6rem;
}
.career-modal__cancel {
  color: #4a453c;
  border-color: rgba(13, 27, 42, 0.2);
}
.career-modal__cancel:hover {
  color: #0d1b2a;
  background: linear-gradient(135deg, #c9a84c, #e0c87a);
  border-color: transparent;
}

/* Body lock */
body.career-modal-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 640px) {
  .career-modal { padding: 0; align-items: stretch; }
  .career-modal__dialog {
    max-height: 100vh;
    border-radius: 0;
  }
  .career-modal__header { padding: 1.25rem 1.25rem 1.6rem; }
  .career-modal__title { font-size: 1.2rem; }
  .career-modal__subtitle { font-size: 0.78rem; }
  .career-modal__body { padding: 1.25rem; gap: 1.5rem; }
  .career-modal__footer {
    padding: 0.9rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }
  .career-modal__actions { justify-content: flex-end; }
  .career-grid { grid-template-columns: 1fr; }
  .career-section__num { width: 36px; height: 36px; font-size: 0.78rem; }
}

/* ===================== PRIVACY / POLICY MODAL CONTENT ===================== */
.policy-modal .policy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), rgba(201, 168, 76, 0.03));
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  color: #4a453c;
  font-size: 0.78rem;
}
.policy-modal .policy-meta i {
  color: #c9a84c;
  margin-right: 0.3rem;
}
.policy-modal .policy-meta strong {
  color: #0d1b2a;
  font-weight: 700;
}
.policy-modal .policy-meta__divider {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.5);
}
.policy-modal .policy-intro {
  color: #334e68;
  font-size: 0.92rem;
  line-height: 1.7;
  padding-bottom: 1.5rem;
  margin: 0;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.25);
}
.policy-modal .policy-intro strong { color: #0d1b2a; font-weight: 700; }

.policy-modal .policy-section {
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(201, 168, 76, 0.2);
}
.policy-modal .policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.policy-modal .policy-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1b2a;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}
.policy-modal .policy-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(201, 168, 76, 0.08));
  color: #b8941f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(201, 168, 76, 0.3);
  flex-shrink: 0;
}
.policy-modal .policy-section p {
  color: #4a5568;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 0.5rem;
}
.policy-modal .policy-section p:last-child { margin-bottom: 0; }
.policy-modal .policy-section strong { color: #0d1b2a; font-weight: 700; }

.policy-modal .policy-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.policy-modal .policy-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #4a5568;
}
.policy-modal .policy-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #e0c87a);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.policy-modal .policy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.policy-modal .policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.04), rgba(13, 27, 42, 0.02));
  color: #334e68;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid rgba(201, 168, 76, 0.25);
  transition: all 0.25s ease;
  cursor: default;
}
.policy-modal .policy-badge i {
  color: #c9a84c;
  font-size: 0.72rem;
  margin: 0;
}
.policy-modal .policy-badge:hover {
  background: linear-gradient(135deg, #c9a84c, #e0c87a);
  color: #0d1b2a;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -6px rgba(201, 168, 76, 0.55);
}
.policy-modal .policy-badge:hover i { color: #0d1b2a; }

.policy-modal .policy-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}
.policy-modal .policy-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.05), rgba(201, 168, 76, 0.02));
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}
.policy-modal a.policy-contact__item:hover {
  border-color: rgba(201, 168, 76, 0.5);
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.05));
  transform: translateY(-1px);
}
.policy-modal .policy-contact__item i {
  color: #c9a84c;
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.policy-modal .policy-contact__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9e9787;
}
.policy-modal .policy-contact__value {
  display: block;
  font-size: 0.82rem;
  color: #0d1b2a;
  font-weight: 500;
  margin-top: 0.15rem;
  word-break: break-word;
}

@media (max-width: 640px) {
  .policy-modal .policy-contact { grid-template-columns: 1fr; }
  .policy-modal .policy-section__title { font-size: 0.98rem; }
  .policy-modal .policy-section__num { width: 30px; height: 30px; font-size: 0.68rem; }
  .policy-modal .policy-meta { font-size: 0.72rem; gap: 0.5rem; }
}
