/* Career page: brand blue #014088 + orange #ed5f00 */
.cr-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem !important; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #014088 !important; }
.cr-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: #ed5f00; }
.cr-title { font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: #0a0e1a; margin: 0 0 1rem; }
.cr-title .accent, .cr-hero h1 .accent { color: #ed5f00; }
.cr-head { max-width: 780px; margin: 0 auto 2.5rem; text-align: center; }
.cr-head p:not(.cr-eyebrow) { font-size: 1rem; line-height: 1.75; color: #475569; margin: 0 0 0.8rem; }
.cr-head .cr-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.25; }
.cr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.cr-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(4rem, 8vw, 7rem) 0; background: linear-gradient(135deg, #012a5c 0%, #014088 55%, #0a58b8 100%); }
.cr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(80% 90% at 70% 50%, #000, transparent 80%); mask-image: radial-gradient(80% 90% at 70% 50%, #000, transparent 80%); }
.cr-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cr-orb--1 { width: 420px; height: 420px; right: -80px; top: -120px; background: rgba(237, 95, 0, 0.45); animation: cr-drift 12s ease-in-out infinite alternate; }
.cr-orb--2 { width: 360px; height: 360px; left: -120px; bottom: -160px; background: rgba(56, 130, 255, 0.45); animation: cr-drift 15s ease-in-out infinite alternate-reverse; }
.cr-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.0fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.cr-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1.1rem; border-radius: 999px; margin-bottom: 1.4rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); animation: cr-rise 0.8s both; }
.cr-badge i { width: 7px; height: 7px; border-radius: 50%; background: #ed5f00; box-shadow: 0 0 0 4px rgba(237, 95, 0, 0.3); animation: cr-pulse 2s infinite; }
.cr-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: #fff; margin: 0 0 1.25rem; animation: cr-rise 0.8s 0.1s both; }
.cr-hero h1::after { content: ""; display: block; width: 76px; height: 4px; margin-top: 1.1rem; border-radius: 4px; background: #ed5f00; }
.cr-hero h1 .accent { display: block; color: #ed5f00; }
.cr-hero-copy p { font-size: 1.08rem; line-height: 1.7; color: rgba(255, 255, 255, 0.85); margin: 0 0 0.8rem; max-width: 480px; animation: cr-rise 0.8s 0.2s both; }
.cr-hero-cta .btn { padding: 1rem 1.7rem; }
.cr-hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; animation: cr-rise 0.8s 0.35s both; }
.cr-hero-media { position: relative; }
.cr-hero-img { --r: 20px; --off: 28px; position: relative; padding: 0 var(--off) var(--off) 0; animation: cr-float 7s 1.6s ease-in-out infinite; }
.cr-photo { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 40px 80px -30px rgba(0, 12, 40, 0.8); background: #0a58b8; animation: cr-reveal 1.2s 0.2s cubic-bezier(.22,.61,.36,1) both; }
.cr-photo img { display: block; width: 100%; height: auto; transform-origin: 60% 40%; animation: cr-zoom 1.8s 0.2s cubic-bezier(.22,.61,.36,1) both; }
.cr-photo-tag { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; color: #fff; background: rgba(1, 30, 70, 0.7); backdrop-filter: blur(8px); animation: cr-rise 0.8s 1.1s both; }
.cr-photo-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ed5f00; box-shadow: 0 0 0 4px rgba(237, 95, 0, 0.3); animation: cr-pulse 2s infinite; }
.cr-frame-ring { position: absolute; z-index: 0; right: 0; bottom: 0; width: calc(100% - var(--off)); height: calc(100% - var(--off)); border-radius: var(--r); background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02)); animation: cr-ring 1s 0.5s cubic-bezier(.22,.61,.36,1) both; }
.cr-frame-dots { position: absolute; z-index: 0; left: -22px; top: -22px; width: 120px; height: 120px; background-image: radial-gradient(rgba(255, 255, 255, 0.55) 2px, transparent 2px); background-size: 16px 16px; animation: cr-fade 1s 0.8s ease both; }
@keyframes cr-reveal { from { clip-path: inset(0 100% 0 0 round var(--r)); opacity: 0.4; } to { clip-path: inset(0 0 0 0 round var(--r)); opacity: 1; } }
@keyframes cr-zoom { from { transform: scale(1.25); } to { transform: scale(1); } }
@keyframes cr-ring { from { opacity: 0; transform: translate(-20px, -20px); } to { opacity: 1; transform: none; } }
@keyframes cr-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cr-fade { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes cr-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes cr-drift { to { transform: translate(60px, 40px); } }
@keyframes cr-pulse { 50% { box-shadow: 0 0 0 8px rgba(237, 95, 0, 0); } }

/* ---------- Culture ---------- */
.cr-culture { padding: clamp(4rem, 7vw, 7rem) 0; background: linear-gradient(180deg, #fff 0%, #f4f8fe 100%); overflow: hidden; }
.cr-culture-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cr-culture-media { position: relative; max-width: 420px; margin: 0 auto; padding: 0 0 2rem; }
.cr-disc { position: absolute; z-index: 0; right: -34px; top: 30px; width: 190px; height: 190px; border-radius: 50%; background: linear-gradient(135deg, #ed5f00, #ffa24d); opacity: 0.9; }
.cr-dots { position: absolute; z-index: 0; left: -28px; bottom: 60px; width: 110px; height: 110px; background-image: radial-gradient(#014088 2px, transparent 2px); background-size: 16px 16px; opacity: 0.35; }
.cr-arch { position: relative; z-index: 1; border-radius: 999px 999px 28px 28px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 40px 70px -34px rgba(1, 64, 136, 0.65); }
.cr-arch img { display: block; width: 100%; height: auto; }
.cr-flow { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 0.6rem; white-space: nowrap; padding: 0.75rem 1.2rem; border-radius: 999px; background: #014088; color: #fff; font-size: 0.85rem; font-weight: 700; box-shadow: 0 20px 34px -14px rgba(1, 64, 136, 0.8); }
.cr-flow i { font-style: normal; color: #ffa24d; }
.cr-flow span:last-child { color: #ffd2ad; }
.cr-culture-copy .cr-title { font-size: clamp(1.6rem, 2.9vw, 2.3rem); line-height: 1.25; margin-bottom: 1.6rem; }
.cr-culture-copy p:not(.cr-eyebrow) { font-size: 1.03rem; line-height: 1.8; color: #475569; margin: 0 0 1rem; max-width: 640px; }

/* ---------- Band ---------- */
.cr-band { background: linear-gradient(110deg, #014088 0%, #0a58b8 100%); color: #fff; overflow: hidden; }
.cr-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(237, 95, 0, 0.45), transparent 70%); pointer-events: none; }
.cr-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 2.4rem; padding-bottom: 2.4rem; position: relative; z-index: 1; }
.cr-band p { margin: 0; color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-weight: 700; padding-left: 1rem; border-left: 4px solid #ed5f00; }

/* ---------- Principles ---------- */
.cr-principles { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 7vw, 6.5rem) 0; background: radial-gradient(40% 35% at 0% 0%, rgba(1, 64, 136, 0.12), transparent 70%), radial-gradient(35% 35% at 100% 100%, rgba(237, 95, 0, 0.12), transparent 70%), #f4f8fe; }
.cr-principles::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.6; background-image: radial-gradient(rgba(1, 64, 136, 0.14) 1.5px, transparent 1.5px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.cr-pr-title { display: flex; align-items: center; gap: 1.2rem; margin: 2rem 0 1.5rem; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #014088; }
.cr-pr-title::before, .cr-pr-title::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(1, 64, 136, 0.35)); }
.cr-pr-title::after { background: linear-gradient(270deg, transparent, rgba(237, 95, 0, 0.6)); }
.cr-principles .cr-head { max-width: 1100px; }
.cr-pills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cr-pill { display: flex; align-items: center; gap: 0.9rem; min-height: 84px; padding: 0.9rem 1.2rem; font-size: 1.02rem; font-weight: 700; color: #0f172a; background: #fff; border: 1px solid #e4e9f2; border-radius: 12px; box-shadow: 0 14px 26px -20px rgba(1, 64, 136, 0.6); transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.cr-pill:hover { background: #014088; color: #fff; transform: translateY(-3px); }
.cr-pill-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; background: #014088; }
.cr-pill-icon.is-orange { background: #ed5f00; }
.cr-pill:hover .cr-pill-icon { background: #ed5f00; }
.cr-pill:hover .cr-pill-icon.is-orange { background: #fff; color: #ed5f00; }

/* ---------- Jobs ---------- */
.cr-jobs { padding: clamp(4rem, 7vw, 6.5rem) 0; background: #fff; }
.cr-jobs-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.cr-tabs { display: flex; flex-direction: column; gap: 0.6rem; }
.cr-tab { display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 1rem 1.2rem; text-align: left; font: inherit; font-weight: 700; font-size: 1rem; color: #0a0e1a; background: #fff; border: 1px solid #e4e9f2; border-radius: 14px; cursor: pointer; transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
.cr-tab svg { flex: none; color: #014088; transition: color 0.3s ease; }
.cr-tab:hover { transform: translateX(4px); border-color: rgba(1, 64, 136, 0.3); }
.cr-tab.is-active { background: #014088; color: #fff; border-color: #014088; box-shadow: 0 18px 30px -16px rgba(1, 64, 136, 0.75); }
.cr-tab.is-active svg { color: #ffa24d; }
.cr-tab:focus-visible, .cr-group summary:focus-visible { outline: 3px solid #ed5f00; outline-offset: 2px; }
.cr-panel[hidden] { display: none; }
.cr-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; align-items: start; }
.cr-group { background: #fff; border: 1px solid #e4e9f2; border-radius: 18px; box-shadow: 0 14px 30px -24px rgba(1, 64, 136, 0.55); overflow: hidden; }
.cr-group[open] { border-color: rgba(1, 64, 136, 0.28); }
.cr-group summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-size: 1.05rem; font-weight: 800; color: #0a0e1a; cursor: pointer; list-style: none; }
.cr-group summary::-webkit-details-marker { display: none; }
.cr-group summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(1, 64, 136, 0.1); transition: background 0.3s ease; }
.cr-group summary i::before, .cr-group summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: #014088; border-radius: 2px; transition: transform 0.3s ease, background 0.3s ease; }
.cr-group summary i::after { transform: rotate(90deg); }
.cr-group[open] summary i { background: #014088; }
.cr-group[open] summary i::before, .cr-group[open] summary i::after { background: #fff; }
.cr-group[open] summary i::after { transform: rotate(0); }
.cr-group ul { list-style: none; margin: 0; padding: 0 1.4rem 1.4rem; }
.cr-group li { position: relative; padding: 0.5rem 0 0.5rem 1.7rem; font-size: 0.98rem; color: #334155; }
.cr-group li::before { content: "→"; position: absolute; left: 0; top: 0.42rem; color: #ed5f00; font-weight: 700; }

/* ---------- Direct submission (full-width section) ---------- */
.cr-direct { position: relative; overflow: hidden; padding: clamp(3.5rem, 6vw, 5.5rem) 0; color: #fff; background: linear-gradient(115deg, #ed5f00 0%, #ff8a3d 100%); }
.cr-direct::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: radial-gradient(rgba(255,255,255,0.22) 1.5px, transparent 1.5px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cr-direct::after { content: ""; position: absolute; left: -120px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: rgba(1, 64, 136, 0.3); }
.cr-direct-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.cr-direct-kicker { margin: 0 0 0.8rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; opacity: 0.9; }
.cr-direct h2 { margin: 0 0 0.8rem; font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.cr-direct-copy p:not(.cr-direct-kicker) { margin: 0; max-width: 520px; font-size: 1.08rem; line-height: 1.7; color: rgba(255, 255, 255, 0.94); }
.cr-direct-actions { display: grid; gap: 1rem; }
.cr-contact { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.5rem; border-radius: 18px; background: #fff; color: #014088; font-weight: 800; font-size: 1.1rem; text-align: left; box-shadow: 0 24px 40px -26px rgba(1, 30, 70, 0.7); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cr-contact svg { flex: none; width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: rgba(237, 95, 0, 0.12); color: #ed5f00; }
.cr-contact small { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #ed5f00; }
.cr-contact:hover { transform: translateY(-3px); box-shadow: 0 30px 44px -24px rgba(1, 30, 70, 0.8); }
.cr-contact--ghost { background: #014088; color: #fff; }
.cr-contact--ghost svg { background: rgba(255, 255, 255, 0.14); color: #ffa24d; }
.cr-contact--ghost small { color: #ffb97f; }

/* ---------- Gallery (full-bleed, no gaps) ---------- */
.cr-flexi { padding: clamp(4rem, 7vw, 6.5rem) 0 0; background: #f4f8fe; }
.cr-flexi .cr-head { margin-bottom: 3rem; }
.cr-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; width: 100%; }
.cr-g { margin: 0; overflow: hidden; line-height: 0; }
.cr-g img { display: block; width: 100%; height: auto; transition: transform 0.6s cubic-bezier(.22,.61,.36,1); }
.cr-g:hover img { transform: scale(1.04); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cr-jobs-layout { grid-template-columns: 260px 1fr; }
  .cr-pills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .cr-hero-grid, .cr-culture-grid { grid-template-columns: 1fr; }
  .cr-hero { padding-bottom: clamp(4rem, 9vw, 5rem); }
  .cr-hero-media { max-width: 560px; width: 100%; margin: 0 auto; }
  .cr-jobs-layout { grid-template-columns: 1fr; }
  .cr-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 0.4rem; scrollbar-width: thin; }
  .cr-tab { width: auto; flex: none; white-space: nowrap; }
  .cr-tab:hover { transform: none; }
  .cr-gallery { grid-template-columns: 1fr; }
  .cr-direct-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cr-band-inner { flex-direction: column; align-items: flex-start; }
  .cr-pills { grid-template-columns: 1fr; }
  .cr-contact { width: 100%; justify-content: center; }
  .cr-hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cr-hero *, .cr-hero::before, .cr-orb { animation: none !important; }
  .cr-tab, .cr-g img, .cr-contact { transition: none; }
}

/* ---------- Roles open the application popup ---------- */
.cr-group li { padding: 0; }
.cr-group li::before { display: none; }
.cr-role { display: flex; align-items: center; gap: 0.6rem; width: 100%; padding: 0.55rem 0; font: inherit; font-size: 0.98rem; text-align: left; color: #334155; background: none; border: 0; border-radius: 8px; cursor: pointer; transition: color 0.25s ease, padding-left 0.3s ease; }
.cr-role::before { content: "→"; color: #ed5f00; font-weight: 700; transition: transform 0.3s ease; }
.cr-role::after { content: "Apply"; margin-left: auto; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #ed5f00; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s ease, transform 0.3s ease; }
.cr-role:hover, .cr-role:focus-visible { color: #014088; outline: none; }
.cr-role:hover::before, .cr-role:focus-visible::before { transform: translateX(3px); }
.cr-role:hover::after, .cr-role:focus-visible::after { opacity: 1; transform: none; }
.cr-role:focus-visible { box-shadow: 0 0 0 2px rgba(237, 95, 0, 0.5); }

.cr-apply-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: clamp(1.75rem, 3vw, 2.5rem); padding: 1.1rem 1.4rem; border: 1px solid #e4e9f2; border-radius: 18px; background: linear-gradient(90deg, rgba(1, 64, 136, 0.05), rgba(237, 95, 0, 0.05)); }
.cr-apply-cta p { margin: 0; font-size: 1rem; font-weight: 600; color: #0a0e1a; }
.cr-apply-cta p span { display: block; margin-top: 0.15rem; font-size: 0.9rem; font-weight: 400; color: #475569; }

/* ---------- Apply popup ---------- */
.cr-apply-dialog { width: min(580px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 20px; background: #fff; color: #0a0e1a; box-shadow: 0 40px 90px -30px rgba(1, 25, 60, 0.7); overflow: hidden; }
.cr-apply-dialog::backdrop { background: rgba(2, 20, 48, 0.62); backdrop-filter: blur(3px); }
.cr-apply-dialog[open] { animation: cr-pop 0.35s cubic-bezier(.22,.61,.36,1); }
@keyframes cr-pop { from { opacity: 0; transform: translateY(18px) scale(0.97); } to { opacity: 1; transform: none; } }
.cr-apply-shell { position: relative; max-height: calc(100dvh - 1.5rem); overflow-y: auto; padding: 1.5rem 1.6rem 1.4rem; scrollbar-width: thin; }
.cr-apply-shell::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #014088, #ed5f00); }
.cr-apply-close { position: absolute; right: 0.8rem; top: 0.9rem; width: 32px; height: 32px; display: grid; place-items: center; font-size: 1.35rem; line-height: 1; color: #475569; background: #f1f5f9; border: 0; border-radius: 50%; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.cr-apply-close:hover { background: #ed5f00; color: #fff; }
.cr-apply-head { padding-right: 2.5rem; margin-bottom: 1.1rem; }
.cr-apply-head h2 { margin: 0 0 0.3rem; font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.cr-apply-head h2 .accent { color: #ed5f00; }
.cr-apply-head p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: #475569; }
.cr-apply-form { display: grid; gap: 0.8rem; }
.cr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.cr-field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.cr-field > label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; color: #1e293b; }
.cr-field input, .cr-field textarea, .cr-select-btn { width: 100%; padding: 0.62rem 0.85rem; font: inherit; font-size: 0.92rem; color: #0a0e1a; background: #f8fafd; border: 1px solid #dbe3ef; border-radius: 10px; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.cr-field input, .cr-select-btn { height: 44px; }
.cr-field textarea { resize: none; min-height: 76px; }
.cr-field input::placeholder, .cr-field textarea::placeholder { color: #94a3b8; }
.cr-field input[type="file"] { padding: 0.3rem 0.4rem; font-size: 0.82rem; color: #475569; cursor: pointer; }
.cr-field input[type="file"]::file-selector-button { margin-right: 0.6rem; height: 34px; padding: 0 0.85rem; font: inherit; font-size: 0.8rem; font-weight: 700; color: #fff; background: #014088; border: 0; border-radius: 7px; cursor: pointer; transition: background 0.2s ease; }
.cr-field input[type="file"]::file-selector-button:hover { background: #ed5f00; }
.cr-field input:focus, .cr-field textarea:focus, .cr-select-btn:focus-visible, .cr-select.is-open .cr-select-btn { outline: none; background: #fff; border-color: #014088; box-shadow: 0 0 0 3px rgba(1, 64, 136, 0.14); }
.cr-field.has-error input, .cr-field.has-error textarea, .cr-field.has-error .cr-select-btn { border-color: #d92d20; background: #fffafa; }
.cr-field-error { font-size: 0.76rem; font-weight: 600; color: #d92d20; }

/* custom dropdown */
.cr-select { position: relative; }
.cr-select-btn { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; text-align: left; cursor: pointer; }
.cr-select-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #94a3b8; }
.cr-select.has-value .cr-select-value { color: #0a0e1a; }
.cr-select-btn svg { flex: none; color: #64748b; transition: transform 0.3s ease; }
.cr-select.is-open .cr-select-btn svg { transform: rotate(180deg); color: #014088; }
.cr-select-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 208px; margin: 0; padding: 0.35rem; list-style: none; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 1px solid #dbe3ef; border-radius: 12px; box-shadow: 0 22px 40px -18px rgba(1, 25, 60, 0.45); scrollbar-width: thin; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top; transition: opacity 0.2s ease, transform 0.25s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0.25s; }
.cr-select.is-open .cr-select-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cr-select-list li { padding: 0.5rem 0.7rem; font-size: 0.9rem; color: #1e293b; border-radius: 8px; cursor: pointer; }
.cr-select-list li.is-active { background: rgba(1, 64, 136, 0.08); color: #014088; }
.cr-select-list li[aria-selected="true"] { font-weight: 700; color: #014088; }
.cr-select-list li[aria-selected="true"]::after { content: "✓"; float: right; color: #ed5f00; }

/* phone + country picker (mirrors the contact popup) */
.cr-phone { position: relative; }
.cr-phone .iti { width: 100%; min-width: 0; }
.cr-phone > .iti--container { position: absolute; top: 100% !important; left: 0 !important; right: auto; bottom: auto; z-index: 20; padding: 0; }
#crApplyForm .iti__country-list { position: relative; bottom: auto; width: min(320px, 80vw); max-width: min(320px, 80vw); max-height: 200px; margin: 6px 0 0; white-space: normal; color: #0a0e1a; background: #fff; border: 1px solid #dbe3ef; border-radius: 12px; box-shadow: 0 22px 40px -18px rgba(1, 25, 60, 0.45); }

.cr-apply-status { min-height: 0; margin: 0; font-size: 0.86rem; font-weight: 600; color: #475569; }
.cr-apply-status:empty { display: none; }
.cr-apply-status[data-error="true"] { color: #d92d20; }
.cr-apply-status[data-ok="true"] { color: #0f8a4b; }
.cr-apply-submit { justify-self: start; padding: 0.85rem 1.6rem; }
.cr-apply-submit:disabled { opacity: 0.6; cursor: progress; }
@media (max-width: 575px) { .cr-field-row { grid-template-columns: 1fr; } .cr-apply-submit { justify-self: stretch; justify-content: center; } .cr-apply-shell { padding: 1.3rem 1.1rem 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .cr-apply-dialog[open] { animation: none; } .cr-select-list, .cr-select-btn svg { transition: none; } }
.cr-hint { font-weight: 500; color: #64748b; }

@media (prefers-reduced-motion: reduce) { .cr-hero-img, .cr-photo, .cr-photo img, .cr-photo-tag, .cr-frame-ring, .cr-frame-dots { animation: none !important; } }
.cr-captcha { min-height: 65px; }
.cr-thanks-dialog { width: min(440px, calc(100% - 1.5rem)); }
.cr-thanks { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; padding: 2.4rem 1.8rem 2rem; text-align: center; }
.cr-thanks h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 1.7rem); }
.cr-thanks p { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.6; color: #475569; }
.cr-thanks-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ed5f00, #ff8a3d); box-shadow: 0 14px 28px -12px rgba(237, 95, 0, 0.6); animation: cr-pop 0.5s cubic-bezier(.34,1.56,.64,1) both; }
